/* ═══════════════════════════════════════════════════
   Reverse Diagnostics Landing Page
   Dark Theme — matched to Flutter App palette
   ═══════════════════════════════════════════════════ */

/* ─── Design Tokens (matched to AppColors) ─── */
:root {
    --font-primary: 'Outfit', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, monospace;

    /* App palette — exact match */
    --color-bg: #0D0D0D;
    --color-bg-alt: #141414;
    --color-surface: #1C1C1E;
    --color-secondary: #1A1A1A;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-strong: rgba(255, 255, 255, 0.12);

    --color-text: #FFFFFF;
    --color-text-secondary: #9E9E9E;
    --color-text-tertiary: #636366;

    --color-primary: #D32F2F;
    --color-primary-light: #FF5252;
    --color-primary-dark: #B71C1C;
    --color-primary-bg: rgba(211, 47, 47, 0.1);
    --color-primary-glow: rgba(211, 47, 47, 0.3);

    --color-accent: #FF5252;
    --color-pass: #4CAF50;
    --color-warning: #FFC107;
    --color-fail: #E53935;
    --color-running: #9C27B0;
    --color-unsupported: #607D8B;

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Shadows (dark-mode tuned) */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4), 0 1px 3px rgba(0,0,0,0.2);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.6), 0 8px 20px rgba(0,0,0,0.3);
    --shadow-glow: 0 8px 30px var(--color-primary-glow);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--color-primary); color: white; }

/* ─── Reveal ─── */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ═══ NAVIGATION ═══ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1rem 1.5rem;
    transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.nav.scrolled {
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav__inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 0.5rem; }
.nav__logo {
    width: 40px; height: 40px; border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    display: flex; align-items: center; justify-content: center;
    color: white; box-shadow: var(--shadow-glow);
}
.nav__logo--small { width: 32px; height: 32px; border-radius: var(--radius-sm); }
.nav__logo-img {
    height: 40px;
    width: auto;
    display: block;
}
.nav__logo-img--footer {
    height: 36px;
}
.nav__name { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link {
    font-size: 0.9rem; font-weight: 500; color: var(--color-text-secondary);
    transition: color 0.2s; position: relative;
}
.nav__link::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--color-primary); border-radius: 1px;
    transition: width 0.4s var(--ease-out);
}
.nav__link:hover { color: var(--color-text); }
.nav__link:hover::after { width: 100%; }
.nav__link--cta {
    padding: 10px 22px; border-radius: var(--radius-full);
    background: var(--color-primary); color: white !important; font-weight: 600;
    transition: transform 0.2s var(--ease-spring), box-shadow 0.2s, background 0.2s;
    border: 1px solid transparent;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: var(--color-primary-light);
}

/* Hamburger */
.nav__hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
}
.nav__hamburger span {
    width: 22px; height: 2px; background: var(--color-text); border-radius: 2px;
    transition: transform 0.4s var(--ease-out), opacity 0.2s;
}
.nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
    display: none; flex-direction: column; gap: 0.5rem;
    padding: 1.5rem 0; max-width: 1200px; margin: 0 auto;
}
.nav__mobile.open { display: flex; }
.nav__mobile-link {
    font-size: 1rem; font-weight: 500; color: var(--color-text-secondary);
    padding: 0.5rem 0; transition: color 0.2s;
}
.nav__mobile-link:hover { color: var(--color-text); }
.nav__mobile-link--cta {
    display: inline-block; padding: 12px 24px; border-radius: var(--radius-full);
    background: var(--color-primary); color: white !important; font-weight: 600;
    text-align: center; margin-top: 0.5rem;
}

/* ═══ HERO ═══ */
.hero {
    position: relative; padding: 160px 1.5rem 80px;
    overflow: hidden; min-height: 100vh; display: flex; align-items: center;
}
.hero__bg-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero__orb--1 {
    width: 600px; height: 600px; background: var(--color-primary);
    top: -20%; right: -10%; opacity: 0.1; animation: orbFloat1 12s ease-in-out infinite;
}
.hero__orb--2 {
    width: 400px; height: 400px; background: var(--color-primary-light);
    bottom: -10%; left: -5%; opacity: 0.06; animation: orbFloat2 10s ease-in-out infinite;
}
.hero__orb--3 {
    width: 300px; height: 300px; background: var(--color-primary);
    top: 40%; left: 30%; opacity: 0.04; animation: orbFloat3 14s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,20px)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-30px)} }
