/* ===== CSS Variables & Design Tokens ===== */
:root {
    /* Typography */
    --font-primary: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Inter', 'Noto Sans SC', sans-serif;

    /* Spacing */
    --section-padding: clamp(4rem, 8vw, 8rem);
    --container-max: 1200px;
    --container-padding: clamp(1rem, 4vw, 2rem);

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.2s var(--ease-out-expo);
    --transition-normal: 0.4s var(--ease-out-expo);
    --transition-slow: 0.8s var(--ease-out-expo);

    /* Base Colors */
    --accent-purple: #8b5cf6;
    --accent-purple-light: #a78bfa;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-pink: #ec4899;
}

/* Light Theme (Default) */
:root, [data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-card-hover: rgba(0, 0, 0, 0.06);
    --bg-card-solid: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --bg-glass-border: rgba(0, 0, 0, 0.08);
    --bg-glass-nav: rgba(255, 255, 255, 0.85);

    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;

    --accent-primary: #24E0D4;
    --accent-primary-hover: #1cc9be;
    --accent-primary-light: #e6fcfb;

    --gradient-primary: linear-gradient(135deg, #24E0D4, #1cc9be, #0ea5e9);
    --gradient-apple: linear-gradient(135deg, #47a1ff, #007aff);
    --gradient-android: linear-gradient(135deg, #24E0D4, #10b981);
    --gradient-hero: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
    --gradient-cta: linear-gradient(135deg, #24E0D4, #0ea5e9);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(36, 224, 212, 0.2);

    --hero-glow-1: rgba(36, 224, 212, 0.1);
    --hero-glow-2: rgba(59, 130, 246, 0.05);
    --hero-glow-3: rgba(14, 165, 233, 0.05);

    --icon-bg-blue: rgba(59, 130, 246, 0.1);
    --icon-bg-green: rgba(16, 185, 129, 0.1);
    --icon-bg-orange: rgba(245, 158, 11, 0.1);
    --icon-bg-pink: rgba(236, 72, 153, 0.1);
    --icon-bg-cyan: rgba(6, 182, 212, 0.1);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a2e;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-card-solid: #161625;
    --bg-glass: rgba(255, 255, 255, 0.06);
    --bg-glass-border: rgba(255, 255, 255, 0.1);
    --bg-glass-nav: rgba(10, 10, 15, 0.85);

    --text-primary: #f0f0f5;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);

    --accent-primary: #24E0D4;
    --accent-primary-hover: #1cc9be;
    --accent-primary-light: #e6fcfb;

    --gradient-primary: linear-gradient(135deg, #24E0D4, #1cc9be, #0ea5e9);
    --gradient-apple: linear-gradient(135deg, #47a1ff, #007aff);
    --gradient-android: linear-gradient(135deg, #24E0D4, #10b981);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-cta: linear-gradient(135deg, #24E0D4, #0ea5e9);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(36, 224, 212, 0.3);

    --hero-glow-1: rgba(36, 224, 212, 0.2);
    --hero-glow-2: rgba(59, 130, 246, 0.1);
    --hero-glow-3: rgba(236, 72, 153, 0.08);

    --icon-bg-blue: rgba(59, 130, 246, 0.15);
    --icon-bg-green: rgba(16, 185, 129, 0.15);
    --icon-bg-orange: rgba(245, 158, 11, 0.15);
    --icon-bg-pink: rgba(236, 72, 153, 0.15);
    --icon-bg-cyan: rgba(6, 182, 212, 0.15);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Cursor Glow ===== */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out;
}

/* ===== Section Container ===== */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
    background: var(--bg-glass-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bg-glass-border);
    padding: 0.6rem 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 1001;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.3rem 0;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn-primary {
    padding: 0.55rem 1.4rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    transition: all var(--transition-fast);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.nav-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

/* Theme Toggle */
.theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    border: 1px solid var(--bg-glass-border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    transform: translateY(-2px);
    border-color: var(--accent-primary);
}

.theme-toggle .fa-sun { display: none; }
[data-theme="dark"] .theme-toggle .fa-sun { display: block; }
[data-theme="dark"] .theme-toggle .fa-moon { display: none; }

.nav-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: var(--bg-secondary);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.nav-menu-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    opacity: 0.98;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 0.98;
    visibility: visible;
    pointer-events: all;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.8rem;
    font-weight: 500;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

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

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--hero-glow-1) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 50%, var(--hero-glow-2) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 20% 80%, var(--hero-glow-3) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(139, 92, 246, 0.4);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    width: 100%;
    transform: translateY(-50px);
}

.hero-text {
    max-width: 600px;
    transform: translateY(-30px);
    position: relative;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem 0.4rem 0.6rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: #8b5cf6;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    border-radius: 50%;
    color: #fff;
    flex-shrink: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1.2rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    margin-top: 50px;
    position: relative;
    z-index: 20;
}

.btn-apple {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--gradient-apple);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    transition: all var(--transition-fast);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.btn-apple:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-android {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--gradient-android);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    transition: all var(--transition-fast);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.btn-android:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(16, 185, 129, 0.5);
}

.qr-wrapper {
    position: relative;
    display: inline-block;
}

.btn-qr {
    width: 48px;
    height: 48px;
    background: var(--bg-card-solid);
    color: var(--text-primary);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.btn-qr:hover {
    transform: scale(1.05);
    background: var(--bg-tertiary);
    box-shadow: var(--shadow-md);
}

.qr-popover {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--bg-card-solid);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 1.2rem;
    width: 160px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s var(--ease-out-expo);
    z-index: 1001;
}

.qr-popover.active {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.qr-popover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.popover-qr-placeholder {
    width: 120px;
    height: 120px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 3rem;
}

.qr-popover-content span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.qr-popover-arrow {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--bg-card-solid);
    border-left: 1px solid var(--bg-glass-border);
    border-top: 1px solid var(--bg-glass-border);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-top: 70px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.stat-divider {
    width: 1px;
    height: 30px;
    background: var(--bg-glass-border);
}

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

.phone-mockup {
    position: relative;
}

.phone-frame {
    width: 280px;
    height: 570px;
    background: #1c1c1e;
    border-radius: 45px;
    padding: 12px;
    position: relative;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: #1c1c1e;
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 35px;
    overflow: hidden;
    background: #2c2c2e;
    position: relative;
}

.phone-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Screenshot Placeholder */
.screenshot-placeholder,
.app-screenshot .screenshot-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #3a3a3c 0%, #2c2c2e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
}

.screenshot-placeholder i {
    font-size: 2.5rem;
}

.screenshot-placeholder span {
    font-size: 0.85rem;
    font-weight: 500;
}

.app-screenshot {
    width: 100%;
    height: 100%;
}

.phone-app-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    animation: cardFloat 5s ease-in-out infinite;
    white-space: nowrap;
}

.floating-card-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--icon-bg-blue);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.floating-card-icon.green {
    background: var(--icon-bg-green);
    color: var(--accent-green);
}

.floating-card-icon.purple {
    background: var(--icon-bg-pink);
    color: var(--accent-pink);
}

.floating-card-text {
    display: flex;
    flex-direction: column;
}

.fc-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
}

.fc-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.card-1 {
    top: 8%;
    right: -52%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 25%;
    left: -58%;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 8%;
    right: -58%;
    animation-delay: 3s;
}

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

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(139, 92, 246, 0.4);
    border-radius: 14px;
    position: relative;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--accent-purple-light);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 18px; opacity: 0.3; }
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-purple-light);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: var(--section-padding) 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrap {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.feature-icon.blue { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.feature-icon.green { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.feature-icon.orange { background: rgba(245, 158, 11, 0.15); color: var(--accent-orange); }
.feature-icon.pink { background: rgba(236, 72, 153, 0.15); color: var(--accent-pink); }
.feature-icon.cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-purple-light);
    position: relative;
    z-index: 1;
    transition: gap var(--transition-fast);
}

.feature-card:hover .feature-link {
    gap: 0.8rem;
}

/* ===== SHOWCASE SECTION ===== */
.showcase {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.showcase-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.showcase-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.showcase-item.large {
    grid-row: 1 / 3;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-item.large img {
    min-height: 400px;
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-category {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(139, 92, 246, 0.6);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.showcase-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.showcase-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== APP PREVIEW / WORKFLOW SECTION ===== */
.app-preview {
    padding: var(--section-padding) 0;
    position: relative;
}

.app-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.workflow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
    position: relative;
}

.step-number {
    font-size: 3.6rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 1.2rem;
}

.step-phone {
    margin-bottom: 1.5rem;
}

.mini-phone-frame {
    width: 192px;
    height: 384px;
    background: #1c1c1e;
    border-radius: 32px;
    padding: 10px;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 10px 30px rgba(0, 0, 0, 0.4);
}

.mini-phone-notch {
    width: 84px;
    height: 22px;
    background: #1c1c1e;
    border-radius: 0 0 12px 12px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mini-phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #2c2c2e;
}

.mini-phone-screen .screenshot-placeholder {
    font-size: 0.75rem;
}

.mini-phone-screen .screenshot-placeholder i {
    font-size: 1.8rem;
}

.step-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Workflow Connector */
.workflow-connector {
    display: flex;
    align-items: center;
    width: 60px;
    height: 384px;
    margin-top: calc(3.6rem + 1.2rem);
}

.connector-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.3));
    position: relative;
}

.connector-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 50%;
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.3), transparent);
}

