/* THEME: DARK */
:root {
    --vision-dark-bg: #0B0F19; /* Deep dark background */
    --ocular-surface: #1C2438; /* Slightly lighter surface */
    --ocular-surface-hover: #26314A;
    --retina-accent: #F59E0B; /* Bright amber for vision theme */
    --retina-hover: #D97706;
    --sight-ink: #F8FAFC; /* White text */
    --sight-muted: #94A3B8; /* Muted text */
    
    --focus-gradient: linear-gradient(135deg, #1C2438 0%, #0B0F19 100%);
    --hero-focus-gradient: linear-gradient(135deg, rgba(28,36,56,0.9) 0%, rgba(11,15,25,0.95) 100%);
    --cta-gradient: linear-gradient(90deg, #F59E0B 0%, #D97706 100%);
    
    --border-soft: 16px;
    
    --font-display: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--vision-dark-bg);
    color: var(--sight-ink);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

p { margin-bottom: 1rem; color: var(--sight-muted); }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
img, svg { max-width: 100%; height: auto; display: block; }

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

/* HEADER (Variant 1: Logo left, Nav right) */
.optic-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.optic-top-bounds {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.optic-brand img { max-height: 40px; }

/* CSS-only Hamburger */
.sight-chk { display: none; }
.sight-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1002;
}
.burger-line {
    width: 25px; height: 3px;
    background: var(--sight-ink);
    border-radius: 2px;
    transition: 0.3s;
}

.sight-route-list {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.sight-route-list a {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--sight-ink);
}

.sight-route-list a:hover, .sight-route-list a:focus {
    color: var(--retina-accent);
}

@media (max-width: 1024px) {
    .sight-burger { display: flex; }
    .sight-path {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--ocular-surface);
        display: flex;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .sight-route-list { flex-direction: column; gap: 1.5rem; }
    .sight-chk:checked ~ .optic-topbar .sight-path { right: 0; }
    
    /* Burger animation */
    .sight-chk:checked ~ .optic-topbar .sight-burger .burger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .sight-chk:checked ~ .optic-topbar .sight-burger .burger-line:nth-child(2) { opacity: 0; }
    .sight-chk:checked ~ .optic-topbar .sight-burger .burger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* BUTTON / CTA */
.cornea-action-trigger {
    display: inline-block;
    background: var(--cta-gradient);
    color: #fff; /* Ensure high contrast */
    font-family: var(--font-body);
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: var(--border-soft);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cornea-action-trigger:hover, .cornea-action-trigger:focus {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(245, 158, 11, 0.6);
    color: #fff;
}

/* COMMON SECTION STYLES */
.lens-perspective-area,
.pupil-habits-zone,
.macula-lifestyle-band,
.sclera-feedback-grid,
.aqueous-contact-plane,
.vitreous-queries-list {
    padding-top: 10dvh;
    padding-bottom: 10dvh;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* PRESET C: Gradient Hero */
.iris-entry-point {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 2rem;
    background: var(--hero-focus-gradient);
    overflow: hidden;
}

.iris-bg-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.iris-content-wrap {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.iris-content-wrap h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--sight-ink);
    margin-bottom: 1.5rem;
}

.iris-content-wrap p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* PRESET C: Content 1 (Offset Image) */
.lens-flex-bounds {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.lens-visual-offset img {
    border-radius: var(--border-soft);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.7);
    position: relative;
    z-index: 10;
}

.lens-text-flow h2 { font-size: 2.5rem; }
.lens-text-flow p { font-size: 1.1rem; }

@media (min-width: 1024px) {
    .lens-flex-bounds { flex-direction: row; }
    .lens-visual-offset {
        margin-left: -4rem; /* Offset out of container */
        width: 45%;
        flex-shrink: 0;
    }
    .lens-text-flow {
        width: 55%;
        padding-left: 3rem;
    }
}

/* PRESET C: Features (Horizontal Rows) */
.pupil-rows-box {
    display: flex;
    flex-direction: column;
}

.pupil-row-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.pupil-row-item:last-child { border-bottom: none; }

.pupil-icon {
    flex-shrink: 0;
    width: 64px; height: 64px;
    background: var(--ocular-surface);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: var(--retina-accent);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.3);
}
.pupil-icon svg { width: 32px; height: 32px; }

.pupil-data h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

@media(min-width: 768px) {
    .pupil-row-item { align-items: center; }
    .pupil-data {
        display: flex;
        gap: 2rem;
        align-items: center;
        flex: 1;
    }
    .pupil-data h3 { width: 40%; margin-bottom: 0; }
    .pupil-data p { width: 60%; margin-bottom: 0; }
}

/* PRESET C: CTA Strip */
.cornea-action-strip {
    background: var(--focus-gradient);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
}
.cornea-action-strip::before {
    content: ''; position: absolute; top:0; left:0; right:0; height:1px;
    background: linear-gradient(90deg, transparent, var(--retina-accent), transparent);
    opacity: 0.3;
}
.cornea-center-core { max-width: 700px; margin: 0 auto; }
.cornea-center-core h2 { font-size: 2.5rem; }
.cornea-center-core p { font-size: 1.15rem; margin-bottom: 2rem; }

/* PRESET C: Divider */
.optic-separation-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem 2rem;
    color: var(--retina-accent);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
}
.optic-separation-line::before, .optic-separation-line::after {
    content: '';
    height: 1px;
    flex: 1;
    max-width: 200px;
    background: rgba(245, 158, 11, 0.3);
}

/* PRESET C: Content 2 (Fullwidth bg) */
#lifestyle { max-width: 100%; padding-left: 0; padding-right: 0; background: var(--ocular-surface); }
.macula-band-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    display: flex; flex-direction: column; gap: 4rem; align-items: center;
}
.macula-prose h2 { font-size: 2.5rem; }
.macula-circle-clip img {
    border-radius: 50%; /* Circle clip */
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
    aspect-ratio: 1/1;
    object-fit: cover;
}

@media(min-width: 1024px) {
    .macula-band-inner { flex-direction: row; }
    .macula-prose { width: 55%; padding-right: 3rem; }
    .macula-circle-clip { width: 45%; flex-shrink: 0; }
}

/* PRESET C: Testimonials (Masonry) */
.sclera-masonry-layout {
    column-count: 1;
    column-gap: 2rem;
}
@media(min-width: 768px) { .sclera-masonry-layout { column-count: 2; } }
@media(min-width: 1024px) { .sclera-masonry-layout { column-count: 3; } }

.sclera-quote-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    background: var(--ocular-surface);
    padding: 2.5rem 2rem;
    border-radius: var(--border-soft);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.6);
    display: inline-block; /* Helps masonry */
    width: 100%;
}
.sclera-stars { color: var(--retina-accent); font-size: 1.2rem; margin-bottom: 1rem; letter-spacing: 2px; }
.sclera-quote-item p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.3rem;
    color: var(--sight-ink);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.sclera-quote-item cite {
    font-style: normal;
    font-weight: 700;
    color: var(--retina-accent);
    display: block;
}