@keyframes orbFloat3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,-20px)} }

.hero__container {
    max-width: 1200px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.hero__content { animation: heroIn 1s var(--ease-out) both; }
@keyframes heroIn { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }

.hero__badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 6px 16px; border-radius: var(--radius-full);
    background: var(--color-primary-bg); border: 1px solid rgba(211, 47, 47, 0.2);
    font-size: 0.8rem; font-weight: 600; color: var(--color-primary-light);
    margin-bottom: 1.5rem; letter-spacing: 0.03em; text-transform: uppercase;
}
.hero__badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--color-pass); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%,100%{ box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    50%{ box-shadow: 0 0 0 6px rgba(76, 175, 80, 0); }
}

.hero__title {
    font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 900;
    line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.hero__title--accent {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__subtitle {
    font-size: 1.15rem; color: var(--color-text-secondary);
    max-width: 480px; line-height: 1.7; margin-bottom: 2rem;
}

/* ─── Buttons ─── */
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-primary); font-weight: 600; font-size: 0.95rem;
    padding: 14px 28px; border-radius: var(--radius-full); border: none; cursor: pointer;
    transition: transform 0.2s var(--ease-spring), box-shadow 0.2s, background 0.2s;
}
.btn--primary {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    color: white; box-shadow: var(--shadow-glow);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(211, 47, 47, 0.4);
}
.btn--secondary {
    background: var(--color-surface); color: var(--color-text);
    border: 1.5px solid var(--color-border-strong); box-shadow: var(--shadow-sm);
}
.btn--secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}
.btn--large { padding: 18px 36px; font-size: 1.05rem; }

.hero__trust { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--color-text-tertiary); }
.hero__trust-stars { color: var(--color-warning); font-size: 0.9rem; letter-spacing: 2px; }

/* ─── Hero Phone Mockup ─── */
.hero__visual {
    position: relative; display: flex; align-items: center; justify-content: center;
    animation: heroVisIn 1.2s var(--ease-out) 0.3s both;
}
@keyframes heroVisIn { from { opacity:0; transform:translateY(40px) scale(0.95); } to { opacity:1; transform:translateY(0) scale(1); } }

