/*--------------------------------------------------------------
# CSS Variables and Base Configuration
--------------------------------------------------------------*/
:root {
    /* Colors */
    --primary-color: #A971FB;
    --accent-color: #FFA600;
    --text-color: #000;
    --bg-color: #fff;

    /* Layout */
    --header-height: min(100px, 15vh);
    --section-padding: clamp(2rem, 5vw, 4rem);
    --wave-length: 200vw;
    --wave-thickness: 1.5px;

    /* Typography */
    --base-font-size: clamp(16px, 2vw, 22px);
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Raleway', sans-serif;
    --heading-letter-spacing: -0.06em;
    --heading-line-height: 1em;
    --body-letter-spacing: 0.05em;
    --body-line-height: 1.4em;

    /* Font Sizes */
    --h1-size: clamp(3rem, 10vw, 6.2rem);
    --h1-size-value: 6.2;
    --h2-size: clamp(2rem, 5vw, 3.5rem);
    --h2-size-value: 2.8;
    --h3-size: clamp(1.5rem, 3vw, 2.2rem);
    --h3-size-value: 2.2;
    --h4-size: clamp(1rem, 2vw, 1.2rem);
    --h4-size-value: 1.2;

    /* Container Widths */
    --max-width-large: min(1500px, 95vw);
    --max-width-medium: min(1200px, 95vw);
    --max-width-small: min(800px, 95vw);

    /* Spacing */
    --spacing-xs: clamp(0.5rem, 1vw, 1rem);
    --spacing-sm: clamp(1rem, 2vw, 1.5rem);
    --spacing-md: clamp(1.5rem, 3vw, 2rem);
    --spacing-lg: clamp(2rem, 4vw, 3rem);
    --spacing-xl: clamp(3rem, 5vw, 4rem);

    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 6px;
    --border-radius-lg: 15px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: -16px 9px 8px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Z-index layers */
    --z-header: 1000;
    --z-mobile-menu: 1000;
    --z-mobile-toggle: 1001;
    --z-overlay: 1002;
}

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

html {
    scroll-behavior: smooth;
    font-size: 100%; /* Ensure proper rem scaling */
}

body {
    font-family: var(--body-font);
    font-size: var(--base-font-size);
    letter-spacing: var(--body-letter-spacing);
    line-height: var(--body-line-height);
    color: var(--text-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    letter-spacing: var(--heading-letter-spacing);
    line-height: var(--heading-line-height);
    font-weight: 500;
}

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }
h4 { font-size: var(--h4-size); }

p {
    margin-bottom: var(--spacing-md);
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--primary-color);
}

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

/* Lists */
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Form Elements */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
    border: none;
    background: none;
}

button {
    cursor: pointer;
    padding: 0;
}

/* Focus States */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--bg-color);
}



/* Container */
.container {
    width: min(var(--max-width-large), 95vw);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Utility Classes */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-column { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

.w-full { width: 100%; }
.h-full { height: 100%; }

/*--------------------------------------------------------------
# Common Components
--------------------------------------------------------------*/
/* Primary button */
.btn {
    background: var(--accent-color);
    color: var(--text-color);
    border: none;
    padding: 1.5rem 3rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--bg-color);
}

/* Highlight button style */
.highlight-btn {
    background: var(--accent-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.highlight-btn:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.highlight-btn:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* Mobile button adjustments */
@media (max-width: 768px) {
    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Specific fixes for the header button */
    .header .btn {
        width: auto;
        max-width: 110px;
        font-size: 0.65rem;
        padding: 0.5rem;
        margin-right: 3.5rem;
        white-space: normal;
        line-height: 1;
        position: absolute;
        right: 3.5rem;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Fix for mobile menu toggle positioning */
    .mobile-menu-toggle {
        position: absolute;
        right: 1rem;
    }
}

/* Secondary button style */
.examples-cta .btn {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--text-color);
    font-size: 1.1rem;
    padding: 0.8rem 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
    text-transform: none;
    font-weight: 500;
}

.examples-cta .btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--bg-color);
}

.highlight {
    position: relative;
    display: inline-block;
    padding: 0 0.2em;
}

.highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    opacity: 1;
    z-index: -1;
    transform: skew(-10deg);
}
/*--------------------------------------------------------------
# Header and Navigation
# Handles the fixed navigation bar and logo styling
--------------------------------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--bg-color);
    z-index: 1000;
    box-shadow: -16px 9px 8px rgba(0, 0, 0, 0.1)
}

.header-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
}

.logo img {
    height: 65px;
    width: auto;
}

.brand-name {
    color: var(--text-color);
    font-family: var(--heading-font);
    font-size: clamp(1.2rem, 1.8vw, 1.7rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.footer-social a[aria-label="Email Novatech Labs"] svg {
    fill: none;
    stroke: currentColor;
}

@media (max-width: 768px) {
    .brand-name { font-size: 1.1rem; }
    .header-inner > .btn { display: none; }
    .mobile-menu .mobile-cta { display: block; }
}

.nav {
    display: flex;
    gap: 4rem;
    margin-left: auto;
    margin-right: 4rem;
}

.nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 100;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        margin-left: auto;  /* Push to the right using flexbox */
        margin-right: 1rem;
        z-index: 1001;
    }

    /* Hamburger lines */
    .hamburger-line {
        width: 100%;
        height: 2px;
        background-color: var(--text-color);
        transition: all 0.3s ease;
    }

    /* Hamburger animation when menu is open */
    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: 250px;
    height: calc(100vh - var(--header-height));
    background: var(--bg-color);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    padding: 2rem;
    visibility: hidden;
    opacity: 0;
    display: none;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1);
}
.mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

