/* ============================================
   STORAGE VALET — MIDNIGHT TEAL DESIGN SYSTEM
   Brand Guide v5.1.1 | March 2026
   12-Color Dark-First Palette
   DM Serif Display + Outfit
   ============================================ */

/* ===== TOKENS ===== */
:root {
    /* Brand Palette — 12 colors, locked */
    --abyss:          #060E1A;
    --midnight:       #0A1628;
    --deep-sea:       #0D2137;
    --electric-teal:  #00D4AA;
    --teal-dark:      #00A888;
    --deep-teal:      #008F72;
    --link-teal:      #007A62;
    --storm:          #3D4F54;
    --mist:           #8BA4A8;
    --seafoam:        #E6F0EE;
    --cloud:          #F4F7F6;
    --white:          #FFFFFF;

    /* Status — dark mode */
    --d-success:      #34D399;
    --d-success-bg:   rgba(52,211,153,0.10);
    --d-info:         #67B8BF;
    --d-info-bg:      rgba(103,184,191,0.08);
    --d-warning:      #FBBF24;
    --d-warning-bg:   rgba(251,191,36,0.08);
    --d-error:        #F87171;
    --d-error-bg:     rgba(248,113,113,0.08);

    /* Surfaces */
    --surface:        rgba(255,255,255,0.03);
    --border:         rgba(255,255,255,0.06);
    --glow:           rgba(0,212,170,0.08);
    --glow-strong:    rgba(0,212,170,0.15);

    /* Typography */
    --font-display:   'DM Serif Display', Georgia, 'Times New Roman', serif;
    --font-body:      'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:      'SF Mono', 'JetBrains Mono', Consolas, monospace;

    /* Motion */
    --ease:           cubic-bezier(0.22, 1, 0.36, 1);
    --transition:     0.2s var(--ease);
    --transition-slow: 0.4s var(--ease);

    /* Spacing (8px grid) */
    --s-xs: 4px;   --s-sm: 8px;   --s-md: 16px;  --s-lg: 24px;
    --s-xl: 32px;  --s-2xl: 48px; --s-3xl: 64px;  --s-4xl: 96px;

    /* Radius */
    --r-sm: 6px;  --r-md: 8px;  --r-lg: 12px;  --r-xl: 16px;  --r-2xl: 20px;

    /* Shadows (dark-native) */
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.2);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.25);
    --shadow-lg:  0 12px 32px rgba(0,0,0,0.3);
    --shadow-xl:  0 24px 48px rgba(0,0,0,0.35);

    /* Noise texture */
    --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* ===== BASE ===== */
body {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--mist);
    background: var(--abyss);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Scroll offset for fixed header */
:target { scroll-margin-top: 88px; }
[id] { scroll-margin-top: 88px; }

/* Selection */
::selection {
    background: rgba(0,212,170,0.2);
    color: var(--white);
}

/* Film grain overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: var(--noise);
    background-repeat: repeat;
    background-size: 256px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus */
*:focus-visible {
    outline: 2px solid var(--electric-teal);
    outline-offset: 2px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

h1 { font-size: clamp(52px, 7.5vw, 96px); letter-spacing: -2px; }
h2 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -1px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }

p { color: var(--mist); font-weight: 300; }

/* Links (body content) */
p a, .legal-content a, .form-footer a {
    color: var(--electric-teal);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0,212,170,0.3);
    transition: text-decoration-color var(--transition);
}
p a:hover, .legal-content a:hover, .form-footer a:hover {
    text-decoration-color: var(--electric-teal);
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}

@media (max-width: 900px) {
    .container { padding: 0 24px; }
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--midnight);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--r-md);
    text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible { top: 16px; }

/* ===== DIVIDER ===== */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    margin: 0 48px;
}
@media (max-width: 900px) { .divider { margin: 0 24px; } }