.hero__phone {
    width: 280px; height: 580px; border-radius: 40px;
    background: var(--color-secondary);
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.05), 0 0 60px rgba(211,47,47,0.1);
    position: relative;
}
.phone__notch {
    width: 120px; height: 28px; background: var(--color-secondary);
    border-radius: 0 0 18px 18px; position: absolute; top: 12px;
    left: 50%; transform: translateX(-50%); z-index: 5;
}
.phone__screen {
    width: 100%; height: 100%; border-radius: 30px;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
    overflow: hidden; padding: 50px 20px 20px;
    display: flex; flex-direction: column; gap: 16px; align-items: center;
}
.phone__score-ring { width: 120px; height: 120px; position: relative; margin-bottom: 4px; }
.phone__ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.phone__ring-bg { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 6; }
.phone__ring-progress {
    fill: none; stroke: var(--color-primary); stroke-width: 6;
    stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7;
    animation: ringDraw 2s var(--ease-out) 1s forwards;
}
@keyframes ringDraw { to { stroke-dashoffset: 58.8; } }
.phone__score-text {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.phone__score-num { font-size: 2rem; font-weight: 800; color: white; line-height: 1; }
.phone__score-label {
    font-size: 0.6rem; font-weight: 600; color: var(--color-pass);
    letter-spacing: 0.15em; text-transform: uppercase;
}

.phone__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.phone__stat {
    background: rgba(255,255,255,0.04); border-radius: 12px; padding: 10px 6px; text-align: center;
    border: 1px solid rgba(255,255,255,0.04);
}
.phone__stat-num { display: block; font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
.phone__stat--pass .phone__stat-num { color: var(--color-pass); }
.phone__stat--warn .phone__stat-num { color: var(--color-warning); }
.phone__stat--fail .phone__stat-num { color: var(--color-fail); }
.phone__stat-label { font-size: 0.55rem; font-weight: 600; letter-spacing: 0.1em; color: var(--color-text-secondary); }

.phone__card {
    display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px;
    background: rgba(255,255,255,0.04); border-radius: 16px; border: 1px solid rgba(255,255,255,0.04);
}
.phone__card-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: var(--color-primary-bg); display: flex; align-items: center;
    justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.phone__card-title { font-size: 0.8rem; font-weight: 600; color: white; }
.phone__card-sub { font-size: 0.65rem; color: var(--color-text-secondary); margin-top: 2px; }

/* Floating badges */
.hero__float {
    position: absolute; display: flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: var(--radius-full);
    background: var(--color-surface); box-shadow: var(--shadow-lg);
    font-size: 0.8rem; font-weight: 600; color: var(--color-text);
    border: 1px solid var(--color-border); white-space: nowrap;
}
.hero__float-icon { font-size: 1rem; }
.hero__float--1 { top: 12%; right: -8%; animation: fl1 5s ease-in-out 0.5s infinite; }
.hero__float--2 { bottom: 25%; left: -12%; animation: fl2 6s ease-in-out 1s infinite; }
.hero__float--3 { bottom: 8%; right: -5%; animation: fl3 5.5s ease-in-out 1.5s infinite; }
@keyframes fl1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes fl2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes fl3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

/* ═══ SECTION HEADER ═══ */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header__tag {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-primary-light);
    background: var(--color-primary-bg); padding: 6px 16px; border-radius: var(--radius-full);
    margin-bottom: 1.5rem; border: 1px solid rgba(211, 47, 47, 0.15);
}
.section-header__title {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
    line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1rem;
}
.section-header__title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-header__desc {
    font-size: 1.05rem; color: var(--color-text-secondary);
    max-width: 520px; margin: 0 auto; line-height: 1.7;
}

/* ═══ BENTO GRID ═══ */
.features { padding: 6rem 1.5rem; background: var(--color-bg-alt); }
.features__container { max-width: 1200px; margin: 0 auto; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.bento__item {
    padding: 2rem; border-radius: var(--radius-xl); background: var(--color-surface);
    border: 1px solid var(--color-border); overflow: hidden; position: relative;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}
.bento__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(211, 47, 47, 0.08);
    border-color: var(--color-primary);
}
.bento__item--large { grid-row: span 2; }
.bento__item--wide { grid-column: span 2; }
.bento__icon {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    background: var(--color-primary-bg); display: flex; align-items: center;
    justify-content: center; font-size: 1.3rem; margin-bottom: 1.5rem;
}
.bento__title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.bento__desc { font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.6; }
.bento__visual { margin-top: 1.5rem; }

.bento__bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-top: 1rem; }
.bento__bar {
    flex: 1; height: 0; border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-primary));
    animation: barGrow 1s var(--ease-out) var(--delay) forwards;
}
@keyframes barGrow { to { height: var(--h); } }

.bento__signal { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 1.5rem 0; }
.bento__signal-wave {
    width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--color-primary);
    opacity: 0; animation: sigPulse 2.5s ease-out infinite;
}
.bento__signal-wave:nth-child(2) { animation-delay: 0.5s; width: 60px; height: 60px; }
.bento__signal-wave:nth-child(3) { animation-delay: 1s; width: 80px; height: 80px; }
@keyframes sigPulse { 0%{opacity:0.6;transform:scale(0.8)} 100%{opacity:0;transform:scale(1.3)} }

