:root {
    --blue: #0a7ee8;
    --blue-dark: #0066cc;
    --blue-deeper: #004a99;
    --blue-tint: rgba(224, 242, 255, 0.45);
    --blue-tint-light: rgba(224, 242, 255, 0.35);
    --blue-tint-strong: rgba(200, 234, 255, 0.6);
    --blue-hover: rgba(10, 126, 232, 0.1);
    --blue-glow: rgba(10, 126, 232, 0.3);
}

/* ── Marketing page layout ── */
.marketing-page {
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 40%);
}

.section-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.75rem;
}

.section-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 1rem;
}

.section-sub {
    font-size: 1.0625rem;
    color: #6e6e73;
    line-height: 1.5;
    max-width: 560px;
    margin: 0 0 2.5rem;
}

/* ── Hero copy (below garage) ── */
.hero-copy {
    text-align: center;
    padding: 2rem 1.5rem 4rem;
    max-width: 720px;
    margin: 0 auto;
}

.hero-copy h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1d1d1f;
    margin: 0 0 1rem;
    line-height: 1.1;
}

.hero-copy .subhead {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #6e6e73;
    line-height: 1.5;
    margin: 0 0 2rem;
}

.hero-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: min(100%, 28rem);
    margin: 0 auto 1.25rem;
}

.hero-ctas .buy-button,
.hero-ctas .secondary-button {
    padding: 0.875rem 1.5rem;
    text-align: center;
    box-sizing: border-box;
}

.hero-ctas .buy-button {
    border: 2px solid transparent;
}

.secondary-button {
    padding: 1.2vh 1.5rem;
    background: transparent;
    border: 2px solid var(--blue);
    border-radius: 20px;
    color: var(--blue);
    font-size: inherit;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.secondary-button:hover {
    background: var(--blue-hover);
}

.trust-line {
    font-size: 0.875rem;
    color: #86868b;
}

.trust-line span {
    margin: 0 0.4rem;
}

.garage-reveal {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12%;
    margin: 0;
    padding: 0 1.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
    z-index: 55;
}

.garage-reveal-title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1d1d1f;
}

.garage-reveal-sub {
    margin: 0;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 500;
    color: #6e6e73;
    letter-spacing: -0.01em;
}

.scroll-hint {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8a97a8;
    pointer-events: none;
    z-index: 60;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.scroll-hint::after {
    content: "";
    width: 30px;
    height: 38px;
    border: 2px solid rgba(10, 126, 232, 0.35);
    border-radius: 13px;
    position: relative;
}

.scroll-hint::before {
    content: "";
    position: absolute;
    bottom: 14px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    background: var(--blue);
    border-radius: 4px;
    animation: scrollWheel 1.8s ease-in-out infinite;
    z-index: 1;
}

.scroll-hint.hidden {
    opacity: 0;
}

body.garage-scroll-locked {
    overscroll-behavior: none;
}

body.garage-scroll-locked #garage-boundary {
    touch-action: none;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translateY(-12px); opacity: 0; }
}

/* ── Value props ── */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.value-card {
    background: rgba(224, 242, 255, 0.45);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.value-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-card .icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.value-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 0.4rem;
}

.value-card p {
    font-size: 0.9375rem;
    color: #6e6e73;
    margin: 0;
    line-height: 1.45;
}

/* ── Split-open device section ── */
#explode-section {
    position: relative;
    height: 200vh;
}

.explode-sticky {
    position: sticky;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    overflow: hidden;
}

.explode-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    align-items: center;
}

.explode-copy h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
}

.explode-step {
    padding: 1rem 0;
    border-left: 3px solid var(--blue);
    padding-left: 1rem;
    margin-left: -1rem;
    opacity: 1;
}

.explode-step h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 0.25rem;
}

.explode-step p {
    font-size: 0.9375rem;
    color: #6e6e73;
    margin: 0;
    line-height: 1.45;
}

