/* ===========================================================================
   AURYNGE MARKETING — WINDOWS 11 FLUENT DESIGN SYSTEM
   Light + Dark theme via [data-theme] on <html>
   =========================================================================== */

/* ---------------------------------------------------------------------------
   1. THEME TOKENS
   --------------------------------------------------------------------------- */
:root,
[data-theme="light"] {
    --bg:              #f3f3f3;
    --bg-alt:          #ebebeb;
    --surface:         #ffffff;
    --surface-alt:     #f9f9f9;
    --surface-warm:    #fdf8f3;
    --text:            #1b1b1b;
    --text-secondary:  #616161;
    --text-tertiary:   #8a8a8a;
    --text-on-accent:  #ffffff;
    --stroke:          #e5e5e5;
    --stroke-strong:   #c4c4c4;
    --divider:         #e5e5e5;
    --hover:           rgba(0,0,0,0.04);
    --pressed:         rgba(0,0,0,0.06);
    --accent:          #ea8338;
    --accent-hover:    #d57330;
    --accent-active:   #c06428;
    --accent-soft:     rgba(234,131,56,0.09);
    --accent-bg:       rgba(234,131,56,0.05);
    --blue:            #b4b4b4;
    --blue-soft:       rgba(180,180,180,0.08);
    --green:           #1b8a4c;
    --green-soft:      rgba(27,138,76,0.08);
    --red:             #c42b1c;
    --red-soft:        rgba(196,43,28,0.08);
    --shadow-sm:       0 1px 3.5px rgba(0,0,0,0.05);
    --shadow-md:       0 4px 16px rgba(0,0,0,0.07);
    --shadow-lg:       0 8px 32px rgba(0,0,0,0.09);
    --shadow-card:     0 1px 4px rgba(0,0,0,0.06), 0 0 0 1px var(--stroke);
    --acrylic:         rgba(243,243,243,0.75);
    --font-display:    "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:       "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm:       4px;
    --radius-md:       8px;
    --radius-lg:       12px;
    --radius-xl:       16px;
    --radius-2xl:      24px;
    --shell:           min(1200px, calc(100% - 40px));
    --section-gap:     clamp(56px, 8vw, 96px);
}

[data-theme="dark"] {
    --bg:              #202020;
    --bg-alt:          #1a1a1a;
    --surface:         #2c2c2c;
    --surface-alt:     #323232;
    --surface-warm:    #332a22;
    --text:            #ffffff;
    --text-secondary:  #ababab;
    --text-tertiary:   #767676;
    --text-on-accent:  #1b1b1b;
    --stroke:          #3d3d3d;
    --stroke-strong:   #555555;
    --divider:         #3d3d3d;
    --hover:           rgba(255,255,255,0.06);
    --pressed:         rgba(255,255,255,0.04);
    --accent:          #ea8338;
    --accent-hover:    #f09548;
    --accent-active:   #f5a35c;
    --accent-soft:     rgba(234,131,56,0.15);
    --accent-bg:       rgba(234,131,56,0.07);
    --blue:            #c8c8c8;
    --blue-soft:       rgba(200,200,200,0.12);
    --green:           #6ccb5f;
    --green-soft:      rgba(108,203,95,0.12);
    --red:             #ff99a4;
    --red-soft:        rgba(255,153,164,0.12);
    --shadow-sm:       0 1px 3.5px rgba(0,0,0,0.14);
    --shadow-md:       0 4px 16px rgba(0,0,0,0.24);
    --shadow-lg:       0 8px 32px rgba(0,0,0,0.32);
    --shadow-card:     0 1px 4px rgba(0,0,0,0.24), 0 0 0 1px var(--stroke);
    --acrylic:         rgba(32,32,32,0.75);
}

/* Theme transition — only active during toggle */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
    transition: background-color 0.35s ease, color 0.35s ease,
                border-color 0.35s ease, box-shadow 0.35s ease,
                fill 0.35s ease, stroke 0.2s ease !important;
    transition-delay: 0s !important;
}

/* ---------------------------------------------------------------------------
   2. RESET & FOUNDATIONS
   --------------------------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
}

/* ---------------------------------------------------------------------------
   ANIMATIONS — electricity / galaxy theme
   --------------------------------------------------------------------------- */