/* ═══ REPORT ═══ */
.report { padding: 6rem 1.5rem; background: var(--color-bg); }
.report__container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.report__desc { font-size: 1.05rem; color: var(--color-text-secondary); line-height: 1.7; margin: 1.5rem 0; }
.report__checklist { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.report__check-item { display: flex; align-items: center; gap: 1rem; font-size: 1rem; font-weight: 500; }
.report__check-icon { width: 22px; height: 22px; color: var(--color-pass); flex-shrink: 0; }

.report__visual { display: flex; justify-content: center; perspective: 800px; }
.report__card-stack { position: relative; width: 360px; }
.report__card { border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-border); }
.report__card--back { position: absolute; inset: 0; transform: rotate(4deg) translateY(8px); opacity: 0.4; z-index: 1; }
.report__card--front {
    position: relative; z-index: 2; padding: 2rem;
    box-shadow: var(--shadow-xl), 0 0 40px rgba(211,47,47,0.05);
    transition: transform 0.7s var(--ease-out);
}
.report__card--front:hover { transform: rotate(-1deg) translateY(-4px); }

.report__card-header { text-align: center; margin-bottom: 1.5rem; }
.report__card-logo {
    width: 36px; height: 36px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    display: flex; align-items: center; justify-content: center;
    color: white; margin: 0 auto 0.5rem;
}
.report__card-brand {
    display: block; font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-text-secondary);
}
.report__card-date { display: block; font-size: 0.7rem; color: var(--color-text-tertiary); margin-top: 4px; }
.report__card-divider { height: 1px; background: var(--color-border); margin-bottom: 1.5rem; }
.report__card-rows { display: flex; flex-direction: column; gap: 1rem; }
.report__card-row {
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 1rem; border-bottom: 1px solid var(--color-border);
    font-family: var(--font-mono); font-size: 0.8rem;
}
.report__card-row:last-child { border-bottom: none; }
.report__card-label { color: var(--color-text-tertiary); }
.report__card-value { font-weight: 500; }
.report__card-value--score { color: var(--color-pass); font-weight: 600; }

.report__card-footer {
    margin-top: 1.5rem; display: flex; align-items: center; gap: 1rem;
    padding-top: 1.5rem; border-top: 1px solid var(--color-border);
}
.qr-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; width: 40px; height: 40px; }
.qr-grid span { background: var(--color-text); border-radius: 1px; opacity: 0.8; }
.qr-grid span:nth-child(2n) { opacity: 0.2; }
.qr-grid span:nth-child(3n) { opacity: 0.6; }
.report__card-verify { font-size: 0.7rem; color: var(--color-text-tertiary); }

/* ═══ CTA ═══ */
.cta {
    padding: 6rem 1.5rem; text-align: center; position: relative;
    overflow: hidden; background: var(--color-secondary); color: white;
    border-top: 1px solid var(--color-border);
}
.cta__glow {
    position: absolute; width: 500px; height: 500px; border-radius: 50%;
    background: var(--color-primary); opacity: 0.12; filter: blur(100px);
    top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.cta__container { max-width: 700px; margin: 0 auto; position: relative; z-index: 2; }
.cta__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900;
    line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.cta__desc { font-size: 1.1rem; color: var(--color-text-secondary); margin-bottom: 2rem; line-height: 1.6; }
.cta__buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta .btn--secondary {
    background: rgba(255,255,255,0.04); color: white;
    border-color: rgba(255,255,255,0.1);
}
.cta .btn--secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--color-primary);
}

/* ═══ FOOTER ═══ */
.footer { padding: 2rem 1.5rem; background: var(--color-secondary); border-top: 1px solid var(--color-border); }
.footer__container {
    max-width: 1200px; margin: 0 auto; display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer__brand { display: flex; align-items: center; gap: 0.5rem; }
.footer__brand-link { display: flex; align-items: center; }
.footer__name { font-weight: 700; font-size: 0.95rem; }
.footer__links { display: flex; gap: 2rem; }
.footer__links a { font-size: 0.85rem; color: var(--color-text-secondary); transition: color 0.2s; }
.footer__links a:hover { color: var(--color-text); }
.footer__copy { font-size: 0.8rem; color: var(--color-text-tertiary); }

/* ═══ LEGAL / SUBPAGES ═══ */
.page-hero {
    padding: 140px 1.5rem 3rem;
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}
.page-hero__container {
    max-width: 800px; margin: 0 auto; position: relative; z-index: 2;
}
.page-hero__tag {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-primary-light);
    background: var(--color-primary-bg); padding: 6px 16px; border-radius: var(--radius-full);
    margin-bottom: 1.25rem; border: 1px solid rgba(211, 47, 47, 0.15);
}
.page-hero__title {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
    letter-spacing: -0.02em; margin-bottom: 0.75rem; line-height: 1.15;
}
.page-hero__meta {
    font-size: 0.9rem; color: var(--color-text-tertiary);
}

