/* Duosy Landing Page Styles */

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

/* CSS Variables - Duosy Design System */
:root {
    /* Background Gradient Colors */
    --color-bg-start: #F0E5D4;
    --color-bg-end: #E4D4BB;
    
    /* Brand Colors */
    --color-brand-blue: #1F385B;
    
    /* Text Colors */
    --color-text-primary: #1F385B;
    --color-text-secondary: #4D2D3D;
    
    /* Glassmorphism */
    --color-glass-bg: rgba(255, 255, 255, 0.15);
}

/* Image Protection - Disable Right Click, Drag & Select */
img {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Body Styles - overflow-x: clip ile yatay taşma kesilir, position:sticky bozulmaz (hidden scroll container oluşturur) */
html {
    overflow-x: clip;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(to bottom, var(--color-bg-start), var(--color-bg-end));
    color: var(--color-text-primary);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: clip;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/topography.svg');
    background-repeat: repeat;
    background-size: 400px 400px;
    opacity: 0.075;
    z-index: 0;
    pointer-events: none;
    filter: hue-rotate(0deg) saturate(2);
}

/* Typography */
h1, h2, h3 {
    color: var(--color-text-primary);
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
}

p {
    font-size: 1.1rem;
}

/* Container - mobilde taşma önleme */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .container {
        width: 92%;
        padding: 0 4px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        width: 92%;
    }
}

/* Mobile-First Typography - kademeli boyutlar */
@media (max-width: 480px) {
    .container {
        width: 94%;
        padding: 0 8px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    p { font-size: 0.95rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    p { font-size: 1rem; }
}

/* === HEADER STİLLERİ === */
#main-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    z-index: 1000;
    
    /* --- PREMIUM GLASSCARD STİLİ (CustomTabBar'dan adapte) --- */
    /* Ana glassmorphism arka plan */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    /* Neon gradient border - CustomTabBar ile aynı */
    border: 1.4px solid transparent;
    background-clip: padding-box;
    border-radius: 20px;
    
    /* Çoklu gölge katmanları - derinlik hissi */
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    
    /* Yatay animasyon için transition */
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Gradient border efekti - CustomTabBar neon border gradient'i */
#main-header::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.4px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(232, 208, 202, 0.8) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.header-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 25px;
    height: 84px;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- SOL: DİL DEĞİŞTİRİCİ (Mutlak Sol) --- */
.language-switcher {
    position: absolute;
    left: 25px;
    display: flex;
    gap: 8px;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.flag-link {
    color: var(--color-brand-blue);
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.3s ease;
    opacity: 0.5; /* Pasif bayrak */
}

.flag-link.active {
    opacity: 1; /* Aktif bayrak */
}

.flag-link:hover {
    transform: scale(1.1);
}

.flag-emoji {
    font-size: 2rem; /* Büyütüldü: 1.8rem -> 2rem */
    display: block;
    line-height: 1;
}

.flag-separator {
    color: var(--color-brand-blue);
    font-size: 1.2rem;
    opacity: 0.6;
    font-weight: 300;
}

/* --- ORTA: LOGO (Mutlak Ortalama) --- */
.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

#header-logo {
    height: 60px;
    transition: height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- SAĞ: SOSYAL İKONLAR (Mutlak Sağ) --- */
.social-icons {
    position: absolute;
    right: 25px;
    display: flex;
    gap: 14px;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.social-icons a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 1.5rem; /* Büyütüldü: 1.3rem -> 1.5rem */
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
    color: var(--color-brand-blue);
}

/* === HEADER YATAY DARALMA EFEKTİ === */
#main-header.header-shrunk {
    max-width: 200px; /* Sadece logo + padding için genişlik */
}

#main-header.header-shrunk .header-container {
    padding: 12px 25px; /* Padding aynı kalıyor */
}

/* Logo pozisyonu asla değişmez - zaten her zaman ortada */

#main-header.header-shrunk #header-logo {
    height: 60px; /* Logo boyutu aynı kalıyor */
}

