/* ═══════════════════════════════════════════════════════════
   TyreLab Landing Page — landing.css
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────── */
:root {
    --bg:          #06060d;
    --bg2:         #0d0d1a;
    --surface:     rgba(255,255,255,.045);
    --border:      rgba(255,255,255,.08);
    --border-h:    rgba(91,108,249,.45);
    --primary:     #5b6cf9;
    --primary-d:   #4757e8;
    --accent:      #f97316;
    --purple:      #9333ea;
    --text:        #e8eaf6;
    --muted:       #8892b0;
    --card-r:      18px;
    --trans:       .3s cubic-bezier(.4,0,.2,1);
}

/* ── Reset / base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Utility ───────────────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, #5b6cf9 0%, #9333ea 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: .75rem;
}
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: #fff;
    margin-bottom: 1rem;
}
.section-sub {
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
}

/* ── Navbar ────────────────────────────────────────────── */
.land-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: .9rem 0;
    background: rgba(6,6,13,.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    transition: background var(--trans), box-shadow var(--trans);
}
.land-nav.scrolled {
    background: rgba(6,6,13,.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
    border-bottom-color: var(--border);
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo-img {
    height: 44px;
    width: auto;
    display: block;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500;
    transition: color var(--trans);
}
.nav-links a:hover { color: #fff; }
.nav-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: .45rem 1.1rem;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color var(--trans), color var(--trans), background var(--trans);
    text-decoration: none;
    display: inline-block;
}
.btn-ghost:hover {
    border-color: var(--border-h);
    color: #fff;
    background: rgba(91,108,249,.08);
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-d));
    border: none;
    color: #fff;
    padding: .45rem 1.25rem;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity var(--trans), transform var(--trans);
    text-decoration: none;
    display: inline-block;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); color: #fff; }
.nav-hamburger {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .4rem .55rem;
    cursor: pointer;
    color: var(--text);
}
/* mobile menu: hidden until JS adds .open */
.nav-mobile-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: .5rem;
    padding: .75rem 0;
    border-top: 1px solid var(--border);
}
.nav-mobile-menu.open { display: flex; }

/* ── Hero ──────────────────────────────────────────────── */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 10rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform;
}
.hero-orb-1 {
    width: 900px; height: 900px;
    background: radial-gradient(circle, rgba(91,108,249,.14) 0%, transparent 70%);
    top: -300px; right: -250px;
    animation: orb-float 8s ease-in-out infinite;
}
.hero-orb-2 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(249,115,22,.09) 0%, transparent 70%);
    bottom: -200px; left: -150px;
    animation: orb-float 10s ease-in-out infinite reverse;
}
.hero-orb-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(147,51,234,.1) 0%, transparent 70%);
    top: 40%; left: 30%;
    animation: orb-float 12s ease-in-out infinite 2s;
}
@keyframes orb-float {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(30px,-40px) scale(1.04); }
    66%      { transform: translate(-20px,20px) scale(.97); }
}
@keyframes pulse {
    0%,100% { opacity:.4; }
    50%      { opacity:.7; }
}
/* subtle grid */
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 40%, transparent 100%);
    pointer-events: none;
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-logo {
    height: 90px;
    width: auto;
    display: block;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 24px rgba(91,108,249,.25));
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(91,108,249,.12);
    border: 1px solid rgba(91,108,249,.25);
    color: #a5b4fc;
    font-size: .8rem;
    font-weight: 600;
    padding: .3rem .75rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    letter-spacing: .03em;
}
.hero-badge .dot {
    width: 6px; height: 6px;
    background: #5b6cf9;
    border-radius: 50%;
    animation: blink 1.8s ease-in-out infinite;
}
@keyframes blink {
    0%,100% { opacity: 1; } 50% { opacity: .3; }
}
.hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    color: #fff;
    margin-bottom: 1.25rem;
}
.hero-sub {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}
.hero-ctas {
    display: flex;
    align-items: center;
    gap: .875rem;
    flex-wrap: wrap;
}
.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
    color: #fff;
    border: none;
    padding: .8rem 1.75rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow var(--trans), transform var(--trans), opacity var(--trans);
    box-shadow: 0 4px 24px rgba(91,108,249,.35);
    text-decoration: none;
}
.btn-hero-primary:hover {
    opacity: .92;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(91,108,249,.5);
    color: #fff;
}
.btn-hero-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: .8rem 1.5rem;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--trans), background var(--trans), color var(--trans);
    text-decoration: none;
    display: inline-flex; align-items: center; gap: .4rem;
}
.btn-hero-ghost:hover {
    border-color: var(--border-h);
    background: rgba(91,108,249,.06);
    color: #fff;
}
.hero-note {
    margin-top: 1.25rem;
    font-size: .8rem;
    color: var(--muted);
    display: flex; align-items: center; gap: .35rem;
}
.hero-note svg { flex-shrink: 0; }