/* ===== SECTION EYEBROW ===== */
.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.section-eyebrow .line {
    width: 24px;
    height: 1px;
    background: var(--electric-teal);
}
.section-eyebrow span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--electric-teal);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--r-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    letter-spacing: 0.2px;
    -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
    background: var(--electric-teal);
    color: var(--midnight);
    border-color: var(--electric-teal);
}
.btn-primary:hover {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--mist);
    border-color: rgba(255,255,255,0.2);
}
.btn-secondary:hover {
    border-color: rgba(255,255,255,0.35);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--electric-teal);
    border-color: rgba(0,212,170,0.35);
}
.btn-outline:hover {
    background: var(--glow);
    border-color: rgba(0,212,170,0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--electric-teal);
    border: none;
    padding: 16px 8px;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--electric-teal);
}

.btn-sm { padding: 10px 22px; font-size: 14px; }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
    background: rgba(6,14,26,0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.header.scrolled { background: rgba(6,14,26,0.95); }
.header .container { max-width: 100%; padding: 0 48px; }

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

.logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--white);
    letter-spacing: -0.3px;
    text-decoration: none;
}
.logo-text span { color: var(--electric-teal); }

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 400;
    color: var(--mist);
    transition: color var(--transition);
    letter-spacing: 0.3px;
}
.nav-link:hover { color: var(--white); }
.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 16px;
}

.mobile-menu-btn {
    display: none;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-menu-btn svg { width: 24px; height: 24px; color: var(--mist); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
    position: fixed;
    top: 0; right: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--midnight);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0,0,0,0.4);
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.mobile-nav-close {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: var(--r-md);
}
.mobile-nav-close:hover { background: var(--glow); }
.mobile-nav-close svg { width: 24px; height: 24px; color: var(--mist); }

.mobile-nav-links {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mobile-nav-links a {
    display: block;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--mist);
    border-radius: var(--r-md);
    transition: all var(--transition);
    min-height: 48px;
}
.mobile-nav-links a:hover {
    background: var(--glow);
    color: var(--electric-teal);
}

.mobile-nav-cta {
    padding: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mobile-nav-cta .btn { width: 100%; justify-content: center; }

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-nav-backdrop.open { opacity: 1; visibility: visible; }

body.nav-open { overflow: hidden; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}
@keyframes lineGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}
.anim-up { animation: fadeUp 0.8s var(--ease) both; }
.anim-fade { animation: fadeIn 1s ease both; }
.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; }
.d4 { animation-delay: 0.55s; }
.d5 { animation-delay: 0.7s; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 48px 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 800px; height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.06) 0%, transparent 70%);
    animation: glowPulse 8s ease-in-out infinite;
    pointer-events: none;
}
.hero-inner {
    max-width: 880px;
    position: relative;
    z-index: 2;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
}
.hero-eyebrow .line { width: 32px; height: 1px; background: var(--electric-teal); }
.hero-eyebrow span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--electric-teal);
}
.hero h1 em {
    font-style: italic;
    color: var(--electric-teal);
}
.hero h1 { margin-bottom: 28px; }
.hero-sub {
    font-size: 19px;
    font-weight: 300;
    color: var(--mist);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 44px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}
.hero-bottom {
    position: absolute;
    bottom: 40px;
    left: 48px; right: 48px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.hero-serving {
    font-size: 13px;
    color: rgba(139,164,168,0.4);
    line-height: 1.5;
}
.hero-serving strong { color: var(--mist); font-weight: 500; }
.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(139,164,168,0.4);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(to bottom, var(--electric-teal), transparent);
    transform-origin: top;
    animation: lineGrow 1.5s ease-out 1s both;
}

/* ===== STATEMENT ===== */
.statement {
    padding: 120px 48px;
    text-align: center;
}
.statement p {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 44px);
    color: var(--mist);
    line-height: 1.35;
    max-width: 820px;
    margin: 0 auto;
    letter-spacing: -0.5px;
}
.statement p strong { color: var(--white); font-weight: 400; }
.statement p em { color: var(--electric-teal); font-style: italic; }

/* ===== SECTION HEADER (reusable) ===== */
.section-head, .steps-header { margin-bottom: 72px; }
.section-head h2, .steps-header h2 { margin-bottom: 12px; }
.section-head p, .steps-header p { font-size: 17px; font-weight: 300; }

