/* ========================================
   SKIP LINK (Accessibility)
   ======================================== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--accent);
    color: #111318;
    font-weight: 600;
    font-size: 14px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* M3 Theme: Dark Mode (default) */
:root {
    --bg-primary: #111318;
    --bg-secondary: #1d2024;
    --bg-header: rgba(17, 19, 24, 0.8);
    --text-primary: #e2e2e9;
    --text-secondary: #c4c6cf;
    --text-muted: #8e9099;
    --accent: #a9c7ff;
    --accent-light: #a9c7ff;
    --accent-glow: rgba(169, 199, 255, 0.12);
    --border: rgba(142, 144, 153, 0.3);
    --grid-color: rgba(255, 255, 255, 0.03);
    --card-bg: linear-gradient(135deg, #264777, #405f90);
    --phone-frame: #191c20;
    --phone-screen: #111318;
    --phone-shadow: rgba(0, 0, 0, 0.5);
    --hover-bg: rgba(255, 255, 255, 0.06);
    --active-bg: rgba(169, 199, 255, 0.15);
    --icon-color: #c4c6cf;
    --dropdown-bg: #1d2024;
    --surface-container: #1d2024;
    --surface-container-high: #282a2f;
    --surface-container-highest: #33353a;
    --success: #81c784;
    --success-bg: rgba(129, 199, 132, 0.15);
    --error: #ffb4ab;
    --error-bg: rgba(255, 180, 171, 0.15);
    --tertiary: #dcbce1;
    --tertiary-bg: rgba(220, 188, 225, 0.15);
}

/* M3 Theme: Light Mode */
[data-theme="light"] {
    --bg-primary: #f9f9ff;
    --bg-secondary: #ededf4;
    --bg-header: rgba(249, 249, 255, 0.8);
    --text-primary: #191c20;
    --text-secondary: #44474e;
    --text-muted: #74777f;
    --accent: #405f90;
    --accent-light: #405f90;
    --accent-glow: rgba(64, 95, 144, 0.15);
    --border: rgba(116, 119, 127, 0.3);
    --grid-color: rgba(0, 0, 0, 0.03);
    --card-bg: linear-gradient(135deg, #405f90, #264777);
    --phone-frame: #191c20;
    --phone-screen: #ffffff;
    --phone-shadow: rgba(0, 0, 0, 0.15);
    --hover-bg: rgba(0, 0, 0, 0.05);
    --active-bg: rgba(64, 95, 144, 0.1);
    --icon-color: #44474e;
    --dropdown-bg: #ffffff;
    --surface-container: #ededf4;
    --surface-container-high: #e7e8ee;
    --surface-container-highest: #e2e2e9;
    --success: #107c10;
    --success-bg: rgba(16, 124, 16, 0.15);
    --error: #ba1a1a;
    --error-bg: rgba(186, 26, 26, 0.15);
    --tertiary: #6f5675;
    --tertiary-bg: rgba(111, 86, 117, 0.15);
}

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

*, *::before, *::after {
    box-sizing: inherit;
}

/* Utility: hide elements without inline styles (CSP-safe) */
.is-hidden {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    overflow-y: auto;
    overflow-x: auto;
}

html::-webkit-scrollbar {
    display: none;
}

/* Mobile: Ensure free scrolling */
@media (max-width: 1024px) {
    html {
        overflow: auto !important;
    }
    
    body {
        overflow-x: auto !important;
        min-height: auto !important;
        display: block !important;
    }
    
    body.index-page {
        display: block !important;
        min-height: auto !important;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    display: block;
    position: relative;
}

/* Index page needs flex layout for sections */
body.index-page {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-primary);
    z-index: -1;
    pointer-events: none;
}

/* Page wrapper for content pages */
.page-content {
    flex: 1;
    padding-top: 64px;
}

/* Terms/Privacy container */
.terms-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 88px 24px 100px;
}

/* Grid Background - Fixed to body, covers entire page */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

.grid-background::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Grid Background */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: transparent;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Section Visibility Control - Only active section is visible */
.hero-section,
.features-section,
.problems-section,
.faq-section {
    transition: opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    will-change: opacity;
}

/* Hero section visible by default */
.hero-section {
    opacity: 1;
    pointer-events: auto;
}

/* Active section is visible */
.hero-section.section-active,
.features-section.section-active,
.problems-section.section-active,
.faq-section.section-active {
    opacity: 1;
    pointer-events: auto;
}

/* DISABLE section visibility on mobile - show all sections */
@media (max-width: 768px) {
    .hero-section,
    .features-section,
    .problems-section,
    .faq-section {
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* Make sections full viewport height for proper snapping */
.hero-section,
.features-section,
.problems-section,
.faq-section {
    min-height: 100vh;
    position: relative;
}

/* Section sizing */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    flex: 1;
    min-height: 0;
}

/* Add scroll margin for sections to account for fixed header */
.features-section,
.problems-section,
.faq-section {
    scroll-margin-top: 64px;
}

/* When used as standalone pages (not in index.html) */
.page-section {
    min-height: calc(100vh - 64px);
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.grid-background::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

/* Atatürk Portresi - 19 Mayıs Özel */
.ataturk-portrait {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
    object-position: center;
}

/* Atatürk portresi göründüğünde header-inner düzeni */
.header-inner.has-ataturk {
    justify-content: flex-start;
    gap: 12px;
}

.header-inner.has-ataturk .logo {
    margin-right: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
}

/* Light mode: Match logo color to Play Store button (#405f90) */
[data-theme="light"] .logo-img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(45%) saturate(350%) hue-rotate(192deg) brightness(95%) contrast(90%);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 6px 12px;
    border-radius: 8px;
    position: relative;
}

.nav a:hover {
    color: var(--text-primary);
    background: var(--hover-bg);
}

.nav a.active {
    color: var(--accent-light);
    background: var(--active-bg);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--accent-light);
    border-radius: 1px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

/* Zafer Bayramı Text - Independent Position */
.zafer-text {
    position: fixed;
    right: 56px;
    top: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #E30A17;
    text-align: center;
    letter-spacing: 0.3px;
    pointer-events: none;
    animation: zaferTextPulse 2s ease-in-out infinite;
    line-height: 1.4;
    white-space: normal;
    max-width: 220px;
    z-index: 101;
}

@keyframes zaferTextPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.75;
    }
}

@media (max-width: 1440px) {
    .zafer-text {
        font-size: 11px;
        max-width: 200px;
        right: 20px;
    }
}

@media (max-width: 1280px) {
    .zafer-text {
        display: none;
    }
}

/* Mobilde bayram yazısı - tablet */
@media (max-width: 1024px) {
    .zafer-text {
        font-size: 10px;
        max-width: 220px;
        position: absolute;
        right: auto;
        left: 50%;
        top: 50%;
        transform: translate(calc(-50% + 15px), -50%);
        margin-top: 0;
        line-height: 1.3;
        pointer-events: none;
        z-index: 102;
    }

    /* Atatürk portresi ile header düzeni - portreyi gizle, sadece yazı göster */
    .header-inner.has-ataturk {
        justify-content: space-between !important;
        gap: 0;
    }

    .header-inner.has-ataturk .logo {
        margin-right: 0;
    }

    .ataturk-portrait {
        display: none !important;
    }
}

/* Mobilde bayram yazısı - phone */
@media (max-width: 768px) {
    .zafer-text {
        font-size: 9px;
        max-width: 200px;
        position: absolute;
        right: auto;
        left: 50%;
        top: 50%;
        transform: translate(calc(-50% + 15px), -50%);
        margin-top: 0;
        line-height: 1.25;
    }
}

/* Küçük telefonlar */
@media (max-width: 480px) {
    .zafer-text {
        font-size: 8px;
        max-width: 170px;
        position: absolute;
        right: auto;
        left: 50%;
        top: 50%;
        transform: translate(calc(-50% + 15px), -50%);
        margin-top: 0;
        line-height: 1.2;
        letter-spacing: 0.2px;
    }
}

