/* ============================================================
   CoreTun VPN — Premium Design System
   Arabic RTL | Dark Theme | Glassmorphism | Animations
   ============================================================ */

/* ==================== 1. CSS Variables ==================== */
:root {
    /* ---- Deep Space Color Palette ---- */
    --bg-primary: #060a1e;
    --bg-secondary: #0c1130;
    --bg-tertiary: #131a48;
    --bg-card: rgba(19, 26, 72, 0.55);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.07);

    /* ---- Accent Colors ---- */
    --accent-cyan: #00d4ff;
    --accent-green: #00f5a0;
    --accent-purple: #7c5cfc;
    --accent-pink: #ff6b9d;
    --accent-orange: #ff8c42;

    /* ---- Gradients ---- */
    --gradient-primary: linear-gradient(135deg, #00d4ff, #00f5a0);
    --gradient-secondary: linear-gradient(135deg, #7c5cfc, #00d4ff);
    --gradient-warm: linear-gradient(135deg, #ff6b9d, #ff8c42);
    --gradient-dark: linear-gradient(180deg, #060a1e 0%, #0c1130 100%);
    --gradient-card: linear-gradient(145deg, rgba(0, 212, 255, 0.08), rgba(0, 245, 160, 0.04));
    --gradient-hero: radial-gradient(ellipse at 30% 50%, rgba(0, 212, 255, 0.12) 0%, transparent 60%),
                     radial-gradient(ellipse at 70% 20%, rgba(124, 92, 252, 0.10) 0%, transparent 50%),
                     var(--gradient-dark);

    /* ---- Text ---- */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.72);
    --text-muted: rgba(255, 255, 255, 0.40);
    --text-accent: #00d4ff;

    /* ---- Borders ---- */
    --border-glass: rgba(255, 255, 255, 0.07);
    --border-glow: rgba(0, 212, 255, 0.30);

    /* ---- Shadows ---- */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.30);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.40);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.50);
    --shadow-glow-sm: 0 0 20px rgba(0, 212, 255, 0.10);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
    --shadow-glow-strong: 0 0 80px rgba(0, 212, 255, 0.25);

    /* ---- Typography ---- */
    --font-primary: 'Cairo', 'Segoe UI', sans-serif;
    --fs-hero: clamp(2.5rem, 5.5vw, 4.5rem);
    --fs-h1: clamp(2rem, 4vw, 3.2rem);
    --fs-h2: clamp(1.6rem, 3vw, 2.4rem);
    --fs-h3: clamp(1.2rem, 2vw, 1.6rem);
    --fs-body: 1.05rem;
    --fs-small: 0.88rem;

    /* ---- Transitions ---- */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --tr-fast: 0.2s var(--ease-out);
    --tr-normal: 0.35s var(--ease-out);
    --tr-slow: 0.6s var(--ease-out);

    /* ---- Radii ---- */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-full: 50%;

    /* ---- Spacing ---- */
    --section-py: 110px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color var(--tr-fast);
}
a:hover { color: var(--accent-green); }

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

::selection {
    background: rgba(0, 212, 255, 0.30);
    color: #fff;
}

/* ==================== 3. Custom Scrollbar ==================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-green), var(--accent-cyan));
}

/* ==================== 4. Particle Canvas ==================== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* ==================== 5. Navbar ==================== */
.glass-nav {
    background: rgba(6, 10, 30, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 14px 0;
    transition: all var(--tr-normal);
    z-index: 9999;
}

.glass-nav.scrolled {
    background: rgba(6, 10, 30, 0.92);
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    transition: transform var(--tr-fast);
}

.navbar-brand:hover { transform: scale(1.03); }

.brand-icon {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
}

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

.glass-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 8px 18px !important;
    border-radius: var(--r-sm);
    transition: all var(--tr-fast);
    position: relative;
    font-size: 0.95rem;
}

.glass-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 18px;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width var(--tr-normal);
}