/* ===== STEPS ===== */
.steps { padding: 100px 48px 120px; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.step {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-xl);
    padding: 48px 36px;
    transition: all 0.3s ease;
}
.step:hover {
    background: var(--glow);
    border-color: rgba(0,212,170,0.12);
}
.step-num {
    font-family: var(--font-display);
    font-size: 64px;
    color: rgba(0,212,170,0.1);
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}
.step h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.step p { font-size: 15px; line-height: 1.7; }
.step-tag {
    display: inline-block;
    margin-top: 20px;
    padding: 5px 12px;
    border-radius: 4px;
    background: rgba(0,212,170,0.06);
    border: 1px solid rgba(0,212,170,0.1);
    font-size: 11px;
    font-weight: 600;
    color: var(--electric-teal);
    letter-spacing: 0.5px;
}

/* Highlight cards */
.highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 24px;
}
.highlight-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 36px;
}
.highlight-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 12px;
}
.highlight-card p { font-size: 15px; line-height: 1.7; }
.highlight-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: var(--glow);
}
.highlight-icon svg { width: 20px; height: 20px; color: var(--electric-teal); }

/* ===== MEMBERSHIP / PRICING ===== */
.membership {
    padding: 80px 48px 100px;
    display: flex;
    justify-content: center;
}
.membership-card {
    max-width: 580px;
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-2xl);
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
}
.membership-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--electric-teal), transparent);
}
.price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}
.price-row .amount {
    font-family: var(--font-display);
    font-size: 64px;
    color: var(--white);
    letter-spacing: -2px;
}
.price-row .period { font-size: 18px; color: var(--mist); font-weight: 300; }
.price-note { font-size: 14px; color: var(--electric-teal); font-weight: 500; margin-bottom: 12px; }
.price-lock { font-size: 13px; color: var(--mist); font-weight: 300; margin-bottom: 36px; line-height: 1.6; }
.feature-list { list-style: none; margin-bottom: 36px; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: var(--mist);
    line-height: 1.55;
    font-weight: 300;
}
.feature-list li:last-child { border-bottom: none; }
.feature-check {
    color: var(--electric-teal);
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.membership .btn-primary { width: 100%; justify-content: center; font-size: 17px; padding: 18px; }
.pricing-note { text-align: center; font-size: 13px; color: var(--mist); margin-top: 16px; font-weight: 300; }

/* ===== FEATURES (image cards) ===== */
.features-section { padding: 100px 48px 120px; }
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 48px;
}
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover {
    border-color: rgba(0,212,170,0.12);
    transform: translateY(-2px);
}
.feature-card:hover .feature-card-img img {
    transform: scale(1.03);
    transition: transform 0.6s var(--ease);
}
.feature-card-img {
    height: 280px;
    overflow: hidden;
    position: relative;
}
.feature-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(6,14,26,0.2), rgba(6,14,26,0.6));
}
.feature-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.feature-card-body { padding: 32px; }
.feature-card-body h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 10px;
}
.feature-card-body p { font-size: 14px; line-height: 1.7; }
.feature-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--electric-teal);
}
.feature-card-tag svg { width: 14px; height: 14px; }
.feature-card-wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.feature-card-wide .feature-card-img { height: auto; min-height: 280px; }
.feature-card-wide .feature-card-body { display: flex; flex-direction: column; justify-content: center; }

/* ===== BENEFITS ===== */
.benefits { padding: 100px 48px 120px; }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 48px;
}
.benefit-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 36px;
    transition: all var(--transition);
}
.benefit-card:hover { background: var(--glow); border-color: rgba(0,212,170,0.12); }
.benefit-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.benefit-icon svg { width: 22px; height: 22px; color: var(--electric-teal); }
.benefit-card h3 { font-size: 18px; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; line-height: 1.7; }