/* ── Mock Dashboard (hero visual) ─────────────────────── */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.mock-wrap {
    width: 100%;
    max-width: 420px;
    animation: mock-float 6s ease-in-out infinite;
    filter: drop-shadow(0 32px 80px rgba(91,108,249,.2));
}
@keyframes mock-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}
.mock-card {
    background: rgba(13,13,26,.92);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.25rem;
    backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
}
.mock-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--purple), var(--accent));
}
.mock-topbar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border);
}
.mock-shop-name {
    font-weight: 700; font-size: .9rem; color: #fff;
}
.mock-status {
    font-size: .7rem; font-weight: 600;
    color: #4ade80;
    background: rgba(74,222,128,.1);
    border: 1px solid rgba(74,222,128,.2);
    border-radius: 6px;
    padding: .2rem .6rem;
}
.mock-vehicle-row {
    display: flex; align-items: center; gap: .75rem;
    margin-bottom: .875rem;
}
.mock-plate-tag {
    background: rgba(91,108,249,.15);
    border: 1px solid rgba(91,108,249,.3);
    color: #a5b4fc;
    font-size: .82rem;
    font-weight: 700;
    padding: .25rem .7rem;
    border-radius: 7px;
    letter-spacing: .05em;
}
.mock-vehicle-name {
    color: var(--muted); font-size: .8rem;
}
.mock-align-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: .5rem; margin-bottom: 1rem;
}
.mock-corner {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .6rem .75rem;
}
.mock-corner-label {
    font-size: .68rem; color: var(--muted); font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem;
}
.mock-readings-row {
    display: flex; gap: .5rem; align-items: center; flex-wrap: wrap;
}
.mock-reading {
    font-size: .78rem; font-weight: 700;
}
.mock-reading.before { color: #fb923c; }
.mock-reading.after  { color: #4ade80; }
.mock-arrow { color: var(--muted); font-size: .65rem; }
.mock-footer-row {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: .75rem;
    border-top: 1px solid var(--border);
}
.mock-bill-num {
    font-size: .78rem; color: var(--muted); font-weight: 500;
}
.mock-total {
    font-size: 1.1rem; font-weight: 800; color: #fff;
}
.mock-paid-badge {
    font-size: .68rem; font-weight: 700; color: #4ade80;
    background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.2);
    border-radius: 5px; padding: .15rem .5rem; margin-left: .4rem;
}
/* Floating mini cards */
.mock-mini {
    position: absolute;
    background: rgba(13,13,26,.95);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: .6rem .9rem;
    backdrop-filter: blur(16px);
    font-size: .78rem;
    white-space: nowrap;
    animation: mock-float 7s ease-in-out infinite;
}
.mock-mini-1 {
    top: -1.5rem; right: -1.5rem;
    animation-delay: 1s;
    border-color: rgba(91,108,249,.3);
}
.mock-mini-2 {
    bottom: -1.25rem; left: -1.25rem;
    animation-delay: 2.5s;
    border-color: rgba(249,115,22,.25);
}
.mini-num { font-weight: 800; font-size: 1.1rem; display: block; }
.mini-label { color: var(--muted); }

/* ── Stats bar ─────────────────────────────────────────── */
.stats-bar {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
}
.stats-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
}
.stat-num {
    font-size: 2.25rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: .25rem;
}
.stat-label { color: var(--muted); font-size: .875rem; }

