:root {
    /* Light Mode (Default) */
    --bg-color: #ffffff;
    --body-bg:
        radial-gradient(at 0% 0%, rgba(186, 230, 253, 0.45) 0px, transparent 55%),
        radial-gradient(at 100% 0%, rgba(199, 210, 254, 0.45) 0px, transparent 55%),
        radial-gradient(at 100% 100%, rgba(204, 251, 241, 0.45) 0px, transparent 55%),
        radial-gradient(at 0% 100%, rgba(224, 242, 254, 0.45) 0px, transparent 55%),
        radial-gradient(at 50% 50%, rgba(240, 249, 255, 0.45) 0px, transparent 55%),
        linear-gradient(135deg, #fff 0%, #f1f5f9 100%);
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(255, 255, 255, 0.4);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --primary-gradient: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --accent-glow: #3b82f6;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-logo: 'Source Serif 4', serif;
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
    --shadow-soft: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.8);
    scroll-behavior: smooth;
}

::selection {
    background: var(--accent-glow);
    color: #fff;
}

[data-theme="dark"] {
    --bg-color: #0c0a09;
    --body-bg: radial-gradient(circle at 50% 0%, #1e1b4b 0%, #0c0a09 100%);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --primary-gradient: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --accent-glow: #ffffff;
    --shadow-soft: 0 0 30px rgba(255, 255, 255, 0.05);
    --nav-bg: rgba(12, 10, 9, 0.8);
}

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

body {
    background: var(--body-bg);
    background-color: var(--bg-color);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Noise Filter */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.15), transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: width 0.3s, height 0.3s;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--text-main);
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 {
    letter-spacing: -0.04em;
}

p {
    letter-spacing: -0.01em;
}

.logo {
    font-family: var(--font-logo);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

/* Header */
.glass-header {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    z-index: 100;
    display: flex;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.glass-header.scrolled {
    top: 12px;
    background: var(--nav-bg);
    border-color: var(--card-border);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-container:hover {
    transform: scale(1.05);
    /* Playful bounce */
}

.logo-orb {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #67e8f9 0%, #2563eb 50%, #312e81 100%);
    box-shadow:
        0 4px 20px rgba(37, 99, 235, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    margin-right: 0.25rem;
}

.logo-orb::after {
    /* Orbital Ring */
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-left-color: rgba(34, 211, 238, 0.8);
    /* Accent spin */
    transform: rotate(-45deg);
    animation: orbRingSpin 15s linear infinite;
    filter: blur(0.5px);
}

.logo-orb::before {
    /* Inner Glow Pulse */
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(103, 232, 249, 0.8), transparent 70%);
    animation: orbPulse 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes orbPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.8);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes orbRingSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.nav-logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main);
    transition: all 0.4s var(--ease-out);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-container:hover .logo-orb {
    transform: rotate(15deg) scale(1.1);
}

.logo-container:hover .nav-logo-text {
    letter-spacing: -0.02em;
    color: var(--accent-glow);
}

.glass-header.scrolled .logo-orb {
    width: 32px;
    height: 32px;
}

.glass-header.scrolled .nav-logo-text {
    font-size: 1.5rem;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 1rem;
}

.toggle-track {
    width: 52px;
    height: 28px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    transition: all 0.3s ease;
}

.toggle-sun,
.toggle-moon {
    font-size: 12px;
    line-height: 1;
    z-index: 1;
}

.toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: var(--text-main);
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 2;
}

[data-theme="dark"] .toggle-thumb {
    transform: translateX(24px);
    background: #ffffff;
}

[data-theme="light"] .toggle-thumb {
    background: #0f172a;
}

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

.nav-links a {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    position: relative;
    opacity: 0.8;
    transition: opacity 0.3s;
    text-shadow: none;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-glow);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 102;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 101;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .mobile-menu-overlay {
    background: rgba(255, 255, 255, 0.8);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-links a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
}

/* Buttons */
.btn {
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease-out);
}

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

.btn-secondary {
    color: var(--text-main);
    background: transparent;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-color);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-primary.glow-effect {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(30deg);
    transition: all 0.6s ease;
}

.btn-primary:hover::after {
    left: 120%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 20px 40px -10px rgba(59, 130, 246, 0.4),
        0 0 20px rgba(59, 130, 246, 0.2);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.05);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 2rem 4rem;
    /* Adjusted for announcement bar */
    overflow: hidden;
    background: transparent;
    z-index: 1;
}

/* Mesmerizing Aurora Effect */
.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: conic-gradient(from 180deg at 50% 50%,
            rgba(186, 230, 253, 0.1) 0deg,
            /* Light Blue */
            rgba(165, 243, 252, 0.1) 60deg,
            /* Cyan */
            rgba(255, 255, 255, 0) 120deg,
            rgba(221, 214, 254, 0.08) 200deg,
            /* Very Pale Violet */
            rgba(255, 255, 255, 0) 280deg,
            rgba(186, 230, 253, 0.1) 360deg);
    filter: blur(80px);
    animation: heroSpin 60s linear infinite;
    z-index: -2;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1), rgba(14, 165, 233, 0.05), transparent 70%);
    filter: blur(80px);
    animation: heroPulse 10s ease-in-out infinite alternate;
    z-index: -1;
    /* Removed blend mode for cleaner look */
}