/* ===== TESTIMONIAL ROTATOR ===== */
.testimonial-rotator {
    padding: 100px 48px 120px;
    text-align: center;
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}
.testimonial-slide {
    opacity: 0;
    position: absolute;
    top: 100px;
    left: 48px;
    right: 48px;
    transition: opacity 0.8s var(--ease);
    pointer-events: none;
}
.testimonial-slide.active {
    opacity: 1;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    pointer-events: auto;
}
.testimonial-slide blockquote {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 32px);
    font-style: italic;
    color: var(--white);
    line-height: 1.45;
    letter-spacing: -0.3px;
    margin-bottom: 32px;
}
.testimonial-attribution {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.testimonial-dash {
    color: var(--electric-teal);
    font-size: 20px;
}
.testimonial-who {
    font-size: 15px;
    font-weight: 500;
    color: var(--mist);
    letter-spacing: 0.3px;
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}
.t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.t-dot.active {
    background: var(--electric-teal);
    transform: scale(1.25);
}
.t-dot:hover { background: rgba(0,212,170,0.4); }

@media (prefers-reduced-motion: reduce) {
    .testimonial-slide { transition: none; }
}
@media (max-width: 900px) {
    .testimonial-rotator { padding: 80px 24px 100px; }
    .testimonial-slide { left: 0; right: 0; }
}

/* ===== PORTAL WALKTHROUGH ===== */
.inventory-section { padding: 100px 48px 120px; }
.inv-container {
    max-width: 900px;
    margin: 48px auto 0;
}
.portal-frame {
    background: var(--deep-sea);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.portal-frame-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--midnight);
    border-bottom: 1px solid var(--border);
}
.portal-frame-dots { display: flex; gap: 6px; }
.portal-frame-dots span { width: 10px; height: 10px; border-radius: 50%; }
.portal-frame-dots span:first-child { background: #ff5f57; }
.portal-frame-dots span:nth-child(2) { background: #ffbd2e; }
.portal-frame-dots span:last-child { background: #28c840; }
.portal-frame-title {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--white);
    opacity: 0.8;
}

.portal-scenes {
    position: relative;
    height: 380px;
    overflow: hidden;
}
.portal-scene {
    position: absolute;
    inset: 0;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    animation-duration: 15s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
.portal-scene-1 { animation-name: pwScene1; }
.portal-scene-2 { animation-name: pwScene2; display: flex; flex-direction: column; justify-content: center; }
.portal-scene-3 { animation-name: pwScene3; }

@keyframes pwScene1 {
    0%, 26%  { opacity: 1; transform: translateY(0); visibility: visible; }
    30%      { opacity: 0; transform: translateY(-10px); visibility: hidden; }
    96%      { opacity: 0; transform: translateY(10px); visibility: hidden; }
    100%     { opacity: 1; transform: translateY(0); visibility: visible; }
}
@keyframes pwScene2 {
    0%, 30%  { opacity: 0; transform: translateY(10px); visibility: hidden; }
    34%      { opacity: 1; transform: translateY(0); visibility: visible; }
    59%      { opacity: 1; transform: translateY(0); visibility: visible; }
    63%      { opacity: 0; transform: translateY(-10px); visibility: hidden; }
    100%     { opacity: 0; transform: translateY(10px); visibility: hidden; }
}
@keyframes pwScene3 {
    0%, 63%  { opacity: 0; transform: translateY(10px); visibility: hidden; }
    67%      { opacity: 1; transform: translateY(0); visibility: visible; }
    93%      { opacity: 1; transform: translateY(0); visibility: visible; }
    97%      { opacity: 0; transform: translateY(-10px); visibility: hidden; }
}

.pw-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    color: var(--mist);
    font-size: 0.85rem;
    margin-bottom: 12px;
}
.pw-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pw-filters { display: flex; gap: 6px; }
.pw-chip {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    background: var(--surface);
    color: var(--mist);
    border: 1px solid var(--border);
}
.pw-chip-active {
    background: rgba(0,212,170,0.08);
    color: var(--electric-teal);
    border-color: rgba(0,212,170,0.2);
}
.pw-item-count { font-size: 0.7rem; color: var(--mist); }
.pw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pw-card {
    background: var(--surface);
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color var(--transition);
}
.pw-card:hover { border-color: rgba(0,212,170,0.15); }
.pw-thumb { height: 110px; width: 100%; overflow: hidden; border-radius: var(--r-md) var(--r-md) 0 0; }
.pw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pw-card:nth-child(2) .pw-thumb img { object-position: center 65%; }
.pw-card-body { padding: 10px 12px 4px; }
.pw-card-name {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pw-card-cat {
    font-size: 0.6rem;
    color: var(--electric-teal);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}
.pw-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 600;
}
.pw-card .pw-badge { margin: 3px 9px 7px; }
.pw-badge-stored { background: rgba(0,212,170,0.1); color: var(--electric-teal); }
.pw-badge-home { background: rgba(139,164,168,0.1); color: var(--mist); }
.pw-badge-scheduled { background: rgba(251,191,36,0.08); color: #FBBF24; }

.pw-detail-card { text-align: center; padding: 20px 20px 16px; }
.pw-detail-photo {
    width: 240px; height: 160px;
    border-radius: var(--r-md);
    overflow: hidden;
    margin: 0 auto 16px;
}
.pw-detail-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pw-detail-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--white);
    margin: 0 0 4px;
}
.pw-detail-desc { font-size: 0.82rem; color: var(--mist); line-height: 1.5; margin: 0 0 12px; }
.pw-detail-tags { display: flex; gap: 6px; justify-content: center; margin-bottom: 12px; }
.pw-tag {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    background: rgba(0,212,170,0.06);
    border: 1px solid rgba(0,212,170,0.1);
    color: var(--electric-teal);
}
.pw-cta-btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--electric-teal);
    color: var(--midnight);
    border: none;
    border-radius: var(--r-md);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: default;
}