/* Daralma durumunda dil ve sosyal ikonları gizle */
#main-header.header-shrunk .language-switcher,
#main-header.header-shrunk .social-icons {
    opacity: 0;
    visibility: hidden;
}

/* === MOBİL UYUM === */
@media (max-width: 768px) {
    #main-header {
        width: 95%;
        max-width: 600px;
        border-radius: 20px;
    }
    
    .header-container {
        padding: 10px 12px;
        min-height: 64px;
        height: auto;
    }
    
    /* Sosyal ikonlar mobilde de görünür – daha kompakt */
    .social-icons {
        display: flex;
        gap: 10px;
        right: 12px;
    }
    
    .social-icons a {
        font-size: 1.15rem;
    }
    
    .language-switcher {
        left: 12px;
    }
    
    .flag-emoji {
        font-size: 1.5rem;
    }
    
    .flag-separator {
        font-size: 1rem;
    }
    
    #header-logo {
        height: 44px;
    }

    #main-header.header-shrunk {
        max-width: 160px;
        border-radius: 20px;
    }
    
    #main-header.header-shrunk .header-container {
        position: relative;
        padding: 8px 0;
        justify-content: center;
        align-items: center;
    }
    
    #main-header.header-shrunk .logo-container {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    #main-header.header-shrunk #header-logo {
        height: 42px;
    }
    
    /* Mobilde header daralsa bile sosyal ve dil ikonları görünsün; header geniş kalsın */
    #main-header.header-shrunk {
        max-width: 600px;
        width: 95%;
    }
    #main-header.header-shrunk .header-container {
        padding: 10px 12px;
        justify-content: space-between;
    }
    #main-header.header-shrunk .logo-container {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    #main-header.header-shrunk .language-switcher,
    #main-header.header-shrunk .social-icons {
        opacity: 1;
        visibility: visible;
    }
}

/* === HERO SECTION STYLES === */
/* Hero'da overflow verilmez; ayrı scroll bar oluşmasın. Yatay taşma body/html overflow-x: hidden ile kesilir. */
#hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 0 20px;
    position: relative;
}

#hero .container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

/* Hero Text Styles */
.hero-text {
    margin-bottom: 20px;
    z-index: 10;
    position: relative;
}