@keyframes revealSlide {
    0%   { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}
@keyframes scanReveal {
    0%   { top: 0; }
    85%  { opacity: 1; }
    100% { top: 100vh; opacity: 0; }
}
@keyframes electricPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(234,131,56,0.15), 0 0 30px rgba(234,131,56,0.06), inset 0 0 0 1px rgba(234,131,56,0.2); }
    50%      { box-shadow: 0 0 20px rgba(234,131,56,0.3), 0 0 60px rgba(234,131,56,0.12), inset 0 0 0 1px rgba(234,131,56,0.4); }
}
@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50%      { opacity: 1; }
}

/* ---------------------------------------------------------------------------
   SCAN-REVEAL — one-time page reveal on load
   Gated on html.scan-reveal (added by JS). If JS is disabled or errors,
   the class is never added and the page loads normally — no blank screen.
   --------------------------------------------------------------------------- */
.scan-reveal body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: var(--bg);
    pointer-events: none;
    z-index: 99998;
    animation: revealSlide 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}
.scan-reveal body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 5%, rgba(234,131,56,0.7) 30%, rgba(180,180,180,0.5) 70%, transparent 95%);
    box-shadow:
        0 0 15px 3px rgba(234,131,56,0.5),
        0 0 40px 8px rgba(234,131,56,0.2),
        0 4px 20px 2px rgba(234,131,56,0.15);
    pointer-events: none;
    z-index: 99999;
    animation: scanReveal 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}
[data-theme="dark"].scan-reveal body::after {
    background: linear-gradient(90deg, transparent 5%, rgba(234,131,56,0.8) 30%, rgba(200,200,200,0.7) 70%, transparent 95%);
    box-shadow:
        0 0 20px 4px rgba(234,131,56,0.6),
        0 0 50px 10px rgba(200,200,200,0.25),
        0 4px 25px 3px rgba(234,131,56,0.2);
}
/* Skip reveal for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    body::before, body::after {
        animation: none !important;
        display: none !important;
    }
}

/* ---------------------------------------------------------------------------
   PAGE — no more fixed overlays (they broke stacking contexts)
   --------------------------------------------------------------------------- */
.page {
    position: relative;
}

/* ---------------------------------------------------------------------------
   HERO — constellation dot grid (pulsing)
   --------------------------------------------------------------------------- */
.hero > * {
    position: relative;
    z-index: 1;
}
.hero::before {
    content: "";
    position: absolute;
    inset: -80px;
    background-image:
        radial-gradient(circle, rgba(234,131,56,0.6) 1.5px, transparent 2px),
        radial-gradient(circle, rgba(71,85,105,0.4) 1px, transparent 1.5px);
    background-size: 30px 30px, 45px 45px;
    background-position: 0 0, 15px 15px;
    animation: gridPulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 55% 70% at 20% 50%, black 0%, transparent 50%);
    -webkit-mask-image: radial-gradient(ellipse 55% 70% at 20% 50%, black 0%, transparent 50%);
}
[data-theme="dark"] .hero::before {
    background-image:
        radial-gradient(circle, rgba(234,131,56,0.6) 1.5px, transparent 2px),
        radial-gradient(circle, rgba(148,163,184,0.4) 1px, transparent 1.5px);
}

/* ---------------------------------------------------------------------------
   SECTION BACKGROUNDS — alternating themed gradient washes
   --------------------------------------------------------------------------- */