.pw-confirm { text-align: center; padding: 32px 20px 20px; }
.pw-confirm-check {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(0,212,170,0.12);
    color: var(--electric-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    animation: pwCheckPop 15s ease-in-out infinite;
}
.pw-confirm-check svg path {
    stroke-dasharray: 24;
    stroke-dashoffset: 24;
    animation: pwCheckDraw 15s ease-in-out infinite;
}
@keyframes pwCheckPop {
    0%, 66%  { transform: scale(0); }
    70%      { transform: scale(1.15); }
    73%, 93% { transform: scale(1); }
    97%      { transform: scale(0); }
}
@keyframes pwCheckDraw {
    0%, 68%  { stroke-dashoffset: 24; }
    74%      { stroke-dashoffset: 0; }
    93%      { stroke-dashoffset: 0; }
    97%      { stroke-dashoffset: 24; }
}
.pw-confirm-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--white);
    margin: 0 0 24px;
}
.pw-confirm-details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 14px 20px;
    margin: 0 auto 20px;
    max-width: 320px;
    text-align: left;
}
.pw-confirm-row { display: flex; justify-content: space-between; padding: 7px 0; }
.pw-confirm-row:not(:last-child) { border-bottom: 1px solid var(--border); }
.pw-confirm-label { font-size: 0.78rem; color: var(--mist); font-weight: 500; }
.pw-confirm-value { font-size: 0.78rem; color: var(--white); font-weight: 600; }
.pw-confirm .pw-badge-scheduled { font-size: 0.75rem; padding: 4px 14px; }

.pw-indicators { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.pw-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    animation-duration: 15s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
.pw-dot-1 { animation-name: pwDot1; }
.pw-dot-2 { animation-name: pwDot2; }
.pw-dot-3 { animation-name: pwDot3; }

@keyframes pwDot1 {
    0%, 26%  { background: var(--electric-teal); }
    30%, 96% { background: var(--border); }
    100%     { background: var(--electric-teal); }
}
@keyframes pwDot2 {
    0%, 30%  { background: var(--border); }
    34%, 59% { background: var(--electric-teal); }
    63%, 100% { background: var(--border); }
}
@keyframes pwDot3 {
    0%, 63%  { background: var(--border); }
    67%, 93% { background: var(--electric-teal); }
    97%, 100% { background: var(--border); }
}

/* ===== FAQ ===== */
.faq-section { padding: 100px 48px 120px; }
.faq-list { max-width: 720px; margin-top: 48px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    text-align: left;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--electric-teal); }
.faq-question svg {
    width: 20px; height: 20px;
    color: var(--mist);
    transition: transform var(--transition);
    flex-shrink: 0;
}
.faq-item.active .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p {
    padding-bottom: 20px;
    font-size: 15px;
    color: var(--mist);
    line-height: 1.7;
    font-weight: 300;
}