.mobile-nav .mobile-cta {
    margin-top: 1rem;
    text-align: center;
    padding: 1rem;
    background: var(--accent-color);
    color: var(--text-color);
    border-radius: 6px;
    font-weight: 600;
    border: none;
}


/*--------------------------------------------------------------
# Hero Section
# Main landing area with video background and title
--------------------------------------------------------------*/
.hero {
    height: 75vh;
    position: relative;
    overflow: visible;
    margin-top: var(--header-height);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90%;
    background: #1a1a1a;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-video video.loaded {
    opacity: 0.7;
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--bg-color);
    text-align: center;
    padding: 0 2rem;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-content .title-main {
    font-size: clamp(6rem, 25vw, 15rem);
    margin: 0;
    font-weight: 500;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    letter-spacing: -0.03em;
    line-height: 1;
}

.hero-content .title-sub {
    font-size: clamp(1.5rem, 4vw, 3rem);
    margin: 0;
    font-weight: 400;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    letter-spacing: -0.02em;
    line-height: 1;
    animation-delay: 0.3s;
    margin-top: -0.3em;
}

/* Hero section wave overlay */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50vw;
    width: 200vw;
    height: 15vw;
    min-height: 100px;
    max-height: 200px;
    background: var(--bg-color);
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 1600 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,150 L0,75 C400,150 1200,150 1600,75 L1600,150 Z' /%3E%3C/svg%3E") center no-repeat;
    -webkit-mask-size: 100% 100%;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 1600 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,150 L0,75 C400,150 1200,150 1600,75 L1600,150 Z' /%3E%3C/svg%3E") center no-repeat;
    mask-size: 100% 100%;
    transform: scale(1.1);
    z-index: 2;
}
/*--------------------------------------------------------------
# Scroll Indicators
# Mouse scroll and mobile scroll indicators
--------------------------------------------------------------*/
#mouse-scroll {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%) scale(1.5);
    z-index: 0;
    cursor: pointer;
    display: none;
    opacity: 0.5;
    transition: opacity 0.5s ease-out;
    pointer-events: auto;
}

#mouse-scroll span {
    display: block;
    width: 5px;
    height: 5px;
    transform: rotate(45deg);
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    margin: 0 0 3px 5px;
}

#mouse-scroll .mouse {
    height: 21px;
    width: 14px;
    border-radius: 10px;
    transform: none;
    border: 2px solid #fff;
    display: block;
}

#mouse-scroll .mouse-in {
    height: 5px;
    width: 2px;
    display: block;
    margin: 5px auto;
    background: #fff;
    position: relative;
    animation: animated-mouse 1.2s ease infinite;
}

#mouse-scroll .down-arrow-1 {
    margin-top: 6px;
}

#mouse-scroll .down-arrow-1,
#mouse-scroll .down-arrow-2,
#mouse-scroll .down-arrow-3 {
    animation: mouse-scroll 1s infinite;
}

#mouse-scroll .down-arrow-1 {
    animation-delay: .1s;
    animation-direction: alternate;
}