#problem {
    background: linear-gradient(180deg, transparent 0%, rgba(234,131,56,0.06) 25%, rgba(234,131,56,0.1) 50%, rgba(234,131,56,0.06) 75%, transparent 100%);
}
[data-theme="dark"] #problem {
    background: linear-gradient(180deg, transparent 0%, rgba(234,131,56,0.08) 25%, rgba(234,131,56,0.14) 50%, rgba(234,131,56,0.08) 75%, transparent 100%);
}
#solution {
    background: linear-gradient(180deg, transparent 0%, rgba(180,180,180,0.05) 25%, rgba(180,180,180,0.08) 50%, rgba(180,180,180,0.05) 75%, transparent 100%);
}
[data-theme="dark"] #solution {
    background: linear-gradient(180deg, transparent 0%, rgba(200,200,200,0.05) 25%, rgba(200,200,200,0.08) 50%, rgba(200,200,200,0.05) 75%, transparent 100%);
}
#privacy {
    background: linear-gradient(180deg, transparent 0%, rgba(27,138,76,0.05) 25%, rgba(27,138,76,0.08) 50%, rgba(27,138,76,0.05) 75%, transparent 100%);
}
[data-theme="dark"] #privacy {
    background: linear-gradient(180deg, transparent 0%, rgba(108,203,95,0.05) 25%, rgba(108,203,95,0.08) 50%, rgba(108,203,95,0.05) 75%, transparent 100%);
}
#realtors {
    background: linear-gradient(180deg, transparent 0%, rgba(234,131,56,0.05) 25%, rgba(234,131,56,0.08) 50%, rgba(234,131,56,0.05) 75%, transparent 100%);
}
[data-theme="dark"] #realtors {
    background: linear-gradient(180deg, transparent 0%, rgba(234,131,56,0.06) 25%, rgba(234,131,56,0.1) 50%, rgba(234,131,56,0.06) 75%, transparent 100%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------------------
   3. LAYOUT
   --------------------------------------------------------------------------- */
.shell { width: var(--shell); margin: 0 auto; }
.page { padding-bottom: 64px; }

/* ---------------------------------------------------------------------------
   4. TYPOGRAPHY
   --------------------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
}
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 1.8vw, 1.375rem); }

.overline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
}
.lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
}

/* ---------------------------------------------------------------------------
   5. COMPONENTS — Buttons
   --------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s, transform 0.12s, border-color 0.15s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    min-height: 44px;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--accent) 0%, #d57330 100%);
    color: var(--text-on-accent);
    box-shadow: 0 4px 16px rgba(234,131,56,0.25);
    background-size: 200% 200%;
    background-position: 0% 50%;
    transition: background 0.15s, box-shadow 0.15s, transform 0.12s, border-color 0.15s, background-position 0.4s ease;
}
.btn-primary:hover {
    background-position: 100% 50%;
    box-shadow: 0 6px 24px rgba(234,131,56,0.35);
}

.btn-secondary {
    min-height: 44px;
    padding: 0 24px;
    background: var(--surface);
    color: var(--text);
    border-color: var(--stroke);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--hover); }

.btn-ghost {
    min-height: 40px;
    padding: 0 16px;
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}
.btn-ghost:hover { background: var(--accent-soft); }

.btn-sm { min-height: 36px; padding: 0 16px; font-size: 0.8125rem; }
.btn-lg { min-height: 52px; padding: 0 32px; font-size: 1rem; border-radius: var(--radius-lg); }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------------------
   6. COMPONENTS — Cards
   --------------------------------------------------------------------------- */
.card {
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    transition: box-shadow 0.4s, transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}
/* Gradient mesh inside cards */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(234,131,56,0.08) 0%, transparent 50%),
        radial-gradient(circle, rgba(234,131,56,0.1) 1px, transparent 1.5px);
    background-size: 100% 100%, 28px 28px;
    pointer-events: none;
    z-index: 0;
}
.card > * { position: relative; z-index: 1; }
[data-theme="dark"] .card::before {
    background:
        linear-gradient(135deg, rgba(234,131,56,0.14) 0%, transparent 50%),
        radial-gradient(circle, rgba(234,131,56,0.12) 1px, transparent 1.5px);
    background-size: 100% 100%, 28px 28px;
}
.card:hover {
    box-shadow: var(--shadow-md), 0 0 20px rgba(234,131,56,0.1);
    border-color: rgba(234,131,56,0.3);
    transform: translateY(-3px);
}
.card-warm {
    background: var(--surface-warm);
    border-color: rgba(234,131,56,0.15);
}
.card-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 16px;
    flex-shrink: 0;
}
.card-icon i { font-size: 1.25rem; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-secondary); line-height: 1.65; font-size: 0.9375rem; }

