/* ============================================================
   mob-connect landing — styles.css
   Visual language ported from ituranmob-website (reference only).
   Palette, Inter typography, navy/teal system. Mobile-first.
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy-brand: #0c1c33;
    --navy-gradient: linear-gradient(135deg, #0c1c33 0%, #1a2f4d 100%);
    --navy-light: #16294a;
    --teal-brand: #5dbfbd;
    --teal-deep: #3a9c9a;
    --teal-cta: #1f8f8b;      /* primary-CTA gradient start (deeper saturation, §5.1) */
    --teal-cta-deep: #17807d; /* primary-CTA gradient end */
    --green-brand: #96c93e;
    --white: #ffffff;
    --gray-light: #f4f6f8;
    --gray-bg-alt: #eef2f6;
    --gray-medium: #5c6672;   /* AA on white (>=4.5:1) */
    --gray-dark: #26303c;
    --border-color: #e0e0e0;
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 78px; } /* keep headings clear of sticky nav on anchor jumps */

body {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    overflow-x: hidden;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { color: var(--navy-brand); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: 3rem; letter-spacing: -1px; }
h2 { font-size: 2.25rem; letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; }
a { text-decoration: none; color: inherit; transition: color 0.25s; }
ul { list-style: none; }

.text-teal { color: var(--teal-brand); }
.text-center { text-align: center; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.section-header p { color: var(--gray-medium); font-size: 1.1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 700; color: var(--teal-deep); margin-bottom: 0.75rem; }
.section-header .eyebrow, .control-intro .eyebrow { color: var(--teal-deep); font-size: 0.8rem; }
.control-section .eyebrow, .trusted-section .eyebrow { color: var(--teal-brand); text-align: center; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-block; padding: 0.85rem 1.9rem; border-radius: 6px; font-weight: 600;
    cursor: pointer; transition: all 0.25s ease; border: none; font-size: 1rem; font-family: inherit;
    text-align: center;
}
.btn-primary {
    /* Deeper teal saturation (brief §5.1 CTA contrast, 2026-07-21): the filled
       button marks the KPI action. Also lifts white-text contrast to ~4.3-5:1. */
    background: linear-gradient(135deg, var(--teal-cta) 0%, var(--teal-cta-deep) 100%);
    color: var(--white); box-shadow: 0 4px 15px rgba(23, 128, 125, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(23, 128, 125, 0.45); }
.btn-secondary { background-color: transparent; border: 2px solid var(--navy-brand); color: var(--navy-brand); }
.btn-secondary:hover { background-color: var(--navy-brand); color: var(--white); }
/* Ghost secondary: thinner border (brief §5.1 CTA contrast — recedes vs. primary) */
.btn-ghost-light { background: transparent; border: 1px solid rgba(255,255,255,0.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy-brand); border-color: #fff; }
.btn-lg { padding: 1rem 2.6rem; font-size: 1.1rem; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, .faq-question:focus-visible {
    outline: 3px solid var(--teal-brand); outline-offset: 3px; border-radius: 4px;
}

/* ========== NAVIGATION ========== */
.navbar { background-color: var(--navy-brand); padding: 0.9rem 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 40px; width: auto; display: block; }
.nav-menu { display: flex; gap: 1.8rem; align-items: center; }
.nav-menu a { color: var(--white); font-weight: 500; font-size: 1rem; }
.nav-menu a:hover { color: var(--teal-brand); }
.mobile-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; line-height: 1; }

/* ========== HERO ========== */
.hero {
    /* Tightened (Lena review): cap the vh-driven height so the content block
       stays vertically centered without a band of dead space below it. */
    position: relative; min-height: min(82vh, 700px); display: flex; align-items: center; justify-content: center;
    background-color: var(--navy-brand); overflow: hidden; color: var(--white); padding: 4rem 0;
}
.hero-bg-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(12,28,51,0.92) 0%, rgba(12,28,51,0.62) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: 2rem; text-align: center; }
.hero-content h1 { color: var(--white); margin-bottom: 1.5rem; text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
.hero-content h1 .text-teal { color: var(--teal-brand); text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.3rem; color: rgba(255,255,255,0.94); margin: 0 auto 2.5rem; max-width: 720px; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.hero-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.hero-content .hero-reqs {
    margin: 1.75rem auto 0; max-width: 860px; display: flex; flex-wrap: wrap; justify-content: center;
    gap: 0.4rem 1.4rem; font-size: 0.92rem; font-weight: 500; color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero-reqs .req { white-space: nowrap; }
.hero-reqs .check { color: var(--teal-brand); font-weight: 700; margin-right: 0.35rem; }

/* ========== PROBLEM ========== */
.problem-section { padding: 5.5rem 0; background-color: var(--white); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.problem-card {
    background: var(--gray-light); border-radius: 12px; padding: 2.25rem;
    border: 1px solid rgba(0,0,0,0.04); border-top: 4px solid var(--teal-brand);
}
.problem-icon { width: 46px; height: 46px; color: var(--teal-deep); margin-bottom: 1.1rem; }
.problem-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.problem-card p { color: var(--gray-medium); font-size: 0.98rem; margin: 0; }

/* ========== HOW IT WORKS ========== */
.how-section { padding: 5.5rem 0; background-color: var(--gray-light); }
.how-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3.5rem; align-items: start; }
.step-list { display: flex; flex-direction: column; gap: 1.6rem; }
.step-item { display: flex; gap: 1.3rem; align-items: flex-start; }
.step-number {
    width: 42px; height: 42px; background-color: var(--navy-brand); color: var(--white); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; font-size: 1.05rem;
}
.step-item h4 { font-size: 1.12rem; margin-bottom: 0.25rem; color: var(--navy-brand); }
.step-item p { font-size: 0.97rem; color: var(--gray-medium); margin: 0; }
.step-tag {
    display: inline-block; margin-top: 0.5rem !important; text-transform: uppercase;
    letter-spacing: 1.5px; font-size: 0.68rem !important; font-weight: 700; color: var(--teal-deep) !important;
    border: 1px solid rgba(58,156,154,0.4); border-radius: 999px; padding: 0.15rem 0.7rem;
}
/* Mid-page CTA (brief §7 — after conviction moments) */
.mid-cta { text-align: center; margin-top: 3.5rem; }
.how-visual { display: flex; flex-direction: column; gap: 1.25rem; }
.architecture-wrapper {
    background: var(--navy-gradient); border-radius: 12px; padding: 1rem;
    box-shadow: 0 18px 40px rgba(12,28,51,0.15); display: flex; align-items: center; justify-content: center;
}
.architecture-img { width: 100%; max-width: 100%; height: auto; max-height: 420px; object-fit: cover; display: block; border-radius: 6px; }
.arch-caption { text-align: center; font-size: 0.85rem; color: var(--gray-medium); margin: -0.25rem 0 0; }
/* ---- API sub-section band (brief §5.3) ---- */
.api-band {
    margin-top: 3.5rem; background: var(--navy-gradient); border: 1px solid rgba(93,191,189,0.28);
    border-radius: 12px; padding: 3rem; box-shadow: 0 18px 40px rgba(12,28,51,0.15);
    display: grid; grid-template-columns: 6fr 5fr; gap: 3rem; align-items: center;
}
.api-band-copy h3 { color: var(--white); font-size: 1.55rem; letter-spacing: -0.3px; margin-bottom: 0.9rem; }
.api-band-copy p { color: rgba(255,255,255,0.82); font-size: 1.02rem; line-height: 1.6; margin: 0; }
.api-band-link { display: inline-block; margin-top: 1.25rem; color: var(--teal-brand); font-weight: 600; font-size: 1rem; }
.api-band-link:hover { text-decoration: underline; }
.api-band-img {
    width: 100%; height: auto; display: block; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.14);
}

/* ========== CONTROL (keyless, not control-less) ========== */
.control-section { background: var(--navy-gradient); color: var(--white); padding: 6rem 0; }
.control-section h2 { color: var(--white); }
.control-intro { max-width: 780px; margin: 0 auto 3.5rem; text-align: center; }
.control-intro p { color: rgba(255,255,255,0.82); font-size: 1.15rem; }
.control-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.control-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px;
    padding: 2rem 1.6rem; transition: all 0.3s ease;
}
.control-card:hover { border-color: var(--teal-brand); transform: translateY(-4px); background: rgba(255,255,255,0.08); }
.control-icon { width: 44px; height: 44px; color: var(--teal-brand); margin-bottom: 1.1rem; }
.control-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 0.5rem; }
.control-card p { color: rgba(255,255,255,0.78); font-size: 0.93rem; margin: 0; }
.control-callout {
    margin-top: 3rem; text-align: center; max-width: 720px; margin-left: auto; margin-right: auto;
    font-size: 1.15rem; color: var(--white); font-weight: 500;
}
.control-callout span { color: var(--teal-brand); }

/* ========== TRUSTED BY (§5.5 — removable, data-driven block) ========== */
.trusted-section { padding: 6rem 0; background-color: var(--navy-brand); border-top: 1px solid rgba(255,255,255,0.06); }
.trusted-heading { text-align: center; color: var(--white); font-size: 1.6rem; margin-bottom: 3rem; }
.trusted-logos {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 3rem 5rem;
}
.trusted-logos img {
    height: 52px; width: auto; max-width: 210px; object-fit: contain;
    opacity: 0.85; transition: opacity 0.25s;
}
.trusted-logos img:hover { opacity: 1; }
.testimonial-slot { max-width: 760px; margin: 3rem auto 0; text-align: center; }
.testimonial-slot blockquote {
    color: rgba(255,255,255,0.92); font-size: 1.25rem; font-style: italic; line-height: 1.5; border: none; margin: 0;
}
.testimonial-slot cite { display: block; margin-top: 1rem; color: var(--teal-brand); font-style: normal; font-weight: 600; font-size: 0.95rem; }

/* ========== WHY (pillars) ========== */
.why-section { padding: 6rem 0; background-color: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.why-card { text-align: left; }
.why-icon { width: 46px; height: 46px; color: var(--teal-deep); margin-bottom: 1.1rem; }
.why-card h3 { font-size: 1.18rem; margin-bottom: 0.6rem; }
.why-card p { color: var(--gray-medium); font-size: 0.96rem; margin: 0; }
.cite-ref {
    font-size: 0.72rem; vertical-align: super; color: var(--teal-deep); font-weight: 700; margin-left: 2px;
    cursor: help; text-decoration: none;
}
.why-sources { margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid var(--border-color); }
.why-sources ol { list-style: decimal; padding-left: 1.25rem; max-width: 900px; margin: 0 auto; }
.why-sources li { font-size: 0.82rem; color: var(--gray-medium); margin-bottom: 0.4rem; line-height: 1.4; }

/* ---- Trust video band — Porsche Carrera Cup (brief §5.6) ---- */
.porsche-band {
    margin-top: 4rem; background: var(--navy-gradient); border: 1px solid rgba(93,191,189,0.28);
    border-radius: 12px; padding: 3rem; box-shadow: 0 18px 40px rgba(12,28,51,0.15);
    display: grid; grid-template-columns: 5fr 6fr; gap: 3rem; align-items: center;
}
.porsche-band-copy h3 {
    color: var(--white); font-size: 1.55rem; line-height: 1.35; letter-spacing: -0.3px; margin: 0;
}
.porsche-video-wrap {
    position: relative; border-radius: 10px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14); background: #000;
}
.porsche-video-wrap video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.porsche-play {
    position: absolute; inset: 0; width: 100%; height: 100%; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    background: rgba(12,28,51,0.28); transition: background 0.25s;
}
.porsche-play:hover { background: rgba(12,28,51,0.45); }
.porsche-play[hidden] { display: none; } /* class display:flex would otherwise beat the UA [hidden] rule */
.porsche-play-circle {
    width: 72px; height: 72px; border-radius: 50%; color: var(--white);
    background: linear-gradient(135deg, var(--teal-brand) 0%, var(--teal-deep) 100%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.35); transition: transform 0.25s;
}
.porsche-play:hover .porsche-play-circle { transform: scale(1.08); }
.porsche-play-circle svg { width: 30px; height: 30px; margin-left: 3px; }
.porsche-support { margin: 0.9rem 0 0; font-size: 0.82rem; color: rgba(255,255,255,0.62); line-height: 1.5; }
.porsche-cta { margin-top: 1.75rem; padding: 0.65rem 1.5rem; font-size: 0.95rem; }

/* ========== TURO FLEETS (brief §5.6b) ========== */
.turo-section { padding: 6rem 0; background-color: var(--navy-brand); border-top: 1px solid rgba(255,255,255,0.06); }
.turo-section .eyebrow { color: var(--teal-brand); }
.turo-section h2 { color: var(--white); }
.turo-header { margin-bottom: 3rem; }
.turo-header .turo-sub { color: rgba(255,255,255,0.85); font-size: 1.15rem; }
.turo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; max-width: 1080px; margin: 0 auto; }
.turo-card {
    display: flex; gap: 1rem; align-items: flex-start;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px; padding: 1.9rem 1.6rem;
}
.turo-check {
    width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-cta) 0%, var(--teal-cta-deep) 100%);
    color: var(--white); display: flex; align-items: center; justify-content: center;
}
.turo-check svg { width: 16px; height: 16px; }
.turo-card h3 { color: var(--white); font-size: 1.05rem; line-height: 1.4; margin-bottom: 0.45rem; }
.turo-card p { color: rgba(255,255,255,0.78); font-size: 0.93rem; margin: 0; }
.turo-cta { text-align: center; margin-top: 3rem; }