.glass-nav .nav-link:hover {
    color: var(--text-primary) !important;
}
.glass-nav .nav-link:hover::after,
.glass-nav .nav-link.active::after {
    width: calc(100% - 36px);
}
.glass-nav .nav-link.active {
    color: var(--accent-cyan) !important;
}

.navbar-toggler {
    border: 1px solid var(--border-glass) !important;
    color: var(--text-primary);
    padding: 6px 10px;
    font-size: 1.4rem;
}
.navbar-toggler i { color: var(--accent-cyan); }
.navbar-toggler:focus { box-shadow: none; }

/* ==================== 6. Buttons ==================== */
.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    color: var(--bg-primary);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--r-xl);
    cursor: pointer;
    transition: all var(--tr-normal);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    z-index: 1;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    transition: left 0.6s ease;
    z-index: 2;
}
.btn-glow:hover::before { left: 100%; }

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.35), 0 0 60px rgba(0, 245, 160, 0.15);
    color: var(--bg-primary);
}
.btn-glow:active { transform: translateY(-1px); }

.btn-outline-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-cyan);
    background: transparent;
    border: 2px solid var(--accent-cyan);
    border-radius: var(--r-xl);
    cursor: pointer;
    transition: all var(--tr-normal);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-outline-glow:hover {
    background: rgba(0, 212, 255, 0.10);
    border-color: var(--accent-green);
    color: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
}

.btn-sm-glow {
    padding: 10px 24px;
    font-size: 0.9rem;
    border-radius: var(--r-lg);
}

.btn-nav-login {
    padding: 8px 24px;
    font-size: 0.9rem;
    border-radius: var(--r-lg);
    color: var(--accent-cyan) !important;
    border: 1.5px solid rgba(0, 212, 255, 0.35);
    background: transparent;
    font-weight: 600;
    transition: all var(--tr-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-nav-login:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
    color: var(--text-primary) !important;
}

.btn-nav-register {
    padding: 8px 24px;
    font-size: 0.9rem;
    border-radius: var(--r-lg);
    color: var(--bg-primary) !important;
    background: var(--gradient-primary);
    border: none;
    font-weight: 700;
    transition: all var(--tr-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-nav-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    color: var(--bg-primary) !important;
}

/* ==================== 7. Glass Card ==================== */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--r-lg);
    padding: 32px;
    transition: all var(--tr-normal);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--tr-normal);
    pointer-events: none;
}

.glass-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}
.glass-card:hover::before { opacity: 1; }

/* ==================== 8. Section Styles ==================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.20);
    border-radius: var(--r-xl);
    color: var(--accent-cyan);
    font-size: var(--fs-small);
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: var(--fs-h1);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ==================== 9. Hero Section ==================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 100px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08), transparent 70%);
    top: -100px; right: -100px;
    border-radius: 50%;
    animation: pulse-glow 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(124, 92, 252, 0.06), transparent 70%);
    bottom: -150px; left: -100px;
    border-radius: 50%;
    animation: pulse-glow 10s ease-in-out infinite reverse;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 245, 160, 0.08);
    border: 1px solid rgba(0, 245, 160, 0.25);
    border-radius: var(--r-xl);
    color: var(--accent-green);
    font-size: var(--fs-small);
    font-weight: 600;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-title {
    font-size: var(--fs-hero);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

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

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.9;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-out) 0.8s both;
}

.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s var(--ease-out) 0.6s both;
}

.hero-shield-container {
    position: relative;
    width: 360px;
    height: 360px;
}

.hero-shield {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-icon-main {
    font-size: 8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px rgba(0, 212, 255, 0.3));
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

.shield-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    animation: spin-slow 20s linear infinite;
}

.shield-ring-1 {
    width: 280px; height: 280px;
    border-color: rgba(0, 212, 255, 0.15);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.shield-ring-2 {
    width: 340px; height: 340px;
    border-color: rgba(124, 92, 252, 0.10);
    border-style: dashed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation-direction: reverse;
    animation-duration: 30s;
}

.shield-ring-3 {
    width: 360px; height: 360px;
    border-color: rgba(0, 245, 160, 0.06);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 40s;
}

.floating-icon {
    position: absolute;
    width: 48px; height: 48px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--accent-cyan);
    animation: float 5s ease-in-out infinite;
    box-shadow: var(--shadow-glow-sm);
    z-index: 3;
}

.floating-icon:nth-child(2) { top: 10%; right: 5%; animation-delay: -1s; color: var(--accent-green); }
.floating-icon:nth-child(3) { top: 25%; left: 0; animation-delay: -2s; color: var(--accent-purple); }
.floating-icon:nth-child(4) { bottom: 25%; right: 0; animation-delay: -3s; color: var(--accent-pink); }
.floating-icon:nth-child(5) { bottom: 10%; left: 10%; animation-delay: -4s; color: var(--accent-orange); }
.floating-icon:nth-child(6) { top: 50%; left: -10%; animation-delay: -2.5s; color: var(--accent-cyan); }

/* ==================== 10. Stats Section ==================== */
.stats-section {
    position: relative;
    z-index: 2;
    padding: 0;
    margin-top: -50px;
}