/* Pill badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.badge-accent { background: var(--accent-soft); color: var(--accent); }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-blue { background: var(--blue-soft); color: var(--blue); }
.badge-red { background: var(--red-soft); color: var(--red); }

/* ---------------------------------------------------------------------------
   7. NAVIGATION
   --------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(125%);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
    background: var(--acrylic);
    border-bottom: 1px solid var(--stroke);
}
.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
}
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.brand-logo {
    height: 32px;
    width: auto;
}
.brand-name {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.15;
}
.brand-name strong { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.brand-name span { font-size: 0.75rem; color: var(--text-tertiary); font-weight: 500; }

.nav-center {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-center a {
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: background 0.15s, color 0.15s;
}
.nav-center a:hover { color: var(--text); background: var(--hover); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.theme-toggle {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke);
    background: var(--surface);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.theme-toggle:hover { background: var(--hover); color: var(--text); }
.theme-toggle i { font-size: 1rem; }
[data-theme="light"] .theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: inline; }
[data-theme="dark"] .theme-icon-light { display: inline; }
[data-theme="dark"] .theme-icon-dark { display: none; }

.nav-toggle {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke);
    background: var(--surface);
    color: var(--text);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.nav-toggle i { font-size: 1.25rem; }

/* ---------------------------------------------------------------------------
   8. HERO
   --------------------------------------------------------------------------- */
.hero {
    padding: 48px 0 24px;
    position: relative;
    z-index: 1;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    border-radius: var(--radius-2xl);
    background: var(--surface);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.hero-grid > * { position: relative; z-index: 1; }
/* Dot grid texture inside hero card */
.hero-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(234,131,56,0.12) 1px, transparent 1.5px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}
[data-theme="dark"] .hero-grid {
    border-color: var(--stroke);
}
[data-theme="dark"] .hero-grid::before {
    background-image:
        radial-gradient(circle, rgba(234,131,56,0.18) 1px, transparent 1.5px);
}
.hero-copy { display: grid; gap: 16px; align-content: center; }
.hero-copy h1 { max-width: 14ch; }
.hero-footnote {
    color: var(--text-tertiary);
    font-size: 0.8125rem;
    margin-top: 4px;
}
.hero-visual {
    display: grid;
    place-items: center;
    min-height: 380px;
}
.hero-illustration { width: 100%; max-width: 520px; height: auto; }

/* Illustration — theme-adaptive SVG classes */
.illust-card { fill: var(--surface); stroke: var(--stroke); stroke-width: 1; }
.illust-card-alt { fill: var(--surface-alt); stroke: var(--stroke); stroke-width: 1; }
.illust-header { fill: var(--surface-alt); }
.illust-text { fill: var(--text); font-family: var(--font-body); }
.illust-text-secondary { fill: var(--text-secondary); font-family: var(--font-body); }
.illust-text-muted { fill: var(--text-tertiary); font-family: var(--font-body); }
.illust-line { fill: var(--stroke); }
.illust-accent { fill: var(--accent); }
.illust-blue { fill: var(--blue); }
.illust-green { fill: var(--green); }
.illust-glow { fill: var(--accent-soft); }
.illust-connect { stroke: var(--accent); fill: none; stroke-width: 1.5; stroke-dasharray: 5 4; }
.illust-sparkle { fill: var(--accent); }

/* ---------------------------------------------------------------------------
   9. SECTION SYSTEM
   --------------------------------------------------------------------------- */
.section { padding: var(--section-gap) 0; position: relative; z-index: 1; }
.section-head { margin-bottom: 32px; max-width: 640px; }
.section-head.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { margin-top: 8px; }
.section-head .lead { margin-top: 12px; }