.testimonials-slider {
    overflow: hidden;
    margin: 0 -1rem;
    padding: 1rem;
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s var(--ease-out-expo);
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #f59e0b;
    font-size: 0.85rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple-light);
    font-size: 1rem;
}

.author-avatar.blue {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
}

.author-avatar.green {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
}

.author-avatar.purple {
    background: rgba(167, 139, 250, 0.2);
    color: #a78bfa;
}

.author-avatar.pink {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}

.author-avatar.yellow {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.author-avatar.orange {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.author-avatar.cyan {
    background: rgba(6, 182, 212, 0.2);
    color: #06b6d4;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.author-title {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== DOWNLOAD CTA SECTION ===== */
.download-cta {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.download-glow {
    position: absolute;
    border-radius: 50%;
}

.download-glow.glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    top: -200px;
    left: -100px;
}

.download-glow.glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    bottom: -150px;
    right: -50px;
}

.download-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .download-text {
        padding-left: 4rem;
    }
    
    .download-visual-container {
        margin-left: -2rem;
    }
}

.download-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.download-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    border: none;
    color: #fff;
}

.download-btn.apple {
    background: var(--gradient-apple);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.download-btn.apple:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

.download-btn.android {
    background: var(--gradient-android);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.download-btn.android:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.download-btn i {
    font-size: 1.5rem;
}

.download-btn-text {
    display: flex;
    flex-direction: column;
}

.download-btn-sub {
    font-size: 0.65rem;
    opacity: 0.7;
}

.download-btn-main {
    font-size: 1rem;
    font-weight: 700;
}

.download-qr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.qr-image-container {
    width: 84px;
    height: 84px;
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.download-qr span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.popover-qr-image {
    width: 120px;
    height: 120px;
    background: var(--bg-card-solid);
    padding: 10px;
    border-radius: 12px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popover-qr-image .qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.popover-qr-placeholder {
    width: 120px;
    height: 120px;
    background: var(--bg-card);
    border: 2px dashed var(--bg-glass-border);
    border-radius: var(--radius-md);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
}

.qr-placeholder {
    width: 84px;
    height: 84px;
    background: var(--bg-glass);
    border: 2px dashed var(--bg-glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.download-qr span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Download Phone Group */
.download-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-visual-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    perspective: 1000px;
}

.download-app-visual {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.3));
    transform: rotateY(-10deg) rotateX(5deg);
}

/* ===== FOOTER ===== */
.footer {
    padding: 4rem 0 2rem;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--bg-tertiary);
    color: var(--accent-purple-light);
    transform: translateY(-2px);
}

.footer-links-group h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links-group a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.35rem 0;
    transition: color var(--transition-fast);
}

.footer-links-group a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.icp-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp-link:hover {
    color: var(--primary-color);
}

/* ===== ANIMATIONS ===== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out-expo) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        transform: translateY(0);
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-gallery {
        grid-template-columns: 1fr;
    }

    .showcase-item.large {
        grid-row: auto;
    }

    .showcase-item.large img {
        min-height: 280px;
    }

    .testimonials-track {
        grid-template-columns: 1fr;
    }

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-buttons {
        justify-content: center;
    }

    .download-qr {
        align-items: center;
    }

    .download-visual {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-btn-primary {
        display: none;
    }

    .nav-menu-toggle {
        display: flex;
    }

    .hero {
        padding-top: 7rem;
    }

    .hero-text {
        transform: translateY(0);
        text-align: center;
        margin: 0 auto;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
    }

    .hero-stats {
        margin-top: 2rem;
        justify-content: center;
    }

    .phone-frame {
        width: 240px;
        height: 490px;
        border-radius: 38px;
    }

    .phone-screen {
        border-radius: 30px;
    }

    .floating-card {
        transform: scale(0.7);
        z-index: 10;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        text-align: center;
        width: 80%;
        margin: 0 auto;
    }

    .feature-icon-wrap {
        display: flex;
        justify-content: center;
    }

    .workflow-steps {
        flex-direction: column;
        align-items: center;
    }

    .workflow-connector {
        width: 2px;
        height: 40px;
        padding-top: 0;
    }

    .connector-line {
        width: 2px;
        height: 100%;
        background: linear-gradient(180deg, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.3));
    }

    .download-phone-group {
        width: 260px;
        height: 380px;
    }


    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo, .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .showcase-overlay {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 1rem;
    }

    .stat-divider {
        height: 20px;
    }

    .phone-frame {
        width: 200px;
        height: 410px;
        border-radius: 32px;
    }

    .phone-screen {
        border-radius: 24px;
    }

    .phone-notch {
        width: 90px;
        height: 22px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* ===== Toast Notification ===== */
.toast-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-card-solid);
    backdrop-filter: blur(20px);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 1.2rem 2.4rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease-out-expo);
}

.toast-notification.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}

.toast-notification i {
    color: var(--accent-primary);
    font-size: 1.4rem;
}

.toast-notification span {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}