/* ========== FULL-SOLUTION BAND (brief §5.9a — project offering) ========== */
.fullsol-section { padding: 5.5rem 0; background-color: var(--gray-bg-alt); }
.fullsol-band {
    background: var(--navy-gradient); border: 1px solid rgba(93,191,189,0.28); border-radius: 14px;
    padding: 4rem 3rem; text-align: center; max-width: 980px; margin: 0 auto;
    box-shadow: 0 18px 40px rgba(12,28,51,0.15);
}
.fullsol-band .eyebrow { color: var(--teal-brand); }
.fullsol-band h2 { color: var(--white); }
.fullsol-band .fullsol-sub {
    color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 680px; margin: 0 auto 2.25rem;
}

/* ========== PRICING ========== */
.pricing-section { padding: 6rem 0; background-color: var(--gray-bg-alt); }
.section-header .pricing-anchor { color: var(--navy-brand); font-size: 1.12rem; font-weight: 500; margin-top: 0.25rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 880px; margin: 0 auto; align-items: stretch; }
.price-card {
    background: var(--white); border-radius: 14px; padding: 2.5rem; position: relative;
    border: 1px solid var(--border-color); display: flex; flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover { transform: translateY(-5px); box-shadow: 0 18px 45px rgba(12,28,51,0.1); }
.price-card.featured {
    border: 2px solid var(--teal-brand);
    box-shadow: 0 14px 40px rgba(12,28,51,0.12);
    padding-top: 3rem;
}
.price-badge {
    position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--teal-brand) 0%, var(--teal-deep) 100%);
    color: var(--white); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.3px;
    padding: 0.4rem 1.1rem; border-radius: 999px; white-space: nowrap;
    box-shadow: 0 4px 14px rgba(58,156,154,0.35);
}
.plan-name { font-size: 1.25rem; font-weight: 700; color: var(--navy-brand); margin-bottom: 0.75rem; }
.price { font-size: 2.6rem; font-weight: 700; color: var(--navy-brand); line-height: 1; margin-bottom: 0.35rem; }
.price span { font-size: 1rem; color: var(--gray-medium); font-weight: 400; }
.price-promo { font-size: 0.92rem; color: var(--gray-medium); margin-bottom: 0.35rem; }
.device-cost { font-size: 0.92rem; color: var(--teal-deep); font-weight: 600; margin-bottom: 1.5rem; }
.price-card hr { border: 0; border-top: 1px solid var(--border-color); margin: 0 0 1.5rem; width: 100%; }
.price-features { margin-bottom: 2rem; flex-grow: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.price-features li { font-size: 0.95rem; display: flex; align-items: flex-start; line-height: 1.4; color: var(--gray-dark); }
.price-features li::before { content: '✓'; color: var(--teal-brand); font-weight: 900; margin-right: 0.7rem; flex-shrink: 0; }
.price-features li.api-line { font-weight: 600; }
.price-btn { width: 100%; margin-top: auto; }
.pricing-fine {
    max-width: 880px; margin: 2rem auto 0; font-size: 0.85rem; color: var(--gray-medium); line-height: 1.6;
}
.pricing-friendly {
    max-width: 880px; margin: 2.5rem auto 0.5rem; text-align: center; font-size: 1rem;
    color: var(--navy-brand); font-weight: 500;
}
.pricing-fine ul { list-style: disc; padding-left: 1.25rem; margin-top: 0.5rem; }
.pricing-fine li { margin-bottom: 0.3rem; }

/* ---- Installation support strip (brief §5.7b) ---- */
.install-strip { margin-top: 4rem; }
.install-intro { text-align: center; max-width: 680px; margin: 0 auto 2.5rem; }
.install-intro h3 { font-size: 1.75rem; letter-spacing: -0.4px; margin-bottom: 0.6rem; }
.install-sub { color: var(--gray-medium); font-size: 1.08rem; margin: 0; }
.install-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.install-card {
    background: var(--white); border-radius: 12px; padding: 2.25rem;
    border: 1px solid var(--border-color); border-top: 4px solid var(--teal-brand);
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.install-icon { width: 44px; height: 44px; color: var(--teal-deep); margin-bottom: 1.1rem; }
.install-card h4 { font-size: 1.12rem; color: var(--navy-brand); margin-bottom: 0.5rem; }
.install-card p { color: var(--gray-medium); font-size: 0.95rem; margin: 0; }

/* ========== FAQ ========== */
.faq-section { padding: 5.5rem 0; background-color: var(--white); }
.faq-grid { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question {
    width: 100%; text-align: left; background: none; border: none; font-family: inherit;
    font-weight: 600; color: var(--navy-brand); font-size: 1.05rem; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.5rem 0;
}
.faq-icon { font-weight: 300; font-size: 1.6rem; color: var(--teal-brand); transition: transform 0.25s; flex-shrink: 0; line-height: 1; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--gray-medium); font-size: 0.97rem; line-height: 1.6; }
.faq-answer-inner { padding-bottom: 1.5rem; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* ========== BOTTOM CTA ========== */
.bottom-cta { background: var(--navy-brand); color: var(--white); padding: 5rem 0; text-align: center; }
.bottom-cta h2 { color: var(--white); font-size: 2.5rem; }
.bottom-cta p { color: rgba(255,255,255,0.85); font-size: 1.2rem; margin-bottom: 2rem; }

/* ========== FOOTER ========== */
.footer { background-color: var(--navy-brand); color: rgba(255,255,255,0.72); padding: 4rem 0 2rem; font-size: 0.92rem; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 3rem; margin-bottom: 3rem; }
.footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 1.4rem; }
.footer p { line-height: 1.6; margin-bottom: 0.8rem; }
.footer ul li { margin-bottom: 0.75rem; }
.footer a:hover { color: var(--teal-brand); }
.footer .footer-logo { height: 36px; margin-bottom: 1.2rem; }
.footer a[href^="mailto"] { color: var(--white); }
.copyright { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; font-size: 0.85rem; }

/* ========== MODAL / DEMO FORM ========== */
.modal { display: none; position: fixed; inset: 0; z-index: 2000; background-color: rgba(12,28,51,0.82); backdrop-filter: blur(4px); }
.modal.active { display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-content {
    background: var(--white); padding: 2.75rem; border-radius: 14px; width: 100%; max-width: 520px;
    position: relative; box-shadow: 0 25px 60px rgba(0,0,0,0.3); max-height: 92vh; overflow-y: auto;
}
.modal-content h2 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.modal-intro { margin-bottom: 1.5rem; color: var(--gray-medium); font-size: 0.97rem; }
.close-modal { position: absolute; right: 1.25rem; top: 1rem; font-size: 1.75rem; cursor: pointer; color: var(--gray-medium); background: none; border: none; line-height: 1; }
.close-modal:hover { color: var(--navy-brand); }
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; margin-bottom: 0.45rem; font-weight: 600; font-size: 0.92rem; color: var(--gray-dark); }
.form-field .optional { font-weight: 400; color: var(--gray-medium); font-size: 0.85em; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 0.8rem; border: 1px solid #c7cdd4; border-radius: 6px; font-size: 1rem; font-family: inherit; color: var(--gray-dark); background: #fff;
}
.form-field textarea { resize: vertical; min-height: 72px; }
.form-field input[type="date"] { min-height: 48px; } /* iOS date inputs collapse without a height floor */
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--teal-brand); outline: none; box-shadow: 0 0 0 3px rgba(93,191,189,0.25); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-error { color: #c0392b; font-size: 0.85rem; margin-top: 0.4rem; display: none; }
.form-field.invalid .form-error { display: block; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid textarea { border-color: #c0392b; }
.form-submit-error {
    background: #fdecea; border: 1px solid #f0b9b3; border-radius: 6px; color: #a93226;
    font-size: 0.92rem; line-height: 1.5; padding: 0.8rem 1rem; margin-bottom: 1.1rem;
}
.form-submit-error a { color: #a93226; font-weight: 600; text-decoration: underline; }

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.9rem; }
    .how-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .api-band { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem; }
    .install-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .control-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .porsche-band { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem; text-align: center; }
    .porsche-band-copy h3 { font-size: 1.35rem; }
    .turo-grid { grid-template-columns: 1fr; max-width: 560px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .nav-menu {
        display: none; flex-direction: column; position: absolute; top: 62px; left: 0; width: 100%;
        background-color: var(--navy-brand); padding: 1.5rem 2rem; gap: 1.2rem; align-items: flex-start;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }
    .nav-menu.open { display: flex; }
    .mobile-toggle { display: block; }
}
@media (max-width: 680px) {
    .container { padding: 0 1.25rem; }
    .hero { min-height: 0; }
    .hero-content p { font-size: 1.1rem; }
    .problem-grid { grid-template-columns: 1fr; }
    .control-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .porsche-band { padding: 1.75rem 1.25rem; }
    .porsche-band-copy h3 { font-size: 1.2rem; }
    .porsche-play-circle { width: 60px; height: 60px; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
    .price-badge { white-space: normal; text-align: center; width: max-content; max-width: 92%; }
    .api-band { padding: 1.75rem 1.25rem; }
    .api-band-copy h3 { font-size: 1.3rem; }
    .fullsol-band { padding: 2.75rem 1.5rem; }
    .turo-cta .btn, .mid-cta .btn { width: 100%; }
    .install-card { padding: 1.75rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .trusted-logos { gap: 2.25rem; }
    .bottom-cta h2 { font-size: 2rem; }
    .hero-btns .btn { width: 100%; }
    .modal-content { padding: 2rem 1.5rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; animation: none !important; }
}