/* Solution h2 ile aynı font; slogan 600, başlık bir tık kalın (700) */
.hero-text h1,
.hero-text h2 {
    font-family: inherit;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-text .slogan {
    font-family: inherit;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.hero-text .description {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Store Badges – tek kaynak: görsellerin üstündeki boşluk buradan, mobilde alt alta */
.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5vh;
    z-index: 12;
    position: relative;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.store-badge img {
    display: block;
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.store-badge img[src*="AppStore"] {
    transform: scale(0.85);
}

.store-badge img[src*="GooglePlay"] {
    transform: scale(1.2);
}

.store-badge:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.store-approval-notice {
    font-size: 0.9rem;
    color: var(--color-text-secondary, #4D2D3D);
    margin-top: 12px;
    margin-bottom: 2.5vh;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.4;
}

/* Toast: onay aşaması bilgisi */
.duosy-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--color-brand-blue, #1F385B);
    color: #fff;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(31, 56, 91, 0.35);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    max-width: 90vw;
    text-align: center;
}
.duosy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Tek görsel: konum sabit, sadece ölçeklenir; onay kutusu–görsel ve görsel–problem boşlukları eşit (2.5vh+2.5vh = 5vh = margin-bottom) */
#hero .hero-mockups {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.5vh;
    margin-bottom: 5vh;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
    max-width: 100%;
}

#hero .hero-mockups .hero-devices {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    margin: 0 auto;
}

/* === PROBLEM SECTION STYLES - STICKY SCROLLING === */
/* overflow verilmez; position:sticky viewport'a göre çalışsın (üstte overflow:hidden olursa sticky bozulur) */
#problem {
    padding: 0.5vh 20px 50px;
    background: transparent;
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

.sticky-section-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
    box-sizing: border-box;
}

/* Left Column: Sticky Visual */
.sticky-visual {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sticky-card.glass-card {
    /* Premium GlassCard - CustomTabBar ile aynı stil */
    background: 
        linear-gradient(
            rgba(255, 255, 255, 0.75),
            rgba(255, 255, 255, 0.75)
        ),
        url('assets/map-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.4px solid transparent;
    background-clip: padding-box;
    border-radius: 20px;
    
    /* Çoklu gölge katmanları - derinlik hissi */
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    
    padding: 40px;
    min-height: 44vh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Gradient border efekti */
.sticky-card.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.4px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(232, 208, 202, 0.8) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.sticky-card.glass-card i {
    font-size: 3.5rem;
    color: var(--color-brand-blue);
    margin-bottom: 20px;
    display: block;
}

.sticky-card.glass-card h3 {
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 15px;
}

.sticky-card.glass-card p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    opacity: 0.7;
    line-height: 1.6;
}

/* Right Column: Scrolling Content */
.scrolling-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.problem-step {
    min-height: 44vh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    opacity: 0.2;
    transition: opacity 0.4s ease-in-out;
    
    /* İkincil Kart Tasarımı */
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(31, 56, 91, 0.15);
    border-radius: 20px;
}

.problem-step.active {
    opacity: 1;
}

.problem-step h3 {
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--color-brand-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

.problem-step p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    opacity: 0.8;
    line-height: 1.8;
    max-width: 600px;
}

/* Mobile/Tablet Responsiveness for Sticky Scrolling */
@media (max-width: 768px) {
    .sticky-section-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 4px;
    }
    
    .sticky-visual {
        position: relative;
        top: 0;
    }
    
    .sticky-card.glass-card {
        padding: 24px 20px;
        min-height: auto;
    }
    
    .problem-step {
        min-height: min(48vh, 320px);
        padding: 40px 20px;
    }
    
    .problem-step h3 {
        font-size: 1.4rem;
    }
    
    .problem-step p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .sticky-card.glass-card {
        padding: 20px 16px;
    }
    
    .problem-step {
        min-height: min(44vh, 280px);
        padding: 24px 16px;
    }
    
    .problem-step h3 {
        font-size: 1.25rem;
    }
    
    .problem-step p {
        font-size: 0.9rem;
    }
}

/* === SOLUTION SECTION STYLES === */
#solution {
    padding: 50px 20px;
    background: transparent;
    position: relative;
    z-index: 10;
    overflow-x: hidden;
}

#solution .container {
    max-width: 1200px;
}

#solution h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 80px;
}

/* Single Long Card with Two Columns */
.solution-card {
    /* Premium GlassCard - CustomTabBar ile aynı stil */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.4px solid transparent;
    background-clip: padding-box;
    border-radius: 20px;
    overflow: hidden;
    
    /* Çoklu gölge katmanları - derinlik hissi */
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 60px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Gradient border efekti */
.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.4px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(232, 208, 202, 0.8) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.solution-card:last-child {
    margin-bottom: 0;
}

/* Yatay taşma önleme: grid/flex çocuklarının küçülebilmesi */
.solution-card .text-column,
.solution-card .image-column {
    min-width: 0;
}

.sticky-section-container .sticky-visual,
.sticky-section-container .scrolling-content {
    min-width: 0;
}

.features-grid > * {
    min-width: 0;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.12),
        0 4px 10px rgba(255, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Text Column */
.text-column {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-column h3 {
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--color-brand-blue);
    margin-bottom: 20px;
    line-height: 1.3;
}

.text-column p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    opacity: 0.9;
}

/* Image Column - mobilde taşma önleme */
.image-column {
    position: relative;
    min-height: 400px;
}

.image-column img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Reverse layout for alternating effect */
.solution-card-reverse {
    grid-template-columns: 1fr 1fr;
}

.solution-card-reverse .image-column {
    order: -1;
}

/* main'de overflow verilmez; Problem bölümündeki position:sticky viewport'a göre çalışır */

/* === FEATURES SECTION STYLES === */
#features {
    padding: 50px 20px;
    background: transparent;
    position: relative;
    z-index: 10;
    overflow-x: hidden;
}