/* Çok küçük ekranlar */
@media (max-width: 360px) {
    .zafer-text {
        font-size: 7px;
        max-width: 140px;
        position: absolute;
        right: auto;
        left: 50%;
        top: 50%;
        transform: translate(calc(-50% + 15px), -50%);
        margin-top: 0;
    }
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.control-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.control-btn .btn-label {
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Language Dropdown */
.lang-wrapper {
    position: relative;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--dropdown-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    min-width: 175px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    box-shadow: 0 10px 30px var(--phone-shadow);
    z-index: 200;
    overflow: hidden;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    margin-bottom: 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
    color: var(--text-secondary);
    border: none;
    background: none;
    width: 100%;
    font-family: inherit;
    text-decoration: none;
}

.lang-option:last-child {
    margin-bottom: 0;
}

.lang-option:hover {
    background: var(--hover-bg);
}

.lang-option.active {
    color: var(--accent-light);
    background: var(--active-bg);
}

.lang-flag {
    font-size: 18px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-phone {
    flex: 0 0 auto;
}

.hero-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.hero-subtitle {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 0 32px 0;
    transition: color 0.3s ease;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
}

.trust-badge-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-badge-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.trust-badge-icon.free {
    background: var(--success-bg);
    color: var(--success);
}

.trust-badge-icon.secure {
    background: var(--accent-glow);
    color: var(--accent-light);
}

.trust-badge-icon.no-ads {
    background: var(--tertiary-bg);
    color: var(--tertiary);
}

.trust-badge-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Features Section */
.features-section {
    position: relative;
    min-height: 100vh;
    background: transparent;
    padding: 40px 24px 80px;
    z-index: 1;
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.features-header {
    text-align: center;
    margin-bottom: 48px;
}

.features-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.features-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.features-subtitle {
    font-size: clamp(13px, 1.4vw, 15px);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--surface-container);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: opacity 0.35s ease-out, transform 0.35s ease-out;
    opacity: 0;
    transform: translateY(20px);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: var(--accent-light);
    box-shadow: 0 4px 16px var(--accent-glow);
    transition: none;
}

.feature-card.visible:hover {
    transform: translateY(0);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--accent-light);
}

.feature-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Problems Section */
.problems-section {
    position: relative;
    min-height: auto;
    background: transparent;
    padding: 40px 24px 60px;
    z-index: 1;
}

.problems-inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.problems-header {
    text-align: center;
    margin-bottom: 48px;
}

.problems-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.problems-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.problems-subtitle {
    font-size: clamp(13px, 1.4vw, 15px);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.5;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
}

.problem-card {
    background: var(--surface-container);
    border-radius: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    will-change: transform, opacity;
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.problem-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger animasyonları - kartlar sırayla gelsin */
.problem-card:nth-child(1) { transition-delay: 0.05s; }
.problem-card:nth-child(2) { transition-delay: 0.1s; }
.problem-card:nth-child(3) { transition-delay: 0.15s; }
.problem-card:nth-child(4) { transition-delay: 0.2s; }
.problem-card:nth-child(5) { transition-delay: 0.25s; }
.problem-card:nth-child(6) { transition-delay: 0.3s; }

.problem-card:hover {
    border-color: var(--accent-light);
    box-shadow: 0 8px 32px rgba(64, 95, 144, 0.15);
    transform: translateY(-4px) scale(1);
}

.problem-card:hover .problem-icon.solution {
    animation: iconPulse 0.6s ease;
}

.problem-card:hover .problem-panel--solution {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.04) 100%);
}

.problem-card:hover .problem-panel--pain {
    background: linear-gradient(135deg, rgba(255, 82, 82, 0.06) 0%, rgba(255, 82, 82, 0.03) 100%);
}

/* İkon pulse animasyonu */
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Ayırıcı çizgi animasyonu */
.problem-layout::after {
    content: '';
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
    transform: translateX(-50%);
    transition: opacity 0.3s ease;
}

.problem-card:hover .problem-layout::after {
    opacity: 0.5;
}

/* Horizontal layout: problem left, solution right */
.problem-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    position: relative;
}

/* Orta ayırıcı çizgi */
.problem-layout::after {
    content: '';
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border) 30%, var(--border) 70%, transparent);
    transform: translateX(-50%);
}

/* Panel stilleri */
.problem-panel {
    padding: 16px;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.problem-panel--pain {
    background: linear-gradient(135deg, rgba(255, 82, 82, 0.04) 0%, rgba(255, 82, 82, 0.02) 100%);
    border-right: 1px solid rgba(255, 82, 82, 0.1);
}

.problem-panel--solution {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.04) 0%, rgba(76, 175, 80, 0.02) 100%);
    border-left: 1px solid rgba(76, 175, 80, 0.1);
}

.problem-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.problem-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.problem-icon svg {
    width: 18px;
    height: 18px;
}

.problem-icon.pain {
    background: var(--error-bg);
}

.problem-icon.pain svg {
    fill: var(--error);
}

.problem-icon.solution {
    background: var(--success-bg);
}

.problem-icon.solution svg {
    fill: var(--success);
}

.problem-tag {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 5px;
    margin-bottom: 5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    position: relative;
    padding-left: 8px;
}

.problem-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    flex-shrink: 0;
}

.problem-tag.pain::before {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: var(--error);
}

.problem-tag.solution::before {
    clip-path: circle(50% at 50% 50%);
    background: var(--success);
}

.problem-tag.pain {
    background: var(--error-bg);
    color: var(--error);
    border-left: 2px solid var(--error);
}

.problem-tag.solution {
    background: var(--success-bg);
    color: var(--success);
    border-left: 2px solid var(--success);
}

.problem-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
    line-height: 1.3;
}

.problem-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: box;
    line-clamp: 3;
    box-orient: vertical;
    overflow: hidden;
}

.problem-divider {
    display: none;
}

.problem-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    min-width: 36px;
}

.problem-arrow svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.problem-arrow span {
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #405f90, #264777);
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(64, 95, 144, 0.4);
}

[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #405f90, #264777);
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(64, 95, 144, 0.4);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(64, 95, 144, 0.5);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline-light:hover {
    background: rgba(64, 95, 144, 0.1);
    transform: translateY(-1px);
    border-color: rgba(64, 95, 144, 0.5);
}

/* Google Play Button */
.btn-google-play {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #01875f, #016e4d);
    color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(1, 135, 95, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    will-change: transform, box-shadow;
    transition: transform 80ms ease-out, box-shadow 80ms ease-out;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-google-play::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 80ms ease-out;
}

.btn-google-play::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(1, 135, 95, 0.6), transparent);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 80ms ease-out;
}

.btn-google-play:hover::before {
    opacity: 1;
}

.btn-google-play:hover::after {
    opacity: 1;
}

.btn-google-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(1, 135, 95, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    background: linear-gradient(135deg, #019a6d, #01875f);
}

.btn-google-play:active {
    transform: translateY(-1px);
}

.google-play-icon {
    flex-shrink: 0;
    transition: transform 80ms ease-out;
}

.btn-google-play:hover .google-play-icon {
    transform: scale(1.15);
}

.google-play-text {
    display: flex;
    align-items: center;
}

.google-play-label {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1;
}

.google-play-store {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
}

/* App Store Button */
.btn-app-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #0070e2, #005bb8);
    color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0, 112, 226, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    will-change: transform, box-shadow;
    transition: transform 80ms ease-out, box-shadow 80ms ease-out;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-app-store::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 80ms ease-out;
}

.btn-app-store::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(0, 112, 226, 0.6), transparent);
    border-radius: 16px;
    z-index: -1;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 80ms ease-out;
}

.btn-app-store:hover::before {
    opacity: 1;
}

.btn-app-store:hover::after {
    opacity: 1;
}

.btn-app-store:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(0, 112, 226, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    background: linear-gradient(135deg, #007cf7, #0070e2);
}

.btn-app-store:active {
    transform: translateY(-1px);
}

.app-store-icon {
    flex-shrink: 0;
    transition: transform 80ms ease-out;
}

.btn-app-store:hover .app-store-icon {
    transform: scale(1.15);
}

.app-store-text {
    display: flex;
    align-items: center;
}

.app-store-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
}