#mouse-scroll .down-arrow-2 {
    animation-delay: .2s;
    animation-direction: alternate;
}

#mouse-scroll .down-arrow-3 {
    animation-delay: .3s;
    animation-direction: alternate;
}

.scroll-icon-container {
    position: absolute;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%) scale(0.5);
    z-index: 3;
    cursor: pointer;
    display: none;
    opacity: 0.7;
    transition: opacity 0.5s ease-out;
}

.scroll-icon-container svg {
    filter: brightness(0) invert(1);  /* This will make the icon white */
}

/*--------------------------------------------------------------
# Intro Section
# Main introductory content area with wavy divider
--------------------------------------------------------------*/
.intro {
    padding: var(--section-padding) 2rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.intro h2 {
    font-size: var(--h2-size);
    font-weight: 450;
    line-height: calc(var(--heading-line-height) * (1 + (1 - var(--h2-size-value)) / 25));
    letter-spacing: var(--heading-letter-spacing);
}

/* Wavy Divider Styling */
.wavy-divider {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: var(--wave-length);
    height: 120px;
    margin-top: 2rem;
    overflow: visible;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wavy-divider svg {
    position: absolute;
    top: 0;
    left: 0px;
    width: var(--wave-length);
    height: 100%;
    display: block;
}

.wavy-divider path {
    stroke: var(--primary-color);
    stroke-width: var(--wave-thickness);
    fill: none;
    stroke-dasharray: 8000;
    stroke-dashoffset: 8000;
}

.wavy-divider.visible {
    opacity: 1;
}

.wavy-divider.visible path {
    animation: drawWave 2s ease-out forwards;
}

/* Marquee section */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 2rem 0;
}

.marquee h2 {
    display: inline-block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-color);
    animation: marquee 30s linear infinite;
    padding-right: 2rem;
}
/*--------------------------------------------------------------
# Video Comparisons Section
# Container and layout for video comparison features
--------------------------------------------------------------*/
.video-comparisons {
    padding: var(--section-padding) 2rem;
}

.video-features-container {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1400px;
    margin: 1rem auto;
    padding: 0 2rem;
}

/* Feature list styling */
.features {
    width: 40%;
    padding: 0;
    margin: 0;
}

.features li {
    margin: 1.5rem 0;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.features h4 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 400;
}

.features h4 strong {
    font-weight: 700;
}

/*--------------------------------------------------------------
# Video Comparison Player
# Video player with slider comparison functionality
--------------------------------------------------------------*/
.video-comp-container {
    position: relative;
    width: 60%;
    flex-shrink: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
}

.video-comp-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-comp-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.video-comp-video video.loaded {
    opacity: 1;
}

/* Video comparison overlay and slider */
.video-comp-overlay {
    clip-path: inset(0 50% 0 0);
    z-index: 2;
}

.video-comp-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 3;
    cursor: ew-resize;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(40px, 12vw, 48px); ;
    height: clamp(40px, 12vw, 48px);
    touch-action: none;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-handle svg {
    width: 24px;
    height: 24px;
    stroke: #FFFFFF;
}
@media (max-width: 768px) {
    .video-comp-slider {
        width: max(4px, 0.5vw); /* Slightly wider on mobile */
    }
}

/*--------------------------------------------------------------
# Loading States
# Loading indicator for video comparison section
--------------------------------------------------------------*/
.loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 4;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.loading-indicator.active {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
/*--------------------------------------------------------------
# Waitlist Section
# Dynamic gradient background with particle effects
--------------------------------------------------------------*/
.waitlist {
    position: relative;
    overflow: hidden;
    padding: var(--section-padding) 2rem;
}

/* Gradient Background */
.waitlist::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg,
        var(--accent-color) 0%,
        color-mix(in srgb, var(--accent-color) 70%, var(--primary-color)) 50%,
        var(--primary-color) 100%
    );
    opacity: 0.9;
    animation: gradientShift 15s ease-in-out infinite;
}

/* Content container */
.waitlist-content {
    margin: 0 auto;
    text-align: center;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Two-column layout for waitlist */
.waitlist-content.two-column {
    display: flex;
    gap: 4rem;
    align-items: center;
    justify-content: space-between;
}

.waitlist-cta-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border-right: 2px dotted rgba(0, 0, 0, 0.15);
}