#features .container {
    max-width: 1200px;
}

#features h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 60px;
}

/* 2-3 Bento Grid Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Hero Feature Card - Spans 2 columns (top row) */
.feature-card-hero {
    grid-column: span 2;
}

.feature-card.glass-card {
    /* Premium GlassCard - CustomTabBar ile aynı stil */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.4px solid transparent;
    background-clip: padding-box;
    border-radius: 20px;
    
    /* Çoklu gölge katmanları - derinlik hissi */
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    
    /* Dikey Kart İçi Hizalama - Çakışmayı Engeller */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Gradient border efekti */
.feature-card.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.4px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(232, 208, 202, 0.8) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

.feature-card.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.12),
        0 4px 10px rgba(255, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* SVG Illustration Styles - Üstte, taşma önleme */
.feature-card.glass-card img {
    width: 100%;
    max-width: 100%;
    max-height: 150px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    position: relative;
}

.feature-card-hero img {
    max-height: 200px;
}

/* Metin İçeriği - Altta */
.feature-card.glass-card h3 {
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--color-brand-blue);
    margin-bottom: 20px;
    line-height: 1.3;
}

.feature-card.glass-card p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    opacity: 0.9;
}

/* === HOW IT WORKS SECTION - INTERACTIVE TAB FLOW === */
#how-it-works {
    padding: 50px 20px;
    position: relative;
    overflow-x: hidden;
}

#how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 60px;
}

#how-it-works .container {
    max-width: 1200px;
}

.how-it-works-main-card.glass-card {
    /* Custom Tab Bar Style - Premium Glass Card */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.4px solid transparent;
    background-clip: padding-box;
    border-radius: 20px;
    
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    
    padding: 0;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.how-it-works-main-card.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.4px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(232, 208, 202, 0.8) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

/* Tab Buttons Container */
.how-it-works-tabs {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0;
    gap: 0;
    width: 100%;
}

.tab-button {
    flex: 1;
    padding: 20px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin-bottom: -2px;
}

.tab-button:first-child {
    border-top-left-radius: 20px;
}

.tab-button:last-child {
    border-top-right-radius: 20px;
}

.tab-button:hover {
    color: var(--color-brand-blue);
    background: rgba(255, 255, 255, 0.1);
}

.tab-button.active-step {
    color: var(--color-brand-blue);
    border-bottom-color: var(--color-brand-blue);
    background: rgba(31, 56, 91, 0.05);
    font-weight: 600;
}

/* Tab Content Container */
.how-it-works-content {
    padding: 40px;
    min-height: 200px;
    position: relative;
}

.content-pane {
    display: none;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.content-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-pane h3 {
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--color-brand-blue);
    margin-bottom: 20px;
    line-height: 1.3;
}

.content-pane p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    opacity: 0.9;
}

/* === FOOTER STYLES - KOMPAKT 2 KATMANLI TASARIM === */
footer {
    background-color: #4D2D3D;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 20px 20px;
    margin-top: 50px;
    position: relative;
    z-index: 10;
}

footer .container {
    max-width: 1200px;
}

/* Ana İçerik (3 Grup - Yatay Hizalı) */
.footer-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Grup Başlıkları */
.footer-heading {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grup 1: Marka & Sosyal (Logo üstte, ikonlar altında logoya göre ortalanmış) */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-brand .footer-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Sosyal Medya İkonları (Logo Altında - Ortalanmış) */
.footer-social-top {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-social-top a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.footer-social-top a:hover {
    color: rgba(255, 255, 255, 1);
    opacity: 1;
    transform: translateY(-2px);
}

/* Sütun 2: Linkler */
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 1);
    opacity: 1;
    text-decoration: underline;
}