@keyframes heroSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes heroPulse {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2) translate(50px, -20px);
        opacity: 0.8;
    }

    100% {
        transform: scale(0.9) translate(-30px, 40px);
        opacity: 0.6;
    }
}

/* Partners / Models Section */
.partners-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--card-border);
    position: relative;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    overflow: hidden;
}

.partners-container {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.partners-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
    font-weight: 600;
}

.partners-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 5rem;
    width: max-content;
    animation: partners-scroll 40s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-main);
    font-size: 1.5rem;
    font-weight: 700;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: default;
    white-space: nowrap;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Specific Brand Colors on Hover */
.partner-logo.openai:hover {
    color: #10a37f;
}

.partner-logo.anthropic:hover {
    color: #d97757;
}

.partner-logo.meta:hover {
    color: #0668E1;
}

.partner-logo.stability:hover {
    color: #7c3aed;
}

.partner-logo.mistral:hover {
    color: #f59f00;
}

.partner-logo.gemini:hover {
    color: #4285F4;
}

.partner-logo.cohere:hover {
    color: #395CA8;
}

.partner-logo.huggingface:hover {
    color: #FFD21E;
}

.partner-logo.nvidia:hover {
    color: #76B900;
}

@keyframes partners-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
}

/* Background Glow */
.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}



.hero-text {
    max-width: 650px;
    text-align: left;
    order: 1;
    /* Left side */
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 2;
    /* Right side */
    perspective: 1000px;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

[data-theme="dark"] .hero-image {
    filter: drop-shadow(0 0 50px rgba(59, 130, 246, 0.3)) brightness(1.1);
}

@keyframes float {

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

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

.hero-image:hover {
    transform: scale(1.05) rotateX(5deg) rotateY(-5deg);
    filter: drop-shadow(0 30px 60px rgba(59, 130, 246, 0.25));
}

.floating-animation {
    animation: float 6s ease-in-out infinite;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    color: var(--text-main);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-glow);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
}

.hero-title {
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -0.05em;
    background: linear-gradient(to bottom, var(--text-main) 30%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.word-transition {
    display: inline-block;
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.5s var(--ease-out);
    opacity: 1;
    transform: translateY(0);
    padding-bottom: 5px;
    /* Prevent clipping of descenders */
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    /* Align left */
    flex-wrap: wrap;
}

/* Stats */
.stats-row {
    display: flex;
    justify-content: flex-start;
    /* Align left */
    gap: 3rem;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align left */
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--card-border);
    margin-top: 0.5rem;
    /* Align visual center with text */
}

/* Features */
.features-section {
    padding: 8rem 2rem;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to bottom right, var(--bg-color), rgba(0, 243, 255, 0.03));
}

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

.section-header.center {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.glass-panel {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.5s var(--ease-out);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.glass-panel:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(59, 130, 246, 0.05);
    transform: translateY(-10px) scale(1.01);
}

/* Spotlight Effect Overlay */
.glass-panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(255, 255, 255, 0.06),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 2;
}

.glass-panel:hover::after {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
}

/* Gradients for icons */
.gradient-1 {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(0, 243, 255, 0));
    color: #00f3ff;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.gradient-2 {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.2), rgba(255, 0, 255, 0));
    color: #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

.gradient-3 {
    background: linear-gradient(135deg, rgba(255, 230, 0, 0.2), rgba(255, 230, 0, 0));
    color: #ffe600;
    box-shadow: 0 0 20px rgba(255, 230, 0, 0.2);
}

/* Call to Action */
.cta-section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    /* slightly shorter to anchor the bottom */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, #000 0%, transparent 100%);
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.2), transparent 70%);
    z-index: -1;
}

.cta-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #999);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer */
footer {
    padding: 4rem 2rem;
    border-top: 1px solid var(--card-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-links a {
    color: var(--text-muted);
}

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

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

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

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}

/* Demo Section */
.demo-section {
    padding: 4rem 0 8rem;
    position: relative;
    z-index: 5;
    margin-top: -50px;
}

.demo-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    perspective: 2000px;
    display: flex;
    justify-content: center;
}

.ipad-wrapper {
    position: relative;
    border-radius: 20px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.1) inset;
    background: transparent;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotateX(10deg) scale(0.95);
    transform-origin: center center;
    transition: all 0.6s var(--ease-out);
    will-change: transform;
    opacity: 0;
    /* Animated in via JS or CSS animation */
    animation: ipadEntrance 0.8s var(--ease-out) forwards 0.2s;
    overflow: hidden;
    /* Ensure glowing inset and image contain properly */
}

.ipad-wrapper:hover {
    transform: rotateX(0deg) scale(1);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.ipad-wrapper img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    display: block;
}

.ipad-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 60%);
    z-index: -1;
    filter: blur(40px);
    opacity: 0.6;
}

@keyframes ipadEntrance {
    from {
        opacity: 0;
        transform: rotateX(20deg) translateY(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotateX(10deg) translateY(0) scale(0.95);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glass-header {
        width: 100%;
        top: 0;
        border-radius: 0;
        border-top: none;
        border-left: none;
        border-right: none;
    }

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

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

    .stat-divider {
        display: none;
    }

    .nav-links {
        display: none;
    }

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

    .mobile-menu-btn {
        display: flex;
    }
}