.legal {
    padding: 0 1.5rem 5rem;
    background: var(--color-bg);
}
.legal__container {
    max-width: 800px; margin: 0 auto;
}
.legal__section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}
.legal__section h2 {
    font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem;
    color: var(--color-text); letter-spacing: -0.01em;
}
.legal__section h3 {
    font-size: 1.05rem; font-weight: 600; margin: 1.25rem 0 0.5rem;
    color: var(--color-primary-light);
}
.legal__section p {
    font-size: 0.95rem; color: var(--color-text-secondary);
    line-height: 1.75; margin-bottom: 0.85rem;
}
.legal__section p:last-child { margin-bottom: 0; }
.legal__section ul {
    list-style: disc; padding-left: 1.25rem; margin: 0.75rem 0 1rem;
}
.legal__section li {
    font-size: 0.95rem; color: var(--color-text-secondary);
    line-height: 1.7; margin-bottom: 0.4rem;
}
.legal__section a {
    color: var(--color-primary-light);
    transition: color 0.2s;
}
.legal__section a:hover { color: var(--color-text); text-decoration: underline; }

/* ═══ CONTACT PAGE ═══ */
.contact {
    padding: 0 1.5rem 5rem;
    background: var(--color-bg);
}
.contact__container {
    max-width: 800px; margin: 0 auto;
}
.contact__card {
    padding: 2.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    text-align: center;
}
.contact__icon {
    width: 64px; height: 64px; border-radius: var(--radius-md);
    background: var(--color-primary-bg); border: 1px solid rgba(211, 47, 47, 0.2);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; color: var(--color-primary-light);
}
.contact__card h2 {
    font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem;
}
.contact__card p {
    font-size: 1rem; color: var(--color-text-secondary);
    line-height: 1.7; margin-bottom: 1.5rem; max-width: 480px; margin-left: auto; margin-right: auto;
}
.contact__email {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 16px 28px; border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    color: white; font-weight: 600; font-size: 1.05rem;
    box-shadow: var(--shadow-glow);
    transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.contact__email:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(211, 47, 47, 0.4);
}
.contact__note {
    margin-top: 2rem; font-size: 0.85rem; color: var(--color-text-tertiary);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-surface); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .hero__container { grid-template-columns: 1fr; text-align: center; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .hero__trust { justify-content: center; }
    .hero__visual { margin-top: 2rem; }
    .hero__float--1 { right: 5%; }
    .hero__float--2 { left: 2%; }
    .hero__float--3 { right: 8%; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento__item--large { grid-row: span 1; }
    .bento__item--wide { grid-column: span 2; }
    .report__container { grid-template-columns: 1fr; text-align: center; }
    .report__checklist { align-items: center; }
    .report__visual { margin-top: 2rem; }
}
@media (max-width: 768px) {
    .nav__links { display: none; }
    .nav__hamburger { display: flex; }
    .hero { padding-top: 120px; padding-bottom: 60px; min-height: auto; }
    .hero__phone { width: 240px; height: 500px; border-radius: 34px; padding: 10px; }
    .phone__screen { border-radius: 26px; padding: 44px 16px 16px; }
    .phone__score-ring { width: 100px; height: 100px; }
    .phone__score-num { font-size: 1.6rem; }
    .hero__float { display: none; }
    .bento { grid-template-columns: 1fr; }
    .bento__item--wide { grid-column: span 1; }
    .report__card-stack { width: 100%; max-width: 340px; }
    .footer__container { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .hero__actions { flex-direction: column; }
    .cta__buttons { flex-direction: column; align-items: center; }
    .btn--large { width: 100%; justify-content: center; }
}