/* Panel — the large rounded containers wrapping feature sections */
.panel {
    padding: 36px;
    border-radius: var(--radius-2xl);
    background: var(--surface);
    border: 1px solid rgba(234,131,56,0.15);
    box-shadow: var(--shadow-md), 0 0 20px rgba(234,131,56,0.06);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.panel:hover {
    border-color: rgba(234,131,56,0.3);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(234,131,56,0.1);
}
/* Gradient accent bar — top of panels */
.panel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), rgba(180,180,180,0.5), transparent);
    pointer-events: none;
}
/* Inner gradient mesh + dot pattern */
.panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(234,131,56,0.06) 0%, transparent 35%),
        radial-gradient(circle, rgba(234,131,56,0.12) 1px, transparent 1.5px);
    background-size: 100% 100%, 32px 32px;
    pointer-events: none;
    z-index: 0;
}
[data-theme="dark"] .panel {
    border-color: rgba(234,131,56,0.25);
    box-shadow: var(--shadow-md), 0 0 25px rgba(234,131,56,0.1);
}
[data-theme="dark"] .panel::before {
    background:
        linear-gradient(180deg, rgba(234,131,56,0.1) 0%, transparent 35%),
        radial-gradient(circle, rgba(234,131,56,0.15) 1px, transparent 1.5px);
    background-size: 100% 100%, 32px 32px;
}
.panel-warm {
    background: var(--surface-warm);
    border-color: rgba(234,131,56,0.12);
}

/* ---------------------------------------------------------------------------
   10. PROBLEM SECTION
   --------------------------------------------------------------------------- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.problem-card {
    padding: 24px;
    padding-left: 28px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.problem-card:hover {
    border-color: rgba(234,131,56,0.3);
    box-shadow: var(--shadow-md), 0 0 20px rgba(234,131,56,0.08);
    transform: translateY(-2px);
}
/* Accent left edge bar */
.problem-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent), rgba(234,131,56,0.3));
    transition: width 0.3s ease, box-shadow 0.3s;
}
.problem-card:hover::before {
    width: 5px;
    box-shadow: 4px 0 12px rgba(234,131,56,0.15);
}
/* Inner gradient + micro dot grid */
.problem-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(234,131,56,0.06) 0%, transparent 50%),
        radial-gradient(circle, rgba(234,131,56,0.08) 0.8px, transparent 1.3px);
    background-size: 100% 100%, 20px 20px;
    pointer-events: none;
    z-index: 0;
    border-radius: var(--radius-xl);
}
.problem-card > * { position: relative; z-index: 1; }
.problem-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.7;
    line-height: 1;
    margin-bottom: 12px;
}
.problem-card h3 { margin-bottom: 8px; }
.problem-card p { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.65; }

/* ---------------------------------------------------------------------------
   11. SOLUTION CARDS
   --------------------------------------------------------------------------- */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* ---------------------------------------------------------------------------
   12. FEATURES — Tabbed Section
   --------------------------------------------------------------------------- */
.feature-tabs-bar {
    display: flex;
    gap: 4px;
    padding: 4px;
    border-radius: var(--radius-lg);
    background: var(--bg);
    border: 1px solid var(--stroke);
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.feature-tab-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
.feature-tab-btn:hover { color: var(--text); background: var(--hover); }
.feature-tab-btn.active {
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}
.feature-panel { display: none; animation: panelIn 0.25s ease; }
.feature-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.feature-panel-copy h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); margin-bottom: 8px; }
.feature-panel-copy > p { color: var(--text-secondary); margin-bottom: 20px; line-height: 1.7; }
.feature-list { display: grid; gap: 12px; }
.feature-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.55;
}
.feature-list li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }

.feature-panel-visual {
    display: grid;
    place-items: center;
    min-height: 260px;
    border-radius: var(--radius-xl);
    background: var(--surface-alt);
    border: 1px solid var(--stroke);
    padding: 24px;
}
.feature-panel-visual svg { width: 100%; max-width: 380px; height: auto; }

/* ---------------------------------------------------------------------------
   13. RAG COMPARISON
   --------------------------------------------------------------------------- */