/* Sütun 3: E-postalar */
.footer-emails a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-emails a:hover {
    color: rgba(255, 255, 255, 1);
    opacity: 1;
    text-decoration: underline;
}

/* Alt Bar (Telif Hakkı & Dil) */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* Dil Değiştirici (Alt Barda) */
.footer-language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-language-switcher .flag-link {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.3s ease;
    opacity: 0.5;
}

.footer-language-switcher .flag-link.active {
    opacity: 1;
}

.footer-language-switcher .flag-link:hover {
    transform: scale(1.1);
    opacity: 1;
}

.footer-language-switcher .flag-emoji {
    font-size: 1.5rem;
    display: block;
    line-height: 1;
}

.footer-language-switcher .flag-separator {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    font-weight: 300;
}

/* Mobile Responsiveness for Footer - flex ile mobilde alt alta */
@media (max-width: 768px) {
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding-bottom: 30px;
    }
    
    .footer-column {
        text-align: center;
        align-items: center;
    }
    
    .footer-bottom-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-social-top {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 40px 20px 20px;
    }
    
    .footer-brand .footer-logo {
        height: 60px;
    }
    
    .footer-heading {
        font-size: 0.9rem;
    }
    
    .footer-social-top a {
        font-size: 1.3rem;
    }
    
    .footer-links a,
    .footer-emails a {
        font-size: 0.9rem;
    }
    
    .footer-language-switcher .flag-emoji {
        font-size: 1.3rem;
    }
}

/* Mobile Responsiveness for Features Section */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card-hero {
        grid-column: span 2;
    }
    
    .feature-card.glass-card img {
        max-height: 140px;
    }
    
    .feature-card-hero img {
        max-height: 180px;
    }
}

@media (max-width: 768px) {
    #features {
        padding: 40px 16px;
    }
    
    #features h2 {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card-hero {
        grid-column: span 1;
    }
    
    .feature-card.glass-card {
        padding: 30px;
    }
    
    .feature-card.glass-card img {
        max-height: 150px;
    }
    
    .feature-card-hero img {
        max-height: 180px;
    }
    
    .feature-card.glass-card h3 {
        font-size: 1.2rem;
    }
    
    .feature-card.glass-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    #features {
        padding: 32px 12px;
    }
    
    #features h2 {
        font-size: 1.45rem;
        margin-bottom: 32px;
    }
    
    .feature-card.glass-card {
        padding: 24px 20px;
    }
    
    .feature-card.glass-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card.glass-card p {
        font-size: 0.9rem;
    }
}

/* Mobile Responsiveness for How It Works Section */
@media (max-width: 768px) {
    #how-it-works {
        padding: 40px 16px;
    }
    
    #how-it-works h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .how-it-works-tabs {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }
    
    .tab-button {
        width: 100%;
        text-align: left;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 3px solid transparent;
        margin-bottom: 0;
        border-radius: 0;
    }
    
    .tab-button:first-child {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }
    
    .tab-button:last-child {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    
    .tab-button.active-step {
        border-bottom-color: rgba(255, 255, 255, 0.1);
        border-left-color: var(--color-brand-blue);
    }
    
    .how-it-works-content {
        padding: 30px 20px;
    }
    
    .content-pane h3 {
        font-size: 1.3rem;
    }
    
    .content-pane p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    #how-it-works h2 {
        font-size: 1.5rem;
        margin-bottom: 32px;
    }
    
    .tab-button {
        font-size: 0.85rem;
        padding: 12px 10px;
        line-height: 1.2;
    }
    
    .how-it-works-content {
        padding: 24px 16px;
    }
    
    .content-pane h3 {
        font-size: 1.15rem;
    }
    
    .content-pane p {
        font-size: 0.9rem;
    }
}