.waitlist-form-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.waitlist-cta-column h2,
.waitlist-form-column h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.waitlist-cta-column p,
.waitlist-form-column p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.cta-large {
    font-size: 1.2rem;
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .cta-large {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
        margin-top: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

.waitlist-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.waitlist-content h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/*--------------------------------------------------------------
# Waitlist Features
# Feature list with hand-drawn underline effect
--------------------------------------------------------------*/
.waitlist-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.waitlist-features a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    cursor: default;
    font-size: 1.2rem;
}

.waitlist-features a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 4'%3E%3Cpath d='M0,2 C20,1 30,3 50,2 S70,0 100,2' stroke='black' fill='none' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transform-origin: center;
    animation: drawUnderline 0.5s ease forwards;
    opacity: 0.7;
}

.waitlist-cta {
    font-weight: bold;
    margin-bottom: 1rem;
}

/*--------------------------------------------------------------
# Newsletter Form
# Email signup form styling
--------------------------------------------------------------*/
.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

.form-field {
    width: 100%;
}

.form-field input {
    padding: 1rem 1.5rem;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    width: 100%;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-field input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form .btn {
    background: var(--accent-color);
    padding: 1rem 2rem;
    width: auto;
}

@media (max-width: 768px) {
    .form-field {
        max-width: 100%;
    }

    .form-field input {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .newsletter-form .btn {
        width: auto;
        min-width: 200px;
        max-width: 100%;
        margin: 0.5rem auto;
    }
}



.form-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}

.form-message.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

.form-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #66bb6a;
}


/*--------------------------------------------------------------
# Animation Keyframes
# Defines all animation sequences used throughout the site
--------------------------------------------------------------*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drawWave {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes marquee {
    from { transform: translateX(0%); }
    to { transform: translateX(-100%); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes gradientShift {
    0%, 100% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

@keyframes drawUnderline {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes animated-mouse {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(6px);
    }
}

@keyframes mouse-scroll {
    0% { opacity: 0; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}



/*--------------------------------------------------------------
# Examples CTA
--------------------------------------------------------------*/
.examples-cta {
    max-width: 800px;
    margin: var(--spacing-xl) auto;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: linear-gradient(135deg,
        rgba(169, 113, 251, 0.05) 0%,
        rgba(255, 166, 0, 0.05) 100%
    );
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(169, 113, 251, 0.1);
}

.examples-cta h2 {
    color: var(--text-color);
    font-size: var(--h3-size);
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

.examples-cta .btn {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--text-color);
    font-size: 1.1rem;
    padding: 0.8rem 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-normal);
    text-transform: none;
    font-weight: 500;
}

.examples-cta .btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--bg-color);
}

@media (max-width: 768px) {
    .examples-cta {
        padding: var(--spacing-lg) var(--spacing-sm);
        margin: var(--spacing-lg) 0;
    }

    .examples-cta h2 {
        font-size: calc(var(--h3-size) * 0.9);
        margin-bottom: var(--spacing-md);
    }

    .examples-cta .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/*--------------------------------------------------------------
# Footer
# Site footer with logo and social links
--------------------------------------------------------------*/
footer {
    padding: var(--section-padding) 2rem;
    background: var(--bg-color);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.discord-icon {
    transition: transform 0.3s ease;
}

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

.discord-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--text-color);
}

.footer-contact a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

/*--------------------------------------------------------------
# Media Queries
# Defines responsive breakpoints and adjustments
--------------------------------------------------------------*/