.stats-bar {
    background: rgba(12, 17, 48, 0.80);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--r-lg);
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    box-shadow: var(--shadow-lg);
}

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

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border-glass);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-label {
    font-size: var(--fs-small);
    color: var(--text-muted);
    font-weight: 500;
}

/* ==================== 11. Features Section ==================== */
.features-section {
    padding: var(--section-py);
    position: relative;
    z-index: 2;
}

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

.feature-card {
    text-align: center;
    padding: 40px 28px;
}

.feature-icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: relative;
    transition: all var(--tr-normal);
}

.feature-icon-wrapper.cyan {
    background: rgba(0, 212, 255, 0.10);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 212, 255, 0.15);
}
.feature-icon-wrapper.green {
    background: rgba(0, 245, 160, 0.10);
    color: var(--accent-green);
    border: 1px solid rgba(0, 245, 160, 0.15);
}
.feature-icon-wrapper.purple {
    background: rgba(124, 92, 252, 0.10);
    color: var(--accent-purple);
    border: 1px solid rgba(124, 92, 252, 0.15);
}
.feature-icon-wrapper.pink {
    background: rgba(255, 107, 157, 0.10);
    color: var(--accent-pink);
    border: 1px solid rgba(255, 107, 157, 0.15);
}
.feature-icon-wrapper.orange {
    background: rgba(255, 140, 66, 0.10);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 140, 66, 0.15);
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.12) rotate(-5deg);
    box-shadow: 0 0 30px currentColor;
}

.feature-title {
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==================== 12. How It Works ==================== */
.how-section {
    padding: var(--section-py);
    position: relative;
    z-index: 2;
    background: var(--bg-secondary);
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    position: relative;
    flex-wrap: wrap;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 55px;
    right: 20%;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
    opacity: 0.2;
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 0 0 220px;
}

.step-number {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: var(--r-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--bg-primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.20);
    transition: all var(--tr-normal);
}

.step-card:hover .step-number {
    transform: scale(1.15);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.35);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--accent-cyan);
}

.step-title {
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 10px;
}

.step-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* ==================== 13. Download Section ==================== */
.download-section {
    padding: var(--section-py);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* Animated grid background for download section */
.download-bg-grid {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-move 20s linear infinite;
    pointer-events: none;
}

/* Tab Switcher */
.download-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 60px;
    position: relative;
}

.download-tab-wrapper {
    display: inline-flex;
    background: rgba(12, 17, 48, 0.70);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--r-xl);
    padding: 6px;
    position: relative;
}

.tab-indicator {
    position: absolute;
    height: calc(100% - 12px);
    top: 6px;
    background: var(--gradient-primary);
    border-radius: calc(var(--r-xl) - 4px);
    transition: all 0.4s var(--ease-spring);
    z-index: 0;
}