/* PRESET C: Form (Centered, Dark/Accent) */
.aqueous-form-card {
    background: var(--focus-gradient);
    border-radius: calc(var(--border-soft) * 1.5);
    padding: 4rem 3rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.aqueous-info h3 { font-size: 2rem; margin-bottom: 1rem; }
.aqueous-info address { font-style: normal; }

.aqueous-inputs { display: flex; flex-direction: column; gap: 1.5rem; }
.aqueous-field { display: flex; flex-direction: column; gap: 0.5rem; }
.aqueous-field label { font-weight: 700; font-size: 0.95rem; }
.aqueous-field input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
    border-radius: var(--border-soft);
    color: var(--sight-ink);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.aqueous-field input:focus { outline: none; border-color: var(--retina-accent); }

@media(min-width: 900px) {
    .aqueous-form-card { flex-direction: row; align-items: center; }
    .aqueous-info, .aqueous-inputs { width: 50%; }
    .aqueous-info { padding-right: 3rem; }
}

/* PRESET C: FAQ (Open, Static + Icon) */
.vitreous-qna-stack {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.vitreous-qna-node {
    background: var(--ocular-surface);
    border-radius: var(--border-soft);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.3);
}
.vitreous-qna-node summary {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    list-style: none; /* Hide default arrow */
}
.vitreous-qna-node summary::-webkit-details-marker { display: none; }
.vitreous-plus {
    color: var(--retina-accent);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
}
.vitreous-qna-node p { padding: 0 2rem 1.5rem 4rem; margin: 0; }

/* FOOTER */
.optic-bottom-bar {
    background: #05080E;
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.optic-footer-bounds {
    max-width: 1440px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.optic-foot-brand img { max-height: 50px; }
.optic-legal-links ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.optic-legal-links a { font-size: 0.9rem; color: var(--sight-muted); }
.optic-legal-links a:hover { color: var(--retina-accent); }

@media(min-width: 768px) {
    .optic-footer-bounds { flex-direction: row; justify-content: space-between; }
}