/* Mobile and Small Screens (up to 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --section-padding: 2rem;
        --base-font-size: 16px;
    }

    .wavy-divider.visible{
        width: 93vw;
    }

    .wavy-divider svg{
        width: 93vw;
    }
    .wavy-divider.visible path{
        stroke-width: 15px;
        width: 93vw;
    }
    .wavy-divider{
        margin-top: 0px;
    }

    /* Two-column layout becomes single column on mobile */
    .waitlist-content.two-column {
        flex-direction: column;
        gap: 2rem;
    }

    .waitlist-cta-column,
    .waitlist-form-column {
        width: 100%;
        padding: 1.5rem;
    }

    .waitlist-cta-column {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        position: relative;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .waitlist-cta-column::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background-image: repeating-linear-gradient(to right, rgba(0,0,0,0.1), rgba(0,0,0,0.1) 6px, transparent 6px, transparent 12px);
    }

    .waitlist-features {
        margin-bottom: 1.5rem;
    }

    .waitlist-cta {
        margin-bottom: 0.75rem;
    }

    .hero-content .title-main {
        font-size: clamp(4rem, 16vw, 18rem);
    }

    .mobile-cta {
        display: none;
    }

    /* Header Adjustments */
    .header {
        width: 100%;
    }

    .header-inner {
        padding: 0 1rem;
        position: relative;
        justify-content: space-between;
    }

    .logo img {
        height: 40px;
    }

    .nav {
        display: none;
    }

    /* Fix burger menu positioning */
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    /* Adjust button spacing */
    .header .btn {
        text-align: center;
    }

    /* Mobile menu adjustments */
    .mobile-menu {
        display: block;
        position: fixed;
        top: var(--header-height);
        right: 0;
        width: 250px;
        height: calc(100vh - var(--header-height));
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .mobile-nav a {
        color: var(--text-color);
        text-decoration: none;
        font-size: 1.25rem;
        font-weight: 500;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        transition: color 0.3s ease;
    }

    .mobile-nav a:hover {
        color: var(--primary-color);
    }

    .mobile-nav .mobile-cta {
        margin-top: 1rem;
        text-align: center;
        padding: 1rem;
        background: var(--accent-color);
        color: var(--text-color);
        border-radius: 6px;
        font-weight: 600;
        border: none;
    }

    /* Hero Section Adjustments */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* Scroll Indicator Display */
    #mouse-scroll {
        display: none;
    }

    .scroll-icon-container {
        display: block;
    }

    /* Content Section Adjustments */
    .intro h2 {
        font-size: 1.8rem;
    }

    /* Video Features Adjustments */
    .video-features-container {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .video-comp-container,
    .features {
        width: 100%;
    }

    .features {
        text-align: left;
        padding: 0 1rem;
    }

    .features li {
        margin: 1rem 0;
    }

    /* Waitlist Section Adjustments */
    .waitlist-content {
        padding: 1.5rem 1rem;
        border-radius: 15px;
        margin: 0 0.5rem;
    }

    .waitlist-content h2 {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        margin-bottom: 1.5rem;
    }

    .waitlist-content h3 {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
        margin-bottom: 1rem;
    }

    .waitlist-cta-column p,
    .waitlist-form-column p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }

    .form-field {
        width: 100%;
        max-width: 100%;
    }

    .form-field input {
        width: 100%;
        max-width: 100%;
        padding: 0.8rem 1.2rem;
        font-size: 1rem;
    }

    .newsletter-form .btn {
        width: 100%;
        max-width: 300px;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        text-align: center;
        margin: 0.5rem auto;
    }

    /* Footer Adjustments */
    footer {
        padding: var(--section-padding) 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-logo img {
        height: 40px;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Tablet Layout */
@media (min-width: 769px) and (max-width: 1024px) {
    .video-features-container {
        flex-direction: column;
        gap: 2rem;
    }

    .video-comp-container,
    .features {
        width: 100%;
    }

    .features {
        text-align: center;
    }
}

/* Portrait Mode Mobile Devices */
@media screen and (max-width: 767px) and (orientation: portrait) {
    .intro h2 {
        font-size: calc((var(--h2-size-value) - 1) * calc(.012 * min(100vh, 900px)) + 1rem);
    }
}

/* Specific Mobile Adjustments */
@media (max-width: 500px) {
    .hero::after {
        bottom: -2rem;          /* Was -37px */
        transform: none;    /* Was scale(0.5) */
        width: 100%;       /* Was 200% */
        left: 0;           /* Was -56% */
        height: clamp(50px, 15vw, 100px);
    }
}

/* Desktop Scroll Indicator */
@media screen and (min-width: 769px) {
    #mouse-scroll {
        display: block;
    }
    .scroll-icon-container {
        display: none;
    }
}

/*--------------------------------------------------------------
# VOS Rebrand: Hero Subline + Dual CTA
--------------------------------------------------------------*/
/* The decorative bottom wave (z-index 2) sits above .hero-content (z-index 1)
   and was swallowing clicks on the CTAs. It is purely visual. */
.hero::after {
    pointer-events: none;
}

/* Reserve the bottom strip of the hero for the scroll indicator so
   the CTA stack never collides with it. */
.hero-content {
    padding-bottom: 110px;
}

#mouse-scroll {
    z-index: 0;
    pointer-events: auto;
}