.download-tab-btn {
    position: relative;
    z-index: 1;
    padding: 14px 36px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border-radius: calc(var(--r-xl) - 4px);
    transition: color var(--tr-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-tab-btn.active {
    color: var(--bg-primary);
}
.download-tab-btn:not(.active):hover {
    color: var(--text-primary);
}

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

/* Tab Panels */
.download-tab-panel {
    display: none;
    animation: fadeInUp 0.6s var(--ease-out);
}
.download-tab-panel.active { display: block; }

/* Platform Cards */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    perspective: 1200px;
}

.platform-card {
    text-align: center;
    padding: 36px 24px;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.platform-card::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 50%;
    width: 0; height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: all var(--tr-normal);
    transform: translateX(-50%);
}

.platform-card:hover::after {
    width: 60%;
}

.platform-card.detected {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.platform-card.detected .platform-detected-badge {
    display: inline-flex;
}

.platform-detected-badge {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(0, 245, 160, 0.12);
    border: 1px solid rgba(0, 245, 160, 0.25);
    border-radius: var(--r-xl);
    color: var(--accent-green);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.platform-icon {
    font-size: 3.2rem;
    margin-bottom: 18px;
    transition: all var(--tr-normal);
    display: inline-block;
}

.platform-card:hover .platform-icon {
    transform: scale(1.2) translateY(-5px);
    filter: drop-shadow(0 8px 20px currentColor);
}

.platform-icon.windows { color: #00bcf2; }
.platform-icon.apple { color: #f5f5f7; }
.platform-icon.android { color: #3ddc84; }
.platform-icon.linux { color: #f5a623; }

.platform-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.platform-version {
    font-size: var(--fs-small);
    color: var(--text-muted);
    margin-bottom: 4px;
}

.platform-size {
    font-size: var(--fs-small);
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: var(--r-xl);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--tr-normal);
    text-decoration: none;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 212, 255, 0.3);
    color: var(--bg-primary);
}

/* Connection Animation */
.connection-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    padding: 40px;
    position: relative;
}

.connection-node {
    width: 100px; height: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 2rem;
    color: var(--accent-cyan);
    transition: all var(--tr-normal);
    backdrop-filter: blur(10px);
}

.connection-node:hover {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
    transform: scale(1.08);
}

.connection-node span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.connection-line {
    flex: 1;
    max-width: 200px;
    height: 3px;
    background: rgba(0, 212, 255, 0.15);
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.connection-line::after {
    content: '';
    position: absolute;
    top: 0; right: -100%;
    width: 60%; height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: data-flow 2s linear infinite;
}

/* ==================== 14. Pricing Section ==================== */
.pricing-section {
    padding: var(--section-py);
    position: relative;
    z-index: 2;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: center;
}

.pricing-card {
    text-align: center;
    padding: 40px 28px;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent-cyan);
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured::before {
    opacity: 1;
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    color: var(--bg-primary);
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: var(--r-xl);
    white-space: nowrap;
}

.pricing-plan {
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 4px;
    line-height: 1.1;
}

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

.pricing-price .currency {
    font-size: 1.4rem;
    font-weight: 600;
    vertical-align: super;
}

.pricing-period {
    font-size: var(--fs-small);
    color: var(--text-muted);
    margin-bottom: 28px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.pricing-features li i {
    color: var(--accent-green);
    font-size: 1.1rem;
}

.pricing-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.pricing-features li.disabled i {
    color: var(--text-muted);
}

/* ==================== 15. Testimonials ==================== */
.testimonials-section {
    padding: var(--section-py);
    position: relative;
    z-index: 2;
}

.testimonials-track {
    display: flex;
    gap: 28px;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    padding: 32px;
    min-width: 300px;
}

.testimonial-stars {
    margin-bottom: 16px;
    color: #ffc107;
    font-size: 1.1rem;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--r-full);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--bg-primary);
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-role {
    font-size: var(--fs-small);
    color: var(--text-muted);
}

/* ==================== 16. FAQ Section ==================== */
.faq-section {
    padding: var(--section-py);
    position: relative;
    z-index: 2;
    background: var(--bg-secondary);
}

.faq-container {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--r-md);
    margin-bottom: 14px;
    overflow: hidden;
    transition: all var(--tr-normal);
}

.faq-item:hover {
    border-color: rgba(0, 212, 255, 0.15);
}

.faq-item.active {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow-sm);
}

.faq-question {
    width: 100%;
    padding: 22px 28px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: right;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color var(--tr-fast);
}

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

.faq-question i {
    font-size: 1.2rem;
    transition: transform var(--tr-normal);
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), padding 0.4s var(--ease-out);
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 28px 22px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ==================== 17. CTA Section ==================== */
.cta-section {
    padding: var(--section-py);
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 92, 252, 0.08));
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: var(--r-xl);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08), transparent 70%);
    top: -100px; right: -100px;
    border-radius: 50%;
    animation: pulse-glow 6s ease-in-out infinite;
}

