:root {
    /* Colors - Dark Premium Palette */
    --bg-dark: #0a0a0c;
    --bg-card: #141419;
    --text-main: #e0e0e0;
    --text-muted: #8a8a9e;

    /* Accents - Neon AI Blue/Purple */
    --accent-primary: #2979ff;
    /* Blue */
    /* Electric Teal for high contrast */
    --accent-secondary: #7000ff;
    /* Deep AI Purple */
    --accent-glow: rgba(112, 0, 255, 0.4);

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

    /* Spacing */
    --container-width: 1200px;
    --nav-height: 80px;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    text-align: center;
    pointer-events: none;
    /* Let clicks pass through to canvas if needed, but buttons need events */
}

.hero-content>* {
    pointer-events: auto;
    /* Re-enable pointer events for text and buttons */
}

.eyebrow {
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1rem;
    /* Slightly larger */
}

.headline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
    position: relative;
    white-space: nowrap;
    /* Prevent wrapping */
}

/* Typing Cursor */
.type::after {
    content: '|';
    /* Position relatively to text flow instead of absolute to avoid overflow/drop */
    display: inline-block;
    margin-left: 2px;
    color: var(--accent-secondary);
    animation: blink 0.7s infinite;
    -webkit-text-fill-color: var(--accent-secondary);
    /* Override gradient for cursor */
    vertical-align: baseline;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.sub-headline {
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Canvas Background */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Behind content but showing clearly */
}

/* Flashlight Reveal Effect (Desktop Only) */
@media (min-width: 769px) {
    #hero-canvas {
        -webkit-mask-image: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 100%);
        mask-image: radial-gradient(circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), black 0%, transparent 100%);
        opacity: 0.8;
        /* Slight dim to make the reveal pop more */
    }
}

/* Updated Buttons (kept simple as requested) */
.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    min-width: 160px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.btn.primary {
    background: #ffffff;
    /* Slightly transparent for glass feel */
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.2);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn.secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(20, 20, 25, 0.3);
    color: #ffffff;
    /* Explicitly white */
}

.btn.secondary:hover {
    border-color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

.toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
}


/* Animations */
.stagger-1 {
    transition-delay: 100ms;
}

.stagger-2 {
    transition-delay: 200ms;
}

.stagger-3 {
    transition-delay: 300ms;
}

/* Responsive */
@media (max-width: 768px) {
    .headline {
        font-size: 2.5rem;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        /* Allow full width to fit long email */
        padding: 1rem 1rem;
        /* Reduce padding slightly */
        font-size: 0.9rem;
        /* Slightly smaller text if needed */
    }
}