/* =====================================================
   KeyfleKazan.com - Ana Stil Dosyası
   B2B Influencer & Acenta Platformu
   ===================================================== */

:root {
    --primary: #6C63FF;
    --primary-dark: #5A52D5;
    --secondary: #FF6B6B;
    --accent: #4ECDC4;
    --dark: #1a1a2e;
    --darker: #16213e;
    --gradient-1: linear-gradient(135deg, #6C63FF, #4ECDC4);
    --gradient-2: linear-gradient(135deg, #FF6B6B, #FFE66D);
    --gradient-3: linear-gradient(135deg, #a18cd1, #fbc2eb);
    --gradient-hero: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --shadow-soft: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-card: 0 20px 60px rgba(0,0,0,0.1);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
    line-height: 1.7;
}

/* =====================================================
   GRADIENT TEXT
   ===================================================== */
.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-animated {
    background: linear-gradient(90deg, #6C63FF, #4ECDC4, #FF6B6B, #FFE66D, #6C63FF);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.btn-gradient {
    background: var(--gradient-1);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
    color: #fff;
}

.btn-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-gradient:hover::after {
    left: 100%;
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-badge {
    position: relative;
    z-index: 2;
}

.bg-gradient-badge {
    background: var(--gradient-1) !important;
    font-size: 13px;
    padding: 8px 20px;
    display: inline-block;
    white-space: nowrap;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   NAVBAR
   ===================================================== */
#mainNavbar {
    background: transparent;
    padding: 20px 0;
    transition: var(--transition);
    z-index: 1000;
}

#mainNavbar.scrolled {
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: #fff !important;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(108,99,255,0.05)" d="M0,160L48,170.7C96,181,192,203,288,197.3C384,192,480,160,576,149.3C672,139,768,149,864,170.7C960,192,1056,224,1152,218.7C1248,213,1344,171,1392,149.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(108, 99, 255, 0.4);
    border-radius: 50%;
    animation: floatParticle 15s infinite;
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    50% { transform: translateY(-400px) translateX(100px) scale(1.5); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.15rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons .btn {
    padding: 14px 32px;
    font-size: 1rem;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
}

.hero-wave svg {
    width: 100%;
    display: block;
}

/* Hero Stats Mini */
.hero-stats-mini {
    overflow: hidden;
}

.stat-mini {
    text-align: center;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-mini .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    display: inline;
}

.stat-mini .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
}

.stat-mini .stat-label {
    font-size: 11px;
    display: block;
    opacity: 0.6;
    margin-top: 2px;
}

/* Hero Visual (Phone Mockup) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.hero-phone {
    position: relative;
    z-index: 2;
}

.phone-screen {
    width: 260px;
    height: 480px;
    background: #1a1a2e;
    border-radius: 35px;
    border: 3px solid rgba(108, 99, 255, 0.3);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 60px rgba(108, 99, 255, 0.15);
    padding: 15px;
}

.phone-header {
    text-align: center;
    margin-bottom: 20px;
}

.phone-notch {
    width: 100px;
    height: 25px;
    background: #000;
    border-radius: 0 0 15px 15px;
    margin: 0 auto;
}

.phone-content {
    padding: 10px;
}

.phone-greeting {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.phone-balance {
    background: var(--gradient-1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.phone-balance span {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
}

.phone-balance strong {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.phone-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    margin-bottom: 20px;
    padding: 10px 0;
}

.chart-bar {
    flex: 1;
    background: rgba(108, 99, 255, 0.3);
    border-radius: 5px 5px 0 0;
    transition: var(--transition);
}

.chart-bar.active {
    background: var(--gradient-1);
}

.phone-ref-code {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    border: 1px dashed rgba(108, 99, 255, 0.3);
}

.phone-ref-code small {
    display: block;
    color: rgba(255,255,255,0.5);
    font-size: 11px;
}

.ref-code {
    color: var(--accent);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 2px;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    z-index: 3;
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 24px;
}

.floating-card small {
    display: block;
    font-size: 11px;
    color: #999;
}

.floating-card strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.card-1 {
    top: 60px;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 200px;
    right: 0;
    animation-delay: 2s;
}

.card-3 {
    bottom: 80px;
    left: 20px;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* =====================================================
   BRANDS SECTION
   ===================================================== */
.brands-slider {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    opacity: 0.5;
    transition: var(--transition);
}

.brand-item span {
    font-size: 11px;
    color: #999;
}

.brand-item:hover {
    opacity: 1;
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features-section {
    background: #fff;
}

.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: transparent;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: #fff;
}

.gradient-1 { background: linear-gradient(135deg, #6C63FF, #897cff); }
.gradient-2 { background: linear-gradient(135deg, #FF6B6B, #ff8e8e); }
.gradient-3 { background: linear-gradient(135deg, #4ECDC4, #7de8e0); }
.gradient-4 { background: linear-gradient(135deg, #45B7D1, #72d0e7); }
.gradient-5 { background: linear-gradient(135deg, #96E6A1, #b5eebc); }
.gradient-6 { background: linear-gradient(135deg, #DDA0DD, #e8bfe8); }

.feature-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* =====================================================
   HOW IT WORKS SECTION
   ===================================================== */
.how-section {
    background: #f8f9ff;
}

.step-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    height: 100%;
    border: 1px solid #eee;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(108, 99, 255, 0.07);
    line-height: 1;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    color: var(--primary);
    transition: var(--transition);
}

.step-card:hover .step-icon {
    background: var(--gradient-1);
    color: #fff;
    transform: scale(1.1);
}

.step-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

/* =====================================================
   STATS SECTION
   ===================================================== */
.stats-section {
    background: var(--gradient-hero);
    color: #fff;
    padding: 80px 0;
}

.stat-card {
    padding: 30px;
}

.stat-card i {
    color: rgba(255,255,255,0.3);
}

.stat-count {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.stat-card p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* =====================================================
   CALCULATOR SECTION
   ===================================================== */
.calculator-section {
    background: #fff;
}

.calculator-card {
    background: #f8f9ff;
    border-radius: var(--radius);
    padding: 35px;
    border: 1px solid #eee;
}

.calculator-result {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 25px;
    border: 2px solid rgba(108, 99, 255, 0.15);
}

.calculator-result h4, .calculator-result h3 {
    font-weight: 800;
}

.form-range::-webkit-slider-thumb {
    background: var(--primary);
}

.form-range::-webkit-slider-runnable-track {
    background: rgba(108, 99, 255, 0.2);
}

/* =====================================================
   USER TYPES SECTION
   ===================================================== */
.user-types-section {
    background: #f8f9ff;
}

.type-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 40px 35px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid #eee;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.type-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.influencer-card .type-icon {
    background: rgba(255, 107, 107, 0.1);
    color: var(--secondary);
}

.acenta-card .type-icon {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
}

.type-card h3 {
    font-weight: 700;
    margin-bottom: 20px;
}

.type-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.type-features li {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
}

.type-features li i {
    margin-right: 8px;
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */
.testimonials-section {
    background: #fff;
}

.testimonial-card {
    background: #f8f9ff;
    border-radius: var(--radius);
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    border: 1px solid #eee;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.testimonial-card .stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.testimonial-card .stars i {
    margin-right: 3px;
}

.testimonial-card p {
    color: #555;
    font-style: italic;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
}

.testimonial-author small {
    color: #999;
    font-size: 12px;
}

/* =====================================================
   API SECTION
   ===================================================== */
.api-section {
    background: #f8f9ff;
}

.api-features-list {
    list-style: none;
    padding: 0;
}

.api-features-list li {
    padding: 8px 0;
    font-size: 15px;
}

.code-block {
    background: #1a1a2e;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.code-header {
    background: #16213e;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }

.code-title {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    margin-left: 10px;
}

.code-content {
    padding: 25px;
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.8;
    overflow-x: auto;
}

.code-comment { color: #6a9955; }
.code-keyword { color: #569cd6; }
.code-string { color: #ce9178; }
.code-number { color: #b5cea8; }

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-section {
    background: #fff;
}

.accordion-item {
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: var(--radius-sm) !important;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    padding: 18px 25px;
}

.accordion-button:not(.collapsed) {
    background: rgba(108, 99, 255, 0.05);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    background: #fff;
}

.cta-card {
    background: var(--gradient-hero);
    border-radius: var(--radius);
    padding: 60px 40px;
    color: #fff;
}

.cta-card h2 {
    font-size: 2.2rem;
    font-weight: 800;
}

.cta-card p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section {
    background: #f8f9ff;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item h6 {
    margin-bottom: 2px;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(108, 99, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--gradient-1);
    color: #fff;
    transform: translateY(-3px);
}

.contact-form .form-control {
    border: 1px solid #e0e0e0;
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-size: 14px;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer-section {
    background: var(--dark);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.newsletter-form .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50px 0 0 50px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.4);
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .nav-buttons {
        margin-top: 15px;
    }
    .hero-section .row {
        padding-top: 100px;
    }
}

@media (max-width: 767px) {
    /* Navbar mobil düzeltme */
    .navbar-brand {
        font-size: 1.2rem;
        max-width: 180px;
    }
    .hero-badge .badge {
        font-size: 10px !important;
        padding: 5px 12px !important;
        letter-spacing: 0.5px;
    }
    #mainNavbar {
        padding: 10px 0;
    }
    .navbar-toggler {
        border: 1px solid rgba(255,255,255,0.3);
        padding: 4px 8px;
        font-size: 14px;
    }
    .hero-section .row {
        padding-top: 80px;
        min-height: auto !important;
    }
    .hero-title {
        font-size: 1.75rem;
        margin-top: 10px;
    }
    .hero-subtitle {
        font-size: 0.95rem;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0 !important;
        padding: 12px 20px;
    }
    /* Stat-mini mobil - ₺2M+ taşma düzeltme */
    .stat-mini .stat-number,
    .stat-mini .stat-value {
        font-size: 1.2rem;
    }
    .stat-mini .stat-label {
        font-size: 10px;
    }
    .hero-stats-mini {
        margin-top: 25px !important;
    }
    .stat-count {
        font-size: 2rem;
    }
    .cta-card {
        padding: 40px 25px;
    }
    .cta-card h2 {
        font-size: 1.6rem;
    }
    .contact-form {
        margin-top: 30px;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.5rem;
    }
    .stat-mini .stat-number,
    .stat-mini .stat-value {
        font-size: 1rem;
    }
    .stat-mini .stat-label {
        font-size: 9px;
    }
    .navbar-brand {
        font-size: 1rem;
    }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(108, 99, 255, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: rgba(108, 99, 255, 0.3);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