/* ── Features ──────────────────────────────────────────── */
.features-section {
    padding: 6rem 1.5rem;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.feat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--card-r);
    padding: 1.75rem;
    transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
    position: relative;
    overflow: hidden;
}
.feat-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(91,108,249,.04), transparent);
    opacity: 0;
    transition: opacity var(--trans);
}
.feat-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-h);
    box-shadow: 0 16px 48px rgba(91,108,249,.12);
}
.feat-card:hover::after { opacity: 1; }
.feat-icon {
    width: 48px; height: 48px;
    background: rgba(91,108,249,.12);
    border: 1px solid rgba(91,108,249,.2);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    color: #a5b4fc;
}
.feat-card.accent-orange .feat-icon {
    background: rgba(249,115,22,.1); border-color: rgba(249,115,22,.2); color: #fb923c;
}
.feat-card.accent-purple .feat-icon {
    background: rgba(147,51,234,.1); border-color: rgba(147,51,234,.2); color: #c084fc;
}
.feat-card.accent-green .feat-icon {
    background: rgba(74,222,128,.08); border-color: rgba(74,222,128,.15); color: #4ade80;
}
.feat-card.accent-teal .feat-icon {
    background: rgba(45,212,191,.08); border-color: rgba(45,212,191,.15); color: #2dd4bf;
}
.feat-card.accent-yellow .feat-icon {
    background: rgba(250,204,21,.08); border-color: rgba(250,204,21,.15); color: #facc15;
}
.feat-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .5rem;
}
.feat-desc {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── How it works ──────────────────────────────────────── */
.how-section {
    padding: 5rem 1.5rem;
    background: var(--bg2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.steps-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 24px; left: calc(16.66% + 24px); right: calc(16.66% + 24px);
    height: 1px;
    background: linear-gradient(90deg, var(--primary), var(--purple));
    opacity: .25;
}
.step-card {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}
.step-num {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 4px 20px rgba(91,108,249,.35);
    position: relative;
    z-index: 1;
}
.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .5rem;
}
.step-desc {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ── CTA strip ─────────────────────────────────────────── */
.cta-section {
    padding: 6rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(91,108,249,.08) 0%, transparent 70%);
    pointer-events: none;
}
.cta-inner { max-width: 600px; margin: 0 auto; position: relative; }
.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -.03em;
    color: #fff;
    line-height: 1.15;
    margin-bottom: .75rem;
}
.cta-sub {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}
.cta-actions {
    display: flex; align-items: center; justify-content: center;
    gap: 1rem; flex-wrap: wrap;
}

/* ── Footer ────────────────────────────────────────────── */
.land-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 1.5rem;
    text-align: center;
}
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: .8rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
    font-size: .8rem; color: var(--muted); text-decoration: none;
    transition: color var(--trans);
}
.footer-links a:hover { color: var(--text); }

/* ── Modals ────────────────────────────────────────────── */
.modal-content {
    background: #0e0e1c !important;
    border: 1px solid var(--border) !important;
    border-radius: 20px !important;
    color: var(--text) !important;
}
.modal-header {
    border-bottom: 1px solid var(--border) !important;
    padding: 1.5rem 1.75rem 1.25rem !important;
}
.modal-title { font-weight: 800; font-size: 1.2rem; color: #fff !important; }
.btn-close { filter: invert(1) !important; opacity: .5 !important; }
.btn-close:hover { opacity: 1 !important; }
.modal-body { padding: 1.5rem 1.75rem !important; }
.modal-footer {
    border-top: 1px solid var(--border) !important;
    padding: 1rem 1.75rem !important;
    justify-content: flex-start !important;
}
.modal-footer-note { font-size: .8rem; color: var(--muted); }
.modal-footer-note a { color: var(--primary); text-decoration: none; }
.modal-footer-note a:hover { text-decoration: underline; }

/* form fields */
.field-group { margin-bottom: 1.25rem; }
.field-label {
    display: block;
    font-size: .8rem; font-weight: 600; color: #c5cae9;
    margin-bottom: .4rem; letter-spacing: .02em;
}
.field-required { color: #f87171; margin-left: .2rem; }
.field-optional { color: var(--muted); font-weight: 400; font-size: .75rem; }
.field-input {
    width: 100%;
    background: rgba(255,255,255,.04) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    color: var(--text) !important;
    padding: .65rem .9rem !important;
    font-size: .925rem !important;
    transition: border-color var(--trans), box-shadow var(--trans) !important;
    outline: none !important;
    max-width: 100% !important;
}
.field-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(91,108,249,.18) !important;
}
.field-input::placeholder { color: #4a5568 !important; }
.subdomain-row {
    display: flex;
    align-items: stretch;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color var(--trans), box-shadow var(--trans);
}
.subdomain-row:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(91,108,249,.18);
}
.subdomain-input {
    flex: 1; min-width: 0;
    background: transparent;
    border: none;
    color: var(--text);
    padding: .65rem .9rem;
    font-size: .925rem;
    outline: none;
    max-width: 100% !important;
}
.subdomain-input::placeholder { color: #4a5568; }
.subdomain-suffix {
    padding: .65rem .9rem;
    color: var(--muted);
    font-size: .85rem;
    white-space: nowrap;
    border-left: 1px solid var(--border);
    background: rgba(255,255,255,.025);
    display: flex; align-items: center;
}
.field-hint {
    font-size: .75rem; color: var(--muted);
    margin-top: .35rem; line-height: 1.4;
}
.field-error {
    font-size: .8rem; color: #f87171;
    margin-top: .35rem; display: none;
}
.form-error-box {
    background: rgba(248,113,113,.08);
    border: 1px solid rgba(248,113,113,.2);
    border-radius: 8px;
    padding: .65rem .875rem;
    font-size: .85rem;
    color: #fca5a5;
    margin-bottom: 1rem;
    display: none;
}
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-d));
    border: none;
    color: #fff;
    padding: .75rem 1.5rem;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity var(--trans), transform var(--trans), box-shadow var(--trans);
    box-shadow: 0 4px 20px rgba(91,108,249,.3);
}
.btn-submit:hover:not(:disabled) {
    opacity: .92; transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(91,108,249,.45);
}
.btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── Scroll-reveal ─────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* ── Responsive ────────────────────────────────────────── */