[data-theme="light"] .btn-google-play {
    background: linear-gradient(135deg, #01875f, #016e4d);
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(1, 135, 95, 0.4), 0 0 0 1px rgba(255,255,255,0.2) inset;
}

[data-theme="light"] .btn-google-play:hover {
    box-shadow: 0 10px 32px rgba(1, 135, 95, 0.5), 0 0 0 1px rgba(255,255,255,0.3) inset;
}

[data-theme="light"] .btn-app-store {
    background: linear-gradient(135deg, #0070e2, #005bb8);
    color: #ffffff;
    box-shadow: 0 6px 24px rgba(0, 112, 226, 0.4), 0 0 0 1px rgba(255,255,255,0.2) inset;
}

[data-theme="light"] .btn-app-store:hover {
    box-shadow: 0 10px 32px rgba(0, 112, 226, 0.5), 0 0 0 1px rgba(255,255,255,0.3) inset;
}

/* Phone Mockup */
.phone-container {
    position: relative;
    width: 320px;
    height: 640px;
    margin: 0 auto;
    perspective: 1000px;
}

.phone-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(30px);
    opacity: 0.5;
}

/* ========================================
   SCROLL PROGRESS INDICATOR
   ======================================== */
.scroll-progress-bar {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    z-index: 99;
    pointer-events: none;
}

.scroll-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #405f90, #a9c7ff, #405f90);
    background-size: 200% 100%;
    animation: shimmerProgress 3s ease-in-out infinite;
    border-radius: 0 2px 2px 0;
    transition: width 0.1s ease-out;
}

@keyframes shimmerProgress {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ========================================
   GRID BACKGROUND ANIMATIONS
   ======================================== */
.grid-background {
    transition: transform 0.3s ease-out;
    animation: gridMove 25s linear infinite;
}

@keyframes gridMove {
    0%, 100% { background-position: 0 0; }
    25% { background-position: 20px 20px; }
    50% { background-position: 40px 40px; }
    75% { background-position: 20px 20px; }
}

.grid-background::after {
    animation: glowBreathe 6s ease-in-out infinite;
}

@keyframes glowBreathe {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1.08);
    }
}

/* ========================================
   HERO STAGGER ANIMATIONS
   ======================================== */
.hero-title {
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

.hero-actions {
    opacity: 0;
    transform: translateY(25px);
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.trust-badges {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.hero-phone {
    opacity: 0;
    transform: translateY(60px) scale(0.7);
    animation: heroPhoneIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroPhoneIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(0.75);
    }
}

/* Phone Mockup - scale down for hero section */
.hero-phone {
    flex: 0 0 auto;
}

/* ========================================
   PHONE SCREEN ELEMENT ANIMATIONS
   ======================================== */
.phone-screen-content {
    opacity: 0;
    animation: phoneScreenIn 0.6s ease-out 1s forwards;
}

@keyframes phoneScreenIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.app-bar {
    opacity: 0;
    animation: phoneElIn 0.5s ease-out 1.2s forwards;
}

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

.cinematic-header {
    opacity: 0;
    animation: phoneElIn 0.5s ease-out 1.35s forwards;
}

.finance-card {
    opacity: 0;
    transform: translateY(15px);
    animation: phoneCardIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1.5s forwards;
}

@keyframes phoneCardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    opacity: 0;
    animation: phoneElIn 0.4s ease-out forwards;
}

.section-title:nth-of-type(1) {
    animation-delay: 1.7s;
}

.section-title:nth-of-type(2) {
    animation-delay: 1.85s;
}

.app-card.alert-card {
    opacity: 0;
    transform: translateX(-15px);
    animation: phoneSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.8s forwards;
}

@keyframes phoneSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.app-card.activity-card {
    opacity: 0;
    transform: translateX(-15px);
    animation: phoneSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1.95s forwards;
}

.bottom-nav {
    opacity: 0;
    transform: translateY(10px);
    animation: phoneElIn 0.4s ease-out 2.1s forwards;
}

/* ========================================
   WAVE CONTINUOUS ANIMATION
   ======================================== */
.finance-wave {
    animation: waveMove 4s ease-in-out infinite;
    overflow: hidden;
    width: 100%;
}

.finance-wave svg {
    animation: waveSlide 6s linear infinite;
    width: 200%;
    display: block;
}

@keyframes waveMove {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

@keyframes waveSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   FINANCE COUNTER ANIMATION
   ======================================== */
.finance-total {
    font-variant-numeric: tabular-nums;
}

.finance-total.counting {
    animation: counterPulse 0.1s ease-out;
}

@keyframes counterPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.feature-card .feature-icon {
    transition: transform 0.3s ease-out, background 0.3s ease;
}

.feature-card:hover .feature-icon {
    animation: iconBounce 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes iconBounce {
    0% { transform: scale(1) translateY(0); }
    25% { transform: scale(1.15) translateY(-5px); }
    50% { transform: scale(0.95) translateY(0); }
    75% { transform: scale(1.05) translateY(-2px); }
    100% { transform: scale(1) translateY(0); }
}

/* ========================================
   FEATURE CARD ICON GLOW ON VISIBLE
   ======================================== */
.feature-card.visible .feature-icon {
    animation: iconGlow 0.6s ease-out forwards;
}

@keyframes iconGlow {
    0% {
        box-shadow: 0 0 0 0 var(--accent-glow);
        background: var(--accent-glow);
    }
    100% {
        box-shadow: 0 0 20px 5px var(--accent-glow);
        background: var(--accent-glow);
    }
}

/* ========================================
   PROBLEM CARDS - ARROW ANIMATION
   ======================================== */
.problem-arrow {
    position: relative;
    overflow: hidden;
}

.problem-arrow::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-light), transparent);
    animation: arrowLineMove 2s ease-in-out infinite;
}

@keyframes arrowLineMove {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

.problem-icon.pain {
    animation: painPulse 3s ease-in-out infinite;
}

@keyframes painPulse {
    0%, 100% { box-shadow: 0 0 0 0 transparent; }
    50% { box-shadow: 0 0 12px 3px var(--error-bg); }
}

.problem-icon.solution {
    animation: solutionGlow 3s ease-in-out infinite 1.5s;
}

@keyframes solutionGlow {
    0%, 100% { box-shadow: 0 0 0 0 transparent; }
    50% { box-shadow: 0 0 12px 3px var(--success-bg); }
}

/* ========================================
   FAQ STAGGER ANIMATION
   ======================================== */
.faq-item {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.35s ease-out, transform 0.35s ease-out, border-color 0.2s ease;
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   BUTTON RIPPLE EFFECT
   ======================================== */
.btn-google-play,
.btn-app-store,
.btn-faq-cta,
.btn-primary {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========================================
   FLOATING PARTICLES (HERO) - ENHANCED
   ======================================== */
.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Standard small particles */
.hero-particle {
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 50%);
    width: var(--size, 4px);
    height: var(--size, 4px);
    background: var(--accent-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat var(--dur, 8s) ease-in-out var(--delay, 0s) infinite;
    filter: blur(0.5px);
}

/* Glow particles - bigger, softer */
.hero-particle-glow {
    width: var(--size, 8px);
    height: var(--size, 8px);
    background: transparent;
    filter: blur(6px);
    box-shadow: 0 0 calc(var(--size, 8px) * 3) calc(var(--size, 8px) * 1.5) var(--accent-glow);
    opacity: 0;
}

@keyframes particleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.3);
    }
    8% {
        opacity: 0.15;
        transform: translateY(0) translateX(0) scale(0.6);
    }
    15% {
        opacity: 0.5;
        transform: translateY(0) translateX(0) scale(1);
    }
    30% {
        transform: translateY(calc(var(--drift, -40px) * -0.35)) translateX(calc(var(--drift, -40px) * 0.45));
        opacity: 0.6;
    }
    50% {
        opacity: 0.4;
        transform: translateY(var(--drift, -80px)) translateX(calc(var(--drift, -40px) * 0.15)) scale(0.75);
    }
    70% {
        transform: translateY(calc(var(--drift, -40px) * -0.35)) translateX(calc(var(--drift, -40px) * -0.45));
        opacity: 0.6;
    }
    85% {
        opacity: 0.5;
        transform: translateY(0) translateX(0) scale(1);
    }
    92% {
        opacity: 0.15;
        transform: translateY(0) translateX(0) scale(0.6);
    }
}

/* ========================================
   BACKGROUND GRID ORBS - AMBIENT GLOW
   ======================================== */
.grid-background::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(169, 199, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: orbFloat1 20s ease-in-out infinite;
    pointer-events: none;
}

.grid-background::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(64, 95, 144, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: orbFloat2 25s ease-in-out infinite;
    pointer-events: none;
}

/* ========================================
   SECTION PARTICLES (Features, Problems, FAQ)
   ======================================== */
.section-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.section-particle {
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 50%);
    width: var(--size, 4px);
    height: var(--size, 4px);
    background: var(--accent-light);
    border-radius: 50%;
    opacity: 0;
    animation: sectionParticleFloat var(--dur, 8s) ease-in-out var(--delay, 0s) infinite;
    filter: blur(0.5px);
}