/* Tablet Solution Section */
@media (max-width: 1024px) {
    #solution {
        padding: 40px 16px;
    }
    
    #solution h2 {
        font-size: 1.85rem;
        margin-bottom: 50px;
    }
    
    .text-column {
        padding: 36px 28px;
    }
    
    .image-column {
        min-height: 320px;
    }
}

/* Mobile Responsiveness for Solution Section */
@media (max-width: 768px) {
    #solution {
        padding: 40px 16px;
    }
    
    #solution h2 {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }
    
    .solution-card {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }
    
    .solution-card-reverse .image-column {
        order: 0;
    }
    
    .text-column {
        padding: 24px 20px;
    }
    
    .text-column h3 {
        font-size: 1.4rem;
    }
    
    .text-column p {
        font-size: 0.95rem;
    }
    
    .image-column {
        min-height: 280px;
    }
}

/* Mobile Responsiveness for Problem Section */
@media (max-width: 768px) {
    #problem {
        padding: 40px 16px;
    }
    
    #problem h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .problem-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .problem-column.glass-card {
        padding: 30px;
    }
    
    .problem-column.glass-card i {
        font-size: 1.8rem;
    }
    
    .problem-column.glass-card h3 {
        font-size: 1.3rem;
    }
    
    .problem-column.glass-card p {
        font-size: 1rem;
    }
}

/* Mobile Responsiveness for Hero */
/* Tablet: PC’ye yakın görünüm, sadece margin/max-height ayarı */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-text h1,
    .hero-text h2 {
        font-size: 2.8rem;
    }
    
    #hero .hero-mockups {
        margin-top: 2.5vh;
        margin-bottom: 5vh;
    }
    #hero .hero-mockups .hero-devices {
        max-width: 100%;
        max-height: 84vh;
    }
}

@media (max-width: 768px) {
    /* Sadece header için üst boşluk; overflow verilmez – ayrı scroll alanı oluşmasın (yatay taşma body overflow-x: clip ile kesilir) */
    #hero {
        padding: 120px 16px 0 16px;
    }
    
    .hero-text {
        margin-bottom: 20px;
    }
    
    .hero-text h1,
    .hero-text h2 {
        font-size: 2.4rem;
    }
    
    .hero-text .slogan {
        font-size: 1.4rem;
    }
    
    .hero-text .description {
        font-size: 1rem;
    }
    
    /* Butonlar–mockup arası PC ile aynı (0.5vh) */
    .store-buttons {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 0.5vh;
    }
    
    .store-badge {
        width: 100%;
        max-width: 220px;
    }
    
    .store-badge img {
        height: 52px;
    }
    
    /* Onay kutusu–görsel ve görsel–problem boşlukları eşit */
    .store-approval-notice {
        margin-bottom: 2.5vh;
    }

    #hero .hero-mockups {
        margin-top: 2.5vh;
        margin-bottom: 5vh;
    }
    #hero .hero-mockups .hero-devices {
        max-width: 100%;
        max-height: 82vh;
    }
}

@media (max-width: 480px) {
    .hero-text h1,
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    /* 480px: onay kutusu–görsel ve görsel–problem boşlukları eşit */
    .store-approval-notice {
        margin-bottom: 2.5vh;
    }
    #hero .hero-mockups {
        margin-top: 2.5vh;
        margin-bottom: 5vh;
    }
    #hero .hero-mockups .hero-devices {
        max-width: 100%;
        max-height: 78vh;
    }
}

/* Slogan: tüm mobilde (768px altı) br gizle → "asistanınızla sosyalleşmek" boşluklu görünsün */
@media (max-width: 768px) {
    .hero-text .slogan br {
        display: none;
    }
}

/* === SCROLL TO TOP BUTTON === */
#scrollTopButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    
    /* Premium GlassCard - Header ile aynı stil */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.4px solid transparent;
    background-clip: padding-box;
    border-radius: 50%;
    
    /* Çoklu gölge katmanları - derinlik hissi */
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    
    /* Başlangıçta gizli */
    visibility: hidden;
    opacity: 0;
    
    /* Yumuşak geçiş */
    transition: all 0.3s ease;
}