.device-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 380px;
    margin: 0 auto;
}

.device-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    transform-origin: center center;
}

.device-layer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.device-layer.bottom {
    z-index: 1;
}

.device-layer.top {
    z-index: 2;
}

/* ── How it works ── */
.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.how-step {
    text-align: center;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s, transform 0.5s;
}

.how-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.how-step .num {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 20px var(--blue-glow);
}

.how-step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 0.5rem;
}

.how-step p {
    font-size: 0.9375rem;
    color: #6e6e73;
    margin: 0;
    line-height: 1.45;
}

.install-link {
    display: inline-block;
    margin-top: 2.5rem;
    color: var(--blue);
    font-weight: 500;
    text-decoration: none;
}

.install-link:hover {
    text-decoration: underline;
}

/* ── Feature spotlights ── */
.spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s, transform 0.6s;
}

.spotlight.visible {
    opacity: 1;
    transform: translateY(0);
}

.spotlight.reverse {
    direction: rtl;
}

.spotlight.reverse > * {
    direction: ltr;
}

.spotlight-visual {
    background: rgba(224, 242, 255, 0.5);
    border-radius: 20px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.spotlight-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.spotlight-text p {
    font-size: 1rem;
    color: #6e6e73;
    line-height: 1.55;
    margin: 0;
}

/* ── Social proof ── */
.proof-band {
    background: rgba(224, 242, 255, 0.35);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
}

.stars {
    font-size: 1.5rem;
    color: #f5a623;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.rating-text {
    font-size: 1rem;
    color: #6e6e73;
    margin-bottom: 2rem;
}

.review-quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    text-align: left;
}

.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.review-card p {
    font-size: 0.9375rem;
    color: #1d1d1f;
    line-height: 1.5;
    margin: 0 0 0.75rem;
    font-style: italic;
}

.review-card cite {
    font-size: 0.8125rem;
    color: #86868b;
    font-style: normal;
}

/* ── Compatibility ── */
.compat-box {
    background: rgba(224, 242, 255, 0.4);
    border-radius: 14px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.compat-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.compat-tag {
    background: #fff;
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
    color: #1d1d1f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.compat-result {
    font-size: 0.9375rem;
    color: #6e6e73;
    margin: 0;
}

/* ── FAQ ── */
.faq-list {
    max-width: 720px;
}

.faq-toggle {
    width: 100%;
    text-align: left;
    background: rgba(224, 242, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1d1d1f;
    transition: background 0.2s;
}

.faq-toggle:hover {
    background: rgba(224, 242, 255, 0.6);
}

.faq-toggle .chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--blue);
}

.faq-toggle.open .chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
}

.faq-answer.open {
    max-height: 200px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    font-size: 0.9375rem;
    color: #6e6e73;
    line-height: 1.55;
    margin: 0;
}

/* ── Final CTA ── */
.final-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
    border-radius: 24px;
    padding: 4rem 2rem;
    color: #fff;
    margin: 0 1.5rem 6rem;
    max-width: calc(1100px - 3rem);
    margin-left: auto;
    margin-right: auto;
}

.final-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.final-cta p {
    font-size: 1.0625rem;
    opacity: 0.9;
    margin: 0 0 2rem;
}

.final-cta .buy-button {
    background: #fff;
    color: var(--blue);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
}

.final-cta .trust-line {
    color: rgba(255, 255, 255, 0.75);
    margin-top: 1.25rem;
}

@media (max-width: 768px) {
    .explode-inner,
    .spotlight,
    .steps-row {
        grid-template-columns: 1fr;
    }

    .spotlight.reverse {
        direction: ltr;
    }

    .explode-copy {
        order: 2;
    }

    .explode-copy h2 {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }

    .explode-step {
        padding: 0.5rem 0;
    }

    .device-stage {
        max-width: min(68vw, 240px);
        margin: 0 auto 0.75rem;
    }

    #explode-section {
        height: 210vh;
    }
}