.hero-subline {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    font-weight: 400;
    margin-top: 0.75rem;
    opacity: 0;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: flex-start;
    margin-top: 1.5rem;
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    animation-delay: 0.9s;
}

.hero-cta-primary {
    background: var(--accent-color);
    color: var(--text-color);
    text-transform: none;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
}

.hero-cta-secondary-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.hero-cta-secondary {
    background: transparent;
    border: 2px solid var(--bg-color);
    color: var(--bg-color);
    text-transform: none;
    font-weight: 500;
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
}

.hero-cta-secondary:hover {
    background: var(--bg-color);
    color: var(--text-color);
}

.hero-cta-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .hero-cta-row {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        font-size: 0.95rem;
        padding: 0.7rem 1.4rem;
    }
}

/*--------------------------------------------------------------
# VOS Rebrand: Open Studio Section
--------------------------------------------------------------*/
.section-heading {
    text-align: center;
    padding-top: var(--spacing-lg);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color);
    border: 1px solid rgba(169, 113, 251, 0.35);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    margin-bottom: var(--spacing-sm);
}

.open-studio {
    padding: var(--section-padding) 2rem calc(var(--section-padding) * 1.5);
    background: linear-gradient(to bottom, rgba(169, 113, 251, 0.05), rgba(169, 113, 251, 0));
    border-top: 1px solid rgba(169, 113, 251, 0.12);
    text-align: center;
}

.open-studio-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.open-studio h2 {
    font-size: var(--h2-size);
    margin-bottom: var(--spacing-sm);
}

.open-studio-body {
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto var(--spacing-xl);
    color: var(--text-color);
    opacity: 0.85;
}

.os-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    text-align: left;
    margin-bottom: var(--spacing-xl);
}

.os-feature {
    background: linear-gradient(135deg, rgba(169, 113, 251, 0.06), rgba(255, 166, 0, 0.05));
    border: 1px solid rgba(169, 113, 251, 0.15);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.os-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.os-feature h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.os-feature p {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: var(--text-color);
    opacity: 0.75;
}

.os-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.os-cta-row .btn {
    text-transform: none;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

/* Inset hosted-demo card: the demo is part of the Open Studio product story */
.os-demo-card {
    max-width: 560px;
    margin: var(--spacing-lg) auto 0;
    padding: var(--spacing-md);
    background: var(--bg-color);
    border: 1px solid rgba(255, 166, 0, 0.35);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.os-demo-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.os-demo-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: var(--spacing-sm);
}

@media (min-width: 769px) {
    .os-feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .os-feature,
    .os-feature:hover {
        transform: none;
        transition: none;
    }
}

/*--------------------------------------------------------------
# VOS Rebrand: Comparisons Caption
--------------------------------------------------------------*/
.comparisons-caption {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    padding: var(--spacing-md) 2rem;
    color: var(--text-color);
    opacity: 0.6;
}

/*--------------------------------------------------------------
# VOS Rebrand: Services Section
--------------------------------------------------------------*/
.services {
    padding: var(--section-padding) 2rem;
    background: linear-gradient(to bottom, rgba(255, 166, 0, 0.05), rgba(255, 166, 0, 0));
    border-top: 1px solid rgba(255, 166, 0, 0.15);
    text-align: center;
}

.services-inner {
    max-width: 700px;
    margin: 0 auto;
}

.services h2 {
    font-size: var(--h2-size);
    margin-bottom: var(--spacing-md);
}

.services p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.services-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.services-cta-row .btn {
    text-transform: none;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
}

/*--------------------------------------------------------------
# VOS Rebrand: Accessibility Polish
--------------------------------------------------------------*/
/* Anchor target must clear the fixed header when navigated to */
#open-studio {
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 2000;
    background: var(--bg-color);
    color: var(--text-color);
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .hero-subline,
    .hero-cta-row {
        animation: none;
        opacity: 1;
    }
}

/*--------------------------------------------------------------
# VOS Rebrand: Newsletter Strip
--------------------------------------------------------------*/
.newsletter-strip {
    padding: var(--section-padding) 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.newsletter-inner {
    max-width: 560px;
    margin: 0 auto;
}

.newsletter-strip h2 {
    font-size: var(--h3-size);
    margin-bottom: 0.5rem;
}

.newsletter-strip p {
    font-size: 1rem;
    opacity: 0.75;
    margin-bottom: var(--spacing-md);
}