/* Gradient border efekti */
#scrollTopButton::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 1.4px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(232, 208, 202, 0.8) 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
}

/* İkon stilleri */
#scrollTopButton i {
    font-size: 1.5rem;
    color: var(--color-brand-blue);
    transition: transform 0.3s ease;
}

/* Görünür durumda */
#scrollTopButton.show-scroll-top {
    visibility: visible;
    opacity: 1;
}

/* Hover efekti */
#scrollTopButton:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.12),
        0 4px 10px rgba(255, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

#scrollTopButton:hover i {
    transform: translateY(-2px);
}

/* Mobil uyum */
@media (max-width: 768px) {
    #scrollTopButton {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    #scrollTopButton i {
        font-size: 1.3rem;
    }
}

/* Download / Verify sayfa sarmalayıcı - yatay taşma önleme */
.download-page-wrap {
    overflow-x: hidden;
}

/* === İNGİLİZCE GÖRÜNÜM – KARTLARDA METİN SIKIŞMASINI ÖNLEMEK === */
/* Uzun İngilizce metinlerin kartlara düzgün sığması için font ve yükseklik ayarları */
html[lang="en"] .sticky-card.glass-card {
    min-height: 44vh;
    height: auto;
    padding: 32px 28px;
}

html[lang="en"] .sticky-card.glass-card h3 {
    font-size: 1.45rem;
    line-height: 1.25;
}

html[lang="en"] .sticky-card.glass-card p {
    font-size: 0.95rem;
    line-height: 1.55;
}

html[lang="en"] .problem-step {
    min-height: 44vh;
    height: auto;
    padding: 32px 36px;
}

html[lang="en"] .problem-step h3 {
    font-size: 1.45rem;
    line-height: 1.25;
}

html[lang="en"] .problem-step p {
    font-size: 0.95rem;
    line-height: 1.65;
}

html[lang="en"] .text-column {
    padding: 40px 44px;
}

html[lang="en"] .text-column h3 {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 16px;
}

html[lang="en"] .text-column p {
    font-size: 0.98rem;
    line-height: 1.7;
}

html[lang="en"] .feature-card.glass-card {
    padding: 32px 28px;
}

html[lang="en"] .feature-card.glass-card h3 {
    font-size: 1.4rem;
    line-height: 1.25;
    margin-bottom: 14px;
}

html[lang="en"] .feature-card.glass-card p {
    font-size: 0.92rem;
    line-height: 1.65;
}

html[lang="en"] .feature-card.glass-card img {
    max-height: 130px;
    margin-bottom: 16px;
}

html[lang="en"] .feature-card-hero img {
    max-height: 160px;
}

html[lang="en"] .tab-button {
    font-size: 0.9rem;
    padding: 18px 12px;
    line-height: 1.3;
    text-align: center;
}

html[lang="en"] .content-pane h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
}

html[lang="en"] .content-pane p {
    font-size: 0.98rem;
    line-height: 1.7;
}

html[lang="en"] #features h2,
html[lang="en"] #solution h2,
html[lang="en"] #how-it-works h2 {
    font-size: 1.85rem;
}

/* İngilizce – mobil kart metinleri */
@media (max-width: 768px) {
    html[lang="en"] .feature-card.glass-card h3 {
        font-size: 1.2rem;
    }
    
    html[lang="en"] .feature-card.glass-card p {
        font-size: 0.88rem;
        line-height: 1.6;
    }
    
    html[lang="en"] .text-column h3 {
        font-size: 1.35rem;
    }
    
    html[lang="en"] .text-column p {
        font-size: 0.92rem;
    }
    
    html[lang="en"] .tab-button {
        font-size: 0.85rem;
        padding: 14px 10px;
    }
    
    html[lang="en"] .content-pane h3 {
        font-size: 1.25rem;
    }
    
    html[lang="en"] .content-pane p {
        font-size: 0.92rem;
    }
}