.rag-section {
    background: var(--bg-alt);
    border-radius: var(--radius-2xl);
    padding: 40px;
    position: relative;
    overflow: hidden;
}
/* Constellation dot grid on RAG section */
.rag-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(234,131,56,0.25) 1.5px, transparent 2px),
        radial-gradient(circle, rgba(180,180,180,0.15) 1px, transparent 1.5px);
    background-size: 28px 28px, 42px 42px;
    background-position: 0 0, 14px 14px;
    mask-image: linear-gradient(180deg, black 0%, transparent 65%);
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 65%);
    pointer-events: none;
    animation: gridPulse 5s ease-in-out infinite;
}
[data-theme="dark"] .rag-section::before {
    background-image:
        radial-gradient(circle, rgba(234,131,56,0.3) 1.5px, transparent 2px),
        radial-gradient(circle, rgba(200,200,200,0.2) 1px, transparent 1.5px);
}
/* Warm gradient background */
.rag-section {
    background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(234,131,56,0.08) 50%, rgba(180,180,180,0.04) 100%);
    border: 1px solid rgba(234,131,56,0.12);
    box-shadow: 0 0 30px rgba(234,131,56,0.06);
}
[data-theme="dark"] .rag-section {
    background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(234,131,56,0.12) 50%, rgba(200,200,200,0.06) 100%);
    border-color: rgba(234,131,56,0.2);
    box-shadow: 0 0 30px rgba(234,131,56,0.08);
}
.rag-section .section-head { max-width: 680px; }
.rag-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}
.rag-email {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-sm);
}
.rag-email-head {
    padding: 16px 20px;
    font-size: 0.8125rem;
    line-height: 1.75;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--stroke);
}
.rag-email-head strong { color: var(--text); font-weight: 600; }
.rag-email-body { padding: 20px; font-size: 0.9375rem; line-height: 1.7; color: var(--text); }

.rag-email.generic { background: var(--surface-alt); }
.rag-email.generic .rag-email-head { background: var(--bg); }
.rag-email.generic .rag-email-body { color: var(--text-tertiary); }

.rag-email.smart { background: var(--surface); }
.rag-email.smart .rag-email-head { background: var(--surface-warm); }

.rag-note {
    text-align: center;
    margin-top: 24px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--text-tertiary);
}

/* ---------------------------------------------------------------------------
   14. PRICING
   --------------------------------------------------------------------------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
    padding-top: 14px;
}
.price-card {
    padding: 28px 24px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-sm);
    display: grid;
    align-content: start;
    gap: 4px;
    transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.price-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-md), 0 8px 40px rgba(234,131,56,0.12);
    position: relative;
}
/* Accent gradient line on featured pricing */
.price-card.featured::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 10%, var(--accent) 50%, transparent 90%);
    pointer-events: none;
}
[data-theme="dark"] .price-card.featured {
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-md), 0 8px 40px rgba(234,131,56,0.18);
}
.price-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--text-on-accent);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
.price-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-tertiary);
}
.price-amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
}
.price-amount span { font-size: 0.875rem; font-weight: 500; color: var(--text-tertiary); font-family: var(--font-body); }
.price-desc {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    font-style: italic;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--stroke);
    margin-bottom: 12px;
}
.price-features { display: grid; gap: 10px; margin-bottom: 20px; }
.price-features li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.875rem;
    color: var(--text);
}
.price-features li i { color: var(--accent); margin-top: 2px; flex-shrink: 0; font-size: 0.875rem; }
.price-card .btn { width: 100%; }

.cloud-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding: 24px;
    border-radius: var(--radius-xl);
    background: var(--surface-alt);
    border: 1px solid var(--stroke);
}
.cloud-banner-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    background: var(--blue-soft);
    color: var(--blue);
}
.cloud-banner-icon i { font-size: 1.25rem; }
.cloud-banner h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 2px;
}
.cloud-banner h4 span { color: var(--accent); }
.cloud-banner p { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.55; }

.pricing-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.pricing-footer strong { color: var(--text); font-weight: 600; }

/* ---------------------------------------------------------------------------
   15. REALTOR FEATURE GRID
   --------------------------------------------------------------------------- */
.realtor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.realtor-item {
    padding: 20px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.2s;
}
.realtor-item { cursor: pointer; }
.realtor-item:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.realtor-item i { font-size: 1.25rem; color: var(--accent); margin-bottom: 12px; display: block; }
.realtor-item h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 4px;
}
.realtor-item p { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.55; }

/* ---------------------------------------------------------------------------
   15b. HUMAN IN THE LOOP GRID
   --------------------------------------------------------------------------- */
