:root {
    --color-bg: #1D3123;
    --color-accent: #2596be;
    --color-text-main: #FFFFFF;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --color-border: rgba(255, 255, 255, 0.1);

    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    /* Aggressive white space */
    --spacing-xxl: 12rem;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

/* Film Grain Overlay */
.film-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    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");
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

h1.hero-headline {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

h2.section-title {
    font-size: 3rem;
    color: var(--color-text-main);
}

p.hero-subheadline {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: var(--spacing-lg);
}

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

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

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

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

.mb-large {
    margin-bottom: var(--spacing-lg);
}

.mt-medium {
    margin-top: var(--spacing-md);
}

.extra-pad {
    padding: var(--spacing-xl) 0;
}

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

/* Components */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--color-text-main);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--color-text-main);
    color: var(--color-bg);
}

.btn-primary {
    /* Style matches default btn for minimal luxury feel, maybe slightly bolder border */
    border-width: 1px;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Header */
.site-header {
    padding: var(--spacing-md) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: var(--spacing-md) 5%;
    /* Side padding */
}

.site-logo {
    height: 90px;
    /* Increased again by 50% (was 60px) */
    width: auto;
    opacity: 0.8;
    /* Increased opacity to match preference */
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
    /* Maintains the background match effect */
}

.site-logo:hover {
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-cta {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-cta:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* Hero */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--spacing-xxl);
    /* Clear header */
}

.hero-logo {
    height: 80px;
    margin: 0 auto var(--spacing-md);
    opacity: 1;
}

/* Video Section */
.video-section {
    position: relative;
    width: 100%;
    min-height: 60vh;
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.brand-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeIn 2s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.video-overlay-text {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

/* Losing Lifetime */
.feature-image {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.match-green-filter {
    /* Blue is ~210deg, we want Green ~150deg (delta -60), or target specific brand color. */
    /* Using sepia + hue-rotate is easiest to force a color tone */
    filter: sepia(1) hue-rotate(90deg) saturate(1.5) brightness(0.9);
    mix-blend-mode: screen;
    /* Helps it sit on the bg */
}

/* App Features */
.app-feature-img {
    max-width: 400px;
    /* Adjust size like a phone mockup */
    margin: 0 auto var(--spacing-md);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Preview Gallery */
.preview-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.preview-img-half {
    max-width: 48%;
    height: auto;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .preview-img-half {
        max-width: 100%;
    }
}

/* Market Opportunity Timeline */
.timeline-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    position: relative;
    padding: var(--spacing-md) 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-border);
    z-index: 0;
    display: none;
    /* Hidden on mobile */
}

@media (min-width: 768px) {
    .timeline-container::before {
        display: block;
    }
}

.timeline-item {
    position: relative;
    z-index: 1;
    background: var(--color-bg);
    padding: var(--spacing-sm);
    flex: 1;
    min-width: 200px;
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.timeline-content h3 {
    font-size: 1.25rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Narrative Text */
.highlight-text {
    font-size: 1.5rem !important;
    /* Override narrative default */
    border-left: 2px solid var(--color-accent);
    padding-left: var(--spacing-sm);
    margin-bottom: var(--spacing-md) !important;
}

/* Compare Columns */
.diff-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

@media (min-width: 768px) {
    .diff-columns {
        grid-template-columns: 1fr 1fr;
    }
}

.diff-col h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--spacing-xs);
}

.diff-intro {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-muted);
}

/* Why Now Grid */
.why-now-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

@media (min-width: 768px) {
    .why-now-grid {
        flex-direction: row;
        justify-content: center;
        gap: var(--spacing-lg);
    }
}

.why-card {
    flex: 1;
    max-width: 300px;
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
}

.why-card h3 {
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

/* Manifesto */
.manifesto-text {
    font-size: 2.5rem;
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
}

/* Removed manifesto graphic styles */


/* Waitlist Form */
.waitlist-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

input {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-text-main);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 0;
    /* Remove iOS styles */
}

input::placeholder {
    color: var(--color-text-muted);
}

input:focus {
    outline: none;
    border-bottom-color: var(--color-accent);
}

/* Fix for Browser Autofill Background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--color-text-main);
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px #1D312320;
    /* Subtle tint matching bg if needed, or transparent hack */
}

.form-message {
    margin-top: var(--spacing-md);
    text-align: center;
    font-size: 0.9rem;
    min-height: 1.5em;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-lg) 0;
    margin-top: var(--spacing-xxl);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-grid {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-logo {
    height: 30px;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.social-links a,
.legal-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xs);
}

.legal-small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: var(--spacing-lg);
    max-width: 600px;
}

/* Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}