.cta-title {
    font-size: var(--fs-h1);
    font-weight: 900;
    margin-bottom: 16px;
    position: relative;
}

.cta-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    position: relative;
}

/* ==================== 18. Footer ==================== */
.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-glass);
    padding: 70px 0 30px;
    position: relative;
    z-index: 2;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-brand i {
    font-size: 1.6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 320px;
}

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

.footer-social a {
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all var(--tr-fast);
}
.footer-social a:hover {
    background: rgba(0, 212, 255, 0.10);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-3px);
}

.footer-heading {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
    transition: all var(--tr-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links a:hover {
    color: var(--accent-cyan);
    padding-right: 6px;
}

.footer-newsletter-input {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.footer-newsletter-input input {
    flex: 1;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--r-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.88rem;
    outline: none;
    transition: border-color var(--tr-fast);
}
.footer-newsletter-input input:focus {
    border-color: var(--accent-cyan);
}
.footer-newsletter-input input::placeholder {
    color: var(--text-muted);
}

.footer-newsletter-input button {
    padding: 10px 20px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--r-sm);
    color: var(--bg-primary);
    font-weight: 700;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all var(--tr-fast);
}
.footer-newsletter-input button:hover {
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-bottom-links a:hover { color: var(--accent-cyan); }

/* ==================== 19. Auth Forms ==================== */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 20px 80px;
    position: relative;
    z-index: 2;
    background: var(--gradient-hero);
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: rgba(12, 17, 48, 0.80);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: var(--r-xl);
    padding: 48px 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--gradient-primary);
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo i {
    font-size: 2.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

.auth-title {
    text-align: center;
    font-size: var(--fs-h2);
    font-weight: 800;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 36px;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 14px 18px 14px 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid var(--border-glass);
    border-radius: var(--r-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: all var(--tr-fast);
}

.form-input:focus {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-icon {
    position: absolute;
    left: 16px;
    bottom: 15px;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color var(--tr-fast);
    pointer-events: none;
}

.form-group:focus-within .form-icon {
    color: var(--accent-cyan);
}

.password-toggle {
    position: absolute;
    right: 16px;
    bottom: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0;
    transition: color var(--tr-fast);
}
.password-toggle:hover { color: var(--accent-cyan); }

/* Password Strength */
.password-strength {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.strength-bar {
    flex: 1;
    height: 3px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 2px;
    transition: background var(--tr-fast);
}

.strength-bar.weak { background: #ff4757; }
.strength-bar.medium { background: #ffa502; }
.strength-bar.strong { background: #2ed573; }
.strength-bar.very-strong { background: var(--accent-green); }

.strength-text {
    font-size: 0.78rem;
    margin-top: 4px;
    color: var(--text-muted);
}

.form-check-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.form-check-custom input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--accent-cyan);
    cursor: pointer;
}

.form-check-custom label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    margin: 0;
}

.form-check-custom a {
    color: var(--accent-cyan);
}

.btn-auth {
    width: 100%;
    padding: 15px;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-glass);
}

.social-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-social {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: var(--r-md);
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all var(--tr-fast);
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.auth-footer-text {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-footer-text a {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Validation Errors */
.validation-summary {
    background: rgba(255, 71, 87, 0.10);
    border: 1px solid rgba(255, 71, 87, 0.25);
    border-radius: var(--r-md);
    padding: 14px 20px;
    margin-bottom: 20px;
    color: #ff6b81;
    font-size: 0.88rem;
}

.validation-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.validation-summary li {
    padding: 2px 0;
}

.field-validation-error {
    color: #ff6b81;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

.input-validation-error {
    border-color: rgba(255, 71, 87, 0.5) !important;
}

/* ==================== 20. Keyframe Animations ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes spin-slow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

@keyframes data-flow {
    0% { right: 100%; }
    100% { right: -60%; }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes borderGlow {
    0%, 100% { border-color: rgba(0, 212, 255, 0.2); }
    50% { border-color: rgba(0, 212, 255, 0.5); }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInStagger {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==================== 21. Scroll Animations ==================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s var(--ease-out);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s var(--ease-out);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.8s var(--ease-out);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children animation delays */
.stagger-children .reveal:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.3s; }

/* ==================== 22. Utility Classes ==================== */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.bg-dark-section { background: var(--bg-secondary); }

/* ==================== 23. Responsive ==================== */
@media (max-width: 991.98px) {
    :root { --section-py: 80px; }

    .hero-section { padding: 120px 0 60px; }

    .hero-visual { margin-top: 40px; }

    .hero-shield-container {
        width: 260px; height: 260px;
    }

    .shield-icon-main { font-size: 5rem; }

    .shield-ring-1 { width: 200px; height: 200px; }
    .shield-ring-2 { width: 240px; height: 240px; }
    .shield-ring-3 { width: 260px; height: 260px; }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-item:nth-child(2)::after { display: none; }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card.featured { transform: scale(1); }

    .steps-container { gap: 30px; }
    .steps-container::before { display: none; }

    .testimonial-card { flex: 0 0 300px; }

    .navbar-collapse {
        background: rgba(6, 10, 30, 0.95);
        backdrop-filter: blur(20px);
        border-radius: var(--r-md);
        padding: 20px;
        margin-top: 10px;
        border: 1px solid var(--border-glass);
    }

    .glass-nav .navbar-nav .nav-link::after { display: none; }

    .nav-auth-buttons {
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
    }

    .connection-visual {
        flex-direction: column;
        gap: 20px;
    }

    .connection-line {
        width: 3px;
        height: 60px;
        max-width: none;
    }

    .connection-line::after {
        width: 100%;
        height: 60%;
        right: auto;
        top: -100%;
        left: 0;
        animation: data-flow-vertical 2s linear infinite;
    }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: clamp(2rem, 6vw, 3rem); }
    .hero-description { font-size: 1rem; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-buttons .btn-glow,
    .hero-buttons .btn-outline-glow { text-align: center; justify-content: center; }

    .stats-bar { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 2rem; }

    .features-grid { grid-template-columns: 1fr; }
    .feature-card { padding: 28px 20px; }

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

    .platforms-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .download-tab-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .testimonials-track { flex-direction: column; align-items: stretch; }
    .testimonial-card { flex: none; min-width: auto; }

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

    .auth-card { padding: 36px 24px; }

    .cta-box { padding: 50px 24px; }

    .floating-icon { display: none; }
}

@media (max-width: 575.98px) {
    .stats-bar {
        grid-template-columns: 1fr;
        padding: 28px 16px;
    }
    .stat-item:not(:last-child)::after { display: none; }
    .stat-item {
        padding-bottom: 16px;
        border-bottom: 1px solid var(--border-glass);
    }
    .stat-item:last-child { padding-bottom: 0; border-bottom: none; }

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

    .platform-card { padding: 28px 16px; }
}

@keyframes data-flow-vertical {
    0% { top: 100%; }
    100% { top: -60%; }
}