:root {
    --dark: #0f172a;
    --light: #f8fafc;
    --accent: #3b82f6;
    --danger: #ef4444;
    --success: #22c55e;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(15, 23, 42, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    color: white;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button {
    background: var(--danger);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: transform 0.2s;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* HERO */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: -1;
}

.content-box {
    max-width: 800px;
    padding: 2rem;
}

h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.sub-headline {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #cbd5e1;
    line-height: 1.3;
}

p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* SECTIONS */
section {
    padding: 6rem 2rem;
}

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

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

.highlight {
    color: var(--accent);
}

.punchline {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    margin-top: 3rem;
    color: var(--danger);
}

.image-block {
    margin: 2rem 0;
    text-align: center;
}

.image-block img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.caption {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* FLAT SECTION 3 STYLES */
.text-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--danger);
}

.text-card h3 {
    color: var(--danger);
    margin-bottom: 0.5rem;
}

.illegal-stamp-static {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    font-family: 'Black Ops One', cursive;
    color: #ef4444;
    border: 5px solid #ef4444;
    text-transform: uppercase;
    background: rgba(0,0,0,0.8);
    font-size: 3rem; 
    padding: 1rem 2rem;
    letter-spacing: 2px;
    z-index: 10;
    text-align: center; 
    line-height: 1.2;
}

/* SLIDER COMPARISON */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 500px; 
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #ddd;
    /* Fix for Safari/iOS rounded corners bug */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.img-background, .img-foreground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img-background img, .img-foreground img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    background: white;
}

.img-foreground {
    width: 50%; 
    border-right: 3px solid var(--danger);
    overflow: hidden;
    will-change: width;
}

/* --- IOS SLIDER FIXES --- */
.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: e-resize;
    z-index: 20;
    /* CRITICAL: Tells iOS not to hijack the swipe for scrolling */
    touch-action: pan-y;
    -webkit-appearance: none;
    appearance: none;
}

/* Make the touch target huge so you can't miss it */
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 40px; 
    height: 500px; /* Full height */
    background: transparent;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 40px;
    height: 500px;
    background: transparent;
    cursor: pointer;
}

.label-before, .label-after {
    position: absolute;
    top: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 5;
    pointer-events: none; /* Let clicks pass through labels */
}
.label-before { left: 10px; }
.label-after { right: 10px; }

/* QUOTES */
.quotes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.quote-card {
    background: white;
    padding: 1.5rem;
    border-left: 5px solid var(--dark);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.highlight-red {
    border-left-color: var(--danger);
    background: #fef2f2;
}

/* SOLUTION */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.option-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.option-card.featured {
    border: 3px solid var(--success);
    background: #f0fdf4;
    transform: scale(1.02);
}

.option-card h3 {
    margin-bottom: 1rem;
}

.option-card ul {
    list-style-position: inside;
    margin-top: 1rem;
}

/* FOOTER */
.cta-footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 6rem 2rem;
}

.big-button {
    display: inline-block;
    background: var(--danger);
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    padding: 1.5rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    margin: 2rem 0;
    transition: background 0.3s;
}

.big-button:hover {
    background: #dc2626;
}

/* CITATIONS & WATCH LINKS */
.citation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
}

.quote-card cite {
    margin-top: 0;
    font-size: 0.9rem;
    font-weight: bold;
    color: #64748b;
    font-style: normal;
}

.watch-link {
    font-size: 0.8rem;
    color: var(--danger);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}

.watch-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* DOCS SECTION */
.docs-section {
    background: #f1f5f9;
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.docs-section h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark);
    border: 1px solid #cbd5e1;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: left;
}

.doc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

.doc-card .icon {
    font-size: 2rem;
}

.doc-card .text {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
}

.doc-card small {
    display: block;
    font-weight: 400;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2px;
}

/* --- MOBILE FIXES --- */
@media (max-width: 768px) {
    /* Fix Hero Text Sizing */
    h1 {
        font-size: 2.5rem;
    }
    
    .sub-headline {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    /* Fix Slider Layout */
    .slider-container {
        height: 300px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }

    /* Fix the Illegal Stamp on Mobile */
    .illegal-stamp-static {
        font-size: 2rem;
        border-width: 3px;
        padding: 0.5rem 1rem;
    }
}