.section-particle-glow {
    width: var(--size, 8px);
    height: var(--size, 8px);
    background: transparent;
    filter: blur(6px);
    box-shadow: 0 0 calc(var(--size, 8px) * 3) calc(var(--size, 8px) * 1.5) var(--accent-glow);
    opacity: 0;
}

@keyframes sectionParticleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0.3);
    }
    8% {
        opacity: 0.15;
        transform: translateY(0) translateX(0) scale(0.6);
    }
    15% {
        opacity: 0.5;
        transform: translateY(0) translateX(0) scale(1);
    }
    30% {
        transform: translateY(calc(var(--drift, -40px) * -0.35)) translateX(calc(var(--drift, -40px) * 0.45));
        opacity: 0.6;
    }
    50% {
        opacity: 0.4;
        transform: translateY(var(--drift, -80px)) translateX(calc(var(--drift, -40px) * 0.15)) scale(0.75);
    }
    70% {
        transform: translateY(calc(var(--drift, -40px) * -0.35)) translateX(calc(var(--drift, -40px) * -0.45));
        opacity: 0.6;
    }
    85% {
        opacity: 0.5;
        transform: translateY(0) translateX(0) scale(1);
    }
    92% {
        opacity: 0.15;
        transform: translateY(0) translateX(0) scale(0.6);
    }
}

@keyframes orbFloat1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(-60px, 40px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(0, 80px) scale(0.9);
        opacity: 0.5;
    }
    75% {
        transform: translate(60px, 40px) scale(1.05);
        opacity: 0.7;
    }
}

@keyframes orbFloat2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translate(50px, -60px) scale(1.15);
        opacity: 0.7;
    }
    50% {
        transform: translate(0, -120px) scale(0.85);
        opacity: 0.4;
    }
    75% {
        transform: translate(-50px, -60px) scale(1.05);
        opacity: 0.6;
    }
}

/* ========================================
   DYNAMIC BACKGROUND ORBS (HERO ONLY)
   ======================================== */
.hero-section::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 60%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(169, 199, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroOrb1 18s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 60%;
    left: 20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(38, 71, 119, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroOrb2 22s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes heroOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    25% { transform: translate(-80px, 40px) scale(1.15); opacity: 0.55; }
    50% { transform: translate(0, 80px) scale(0.85); opacity: 0.3; }
    75% { transform: translate(80px, 40px) scale(1.1); opacity: 0.5; }
}

@keyframes heroOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    25% { transform: translate(70px, -50px) scale(1.1); opacity: 0.45; }
    50% { transform: translate(0, -100px) scale(0.9); opacity: 0.25; }
    75% { transform: translate(-70px, -50px) scale(1.05); opacity: 0.4; }
}

/* ========================================
   TRUST BADGE HOVER ANIMATIONS
   ======================================== */
.trust-badge {
    transition: transform 0.2s ease;
}

.trust-badge:hover {
    transform: translateY(-2px);
}

.trust-badge-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-badge:hover .trust-badge-icon {
    transform: scale(1.1);
}

/* ========================================
   NAV LINK UNDERLINE ANIMATION
   ======================================== */
.nav a {
    overflow: hidden;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-light);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav a:hover::after,
.nav a.active::after {
    width: 20px;
    left: 50%;
    transform: translateX(-50%);
}

/* ========================================
   REDUCED MOTION (ACCESSIBILITY)
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .phone {
        animation: none !important;
        transform: rotateY(0deg) rotateX(0deg) !important;
    }

    .grid-background,
    .grid-background::after,
    .finance-wave,
    .finance-wave svg,
    .problem-icon.pain,
    .problem-icon.solution {
        animation: none !important;
    }

    .hero-title,
    .hero-subtitle,
    .hero-actions,
    .trust-badges,
    .hero-phone,
    .phone-screen-content,
    .app-bar,
    .cinematic-header,
    .finance-card,
    .section-title,
    .app-card,
    .bottom-nav {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .animate-on-scroll,
    .feature-card,
    .problem-card,
    .faq-item {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .feature-card:hover {
        transform: none !important;
    }

    .hero-particle,
    .hero-particle-glow {
        display: none !important;
    }

    .scroll-progress-bar {
        display: none !important;
    }

    .ripple {
        display: none !important;
    }

    .grid-background::before,
    .grid-background::after,
    .hero-section::before,
    .hero-section::after {
        animation: none !important;
    }
}

/* ========================================
   EXISTING PHONE ANIMATION (keep but improve)
   ======================================== */
@keyframes phoneRotate {
    0%, 100% { transform: rotateY(-8deg) rotateX(3deg); }
    25% { transform: rotateY(0deg) rotateX(0deg); }
    50% { transform: rotateY(8deg) rotateX(-3deg); }
    75% { transform: rotateY(0deg) rotateX(0deg); }
}

/* Scale phone mockup down for hero section */
.hero-phone {
    flex: 0 0 auto;
    transform: scale(0.75);
    transform-origin: center center;
}

.phone-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1c1c1e, #2c2c2e);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 0 0 1px var(--border) inset;
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    transition: background 0.3s ease;
    display: flex;
    flex-direction: column;
}

.phone-screen-content {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    padding-bottom: 80px;
}

.phone-screen-content::-webkit-scrollbar { display: none; }

