/* ==========================================================================
   Global Variables & Configurations
   ========================================================================== */
:root {
    /* Brand Colors */
    --color-primary: #2563eb;
    --color-primary-dark: #1a3fa3;
    --color-primary-light: #60a5fa;
    --color-secondary: #1e40af;
    --color-secondary-light: #3b82f6;
    --color-accent: #7c3aed;

    /* Backgrounds & Surfaces (Premium Dark Mode) */
    --bg-base: #0B0E14;
    /* Deep, sleek black */
    --bg-surface: #131722;
    --bg-surface-elevated: rgba(255, 255, 255, 0.03);

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #A3AED0;
    --text-muted: #6B7280;

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-light) 100%);
    --gradient-text: linear-gradient(to right, var(--color-primary-light), var(--text-primary));
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);

    /* Effects & Elevations */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(67, 97, 238, 0.4);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-blur: blur(16px);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Utilities */
    --section-pad: 6rem;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-pill: 9999px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Resets and Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* ==========================================================================
   Utilities & Reusable Components
   ========================================================================== */
.section {
    padding: var(--section-pad) 5%;
    position: relative;
    z-index: 2;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.glass-card {
    background: var(--gradient-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* Ambient Background Glows */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.5;
    pointer-events: none;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.15) 0%, transparent 70%);
}

.glow-2 {
    top: 30%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(114, 9, 183, 0.1) 0%, transparent 70%);
}

.glow-3 {
    bottom: -10%;
    left: 20%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(76, 201, 240, 0.1) 0%, transparent 70%);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    padding: 0.75rem 1.75rem;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.75rem;
    backdrop-filter: blur(8px);
}

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-text {
    background: transparent;
    color: var(--color-primary-light);
    padding: 0;
    font-size: 1.1rem;
}

.btn-text .material-symbols-rounded {
    transition: transform var(--transition-fast);
}

.btn-text:hover .material-symbols-rounded {
    transform: translateX(5px);
}

/* Animations (Scroll Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
    padding: 1.5rem 5%;
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-icon {
    color: var(--color-primary-light);
    font-size: 2rem;
}

.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    /* Slight rounding to match the design */
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary-light);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
}

.hero .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    /* Added to keep alignment */
}

/* Temporary update over grid, due to hero HTML layout (No extra container wrapping grid items inside section) */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(67, 97, 238, 0.1);
    color: var(--color-primary-light);
    border: 1px solid rgba(67, 97, 238, 0.2);
    border-radius: var(--border-radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.stats-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual App Screenshot */
.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-hero-image {
    width: 100%;
    max-width: 320px;
    border-radius: 32px;
    box-shadow: var(--shadow-glow);
    animation: float 6s ease-in-out infinite;
    border: 8px solid rgba(25, 30, 45, 0.8);
    object-fit: cover;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual .image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 30% 30%, rgba(67, 97, 238, 0.2), transparent);
}

.large-icon {
    font-size: 8rem;
    color: var(--color-primary-light);
    filter: drop-shadow(0 0 20px rgba(76, 201, 240, 0.5));
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

/* Mouse Following Eyes Component */
.eyes-wrapper {
    display: flex;
    gap: 1.5rem;
    z-index: 10;
}

.eye {
    position: relative;
    background-color: #ffffff;
    border: 6px solid #111827;
    border-radius: 50%;
    height: 6rem;
    width: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.pupil {
    position: absolute;
    background-color: #111827;
    border-radius: 50%;
    height: 2.5rem;
    width: 2.5rem;
    transition: transform 0.05s ease-out;
}

.catchlight {
    position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    height: 0.75rem;
    width: 0.75rem;
    bottom: 0.25rem;
    right: 0.25rem;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: rgba(114, 9, 183, 0.4);
    top: -10%;
    right: -10%;
    animation: drift 10s infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: rgba(76, 201, 240, 0.3);
    bottom: -10%;
    left: -10%;
    animation: drift 8s infinite reverse;
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-text {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Values Section
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

/* ==========================================================================
   Book Flip Interactive Component Styles
   ========================================================================== */
.flip-book-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    perspective: 1800px;
    perspective-origin: center center;
}

.book {
    position: relative;
    width: 400px;
    height: 520px;
    transform-style: preserve-3d;
    margin: 0 auto;
    z-index: 1;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
}

/* Book spine (left thick strip) */
.book::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 100%;
    background: linear-gradient(to right, #0d2252, #1a3fa3, #2563eb);
    border-radius: 4px 0 0 4px;
    z-index: 5;
    box-shadow: inset -3px 0 8px rgba(0, 0, 0, 0.4);
}

/* Page stack edge on right side */
.book::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 2px;
    width: 8px;
    height: calc(100% - 4px);
    background: repeating-linear-gradient(to bottom,
            #e8e8e8 0px,
            #d8d8d8 2px,
            #e8e8e8 4px);
    border-radius: 0 2px 2px 0;
    z-index: 0;
}

.leaf {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: left center;
    transition: transform 1.1s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transform-style: preserve-3d;
    cursor: pointer;
    border-radius: 2px 4px 4px 2px;
    will-change: transform;
}

.leaf.flipped {
    transform: rotateY(-180deg);
}

/* Hide back face content of fully-flipped leaves to prevent overflow.
   In single-book mode, you see the front of the NEXT leaf, not the back of the flipped one. */
.leaf.flipped .back {
    visibility: hidden;
}

.front,
.back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-color: #fdfcf9;
    border-radius: 2px 4px 4px 2px;
    overflow: hidden;
    box-shadow: inset -2px 0 6px rgba(0, 0, 0, 0.08), inset 2px 0 2px rgba(255, 255, 255, 0.5);
}

.back {
    transform: rotateY(180deg);
    box-shadow: inset 2px 0 6px rgba(0, 0, 0, 0.08), inset -2px 0 2px rgba(255, 255, 255, 0.5);
}

/* ---- Cover Page ---- */
.cover-page {
    background: linear-gradient(145deg,
            #0a1628 0%,
            #0d1f40 20%,
            var(--color-primary-dark) 50%,
            var(--color-primary) 80%,
            #3b82f6 100%);
    position: relative;
    overflow: hidden;
}

/* Glossy shine on cover */
.cover-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(105deg,
            transparent 40%,
            rgba(255, 255, 255, 0.06) 50%,
            rgba(255, 255, 255, 0.03) 60%,
            transparent 70%);
    transform: skewX(-10deg);
    pointer-events: none;
    z-index: 1;
}

/* Decorative grid on cover */
.cover-page::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.page-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    box-sizing: border-box;
    text-align: left;
    position: relative;
    z-index: 2;
}

.front-cover {
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    margin: 14px 14px 14px 20px;
    height: calc(100% - 28px);
    width: calc(100% - 34px);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(2px);
}

.inside-page {
    justify-content: flex-start;
    align-items: flex-start;
    background: linear-gradient(160deg, #ffffff 0%, #f8f6ff 100%);
}

/* Subtle page accent line */
.inside-page::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-accent));
    opacity: 0.6;
    pointer-events: none;
}