.hitl-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.hitl-card {
    padding: 24px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--stroke);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.hitl-card:hover {
    border-color: var(--green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md), 0 0 20px rgba(27,138,76,0.1);
}
.hitl-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--green-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.hitl-icon i { font-size: 1.25rem; color: var(--green); }
.hitl-card h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 6px;
}
.hitl-card p { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.55; }

/* Feature Detail Modal */
.feature-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.feature-modal-backdrop.is-open { display: block; opacity: 1; }

.feature-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 9999;
    width: min(680px, calc(100vw - 40px));
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--stroke);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--stroke);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.feature-modal.is-open {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.feature-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 32px 0;
}
.feature-modal-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--accent);
}
.feature-modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.25;
}
.feature-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.feature-modal-close:hover { background: var(--hover); color: var(--text); }

.feature-modal-visual {
    margin: 24px 32px;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--surface-alt);
    border: 1px solid var(--stroke);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}
.feature-modal-visual svg {
    width: 100%;
    max-width: 520px;
    height: auto;
}

.feature-modal-body {
    padding: 0 32px 28px;
}
.feature-modal-body p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.feature-modal-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.feature-modal-highlight {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text);
    line-height: 1.5;
}
.feature-modal-highlight i {
    color: var(--accent);
    font-size: 0.875rem;
    margin-top: 2px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .feature-modal { width: calc(100vw - 24px); border-radius: var(--radius-xl); }
    .feature-modal-header { padding: 20px 20px 0; }
    .feature-modal-visual { margin: 16px 20px; padding: 20px; }
    .feature-modal-body { padding: 0 20px 20px; }
    .feature-modal-highlights { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   16. PRIVACY
   --------------------------------------------------------------------------- */
.privacy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.privacy-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.privacy-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background: var(--surface-alt);
    border: 1px solid var(--stroke);
    color: var(--text-secondary);
}
.privacy-icon i { font-size: 1rem; }
.privacy-item h4 {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 2px;
}
.privacy-item p { font-size: 0.8125rem; color: var(--text-secondary); line-height: 1.55; }

/* ---------------------------------------------------------------------------
   17. BETA FORM
   --------------------------------------------------------------------------- */
.beta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.beta-copy .lead { max-width: none; }

.beta-form-card {
    padding: 28px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid rgba(234,131,56,0.2);
    box-shadow: var(--shadow-md), 0 0 20px rgba(234,131,56,0.06);
    position: relative;
    overflow: hidden;
}
/* Glowing accent bar on beta form */
.beta-form-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(180,180,180,0.4));
    box-shadow: 0 2px 10px rgba(234,131,56,0.2);
    pointer-events: none;
}
/* Inner gradient mesh */
.beta-form-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(234,131,56,0.06) 0%, transparent 30%),
        radial-gradient(circle, rgba(234,131,56,0.06) 1px, transparent 1.5px);
    background-size: 100% 100%, 24px 24px;
    pointer-events: none;
    z-index: 0;
}
.beta-form-card > * { position: relative; z-index: 1; }
[data-theme="dark"] .beta-form-card {
    border-color: rgba(234,131,56,0.3);
    box-shadow: var(--shadow-md), 0 0 25px rgba(234,131,56,0.1);
}
.beta-form-card h3 { margin-bottom: 4px; }
.form-help { color: var(--text-tertiary); font-size: 0.8125rem; margin-bottom: 20px; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-field { display: grid; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    border: 1px solid var(--stroke);
    background: var(--surface-alt);
    color: var(--text);
    font-size: 0.9375rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-soft);
}
.form-field textarea { min-height: 100px; resize: vertical; }
.form-field .text-danger,
.form-field span[class*="validation"] {
    font-size: 0.75rem;
    color: var(--red);
}

.success-banner {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--green-soft);
    border: 1px solid var(--green);
    color: var(--green);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 16px;
}
[asp-validation-summary="ModelOnly"]:not(:empty) {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--red-soft);
    border: 1px solid var(--red);
    color: var(--red);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

/* ---------------------------------------------------------------------------
   18. FINAL CTA
   --------------------------------------------------------------------------- */
