/* Reset and Base Styles */
:root {
    --bg-color: #F9F9F9; /* Premium legal paper off-white */
    --surface-color: #FFFFFF;
    --text-primary: #111111;
    --text-secondary: #4A4A4A;
    --growth-lime: #CCFF00; /* High-visibility vibrant accent */
    --growth-lime-hover: #B8E600;
    --border-color: #E5E5E5;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.02);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.06);
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.h2-large {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
}

.italic {
    font-style: italic;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
}

.subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 32px;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.bg-white {
    background-color: var(--surface-color);
}

.text-center {
    text-align: center !important;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--growth-lime);
    color: #000000;
    box-shadow: 0 4px 14px rgba(204, 255, 0, 0.4);
}

.btn-primary:hover {
    background-color: var(--growth-lime-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 255, 0, 0.5);
}

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

.btn-secondary:hover {
    background-color: rgba(0,0,0,0.03);
    border-color: #D1D1D1;
}

.full-width {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: transparent;
    border-bottom: none;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #FFFFFF;
}

.navbar .btn-secondary {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.45);
    padding: 10px 22px;
    font-size: 0.9rem;
}

.navbar .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 100px 48px 64px;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video-bg mux-player {
    width: 100%;
    height: 100%;
    display: block;
    /* Override mux-player shadow DOM video sizing */
    --media-object-fit: cover;
    --media-object-position: center center;
    --controls: none;
    --media-background-color: transparent;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.52);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    width: 100%;
}

/* Hero text white overrides */
.hero h1,
.hero .logo {
    color: #FFFFFF;
}

.hero .subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.hero .compatible-heading {
    color: rgba(255, 255, 255, 0.55);
}

.hero .brand-badge {
    opacity: 0.75;
}

.hero .brand-logo {
    filter: grayscale(100%) brightness(2);
}

.hero .brand-badge:hover {
    opacity: 1;
}

.hero .brand-badge:hover .brand-logo {
    filter: grayscale(0%) brightness(1);
}


.cta-wrapper {
    margin-top: 32px;
}

.compatible-with {
    margin-top: 48px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.compatible-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #A1A1AA;
    margin-bottom: 16px;
}

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

.marquee-content {
    display: flex;
    gap: 32px;
    animation: scroll 20s linear infinite;
    white-space: nowrap;
    padding-right: 32px; /* Add padding equal to the gap so the end of loop 1 matches the start seamlessly */
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    opacity: 0.7;
    transition: all 0.2s ease;
}

.brand-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.2s ease;
}

.brand-badge:hover {
    opacity: 1;
}

.brand-badge:hover .brand-logo {
    filter: grayscale(0%);
}

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

.hero-visual {
    position: relative;
    width: 100%;
}

/* Split Screen Visual */
.split-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--surface-color);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.split-side {
    background: #F4F4F5;
    border-radius: var(--radius-md);
    padding: 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

.split-divider {
    display: flex;
    justify-content: center;
    color: var(--text-secondary);
    opacity: 0.5;
}

.prompt-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 12px;
    color: #71717A;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red { background-color: #EF4444; }
.dot.green { background-color: #10B981; }

.prompt-body {
    color: #3F3F46;
}

.highlight-red {
    background-color: #FEE2E2;
    color: #991B1B;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #FECACA;
    font-weight: 500;
}

.highlight-green {
    background-color: #D1FAE5;
    color: #065F46;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #A7F3D0;
    font-weight: 500;
    font-family: monospace;
}

/* Video Placeholder */
.video-placeholder-wrapper {
    width: 100%;
    margin-bottom: 64px;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--bg-color);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    border-color: #D1D1D1;
    background-color: #F4F4F5;
}

.video-placeholder .play-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: var(--border-color);
}

.video-placeholder p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.video-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Features Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

/* Reality Check Section */
.reality-check {
    background-color: #111111;
    color: #FFFFFF;
    text-align: center;
}

.reality-check h2, .reality-check .h2-large {
    color: #FFFFFF;
}

.reality-check p {
    color: #A1A1AA;
}

.reality-copy {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 48px auto;
    line-height: 1.8;
}

.news-cards-container {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 64px;
    flex-wrap: wrap;
}

.news-card {
    background-color: #1A1A1A;
    border: 1px solid #333333;
    border-radius: var(--radius-lg);
    padding: 32px;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    text-align: left;
    text-decoration: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(40px);
    opacity: 0;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    border-color: var(--growth-lime);
    box-shadow: 0 12px 40px rgba(204, 255, 0, 0.15);
    transform: translateY(-8px) !important;
}

.news-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    color: var(--growth-lime);
}

.news-source {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #A1A1AA;
}

.news-title {
    font-size: 1.125rem;
    font-family: 'Inter', sans-serif;
    color: #FFFFFF;
    line-height: 1.6;
    margin: 0;
}

.card-left {
    animation: newsFloatUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.card-right {
    animation: newsFloatUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

@keyframes newsFloatUp {
    0% { transform: translateY(40px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* How It Works Section */
.steps-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.step-num {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background-color: var(--text-primary);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    margin-bottom: 8px;
}

/* Waitlist Section */
.waitlist {
    background-color: var(--bg-color);
}

.waitlist-card {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--surface-color);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.waitlist-header {
    text-align: center;
    margin-bottom: 32px;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.waitlist-input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background-color: #FFFFFF;
    transition: all 0.2s ease;
    outline: none;
}

.waitlist-input:focus {
    border-color: #A1A1AA;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.waitlist-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 16px;
}

.waitlist-status {
    text-align: center;
    font-size: 0.875rem;
    margin-top: 8px;
    color: var(--text-secondary);
}

.waitlist-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 0;
    opacity: 0;
    animation: fadeIn 0.4s ease forwards;
    animation-delay: 0.1s;
}

.success-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: var(--growth-lime);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(204, 255, 0, 0.4);
    transform: scale(0);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* Footer Section */
.footer {
    background-color: #111111;
    color: #A1A1AA;
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-promise {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    max-width: 600px;
    margin-bottom: 48px;
}

.footer-promise svg {
    color: #A1A1AA;
    flex-shrink: 0;
}

.footer-promise p {
    color: #A1A1AA;
    font-size: 0.95rem;
}

.footer-promise strong {
    color: #FFFFFF;
}

.footer-copy {
    text-align: center;
    font-size: 0.875rem;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .subtitle {
        margin: 0 auto 32px;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }
    
    .waitlist-card {
        padding: 32px 24px;
    }
    
    .step {
        flex-direction: column;
        gap: 16px;
    }
}