/* ===== SIGNUP ===== */
.signup-section {
    padding: 100px 48px 120px;
    background: linear-gradient(160deg, var(--midnight) 0%, var(--deep-sea) 60%, var(--abyss) 100%);
    position: relative;
    overflow: hidden;
}
.signup-section::before {
    content: '';
    position: absolute;
    top: -100px; right: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,212,170,0.08) 0%, transparent 60%);
    pointer-events: none;
}
.signup-header { text-align: center; margin-bottom: 48px; }
.signup-header h2 { margin-bottom: 12px; }
.signup-header p { font-weight: 300; }

.signup-form {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 600; color: var(--mist); margin-bottom: 6px; }
.form-label .required { color: var(--electric-teal); }
.form-input, .form-select {
    padding: 14px 16px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color var(--transition);
    min-height: 52px;
}
.form-input::placeholder { color: rgba(139,164,168,0.4); }
.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--electric-teal);
    box-shadow: 0 0 0 3px rgba(0,212,170,0.1);
}
.form-select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238BA4A8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}
.form-select option { background: var(--midnight); color: var(--white); }

html.js .form-expanded { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s ease, opacity 0.3s ease; }
html.js .form-expanded.visible { max-height: 700px; overflow: visible; opacity: 1; }

.form-submit { width: 100%; margin-top: 8px; justify-content: center; }
.form-footer { text-align: center; margin-top: 16px; }
.form-footer p { font-size: 12px; color: rgba(139,164,168,0.4); margin-bottom: 4px; }
.form-footer a { color: var(--electric-teal); text-decoration: underline; text-underline-offset: 2px; }
.form-message { border-radius: var(--r-md); padding: 16px; margin-bottom: 16px; font-size: 14px; text-align: center; }

/* ===== FINAL CTA ===== */
.final-cta {
    padding: 120px 48px;
    text-align: center;
    position: relative;
}
.final-cta::before {
    content: '';
    position: absolute;
    bottom: 20%; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.final-cta h2 { margin-bottom: 16px; position: relative; z-index: 2; }
.final-cta p { font-size: 17px; font-weight: 300; margin-bottom: 40px; position: relative; z-index: 2; }
.final-cta .btn-primary { position: relative; z-index: 2; font-size: 17px; padding: 18px 48px; }

/* ===== FOOTER ===== */
.footer {
    padding: 56px 48px 36px;
    border-top: 1px solid var(--border);
}
.footer-grid {
    max-width: 900px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand p { font-size: 14px; color: rgba(139,164,168,0.6); line-height: 1.6; max-width: 260px; font-weight: 300; }
.footer-col h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--mist);
    padding: 4px 0;
    font-weight: 300;
    transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }

.footer-contact-bar {
    max-width: 900px;
    margin: 0 auto 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.footer-contact-item h4 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: 8px;
}
.footer-contact-item a, .footer-contact-item span {
    display: block;
    font-size: 13px;
    color: var(--mist);
    font-weight: 300;
    line-height: 1.6;
}
.footer-contact-item a { color: var(--electric-teal); text-decoration: none; }