.final-cta {
    text-align: center;
    padding: 64px 40px;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, #fdf3eb 0%, var(--surface-warm) 35%, rgba(220,220,220,0.6) 100%);
    border: 1px solid rgba(234,131,56,0.25);
    box-shadow: 0 0 40px rgba(234,131,56,0.08), 0 0 80px rgba(180,180,180,0.04);
    position: relative;
    overflow: hidden;
}
[data-theme="dark"] .final-cta {
    background: linear-gradient(135deg, rgba(234,131,56,0.18) 0%, var(--surface-warm) 35%, rgba(200,200,200,0.1) 100%);
    border-color: rgba(234,131,56,0.35);
    box-shadow: 0 0 40px rgba(234,131,56,0.12), 0 0 80px rgba(200,200,200,0.06);
}
/* Constellation dot grid */
.final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(234,131,56,0.2) 1.5px, transparent 2px),
        radial-gradient(circle, rgba(180,180,180,0.12) 1px, transparent 1.5px);
    background-size: 24px 24px, 36px 36px;
    background-position: 0 0, 12px 12px;
    mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, black 5%, transparent 50%);
    -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 50%, black 5%, transparent 50%);
    pointer-events: none;
    animation: gridPulse 5s ease-in-out infinite;
}
/* Glowing accent bar along top */
.final-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), rgba(180,180,180,0.5), transparent);
    box-shadow: 0 2px 12px rgba(234,131,56,0.3);
    pointer-events: none;
}
[data-theme="dark"] .final-cta::before {
    background-image:
        radial-gradient(circle, rgba(234,131,56,0.25) 1.5px, transparent 2px),
        radial-gradient(circle, rgba(200,200,200,0.15) 1px, transparent 1.5px);
}
.final-cta h2 { margin: 8px auto 0; max-width: 16ch; }
.final-cta p { color: var(--text-secondary); margin: 12px auto 24px; max-width: 440px; }

/* ---------------------------------------------------------------------------
   19. FOOTER
   --------------------------------------------------------------------------- */
.site-footer { padding: 0 0 32px; }
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--stroke) 0%, var(--accent) 50%, var(--stroke) 100%) 1;
}
.footer-logo { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 0.8125rem; color: var(--text-secondary); font-weight: 500; transition: color 0.15s; }
.footer-links a:hover { color: var(--text); }
.footer-right { display: flex; align-items: center; gap: 16px; }
.footer-canada {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}
.footer-copy { font-size: 0.6875rem; color: var(--text-tertiary); }

/* ---------------------------------------------------------------------------
   20. SCROLL ANIMATIONS
   --------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.25,0.46,0.45,0.94),
                transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.revealed { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------------------------------------------------------------------------
   21. RESPONSIVE
   --------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
    .hero-visual { min-height: 280px; }
    .problem-grid { grid-template-columns: 1fr; }
    .solution-grid { grid-template-columns: 1fr; }
    .feature-panel.active { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .realtor-grid { grid-template-columns: repeat(2, 1fr); }
    .hitl-grid { grid-template-columns: repeat(2, 1fr); }
    .privacy-grid { grid-template-columns: 1fr; }
    .beta-grid { grid-template-columns: 1fr; }
    .rag-compare { grid-template-columns: 1fr; }
    .cloud-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .nav-toggle { display: inline-flex; }
    .nav-center {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
        flex-direction: column;
        padding: 12px;
        border-radius: var(--radius-lg);
        background: var(--surface);
        border: 1px solid var(--stroke);
        box-shadow: var(--shadow-lg);
        z-index: 99;
    }
    .nav-center.is-open { display: flex; }
    .nav-center a { padding: 12px 16px; border-radius: var(--radius-md); font-size: 0.9375rem; }
    .nav-center a:hover { background: var(--hover); }

    .brand-name span { display: none; }
    .feature-tabs-bar { gap: 2px; }
    .feature-tab-btn { padding: 8px 12px; font-size: 0.75rem; }
    .realtor-grid { grid-template-columns: 1fr; }
    .hitl-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .final-cta { padding: 40px 24px; }
}

@media (max-width: 480px) {
    :root { --shell: calc(100% - 24px); }
    .hero-grid { padding: 20px; }
    .panel { padding: 20px; }
    .rag-section { padding: 24px; }
    .btn-group { flex-direction: column; }
    .btn-group .btn { width: 100%; }
}