.back-cover {
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 2rem;
}

.book-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    backdrop-filter: blur(12px);
}

.book-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.book-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.12);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

.page-info {
    color: var(--text-secondary);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.value-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(124, 58, 237, 0.08) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(37, 99, 235, 0.25);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.value-icon-wrapper .material-symbols-rounded {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #0d1f40;
    font-family: var(--font-heading);
}

.value-text {
    color: #5a6b85;
    font-size: 0.93rem;
    line-height: 1.65;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse>* {
    direction: ltr;
    /* Reset text direction inside */
}

.feature-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(67, 97, 238, 0.15);
    color: var(--color-primary-light);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.driver-badge {
    background: rgba(114, 9, 183, 0.15);
    color: var(--color-secondary-light);
}

.feature-block-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

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

.driver-badge+.feature-block-title+.feature-list .text-gradient {
    background: var(--gradient-accent);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-list strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.feature-list p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-image {
    aspect-ratio: 4/3;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.giant-icon {
    font-size: 12rem;
    opacity: 0.8;
}

.text-glow {
    filter: drop-shadow(0 0 30px rgba(67, 97, 238, 0.4));
}

/* ==========================================================================
   Hero Neon Canvas Background
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
}

#neon-tubes-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    display: block;
    touch-action: none;
}

#neon-tubes-canvas.loaded {
    opacity: 0.6;
}

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

/* ==========================================================================
   Wave Path Divider
   ========================================================================== */
.wave-divider-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0 3rem 0;
    position: relative;
    z-index: 2;
}

.wave-divider {
    position: relative;
    width: 70vw;
    height: 1px;
}

.wave-hover-zone {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 10;
    cursor: none;
    transition: top 0.2s ease, height 0.2s ease;
}

.wave-hover-zone:hover {
    top: -100px;
    height: 200px;
}

.wave-divider svg {
    position: absolute;
    top: -75px;
    left: 0;
    width: 100%;
    height: 150px;
    overflow: visible;
}

.wave-divider svg path {
    fill: none;
    stroke: rgba(96, 165, 250, 0.5);
    stroke-width: 1.5px;
    stroke-linecap: round;
}

/* ==========================================================================
   Download CTA Section
   ========================================================================== */
.cta {
    padding-bottom: 8rem;
}

.cta-card {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(114, 9, 183, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.cta-hover:hover,
.cta-hover-alt:hover {
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.5);
    transform: translateY(-3px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #07090D;
    padding: 6rem 5% 2rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-desc {
    color: var(--text-secondary);
    margin: 1.5rem 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-fast);
}

.social-icon img {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.link-group ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-group a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.link-group a:hover {
    color: var(--color-primary-light);
}

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

/* ==========================================================================
   Media Queries (Responsiveness)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 10rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem auto;
    }

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

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

    .about-grid,
    .feature-block {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-block.reverse {
        direction: ltr;
        /* Reset for mobile stacked view */
    }

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

@media (max-width: 768px) {
    .section {
        padding: 4rem 5%;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .app-hero-image {
        max-width: 260px;
    }

    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(11, 14, 20, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left var(--transition-normal);
    }

    .nav-links.active {
        left: 0;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-desc {
        margin: 1.5rem auto;
    }
}