.footer-bottom {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 12px; color: rgba(139,164,168,0.5); font-weight: 300; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .header { padding: 0; }
    .header .container { padding: 0 20px; }
    .nav { display: none; }
    .mobile-menu-btn { display: flex; }

    .hero { padding: 100px 24px 80px; }
    .hero-bottom { display: none; }

    .statement { padding: 80px 24px; }

    .steps, .membership, .features-section, .benefits,
    .testimonials-section, .inventory-section, .faq-section,
    .signup-section, .final-cta {
        padding-left: 24px;
        padding-right: 24px;
    }

    .steps-grid, .benefits-grid { grid-template-columns: 1fr; }
    .highlights { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card-wide { grid-template-columns: 1fr; }
    .test-grid { grid-template-columns: 1fr; }
    .test-card:first-child { grid-row: auto; }
    .pw-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-contact-bar { grid-template-columns: 1fr; }
    .footer { padding: 40px 24px 24px; }
}

@media (max-width: 520px) {
    .pw-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   SUBPAGE COMPATIBILITY
   Shared classes used by faq.html, testimonials.html,
   privacy.html, terms.html, partnerships.html
   ============================================ */

/* Logo mark (subpages still use the SVG icon version) */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--electric-teal);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logo-mark svg { width: 24px; height: 24px; color: var(--midnight); }

/* Section containers */
.section { padding: var(--s-4xl) 0; }
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.125rem; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--electric-teal);
    margin-bottom: 12px;
    padding: 6px 14px;
    background: var(--glow);
    border-radius: 100px;
}

/* Subpage body content (long-form text pages like privacy, terms) */
.content-page { padding: 120px 0 80px; }
.content-page h1 { margin-bottom: 32px; }
.content-page h2 { font-size: 28px; margin: 48px 0 16px; }
.content-page h3 { font-size: 20px; margin: 32px 0 12px; }
.content-page p { margin-bottom: 16px; line-height: 1.8; }
.content-page ul, .content-page ol {
    margin: 16px 0;
    padding-left: 24px;
    list-style: disc;
}
.content-page li {
    margin-bottom: 8px;
    color: var(--mist);
    line-height: 1.7;
}
.content-page a {
    color: var(--electric-teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Testimonial cards (standalone testimonials page) */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2px;
}
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 36px;
}
.testimonial-stars { margin-bottom: 12px; }
.testimonial-stars svg {
    width: 16px; height: 16px;
    fill: var(--electric-teal);
    stroke: none;
    display: inline;
}
.testimonial-card blockquote {
    font-family: var(--font-display);
    font-size: 17px;
    font-style: italic;
    color: var(--mist);
    line-height: 1.6;
    margin-bottom: 20px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--glow-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--electric-teal);
}
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--white); }
.testimonial-author-info span { font-size: 12px; color: rgba(139,164,168,0.5); }

/* FAQ page (full version — expands on the landing page FAQ) */
.faq-page .faq-list { max-width: 800px; margin: 0 auto; }

/* Service area strip */
.service-area-strip {
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.service-area-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    font-size: 14px;
    color: var(--mist);
}
.service-area-inner svg { width: 18px; height: 18px; color: var(--electric-teal); flex-shrink: 0; }
.service-area-inner strong { color: var(--white); }

/* Page hero (subpages) */
.page-hero {
    padding: 140px 0 48px;
    text-align: center;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.page-hero + .divider + .section { padding-top: 48px; }

/* Container narrow */
.container-narrow { max-width: 800px; }

/* CTA section (bottom of subpages) */
.cta-section {
    text-align: center;
    padding: var(--s-4xl) 0;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    bottom: 20%; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { margin-bottom: 16px; }
.cta-content p { margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer heading (used in subpage footers) */
.footer-heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: 16px;
}

/* FAQ category headings */
.faq-category-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.faq-category-heading:first-child { margin-top: 0; }

/* Legal content pages (privacy, terms) */
.legal-content {
    padding: 0 0 80px;
    max-width: 800px;
    margin: 0 auto;
}
.legal-content h2 {
    font-size: 24px;
    margin: 48px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 18px; margin: 32px 0 12px; }
.legal-content p { margin-bottom: 16px; line-height: 1.8; }
.legal-content ul, .legal-content ol {
    margin: 16px 0 16px 24px;
    list-style: disc;
}
.legal-content li {
    margin-bottom: 8px;
    color: var(--mist);
    line-height: 1.7;
}
.legal-content a {
    color: var(--electric-teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-content strong { color: var(--white); }

/* Testimonials page */
.testimonials-page { padding: 0 0 80px; }

/* Spacing utilities */
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.bg-white, .bg-alabaster, .bg-parchment { background: transparent; }
.bg-dark { background: var(--midnight); }