/* tablet: ≤ 991px */
@media (max-width: 991px) {
    .hero-section { padding: 8rem 1.5rem 4rem; }
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    .hero-logo { margin-left: auto; margin-right: auto; }
    .hero-sub, .section-sub { max-width: 100%; }
    .hero-ctas { justify-content: center; }
    .hero-note { justify-content: center; }
    .hero-visual { order: -1; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .steps-grid::before { display: none; }
    .features-section, .cta-section { padding: 4rem 1.5rem; }
    .how-section { padding: 4rem 1.5rem; }
}

/* mobile: ≤ 767px */
@media (max-width: 767px) {
    /* nav — Bootstrap d-md-none/d-none.d-md-flex handles link/action visibility */
    .nav-inner { flex-wrap: wrap; padding-bottom: .5rem; }
    .nav-mobile-menu a, .nav-mobile-menu button {
        display: block; text-align: center; width: 100%;
        padding: .65rem 1rem;
    }

    /* hero */
    .hero-section { padding: 6.5rem 1.25rem 3.5rem; min-height: auto; }
    .hero-logo { height: 72px; }
    .hero-headline { font-size: clamp(1.9rem, 8vw, 2.5rem); }
    .hero-sub { font-size: 1rem; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .btn-hero-primary,
    .btn-hero-ghost { width: 100%; justify-content: center; text-align: center; }
    .hero-note { font-size: .75rem; }
    .mock-mini { display: none; }

    /* mock card: tighten internals */
    .mock-card { padding: 1rem; border-radius: 14px; }
    .mock-align-grid { gap: .375rem; }
    .mock-corner { padding: .5rem .6rem; }
    .mock-corner-label { font-size: .62rem; }
    .mock-reading { font-size: .72rem; }
    .mock-total { font-size: 1rem; }

    /* stats */
    .stats-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
        justify-items: center;
    }
    .stat-num { font-size: 1.8rem; }

    /* sections */
    .features-section, .cta-section { padding: 3.5rem 1.25rem; }
    .how-section { padding: 3.5rem 1.25rem; }
    .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .features-grid { grid-template-columns: 1fr; }
    .feat-card { padding: 1.35rem; }

    /* CTA buttons */
    .cta-actions { flex-direction: column; align-items: stretch; }
    .cta-actions .btn-hero-primary,
    .cta-actions .btn-hero-ghost { width: 100%; justify-content: center; }

    /* footer */
    .footer-inner { flex-direction: column; align-items: center; text-align: center; }
    .footer-links { justify-content: center; }

    /* modals */
    .modal-dialog { margin: .75rem !important; max-width: calc(100vw - 1.5rem) !important; }
    .modal-header { padding: 1.25rem 1.25rem 1rem !important; }
    .modal-body { padding: 1.25rem !important; }
    .modal-footer { padding: .875rem 1.25rem !important; }
}

/* small phones: ≤ 400px */
@media (max-width: 400px) {
    .hero-section { padding: 6rem 1rem 3rem; }
    .hero-logo { height: 60px; }
    .hero-headline { font-size: 1.75rem; }
    .hero-badge { font-size: .72rem; }
    .stats-inner { gap: 1.25rem .75rem; }
    .stat-num { font-size: 1.6rem; }
    .stat-label { font-size: .78rem; }
    .mock-align-grid { grid-template-columns: 1fr 1fr; }
    .nav-logo-img { height: 36px; }
    .btn-hero-primary, .btn-hero-ghost { padding: .75rem 1.25rem; font-size: .9rem; }
}