/* Status Bar */
.status-bar {
    padding: 8px 16px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.status-bar-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-bar-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-icon {
    width: 18px;
    height: 18px;
    fill: var(--text-primary);
}

.status-logo {
    width: 18px;
    height: 18px;
}

.status-logo svg {
    width: 100%;
    height: 100%;
}

/* App Bar */
.app-bar {
    padding: 8px 16px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-bar-menu {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.app-bar-menu svg { width: 22px; height: 22px; fill: currentColor; }

.app-bar-title {
    flex: 1;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Cinematic Header - Vehicle Image */
.cinematic-header {
    position: relative;
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.cinematic-header-bg {
    position: absolute;
    inset: 0;
    /* Dark tema: surface -> surface+primary blend -> surface */
    background: linear-gradient(
        180deg,
        #111318 0%,
        #1a1c22 50%,
        #111318 100%
    );
}

[data-theme="light"] .cinematic-header-bg {
    /* Light tema: surface -> surface+primary blend -> surface (daha belirgin) */
    background: linear-gradient(
        180deg,
        #f9f9ff 0%,
        #e8e8f5 50%,
        #f9f9ff 100%
    );
}

.cinematic-header-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 80px;
    background: radial-gradient(ellipse, rgba(64, 95, 144, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.cinematic-header-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cinematic-header-img svg {
    width: 130px;
    height: 130px;
    /* Dark temada daha transparan, light temada daha belirgin */
    fill: rgba(169, 199, 255, 0.25);
}

[data-theme="light"] .cinematic-header-img svg {
    fill: rgba(64, 95, 144, 0.55);
}

.cinematic-header-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(7px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cinematic-header-title {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    letter-spacing: 1px;
}

.cinematic-header-plate {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    letter-spacing: 1px;
}

/* Finance Hero Card - Drivarc Design */
.finance-card {
    margin: 12px 16px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    min-height: 120px;
}

.finance-card-bg {
    position: absolute;
    inset: 0;
    /* Dark tema: Koyu lacivert gradient (Borsa ekranı gibi) */
    background: linear-gradient(135deg, #0A1929 0%, #132F4C 100%);
    border-radius: 24px;
}

[data-theme="light"] .finance-card-bg {
    /* Light tema: Koyu lacivert gradient */
    background: linear-gradient(135deg, #1A237E 0%, #283593 100%);
    border-radius: 24px;
}

/* Wave chart background */
.finance-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    opacity: 0.3;
}

.finance-wave svg {
    width: 200%;
    height: 100%;
}

.finance-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 24px;
}

.finance-card-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.finance-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.finance-card-label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
}

.finance-info-icon {
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
}

.finance-info-icon svg {
    width: 16px;
    height: 16px;
    fill: rgba(255, 255, 255, 0.5);
}

.finance-trend-badge {
    margin-right: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.finance-trend-badge.increasing {
    background: rgba(255, 180, 171, 0.2);
    color: #ffb4ab;
    border: 1px solid rgba(255, 180, 171, 0.4);
}

.finance-trend-badge svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.finance-total {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.finance-breakdown {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding: 0 20px;
}

.finance-breakdown-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.finance-breakdown-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.finance-breakdown-dot.fuel { background: #4caf50; }
.finance-breakdown-dot.maintenance { background: #9c27b0; }
.finance-breakdown-dot.expense { background: #ff9800; }

.finance-breakdown-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}

.finance-breakdown-value {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Section Title */
.section-title {
    padding: 16px 16px 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

/* AppCard - Dashboard Style */
.app-card {
    margin: 0 16px 8px;
    background: var(--surface-container);
    border-radius: 16px;
}

/* Alert Card - Dashboard ListTile Style */
.alert-card {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
}

.alert-icon svg { width: 20px; height: 20px; fill: currentColor; }
.alert-icon.overdue { color: var(--error); }
.alert-icon.due-soon { color: var(--tertiary); }

.alert-info { flex: 1; min-width: 0; }

.alert-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alert-subtitle {
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
}

.alert-subtitle.overdue { color: var(--error); }
.alert-subtitle.due-soon { color: var(--tertiary); }

.alert-trailing {
    flex-shrink: 0;
    color: var(--text-muted);
}

.alert-trailing svg { width: 16px; height: 16px; fill: currentColor; }

/* Activity Card - Mobile App Style */
.activity-card {
    margin: 0 16px 8px;
    background: var(--surface-container-high);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.activity-card:hover {
    background: var(--surface-container-highest);
    transform: translateY(-1px);
}

.activity-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, #4caf50, #45a049);
    border: 3px solid var(--phone-screen);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .activity-icon-wrapper {
    background: linear-gradient(135deg, #4caf50, #45a049);
    border-color: #ffffff;
}

.activity-icon-svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-header {
    margin-bottom: 2px;
}

.activity-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.activity-subtitle {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.clock-icon {
    width: 14px;
    height: 14px;
    fill: var(--text-muted);
}

.activity-date span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.activity-trailing {
    flex-shrink: 0;
    color: var(--text-muted);
    align-self: center;
}

.activity-trailing svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Maintenance Status Card - Dashboard Grid Style */
.maintenance-status-card {
    margin: 0 16px 8px;
    background: var(--surface-container);
    border-radius: 16px;
    padding: 12px;
}

.maintenance-status-card .status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--surface-container-high);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.maintenance-status-card .status-item:hover {
    background: var(--surface-container-highest);
    transform: translateY(-1px);
}

.maintenance-status-card .status-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.maintenance-status-card .status-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.maintenance-status-card .status-icon.overdue {
    background: rgba(255, 180, 171, 0.2);
    color: #ffb4ab;
}

[data-theme="light"] .maintenance-status-card .status-icon.overdue {
    background: rgba(186, 26, 26, 0.15);
    color: #ba1a1a;
}

.maintenance-status-card .status-icon.pending {
    background: rgba(169, 199, 255, 0.2);
    color: #a9c7ff;
}

[data-theme="light"] .maintenance-status-card .status-icon.pending {
    background: rgba(64, 95, 144, 0.15);
    color: #405f90;
}

.maintenance-status-card .status-icon.in-progress {
    background: rgba(129, 199, 132, 0.2);
    color: #81c784;
}

[data-theme="light"] .maintenance-status-card .status-icon.in-progress {
    background: rgba(16, 124, 16, 0.15);
    color: #107c10;
}

.maintenance-status-card .status-info {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex: 1;
}

.maintenance-status-card .status-count {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.maintenance-status-card .status-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Bottom Navigation - Drivarc Accessible Style */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px 10px;
    background: var(--surface-container);
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 0 0 32px 32px;
    z-index: 10;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--text-muted);
    border-radius: 50%;
}

.nav-item.active {
    background: var(--surface-container-highest);
    color: var(--text-primary);
}

.nav-item svg { width: 22px; height: 22px; fill: currentColor; }
.nav-item-label { display: none; }

/* Center FAB Button */
.nav-fab {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.nav-fab svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

[data-theme="light"] .nav-fab {
    background: #405f90;
    color: #ffffff;
}

/* Camera Notch */
.camera-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #1a1a2e;
    border-radius: 50%;
    z-index: 20;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Phone side buttons */
.phone-frame::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 120px;
    width: 3px;
    height: 30px;
    background: #2a2a3e;
    border-radius: 2px 0 0 2px;
}

.phone-frame::after {
    content: '';
    position: absolute;
    left: -3px;
    top: 170px;
    width: 3px;
    height: 50px;
    background: #2a2a3e;
    border-radius: 2px 0 0 2px;
}

.phone-side-button {
    position: absolute;
    right: -3px;
    top: 150px;
    width: 3px;
    height: 70px;
    background: #2a2a3e;
    border-radius: 0 2px 2px 0;
}

/* FAQ Section */
.faq-section {
    position: relative;
    min-height: 100vh;
    background: transparent;
    padding: 40px 24px 100px;
    z-index: 1;
}

.faq-inner {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding-bottom: 100px;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.faq-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.faq-subtitle {
    font-size: clamp(13px, 1.4vw, 15px);
    color: var(--text-secondary);
    line-height: 1.5;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* FAQ Footer - used in terms/privacy pages */
.faq-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.faq-footer-links {
    display: flex;
    gap: 24px;
}

.faq-footer-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.faq-footer-link:hover {
    color: var(--accent-light);
}

.faq-footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

.faq-item {
    background: var(--surface-container);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: opacity 0.35s ease-out, transform 0.35s ease-out;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.faq-item:hover {
    border-color: var(--accent-light);
    transition: none;
}

.faq-item.active {
    border-color: var(--accent-light);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
    gap: 12px;
}

.faq-question:hover {
    color: var(--accent-light);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    fill: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), fill 0.2s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    fill: var(--accent-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
}

.faq-answer-inner {
    padding: 0 20px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    margin-top: 32px;
    margin-bottom: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.faq-cta.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-cta-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.btn-faq-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--accent-glow);
    color: var(--accent-light);
    border-radius: 12px;
    border: 1px solid var(--accent-light);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    will-change: transform, box-shadow;
    transition: transform 80ms ease-out, box-shadow 80ms ease-out, background 80ms ease-out;
}

.btn-faq-cta:hover {
    background: var(--active-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-faq-cta svg {
    flex-shrink: 0;
}

/* Site Footer - only visible in FAQ section via JS */
.site-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-top: 1px solid var(--border);
    padding: 12px 24px;
    background: var(--bg-primary);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.site-footer.visible {
    display: block;
}

/* Mobile: Footer should be static at bottom of page */
@media (max-width: 1024px) {
    .site-footer {
        position: relative !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-top: 40px;
        padding: 20px 16px;
    }
    
    .site-footer.visible {
        display: block !important;
    }
}

.footer-inner {
    max-width: 100%;
    margin: 0 24px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.footer-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent-light);
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* Footer Holiday Message */
.footer-holiday {
    font-size: 13px;
    font-weight: 700;
    color: #E30A17;
    margin-top: 8px;
    letter-spacing: 0.5px;
    animation: footerHolidayPulse 2s ease-in-out infinite;
}

@keyframes footerHolidayPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Snow Effect (New Year Special) */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: snowFall linear infinite;
}

@keyframes snowFall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.8;
    }
    75% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) translateX(20px) rotate(180deg);
        opacity: 0;
    }
}

/* Snow Toggle Button */
.snow-toggle {
    position: relative;
}

.snow-toggle .icon-snow-on,
.snow-toggle .icon-snow-off {
    width: 18px;
    height: 18px;
    transition: opacity 0.3s ease;
}

.snow-toggle .icon-snow-off {
    opacity: 0.6;
}

/* Scroll Navigation */
.scroll-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scroll-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.scroll-nav-btn:hover {
    border-color: var(--accent-light);
    color: var(--accent-light);
    background: var(--surface-container-high);
}

.scroll-nav-btn.active {
    border-color: var(--accent-light);
    background: var(--active-bg);
    color: var(--accent-light);
}

.scroll-nav-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.scroll-nav-btn-label {
    display: none;
}

/* ========================================
   RESPONSIVE: TABLET (1024px)
   ======================================== */
@media (max-width: 1024px) {
    /* Hero Section */
    .hero-content {
        gap: 50px;
        padding: 110px 32px 80px;
    }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 15px; }
    
    .hero-phone {
        transform: scale(0.7);
    }
    
    /* Features Section */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .features-section { padding: 50px 32px 60px; }
    .features-title { font-size: 26px; }
    
    /* Problems Section */
    .problems-section { padding: 50px 32px 60px; }
    .problems-title { font-size: 26px; }
    .problems-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    
    /* FAQ Section */
    .faq-section { padding: 50px 32px 80px; }
    .faq-title { font-size: 26px; }
    .faq-inner { max-width: 680px; }
}

/* ========================================
   RESPONSIVE: SMALL TABLET / LARGE PHONE (800px)
   ======================================== */
@media (max-width: 800px) {
    /* Hide phone mockup on smaller screens */
    .phone-container { display: none; }
    .hero-phone { display: none; }
    
    /* Hero Section */
    .hero-content {
        padding: 100px 24px 60px;
        gap: 36px;
    }
    .hero-title { font-size: 30px; }
    .hero-subtitle { font-size: 14px; }
    
    /* Nav - hide on small tablet */
    .nav { display: none; }
    
    /* Features */
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    
    /* Problems */
    .problems-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* ========================================
   RESPONSIVE: PHONE (768px)
   ======================================== */
@media (max-width: 768px) {
    /* Header */
    .nav { display: none; }
    /* zafer-text is now responsive in its own media queries */
    .header-inner { padding: 0 16px; }
    
    /* Disable scroll snapping on mobile */
    html {
        scroll-snap-type: none !important;
        overflow-y: auto !important;
        overflow-x: auto !important;
    }

    /* Show scroll progress bar on mobile */
    .scroll-progress-bar {
        display: block;
    }
    
    /* Ensure ALL sections collapse to content height on mobile */
    .hero-section,
    .features-section,
    .problems-section,
    .faq-section {
        min-height: 0 !important;
        max-height: none !important;
        height: auto !important;
        flex: none !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    /* Remove any flex stretching from inner containers */
    .hero-content,
    .features-inner,
    .problems-inner,
    .faq-inner {
        flex: none !important;
        min-height: 0 !important;
        height: auto !important;
    }
    
    /* Hero Section */
    .hero-section {
        height: auto !important;
        min-height: auto !important;
        overflow: visible;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px 40px !important;
        gap: 32px;
    }
    .hero-text { text-align: center; }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    .hero-actions { justify-content: center; }
    .trust-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    .hero-title { font-size: 28px; }
    .hero-subtitle { font-size: 14px; }
    
    /* Buttons - Side by side, equal size */
    .hero-actions {
        flex-direction: row;
        width: 100%;
        gap: 12px;
        align-items: center;
        justify-content: center;
    }
    .btn-google-play,
    .btn-app-store {
        flex: 1;
        max-width: none;
        width: 100%;
        justify-content: center;
        padding: 14px 16px;
    }
    .google-play-store,
    .app-store-name { font-size: 14px; }
    .google-play-icon,
    .app-store-icon { width: 18px; height: 18px; }
    
    /* Control Buttons - Show only flags on mobile */
    .control-btn .btn-label { display: none; }
    .control-btn { padding: 0 10px; min-height: 44px; }

    /* Language button: show flag emoji on mobile - match SVG icon size */
    .lang-toggle .lang-flag-icon {
        display: inline-flex !important;
        width: 18px;
        height: 18px;
        font-size: 18px;
        line-height: 1;
        align-items: center;
        justify-content: center;
    }
    .lang-toggle .lang-code-text {
        display: none !important;
    }
    .lang-dropdown { right: -8px; }
    
    /* Features Section - 1 column on phone */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .features-section {
        min-height: auto;
        padding: 60px 20px 60px;
        overflow: visible;
    }
    .feature-card { padding: 20px; }
    
    /* Problems Section - 1 column on phone */
    .problems-grid { grid-template-columns: 1fr; }
    .problems-title { font-size: 22px; }
    .problem-card { padding: 16px; }
    .problem-layout { display: flex; flex-direction: column; gap: 0; }
    .problem-layout::after { display: none; }
    .problem-panel { padding: 12px; }
    .problem-panel--pain {
        border-right: none;
        border-bottom: 1px solid rgba(255, 82, 82, 0.1);
    }
    .problem-panel--solution {
        border-left: none;
        border-top: 1px solid rgba(76, 175, 80, 0.1);
    }
    .problems-section {
        min-height: auto;
        padding: 60px 20px 60px;
    }
    
    /* FAQ Section */
    .faq-section {
        min-height: auto !important;
        height: auto !important;
        padding: 40px 16px 20px !important;
        overflow: visible;
    }
    .faq-question { padding: 14px 16px; font-size: 14px; }
    .faq-answer-inner { padding: 0 16px 14px; font-size: 13px; }
    
    /* Scroll Navigation */
    .scroll-nav { display: none; }
    .faq-footer { flex-direction: column; gap: 8px; }
}

/* ========================================
   RESPONSIVE: PHONE (480px)
   ======================================== */
@media (max-width: 480px) {
    /* Header */
    .header-inner { 
        padding: 0 12px; 
        height: 56px;
        overflow: visible !important;
    }
    .header-actions {
        overflow: visible !important;
    }
    .logo-img { height: 32px; }
    .ataturk-portrait { width: 36px; height: 36px; }
    .control-btn { height: 44px; min-height: 44px; padding: 0 8px; }
    .control-btn svg { width: 16px; height: 16px; }
    .lang-wrapper { overflow: visible; }
    .lang-toggle .lang-flag-icon {
        display: inline-flex !important;
        width: 16px;
        height: 16px;
        font-size: 16px;
        line-height: 1;
        align-items: center;
        justify-content: center;
    }
    .lang-toggle .lang-code-text {
        display: none !important;
    }
    .lang-dropdown { right: -4px; min-width: 160px; }
    
    /* Scroll Progress Bar */
    .scroll-progress-bar { top: 56px; }
    
    /* Hero Section */
    .hero-content { 
        padding: 80px 16px 50px;
        gap: 32px;
    }
    .hero-title { 
        font-size: 24px; 
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 24px;
    }
    
    /* Phone Mockup - hidden on mobile */
    .phone-container { display: none; }
    .hero-phone { display: none; }
    
    /* Status Bar in Phone */
    .status-bar { padding: 6px 12px 3px; font-size: 10px; }
    .status-icon { width: 14px; height: 14px; }
    .status-logo { width: 14px; height: 14px; }
    
    /* App Bar in Phone */
    .app-bar { padding: 6px 12px 10px; }
    .app-bar-menu { width: 32px; height: 32px; }
    .app-bar-title { font-size: 14px; }
    
    /* Cinematic Header in Phone */
    .cinematic-header { height: 110px; }
    .cinematic-header-img svg { width: 100px; height: 100px; }
    .cinematic-header-bar { padding: 8px 12px; }
    .cinematic-header-title { font-size: 10px; }
    .cinematic-header-plate { font-size: 9px; }
    
    /* Finance Card in Phone */
    .finance-card { margin: 10px 12px; border-radius: 20px; min-height: 100px; }
    .finance-card-content { padding: 16px; }
    .finance-total { font-size: 26px; }
    .finance-card-label { font-size: 11px; }
    .finance-breakdown { padding: 0 16px; gap: 12px; }
    .finance-breakdown-label { font-size: 9px; }
    .finance-breakdown-value { font-size: 9px; }
    
    /* Section Title in Phone */
    .section-title { padding: 12px 12px 8px; font-size: 16px; }
    
    /* App Cards in Phone */
    .app-card { margin: 0 12px 6px; border-radius: 14px; }
    .alert-card { padding: 6px 10px; gap: 10px; }
    .alert-icon { width: 32px; height: 32px; }
    .alert-icon svg { width: 18px; height: 18px; }
    .alert-title { font-size: 12px; }
    .alert-subtitle { font-size: 11px; }
    
    /* Activity Card in Phone */
    .activity-card { margin: 0 12px 6px; padding: 10px; }
    .activity-icon-wrapper { width: 40px; height: 40px; }
    .activity-icon-svg { width: 20px; height: 20px; }
    .activity-title { font-size: 12px; }
    .activity-subtitle { font-size: 11px; }
    .activity-date span { font-size: 10px; }
    
    /* Bottom Nav in Phone */
    .bottom-nav { padding: 10px 12px 8px; }
    .nav-item { width: 36px; height: 36px; }
    .nav-item svg { width: 20px; height: 20px; }
    .nav-fab { width: 36px; height: 36px; }
    .nav-fab svg { width: 20px; height: 20px; }
    
    /* Buttons - Side by side, equal size */
    .hero-actions {
        flex-direction: row;
        width: 100%;
        gap: 10px;
        align-items: center;
        justify-content: center;
    }
    .btn-google-play,
    .btn-app-store {
        flex: 1;
        max-width: none !important;
        width: 100%;
        justify-content: center;
        padding: 12px 14px;
    }
    .google-play-icon,
    .app-store-icon { width: 16px; height: 16px; }
    .google-play-store,
    .app-store-name { font-size: 13px; }
    .google-play-label { font-size: 10px; }
    
    /* Trust Badges */
    .trust-badges { 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 24px;
    }
    .trust-badge { 
        justify-content: center;
        padding: 6px;
    }
    .trust-badge-icon { 
        width: 24px; 
        height: 24px; 
        border-radius: 6px;
    }
    .trust-badge-icon svg { width: 14px; height: 14px; }
    .trust-badge-text { font-size: 11px; }
    
    /* Features Section */
    .features-section { padding: 50px 16px 50px; }
    .features-header { margin-bottom: 36px; }
    .features-label { font-size: 11px; }
    .features-title { font-size: 20px; }
    .features-subtitle { font-size: 13px; }
    .feature-card { padding: 16px; border-radius: 14px; }
    .feature-icon { width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px; }
    .feature-icon svg { width: 24px; height: 24px; }
    .feature-name { font-size: 14px; }
    .feature-desc { font-size: 12px; }
    
    /* Problems Section */
    .problems-section { padding: 50px 16px 50px; }
    .problems-header { margin-bottom: 36px; }
    .problems-title { font-size: 20px; }
    .problems-subtitle { font-size: 13px; }
    .problem-card { padding: 14px; border-radius: 12px; }
    .problem-panel { padding: 10px; }
    .problem-icon { width: 32px; height: 32px; border-radius: 8px; }
    .problem-icon svg { width: 16px; height: 16px; }
    .problem-tag { font-size: 9px; padding: 2px 6px; margin-bottom: 4px; }
    .problem-title { font-size: 13px; }
    .problem-desc { font-size: 11px; -webkit-line-clamp: 2; line-clamp: 2; }
    
    /* FAQ Section */
    .faq-section { padding: 50px 16px 70px; }
    .faq-header { margin-bottom: 32px; }
    .faq-label { font-size: 11px; }
    .faq-title { font-size: 20px; }
    .faq-subtitle { font-size: 13px; }
    .faq-list { gap: 10px; }
    .faq-item { border-radius: 12px; }
    .faq-question { padding: 12px 14px; font-size: 13px; }
    .faq-chevron { width: 18px; height: 18px; }
    .faq-answer-inner { padding: 0 14px 12px; font-size: 12px; }
    .faq-cta { margin-top: 24px; padding-top: 20px; }
    .faq-cta-text { font-size: 13px; }
    .btn-faq-cta { padding: 10px 20px; font-size: 13px; }
}

/* ========================================
   RESPONSIVE: SMALL PHONE (375px)
   ======================================== */
@media (max-width: 375px) {
    /* Header */
    .header-inner { 
        padding: 0 10px; 
        height: 52px;
        overflow: visible !important;
    }
    .header-actions {
        overflow: visible !important;
    }
    .logo-img { height: 28px; }
    .ataturk-portrait { width: 32px; height: 32px; margin-right: 8px; }
    .control-btn { height: 44px; min-height: 44px; padding: 0 6px; }
    .control-btn svg { width: 14px; height: 14px; }
    .lang-wrapper { overflow: visible; }
    .lang-toggle .lang-flag-icon {
        display: inline-flex !important;
        width: 14px;
        height: 14px;
        font-size: 14px;
        line-height: 1;
        align-items: center;
        justify-content: center;
    }
    .lang-toggle .lang-code-text {
        display: none !important;
    }
    .lang-dropdown { right: -2px; min-width: 150px; }
    .scroll-progress-bar { top: 52px; }
    
    /* Hero Section */
    .hero-content { 
        padding: 70px 14px 40px;
        gap: 28px;
    }
    .hero-title { 
        font-size: 22px; 
    }
    .hero-subtitle { 
        font-size: 12px; 
        margin-bottom: 20px;
    }
    
    /* Phone Mockup - hidden on mobile */
    .phone-container { display: none; }
    .hero-phone { display: none; }
    
    /* Buttons - Side by side, equal size */
    .hero-actions {
        flex-direction: row;
        width: 100%;
        gap: 8px;
    }
    .btn-google-play,
    .btn-app-store {
        flex: 1;
        max-width: none !important;
        width: 100%;
        justify-content: center;
        padding: 11px 14px;
    }
    .google-play-icon,
    .app-store-icon { width: 16px; height: 16px; }
    .google-play-store,
    .app-store-name { font-size: 14px; }
    .google-play-label { font-size: 11px; }
    
    /* Trust Badges - tek sütun */
    .trust-badges { 
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 20px;
    }
    .trust-badge { 
        justify-content: flex-start;
        padding: 8px 12px;
        background: var(--surface-container);
        border-radius: 10px;
    }
    .trust-badge-icon { 
        width: 22px; 
        height: 22px; 
    }
    .trust-badge-text { font-size: 12px; }
    
    /* Features */
    .features-title { font-size: 18px; }
    .features-subtitle { font-size: 12px; }
    .feature-card { padding: 14px; }
    .feature-icon { width: 44px; height: 44px; margin-bottom: 12px; }
    .feature-icon svg { width: 22px; height: 22px; }
    .feature-name { font-size: 13px; }
    .feature-desc { font-size: 11px; }
    
    /* Problems */
    .problems-title { font-size: 18px; }
    .problems-subtitle { font-size: 12px; }
    .problem-card { padding: 12px; }
    .problem-panel { padding: 8px; }
    .problem-icon { width: 28px; height: 28px; }
    .problem-icon svg { width: 14px; height: 14px; }
    .problem-title { font-size: 12px; }
    .problem-desc { font-size: 10px; }
    
    /* FAQ */
    .faq-title { font-size: 18px; }
    .faq-subtitle { font-size: 12px; }
    .faq-list { gap: 8px; }
    .faq-question { padding: 11px 12px; font-size: 12px; }
    .faq-chevron { width: 16px; height: 16px; }
    .faq-answer-inner { padding: 0 12px 10px; font-size: 11px; }
    .faq-cta-text { font-size: 12px; }
    .btn-faq-cta { padding: 9px 18px; font-size: 12px; }
}

/* ========================================
   RESPONSIVE: VERY SMALL PHONE (320px)
   ======================================== */
@media (max-width: 320px) {
    /* Header */
    .header-inner { padding: 0 8px; height: 48px; }
    .logo-img { height: 24px; }
    .ataturk-portrait { width: 28px; height: 28px; margin-right: 6px; }
    .control-btn { height: 44px; min-height: 44px; padding: 0 5px; }
    .control-btn svg { width: 13px; height: 13px; }
    .lang-toggle .lang-flag-icon {
        display: inline-flex !important;
        width: 13px;
        height: 13px;
        font-size: 13px;
        line-height: 1;
        align-items: center;
        justify-content: center;
    }
    .lang-toggle .lang-code-text {
        display: none !important;
    }
    .scroll-progress-bar { top: 48px; }
    
    /* Hero Section */
    .hero-content { 
        padding: 60px 12px 30px;
        gap: 24px;
    }
    .hero-title { 
        font-size: 20px; 
    }
    .hero-subtitle { 
        font-size: 11px; 
        margin-bottom: 16px;
    }
    
    /* Phone Mockup - gizle */
    .phone-container { display: none; }
    
    /* Buttons - Side by side, equal size */
    .hero-actions {
        flex-direction: row;
        width: 100%;
        gap: 6px;
    }
    .btn-google-play,
    .btn-app-store {
        flex: 1;
        max-width: none;
        width: 100%;
        justify-content: center;
        padding: 10px 12px;
    }
    .google-play-icon,
    .app-store-icon { width: 15px; height: 15px; }
    .google-play-store,
    .app-store-name { font-size: 13px; }
    
    /* Trust Badges */
    .trust-badge { padding: 6px 10px; }
    .trust-badge-icon { width: 20px; height: 20px; }
    .trust-badge-icon svg { width: 12px; height: 12px; }
    .trust-badge-text { font-size: 11px; }
    
    /* Features */
    .features-section { padding: 40px 12px 40px; }
    .features-title { font-size: 16px; }
    .features-subtitle { font-size: 11px; }
    .feature-card { padding: 12px; }
    .feature-icon { width: 40px; height: 40px; margin-bottom: 10px; }
    .feature-icon svg { width: 20px; height: 20px; }
    .feature-name { font-size: 12px; }
    .feature-desc { font-size: 10px; }
    
    /* Problems */
    .problems-section { padding: 40px 12px 40px; }
    .problems-title { font-size: 16px; }
    .problems-subtitle { font-size: 11px; }
    .problem-card { padding: 10px; }
    .problem-panel { padding: 6px; }
    .problem-icon { width: 24px; height: 24px; }
    .problem-icon svg { width: 12px; height: 12px; }
    .problem-tag { font-size: 8px; }
    .problem-title { font-size: 11px; }
    .problem-desc { font-size: 9px; }
    
    /* FAQ */
    .faq-section { padding: 40px 12px 60px; }
    .faq-title { font-size: 16px; }
    .faq-subtitle { font-size: 11px; }
    .faq-question { padding: 10px 10px; font-size: 11px; }
    .faq-chevron { width: 14px; height: 14px; }
    .faq-answer-inner { padding: 0 10px 8px; font-size: 10px; }
}

/* ========================================
   RESPONSIVE: LANDSCAPE MODE
   ======================================== */
@media (max-width: 768px) and (orientation: landscape) {
    /* Hero Section - kompakt */
    .hero-content { 
        padding: 70px 20px 30px;
        gap: 20px;
    }
    .hero-title { font-size: 22px; }
    .hero-subtitle { 
        font-size: 12px; 
        margin-bottom: 16px;
    }
    
    /* Phone Mockup - gizle landscape'te */
    .phone-container { display: none; }
    
    /* Trust Badges - yatay */
    .trust-badges { 
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 16px;
    }
    
    /* Sections */
    .features-section,
    .problems-section,
    .faq-section {
        padding: 40px 20px 40px;
    }
}

/* ========================================
   RESPONSIVE: SAFE AREA INSETS (iPhone Notch)
   ======================================== */
@supports (padding: max(0px)) {
    /* Header */
    .header-inner {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    
    /* Hero Content */
    .hero-content {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    
    /* Sections */
    .features-section,
    .problems-section,
    .faq-section {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    
    /* Bottom Nav in Phone Mockup */
    .bottom-nav {
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }
    
    /* Footer */
    .site-footer {
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
}

/* Beta Modal */
.beta-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.beta-modal-overlay.show {
    opacity: 1;
}

.beta-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.beta-modal-overlay.show .beta-modal {
    transform: scale(1);
}

/* Legal Modals */
.legal-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legal-modal-overlay.show {
    opacity: 1;
}

.legal-modal {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    max-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.legal-modal-overlay.show .legal-modal {
    transform: translateY(0);
}

.legal-modal-header {
    position: sticky;
    top: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
    border-radius: 20px 20px 0 0;
}

.legal-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.legal-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.legal-modal-close:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.legal-modal-close svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.legal-modal-body {
    overflow-y: auto;
    padding: 24px;
    scrollbar-width: none;
}

.legal-modal-body::-webkit-scrollbar { display: none; }

.legal-section {
    margin-bottom: 24px;
}

.legal-section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 8px;
}

.legal-section-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    white-space: pre-line;
}

.legal-last-updated {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.beta-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--accent-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beta-modal-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--accent-light);
}

.beta-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.beta-modal-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.beta-modal-close {
    padding: 12px 32px;
    border-radius: 10px;
    border: none;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.beta-modal-close:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .hero-content { flex-direction: column; text-align: center; padding-top: 100px; }
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    padding: 20px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent.hide {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.cookie-consent-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.cookie-consent-description a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-consent-description a:hover {
    text-decoration: none;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.cookie-consent-btn.accept {
    background: var(--accent);
    color: var(--bg-primary);
}

.cookie-consent-btn.accept:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.cookie-consent-btn.decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.cookie-consent-btn.decline:hover {
    background: var(--hover-bg);
    border-color: var(--text-muted);
}

.cookie-consent-btn.settings {
    background: transparent;
    color: var(--accent);
    padding: 10px 12px;
}

.cookie-consent-btn.settings:hover {
    background: var(--accent-glow);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    padding: 20px;
    overflow: hidden;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 32px;
    box-sizing: border-box;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cookie-settings-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.cookie-settings-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.cookie-option {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cookie-option-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.cookie-option-toggle {
    position: relative;
    width: 48px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-option-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-option-toggle .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-option-toggle .toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-option-toggle input:checked + .toggle-slider {
    background-color: var(--accent);
}

.cookie-option-toggle input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.cookie-option-toggle input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-option-description {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.cookie-settings-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    /* Taşmayı önle */
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.cookie-settings-actions .cookie-consent-btn {
    box-sizing: border-box;
    max-width: 100%;
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 16px 12px;
        bottom: 0;
        max-height: 90vh;
        overflow-y: auto;
    }

    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cookie-consent-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .cookie-consent-description {
        font-size: 13px;
        line-height: 1.4;
    }

    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .cookie-consent-btn {
        padding: 10px 16px;
        font-size: 13px;
        flex: 1 1 auto;
        min-width: 80px;
        white-space: nowrap;
    }

    .cookie-consent-btn.settings {
        padding: 10px 12px;
        flex: 0 0 auto;
    }

    /* Settings Modal Mobile */
    .cookie-settings-modal {
        padding: 0;
        align-items: flex-end;
    }

    .cookie-settings-modal-content {
        max-width: 100%;
        width: 100%;
        max-height: 85vh;
        border-radius: 20px 20px 0 0;
        padding: 24px 20px;
        margin: 0;
        overflow-x: hidden;
        box-sizing: border-box;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
        animation: slideUpMobile 0.3s ease;
    }

    .cookie-settings-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .cookie-settings-description {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .cookie-option {
        padding: 14px 0;
    }

    .cookie-option-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .cookie-option-title {
        font-size: 15px;
        flex: 1 1 auto;
    }

    .cookie-option-description {
        font-size: 12px;
        line-height: 1.4;
        margin-top: 4px;
    }

    .cookie-settings-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        margin-left: 0;
        margin-right: 0;
        padding-top: 20px;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .cookie-settings-actions .cookie-consent-btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 600;
        min-height: 48px;
        box-sizing: border-box;
    }
}

/* Very small screens */
@media (max-width: 380px) {
    .cookie-consent {
        padding: 12px 8px;
    }

    .cookie-consent-title {
        font-size: 14px;
    }

    .cookie-consent-description {
        font-size: 12px;
    }

    .cookie-consent-actions {
        gap: 6px;
    }

    .cookie-consent-btn {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 70px;
    }

    .cookie-settings-modal-content {
        padding: 20px 16px;
    }

    .cookie-option-title {
        font-size: 14px;
    }

    .cookie-option-description {
        font-size: 11px;
    }
}

/* Safe area for notched devices (iPhone X+) */
@supports (padding: max(0px)) {
    .cookie-consent {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }

    .cookie-settings-modal {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }

    @media (max-width: 768px) {
        .cookie-consent {
            padding-left: max(12px, env(safe-area-inset-left));
            padding-right: max(12px, env(safe-area-inset-right));
            padding-bottom: max(16px, env(safe-area-inset-bottom));
        }
    }
}

/* Slide up animation for mobile modal */
@keyframes slideUpMobile {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   COOKIE CONSENT - RTL SUPPORT (Arabic)
   ======================================== */
[dir="rtl"] .cookie-consent {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .cookie-consent-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .cookie-consent-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .cookie-consent-title,
[dir="rtl"] .cookie-consent-description {
    text-align: right;
}

[dir="rtl"] .cookie-settings-modal-content {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .cookie-option-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .cookie-settings-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .cookie-option-description {
    text-align: right;
}

/* RTL Mobile fixes */
@media (max-width: 768px) {
    [dir="rtl"] .cookie-consent-content {
        flex-direction: column;
    }

    [dir="rtl"] .cookie-consent-actions {
        flex-direction: row-reverse;
        flex-wrap: wrap;
    }

    [dir="rtl"] .cookie-option-header {
        flex-direction: row-reverse;
        flex-wrap: wrap;
    }

    [dir="rtl"] .cookie-settings-actions {
        flex-direction: column;
    }
}

/* Footer cookie preferences link style */
.cookie-preferences-link {
    color: var(--text-muted);
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.cookie-preferences-link:hover {
    color: var(--accent);
    opacity: 1;
    text-decoration: none;
}
