﻿*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI',sans-serif;
    background: #FAFAFE;
}

/* ============================================================
   BRAND VARIABLES
============================================================ */

:root {
    --color-primary-purple: #431A92;
    --color-deep-purple: #271155;
    --color-primary-green: #45B714;
    --color-bright-green: #74D93C;
    --color-white: #FFFFFF;
    --color-soft-purple: #F6F3FB;
    --color-dark-text: #17131F;

    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;

    --header-height: 118px;

    /* Depth layer — added for richer backgrounds/gradients in later phases */
    --color-purple-mid: #6C2BD9;
    --color-purple-soft: #9B5CF6;
    --gradient-hero: linear-gradient(135deg, var(--color-deep-purple) 0%, var(--color-primary-purple) 55%, var(--color-purple-mid) 100%);
    /* Steeper, two-stop, more uniform than --gradient-hero — used for the "editorial
       spotlight" anchor so it doesn't read as a duplicate of the hero gradient. */
    --gradient-deep: linear-gradient(160deg, var(--color-deep-purple) 0%, var(--color-primary-purple) 100%);
    --surface-glass: rgba(255, 255, 255, 0.65);
    --shadow-soft: 0 8px 30px rgba(67, 26, 146, 0.08);
    --shadow-elevated: 0 20px 60px rgba(39, 17, 85, 0.18);
}

/* ============================================================
   SKIP LINK (accessibility)
============================================================ */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;

    background: var(--color-primary-purple);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 700;

    padding: 10px 16px;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* ============================================================
   SITE HEADER / NAVIGATION
============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    font-family: var(--font-body);

    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(67, 26, 146, 0.10);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    height: var(--header-height);
}

/* Brand */

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.brand-mark {
    height: 90px;
    width: auto;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.7rem;
    color: var(--color-primary-purple);
    letter-spacing: -0.5px;
}

/* Primary nav */

.primary-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
}

.nav-list > li {
    position: relative;
}

.nav-list a,
.nav-dropdown-toggle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-dark-text);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.nav-list a:hover,
.nav-dropdown-toggle:hover,
.nav-list a.active,
.nav-dropdown-toggle.active {
    color: var(--color-primary-purple);
}

.nav-list a.active,
.nav-dropdown-toggle.active {
    font-weight: 700;
}

/* Products dropdown */

.nav-item-dropdown {
    position: relative;
}

.chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .chevron {
    transform: rotate(-135deg);
}

.nav-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 8px;

    position: absolute;
    top: calc(100% + 10px);
    left: 0;

    min-width: 170px;

    background: var(--color-white);
    border: 1px solid rgba(67, 26, 146, 0.10);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(23, 19, 31, 0.12);

    display: none;
}

.nav-dropdown-menu.open {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.92rem;
}

.nav-dropdown-menu a:hover {
    background: var(--color-soft-purple);
    color: var(--color-primary-purple);
}

/* CTA buttons */

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 8px;
    padding: 10px 20px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-outline {
    color: var(--color-primary-purple);
    border: 1.5px solid var(--color-primary-purple);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-soft-purple);
}

.btn-primary {
    color: var(--color-white);
    background: var(--color-primary-purple);
    border: 1.5px solid var(--color-primary-purple);
}

.btn-primary:hover {
    background: var(--color-deep-purple);
    border-color: var(--color-deep-purple);
}

/* Mobile nav toggle */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

    width: 42px;
    height: 42px;

    background: none;
    border: 1px solid rgba(67, 26, 146, 0.15);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle-bar {
    width: 20px;
    height: 2px;
    background: var(--color-primary-purple);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   RESPONSIVE NAVIGATION
============================================================ */

@media (max-width: 1100px) {

    .nav-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        background: var(--color-white);
        border-top: 1px solid rgba(67, 26, 146, 0.10);
        box-shadow: 0 16px 30px rgba(23, 19, 31, 0.10);

        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;

        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }

    .primary-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 20px;
    }

    .nav-list > li {
        border-bottom: 1px solid rgba(67, 26, 146, 0.08);
    }

    .nav-list a,
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 14px 4px;
    }

    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        display: none;
        padding-left: 12px;
    }

    .nav-dropdown-menu.open {
        display: block;
    }

    .nav-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 16px 20px 20px;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 100px;
    }

    .brand-name {
        font-size: 1.35rem;
    }

    .brand-mark {
        height: 72px;
    }
}

/* ============================================================
   HOMEPAGE — GLOBAL HELPERS
============================================================ */

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#products {
    scroll-margin-top: var(--header-height);
}

.section {
    padding: 88px 20px;
}

.section-alt {
    background: var(--color-soft-purple);
}

.section-inner {
    max-width: 1160px;
    margin: 0 auto;
}

.section-header {
    max-width: 680px;
    margin: 0 0 48px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-primary-purple);
    margin-bottom: 12px;
}

.section-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    color: var(--color-dark-text);
    margin: 0 0 14px;
    line-height: 1.2;
}

.section-lead {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(23, 19, 31, 0.78);
    line-height: 1.7;
    margin: 0;
}

/* Icon badge */

.icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--color-soft-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-purple);
    margin-bottom: 18px;
}

.icon-badge svg {
    width: 26px;
    height: 26px;
}

.icon-badge.accent-green {
    background: rgba(69, 183, 20, 0.10);
    color: var(--color-primary-green);
}

/* Card grid (services / why-choose cards) */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.card {
    background: var(--color-white);
    border: 1px solid rgba(67, 26, 146, 0.10);
    border-radius: 14px;
    padding: 30px 26px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(23, 19, 31, 0.08);
    border-color: rgba(67, 26, 146, 0.18);
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-dark-text);
    margin: 0 0 10px;
}

/* "What We Provide" cards also carry .reveal for their scroll-in animation.
   .reveal's own transition/is-visible rules sit later in this file and, at
   equal specificity, were (a) replacing .card's transition list wholesale
   — dropping box-shadow/border-color, so hover changes snapped instead of
   animating — and (b) once a card settled into .is-visible, permanently
   beating .card:hover's translateY(-4px) lift, since transform: none carried
   the same specificity but later source order. Result: the floating/lift
   effect that still works on the reveal-free reference cards (Products/BLite,
   Products/BPro) was silently cancelled here. This restores it without
   touching .reveal itself (used site-wide) or .card (used on the reference
   pages) — scoped via .section-alt, the only .section-alt section using
   .card-grid ("Why Billezy" uses .card-grid without .section-alt; other
   .section-alt sections use different grid classes). */
.section-alt .card-grid .card {
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.section-alt .card-grid .card.is-visible {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    transition-delay: 0s;
}

.section-alt .card-grid .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(23, 19, 31, 0.08);
    border-color: rgba(67, 26, 146, 0.18);
}

@media (prefers-reduced-motion: reduce) {
    .section-alt .card-grid .card,
    .section-alt .card-grid .card.is-visible {
        transition: none;
    }
}

.card p {
    font-family: var(--font-body);
    color: rgba(23, 19, 31, 0.78);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   HERO
============================================================ */

/* ----------------------------------------------------------
   Hero: the REVEAL image (GOOD / positive) sits underneath, the
   FRONT image (BAD / overwhelmed) sits on top. main.js toggles
   .is-revealed on the FRONT image on an automatic timer; a soft
   directional gradient mask sweeps the FRONT image in and out,
   feathered at the boundary rather than a hard wipe or a plain
   opacity crossfade. GOOD is always what's visible at rest/on
   load. Reduced-motion and mobile both fall back to a static
   GOOD image (see the relevant media queries below).
---------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: clamp(560px, 86vh, 900px);
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, var(--color-soft-purple) 0%, var(--color-white) 65%);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-visual-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-fit: contain; */
    object-position: center 38%;
    display: block;
}

.hero-visual-reveal {
    z-index: 1;
}

/* Soft directional wipe: a feathered diagonal band slides the BAD image
   across the GOOD one (and back) rather than a hard edge or opacity fade. */
.hero-visual-front {
    z-index: 2;
    -webkit-mask-image: linear-gradient(100deg,
        transparent 0%,
        transparent 33%,
        rgba(0, 0, 0, 1) 67%,
        rgba(0, 0, 0, 1) 100%);
    mask-image: linear-gradient(100deg,
        transparent 0%,
        transparent 33%,
        rgba(0, 0, 0, 1) 67%,
        rgba(0, 0, 0, 1) 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 300% 100%;
    mask-size: 300% 100%;
    -webkit-mask-position: -100% 0;
    mask-position: -100% 0;
    transition: -webkit-mask-position 1s ease-in-out;
    transition: mask-position 1s ease-in-out;
}

.hero-visual-front.is-revealed {
    -webkit-mask-position: 100% 0;
    mask-position: 100% 0;
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual-front {
        transition: none;
        mask-image: none;
        -webkit-mask-image: none;
        opacity: 0;
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1160px;
    margin: 0 auto;
    width: 100%;
    padding: 120px 24px;
    text-align: left;
}

/* Atmospheric readability glow: a radial gradient fading to fully
   transparent well before the box edge, so no rectangle is ever
   visible — just soft light pooling behind the text, in the same
   deep purple used across the site's dark sections/gradients. */
.hero-copy {
    position: relative;
    max-width: 620px;
    padding: 64px 52px;
    background: radial-gradient(ellipse at center,
        rgba(39, 17, 85, 0.80) 0%,
        rgba(39, 17, 85, 0.55) 42%,
        rgba(39, 17, 85, 0) 72%);
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 6px;
    background: rgba(39, 17, 85, 0.78);
    border: 1px solid rgba(116, 217, 60, 0.35);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(23, 19, 31, 0.3);
    color: var(--color-bright-green);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.4px;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    line-height: 1.15;
    color: var(--color-white);
    margin: 0 0 20px;
}

.hero-lead {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    max-width: 560px;
    margin: 0 0 34px;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 44px;
}

.hero-copy .btn-outline {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.55);
}

.hero-copy .btn-outline:hover {
    background: rgba(255, 255, 255, 0.10);
}

.hero-copy .btn-primary {
    background: var(--color-primary-green);
    border-color: var(--color-primary-green);
}

.hero-copy .btn-primary:hover {
    background: var(--color-bright-green);
    border-color: var(--color-bright-green);
}

.trust-badges {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-copy .trust-badge {
    background: rgba(39, 17, 85, 0.68);
    border-color: rgba(255, 255, 255, 0.24);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 18px rgba(23, 19, 31, 0.28);
    color: var(--color-white);
}

.hero-copy .trust-badge svg {
    color: var(--color-bright-green);
}

/* Tablet: keep the immersive overlay composition, just scaled down. */
@media (max-width: 1024px) {
    .hero {
        min-height: clamp(520px, 78vh, 760px);
    }

    .hero-inner {
        padding: 90px 24px;
    }

    .hero-copy {
        padding: 48px 38px;
    }

    .hero h1 {
        font-size: clamp(1.9rem, 4.6vw, 2.6rem);
    }
}

/* Mobile: no hover, so no reveal interaction — revert to the graceful
   static fallback (FRONT image only, normal document flow, plain
   background behind dark text) instead of forcing the overlay
   composition into a cramped, hard-to-read small viewport. */
@media (max-width: 860px) {
    .hero {
        min-height: 0;
        display: block;
        background: var(--color-white);
    }

    .hero-media {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 4 / 3;
    }

    .hero-inner {
        padding: 32px 20px 44px;
    }

    .hero-copy {
        max-width: 100%;
        padding: 0;
        text-align: center;
        background: none;
    }

    .hero-badge {
        margin-bottom: 18px;
    }

    .hero h1 {
        color: var(--color-dark-text);
        font-weight: 800;
        font-size: clamp(2.1rem, 9vw, 2.6rem);
        line-height: 1.08;
        letter-spacing: -0.5px;
        max-width: 300px;
        margin: 0 auto 20px;
    }

    .hero-lead {
        color: rgba(23, 19, 31, 0.78);
        margin: 0 auto 34px;
    }

    .hero-actions,
    .trust-badges {
        justify-content: center;
    }

    .hero-copy .btn-outline {
        color: var(--color-primary-purple);
        border-color: var(--color-primary-purple);
    }

    .hero-copy .btn-outline:hover {
        background: var(--color-soft-purple);
    }

    .hero-copy .btn-primary {
        background: var(--color-primary-purple);
        border-color: var(--color-primary-purple);
    }

    .hero-copy .btn-primary:hover {
        background: var(--color-deep-purple);
        border-color: var(--color-deep-purple);
    }

}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    background: var(--color-white);
    border: 1px solid rgba(67, 26, 146, 0.12);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--color-dark-text);
}

.trust-badge svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary-green);
}

/* ============================================================
   WHO IS BILLEZY
============================================================ */

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.about-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.about-logo img {
    max-width: 280px;
    width: 100%;
}

@media (max-width: 860px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-logo {
        order: -1;
    }
}

/* ============================================================
   PRODUCTS
============================================================ */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
}

.product-card {
    background: var(--color-white);
    border: 1px solid rgba(67, 26, 146, 0.10);
    border-radius: 16px;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(23, 19, 31, 0.10);
}

.product-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-dark-text);
    margin: 16px 0 10px;
}

.product-card p {
    font-family: var(--font-body);
    color: rgba(23, 19, 31, 0.78);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 0 20px;
}

.feature-list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--color-dark-text);
}

.feature-list svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary-green);
    flex-shrink: 0;
}

.product-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* ============================================================
   SUPPORT ACROSS KERALA
============================================================ */

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.support-address {
    background: var(--color-white);
    border: 1px solid rgba(67, 26, 146, 0.10);
    border-radius: 14px;
    padding: 26px;
    font-family: var(--font-body);
    color: var(--color-dark-text);
    line-height: 1.7;
}

.support-address strong {
    display: block;
    color: var(--color-primary-purple);
    margin-bottom: 6px;
}

.support-cta {
    margin-top: 26px;
}

@media (max-width: 860px) {
    .support-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================================
   TEASER BANDS (Business Updates / Download Centre)
============================================================ */

.teaser-band {
    background: var(--color-white);
    border: 1px solid rgba(67, 26, 146, 0.10);
    border-radius: 16px;
    padding: 46px 40px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.teaser-band p {
    font-family: var(--font-body);
    color: rgba(23, 19, 31, 0.78);
    line-height: 1.7;
    margin: 0 0 26px;
}

/* ============================================================
   FINAL CTA
============================================================ */

.final-cta {
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    padding: 80px 20px;
    text-align: center;
}

/* Same opposite-corner recipe as .page-hero — the confident, familiar "bookend"
   treatment, since customers have already seen this exact language on inner pages. */
.final-cta::before,
.final-cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}

.final-cta::before {
    width: 320px;
    height: 320px;
    background: var(--color-bright-green);
    top: -120px;
    right: -80px;
}

.final-cta::after {
    width: 280px;
    height: 280px;
    background: var(--color-purple-soft);
    bottom: -100px;
    left: -60px;
}

.final-cta .section-inner {
    position: relative;
    z-index: 1;
}

.final-cta .section-heading {
    color: var(--color-white);
}

.final-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.final-cta .btn-outline {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.final-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.final-cta .btn-primary {
    background: var(--color-primary-green);
    border-color: var(--color-primary-green);
    color: var(--color-white);
}

.final-cta .btn-primary:hover {
    background: var(--color-bright-green);
    border-color: var(--color-bright-green);
}

/* ============================================================
   HOMEPAGE RESPONSIVE ADJUSTMENTS
============================================================ */

@media (max-width: 640px) {
    .section {
        padding: 60px 20px;
    }

    .final-cta {
        padding: 60px 20px;
    }

    .teaser-band {
        padding: 34px 24px;
    }
}

/* ============================================================
   SITE FOOTER
============================================================ */

.site-footer {
    background: var(--color-deep-purple);
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-body);
}

.footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 70px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo-panel {
    display: inline-flex;
    align-items: center;
    background: var(--color-white);
    border-radius: 16px;
    padding: 22px 30px;
    margin-bottom: 18px;
    max-width: 100%;
    box-shadow: var(--shadow-elevated);
}

.footer-logo {
    height: 72px;
    width: auto;
    max-width: 100%;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 18px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
}

.footer-social-link:hover {
    background: var(--color-primary-green);
    color: var(--color-white);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--color-white);
    margin: 0 0 18px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--color-bright-green);
}

.footer-contact li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.92rem;
}

.footer-contact-label {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.72);
}

address {
    font-style: normal;
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.footer-support-note {
    margin: 14px 0 0;
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 24px;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;

    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-logo-panel {
        padding: 16px 22px;
    }

    .footer-logo {
        height: 52px;
    }
}

/* ============================================================
   INNER PAGE HERO (About / Contact / Dealer / Downloads)
============================================================ */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 20px 80px;
    background: var(--gradient-hero);
    text-align: center;
}

.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    pointer-events: none;
}

.page-hero::before {
    width: 340px;
    height: 340px;
    background: var(--color-bright-green);
    top: -130px;
    right: -90px;
}

.page-hero::after {
    width: 280px;
    height: 280px;
    background: var(--color-purple-soft);
    bottom: -110px;
    left: -70px;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease both;
}

.page-hero-badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.4px;
    margin-bottom: 22px;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4.4vw, 2.9rem);
    line-height: 1.18;
    color: var(--color-white);
    margin: 0 0 18px;
}

.page-hero-lead {
    font-family: var(--font-body);
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    max-width: 620px;
    margin: 0 auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-hero-inner {
        animation: none;
    }
}

/* ============================================================
   STATUS BADGE (e.g. "Coming Soon")
============================================================ */

.status-badge {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(69, 183, 20, 0.12);
    color: var(--color-primary-green);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    vertical-align: middle;
}

/* ============================================================
   DISTRICT / SUPPORT AREA CHIPS
============================================================ */

.district-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.district-chip {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--color-soft-purple);
    color: var(--color-primary-purple);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.86rem;
}

/* ============================================================
   CONTACT PAGE
============================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-details-card,
.form-cta-card,
.dealer-card {
    background: var(--color-white);
    border: 1px solid rgba(67, 26, 146, 0.10);
    border-radius: 16px;
    padding: 34px 30px;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.2s ease;
}

.contact-details-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-dark-text);
    margin: 0 0 22px;
}

.contact-detail-list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-detail-list .icon-badge {
    margin-bottom: 0;
    flex-shrink: 0;
}

.contact-detail-list a,
.contact-detail-list span {
    font-family: var(--font-body);
    color: var(--color-dark-text);
    font-size: 0.95rem;
    text-decoration: none;
}

.contact-detail-list a:hover {
    color: var(--color-primary-purple);
}

.contact-quick-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(67, 26, 146, 0.10);
}

.contact-forms {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-forms .reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.form-cta-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-dark-text);
    margin: 0 0 8px;
}

.form-cta-card p {
    font-family: var(--font-body);
    color: rgba(23, 19, 31, 0.78);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px;
}

.form-cta-card:hover,
.dealer-card:hover,
.contact-details-card:hover {
    box-shadow: var(--shadow-elevated);
}

.contact-office {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(67, 26, 146, 0.10);
}

.contact-office .icon-badge {
    margin-bottom: 0;
    flex-shrink: 0;
}

.contact-eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--color-primary-purple);
    margin-bottom: 6px;
}

.contact-office h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-dark-text);
    margin: 0 0 10px;
}

.contact-office address {
    color: var(--color-dark-text);
}

.contact-details-card .footer-social-link {
    background: rgba(67, 26, 146, 0.08);
    color: var(--color-primary-purple);
}

.contact-subheading {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: var(--color-dark-text);
    margin: 0 0 16px;
}

.support-areas-band {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--color-white);
    border: 1px solid rgba(67, 26, 146, 0.10);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    margin-top: 40px;
}

.support-areas-band .icon-badge {
    flex-shrink: 0;
    margin-bottom: 0;
}

.support-areas-band h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-dark-text);
    margin: 0 0 8px;
}

.support-areas-band p {
    font-family: var(--font-body);
    color: rgba(23, 19, 31, 0.78);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .support-areas-band {
        flex-direction: column;
    }
}

/* ============================================================
   DEALER PAGE
============================================================ */

.dealer-card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.dealer-card .icon-badge {
    margin: 0 auto 18px;
}

/* ============================================================
   DOWNLOADS PAGE
============================================================ */

.guidance-band {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.guidance-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--color-soft-purple);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-dark-text);
}

.guidance-item .icon-badge {
    width: 34px;
    height: 34px;
    margin-bottom: 0;
}

.guidance-item .icon-badge svg {
    width: 18px;
    height: 18px;
}

.guidance-warning {
    background: rgba(220, 38, 38, 0.08);
    color: #9f1d1d;
}

.guidance-warning .icon-badge {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
}

.download-card {
    background: var(--color-white);
    border: 1px solid rgba(67, 26, 146, 0.10);
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-elevated);
}

.download-card.featured {
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
    color: var(--color-white);
    padding: 40px 36px;
    margin-bottom: 26px;
    box-shadow: var(--shadow-elevated);
}

/* Stronger visual importance for the one card that matters most on this page —
   a single contained blob (not the full two-corner treatment), scaled to a card
   rather than a full section. */
.download-card.featured::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: var(--color-bright-green);
    filter: blur(70px);
    opacity: 0.25;
    top: -90px;
    right: -60px;
    pointer-events: none;
}

.download-card-content {
    position: relative;
    z-index: 1;
}

.download-card.featured:hover {
    transform: none;
}

.download-card.featured .section-heading {
    color: var(--color-white);
}

.download-card.featured .section-lead {
    color: rgba(255, 255, 255, 0.85);
}

.download-card.featured .status-badge {
    background: rgba(255, 255, 255, 0.18);
    color: var(--color-white);
    margin-bottom: 14px;
    margin-left: 0;
}

.download-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--color-dark-text);
    margin: 0 0 8px;
}

.download-card p {
    font-family: var(--font-body);
    color: rgba(23, 19, 31, 0.78);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 20px;
}

.download-access-hint {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(23, 19, 31, 0.55);
    margin: 14px 0 0;
}

.download-card.featured .download-access-hint {
    color: rgba(255, 255, 255, 0.75);
}

.download-note {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(23, 19, 31, 0.6);
    margin: 0 0 40px;
    max-width: 640px;
}

/* ============================================================
   DOWNLOAD REQUEST (LEAD-GATE) FORM + STATUS NOTICES
============================================================ */

.page-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(69, 183, 20, 0.08);
    border: 1px solid rgba(69, 183, 20, 0.25);
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 40px;
}

.page-notice .icon-badge {
    margin-bottom: 0;
    flex-shrink: 0;
}

.page-notice p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-dark-text);
    line-height: 1.65;
    margin: 0;
}

.download-request-card {
    background: var(--color-white);
    border: 1px solid rgba(67, 26, 146, 0.10);
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: var(--shadow-elevated);
    margin-bottom: 40px;
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.download-request-target {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    color: var(--color-primary-purple);
    background: var(--color-soft-purple);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.download-request-card h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-dark-text);
    margin: 0 0 8px;
}

.download-request-card > p {
    font-family: var(--font-body);
    color: rgba(23, 19, 31, 0.78);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 26px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--color-dark-text);
}

.form-field input,
.form-field select {
    font-family: var(--font-body);
    font-size: 0.94rem;
    color: var(--color-dark-text);
    padding: 11px 14px;
    border-radius: 8px;
    border: 1.5px solid rgba(67, 26, 146, 0.18);
    background: var(--color-white);
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--color-primary-purple);
}

.form-field textarea {
    font-family: var(--font-body);
    font-size: 0.94rem;
    color: var(--color-dark-text);
    padding: 11px 14px;
    border-radius: 8px;
    border: 1.5px solid rgba(67, 26, 146, 0.18);
    background: var(--color-white);
    min-height: 90px;
    resize: vertical;
}

.form-field textarea:focus {
    outline: none;
    border-color: var(--color-primary-purple);
}

.form-field.full-width {
    grid-column: 1 / -1;
}

.form-field-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    grid-column: 1 / -1;
}

.form-field-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--color-primary-purple);
}

.form-field-checkbox label {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(23, 19, 31, 0.72);
}

.field-error {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: #dc2626;
}

.required-mark {
    color: #dc2626;
    margin-left: 3px;
    font-weight: 700;
}

.validation-summary-valid {
    display: none;
}

.validation-summary-errors {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}

.validation-summary-errors li {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: #9f1d1d;
    line-height: 1.5;
}

.form-note {
    font-family: var(--font-body);
    font-size: 0.84rem;
    color: rgba(23, 19, 31, 0.55);
    line-height: 1.6;
    margin: 20px 0 0;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .download-request-card {
        padding: 26px 22px;
    }

    .page-notice {
        flex-direction: column;
    }
}

.download-paths {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.download-path h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-primary-purple);
    margin: 0 0 18px;
}

.download-path-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

@media (max-width: 640px) {
    .page-hero {
        padding: 70px 20px 56px;
    }

    .download-card.featured {
        padding: 30px 24px;
    }

    .guidance-band {
        flex-direction: column;
    }
}

/* ============================================================
   PRODUCT PAGES — POSITIONING / USE CASES
============================================================ */

.product-positioning p {
    font-family: var(--font-body);
    color: rgba(23, 19, 31, 0.78);
    line-height: 1.75;
    font-size: 1rem;
    margin: 0 0 16px;
}

.product-positioning p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   PRODUCT STATUS PANEL (e.g. "Coming Soon")
============================================================ */

.product-status-panel {
    position: relative;
    overflow: hidden;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 40px;
    border-radius: 20px;
    background: var(--gradient-hero);
    color: var(--color-white);
    box-shadow: var(--shadow-elevated);
}

/* Restrained single blob — aspirational but quiet, matching Coming Soon's tone. */
.product-status-panel::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--color-purple-soft);
    filter: blur(80px);
    opacity: 0.3;
    bottom: -80px;
    left: -60px;
    pointer-events: none;
}

.product-status-panel > * {
    position: relative;
    z-index: 1;
}

.product-status-panel .status-badge {
    background: rgba(255, 255, 255, 0.18);
    color: var(--color-white);
    margin: 0 0 18px;
}

.product-status-panel h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--color-white);
    margin: 0 0 14px;
}

.product-status-panel p {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin: 0 0 26px;
}

.product-status-panel .final-cta-actions {
    margin-top: 0;
}

.product-status-panel .btn-outline {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.product-status-panel .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

.product-status-panel .btn-primary {
    background: var(--color-primary-green);
    border-color: var(--color-primary-green);
    color: var(--color-white);
}

.product-status-panel .btn-primary:hover {
    background: var(--color-bright-green);
    border-color: var(--color-bright-green);
}

/* ============================================================
   B LITE — FEATURE CATEGORY BROCHURE (9 categories)
============================================================ */

.blite-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.blite-feature-card {
    background: var(--color-white);
    border: 1px solid rgba(67, 26, 146, 0.10);
    border-radius: 14px;
    padding: 28px 26px;
    box-shadow: var(--shadow-soft);
}

.blite-feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-dark-text);
    margin: 16px 0 8px;
}

.blite-feature-card > p {
    font-family: var(--font-body);
    color: rgba(23, 19, 31, 0.78);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 16px;
}

.blite-feature-tags {
    list-style: none;
    margin: 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(67, 26, 146, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blite-feature-tags li {
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--color-primary-purple);
    background: var(--color-soft-purple);
    padding: 5px 10px;
    border-radius: 20px;
}

/* ============================================================
   PRODUCT SHOWCASE — real marketing screenshots
   These images already carry their own device frame, gradient
   environment and glow, so only restrained presentation effects
   are applied here: shadow, hover lift/scale, scroll-reveal,
   generous spacing. No extra frame or background is layered on.
============================================================ */

.showcase-copy {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.showcase-copy.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.showcase-visual {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);

    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.35s ease;
}

.showcase-visual.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.showcase-visual img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.showcase-visual:hover {
    box-shadow: var(--shadow-elevated);
}

.showcase-visual:hover img {
    transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
    .showcase-copy,
    .showcase-visual {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .showcase-visual:hover img {
        transform: none;
    }
}

/* Homepage — featured + secondary layout, not a flat gallery */

.product-showcase-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
    gap: 28px;
    margin-top: 50px;
}

.showcase-featured {
    position: relative;
}

.showcase-featured::before {
    content: "";
    position: absolute;
    inset: -18px;
    background: var(--gradient-hero);
    filter: blur(50px);
    opacity: 0.2;
    z-index: -1;
    border-radius: 30px;
}

/* Product Showcase anchor — deliberately NOT a dark panel like Business Updates/
   Final CTA: the screenshots already carry their own gradient environment as part
   of the image, so this stays light with a diffuse ambient wash rather than
   discrete corner blobs, for a genuinely different composition. Shared by the
   homepage, B Lite, and B Pro showcase sections (all use .product-showcase). */
.product-showcase {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 900px 520px at 15% 10%, rgba(155, 92, 246, 0.12), transparent 60%),
        radial-gradient(ellipse 760px 520px at 88% 92%, rgba(69, 183, 20, 0.10), transparent 60%);
}

.showcase-secondary-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.showcase-secondary-stack .showcase-visual:nth-child(2) {
    transition-delay: 0.12s;
}

@media (max-width: 900px) {
    .product-showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-secondary-stack {
        flex-direction: row;
    }
}

@media (max-width: 640px) {
    .showcase-secondary-stack {
        flex-direction: column;
    }
}

/* Product pages — full sequential showcase */

.showcase-sequence {
    display: flex;
    flex-direction: column;
    gap: 64px;
    margin-top: 10px;
}

.showcase-sequence-item {
    max-width: 880px;
    margin: 0 auto;
    width: 100%;
}

.showcase-caption {
    margin: 18px 0 0;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary-purple);
}

@media (max-width: 640px) {
    .product-status-panel {
        padding: 34px 26px;
    }
}

/* ============================================================
   BUSINESS UPDATES — cards, homepage showcase, article page
============================================================ */

.update-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid rgba(67, 26, 146, 0.10);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.update-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.update-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-soft-purple);
}

.update-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.update-card-body {
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.update-category {
    display: inline-block;
    align-self: flex-start;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--color-primary-purple);
    background: var(--color-soft-purple);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.update-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-dark-text);
    margin: 0 0 8px;
    line-height: 1.35;
}

.update-date {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(23, 19, 31, 0.5);
    margin-bottom: 10px;
}

.update-card-body p {
    font-family: var(--font-body);
    color: rgba(23, 19, 31, 0.78);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 16px;
}

.update-read-more {
    margin-top: auto;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--color-primary-purple);
}

/* Featured/lead-story treatment — used on the homepage teaser AND the Updates
   listing page's lead story. Modest size bump only; secondary cards are untouched. */
.update-featured .update-card-body h3 {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.3;
}

.update-lead-story {
    margin-bottom: 56px;
}

.update-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

.update-grid .update-card:nth-child(2) {
    transition-delay: 0.08s;
}

.update-grid .update-card:nth-child(3) {
    transition-delay: 0.16s;
}

.update-grid .update-card:nth-child(4) {
    transition-delay: 0.24s;
}

.update-empty-state {
    text-align: center;
    padding: 50px 20px;
    background: var(--color-white);
    border: 1px solid rgba(67, 26, 146, 0.10);
    border-radius: 16px;
}

.update-empty-state p {
    font-family: var(--font-body);
    color: rgba(23, 19, 31, 0.6);
    margin: 0;
}

/* Homepage — 1 featured + 2 secondary, same shape as the product showcase grid */

.updates-showcase-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
    gap: 28px;
    margin-top: 50px;
}

.update-secondary-stack {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.update-secondary-stack .update-card-body {
    padding: 20px 24px 22px;
}

.update-secondary-stack .update-card-body h3 {
    font-size: 1.02rem;
}

.updates-view-all {
    text-align: center;
    margin-top: 40px;
}

/* Business Updates anchor — "editorial spotlight": a single large corner blob on
   --gradient-deep, deliberately different from Final CTA's symmetric two-corner
   --gradient-hero treatment, so the two dark anchors don't read as duplicates.
   The white .update-card components inside are unchanged — they simply float on
   a dark backdrop here instead of a light one. */
.updates-spotlight {
    position: relative;
    overflow: hidden;
    background: var(--gradient-deep);
}

.updates-spotlight::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: var(--color-bright-green);
    filter: blur(100px);
    opacity: 0.16;
    top: -140px;
    right: -100px;
    pointer-events: none;
}

.updates-spotlight .section-header,
.updates-spotlight .updates-showcase-grid,
.updates-spotlight .updates-view-all {
    position: relative;
    z-index: 1;
}

.updates-spotlight .section-tag {
    color: rgba(255, 255, 255, 0.75);
}

.updates-spotlight .section-heading {
    color: var(--color-white);
    font-size: clamp(2rem, 3.8vw, 2.9rem);
}

.updates-spotlight .section-lead {
    color: rgba(255, 255, 255, 0.75);
}

.updates-spotlight .updates-view-all .btn-outline {
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.updates-spotlight .updates-view-all .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
    .updates-showcase-grid {
        grid-template-columns: 1fr;
    }

    .update-secondary-stack {
        flex-direction: row;
    }
}

@media (max-width: 640px) {
    .update-secondary-stack {
        flex-direction: column;
    }
}

/* Article detail page */

.article-body {
    max-width: 720px;
}

.article-image {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 32px;
}

.article-body p {
    font-family: var(--font-body);
    color: rgba(23, 19, 31, 0.78);
    font-size: 1.02rem;
    line-height: 1.8;
    margin: 0 0 20px;
}

.article-back {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(67, 26, 146, 0.10);
}

/* ============================================================
   ABOUT PAGE — editorial story layout
   Deliberately distinct from the homepage: no card grids, larger
   type, more whitespace, a timeline, one dark statement band, and
   a typographic (not card-based) principles list.
============================================================ */

/* Scroll-reveal utility for below-the-fold story content — same
   fade/rise mechanism as .showcase-visual/.showcase-copy, just
   without their box/shadow styling, and observed via the same
   IntersectionObserver in main.js. */

.story-reveal,
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.story-reveal.is-visible,
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .story-reveal,
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Subtle staggers for grids that now use .reveal — homepage feature/product
   cards, Downloads' secondary resources. Same stagger scale already used
   elsewhere (About's timeline/principles, the homepage showcase stack). */
.card-grid .reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.card-grid .reveal:nth-child(3) {
    transition-delay: 0.16s;
}

.card-grid .reveal:nth-child(4) {
    transition-delay: 0.24s;
}

.product-grid .reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.download-path-items .reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.download-path-items .reveal:nth-child(3) {
    transition-delay: 0.16s;
}

/* Story hero — intentionally light/plain, not the purple .page-hero
   used on every other inner page, so About reads as different from
   the very first screen. */

.story-hero {
    padding: 110px 20px 100px;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-soft-purple) 100%);
}

.story-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
}

.story-hero-copy,
.story-visual {
    animation: fadeInUp 0.6s ease both;
}

.story-visual {
    animation-delay: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
    .story-hero-copy,
    .story-visual {
        animation: none;
    }
}

.story-hero-copy h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.4rem, 5.4vw, 3.8rem);
    line-height: 1.1;
    color: var(--color-dark-text);
    margin: 18px 0 24px;
}

.story-hero-lead {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(23, 19, 31, 0.78);
    margin: 0 0 40px;
    max-width: 560px;
}

.story-stat {
    display: flex;
    align-items: center;
    gap: 20px;
}

.story-stat-number {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3.2rem, 7vw, 4.6rem);
    line-height: 1;
    color: var(--color-primary-purple);
}

.story-stat-plus {
    color: var(--color-primary-green);
}

.story-stat-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(23, 19, 31, 0.6);
    max-width: 170px;
    padding-left: 20px;
    border-left: 2px solid rgba(69, 183, 20, 0.4);
}

/* Story visual — a deliberate, premium, replaceable placeholder.
   No stock photo, no invented people: just the brand gradient, soft
   depth blobs (same technique as .page-hero), and a subtle generic
   image glyph marking where a real photo goes later. */

.story-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 28px;
    overflow: hidden;
    background: var(--gradient-hero);
    box-shadow: var(--shadow-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-visual::before,
.story-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.story-visual::before {
    width: 220px;
    height: 220px;
    background: var(--color-bright-green);
    opacity: 0.28;
    top: -60px;
    right: -50px;
}

.story-visual::after {
    width: 200px;
    height: 200px;
    background: var(--color-purple-soft);
    opacity: 0.35;
    bottom: -60px;
    left: -50px;
}

.story-visual-mark {
    position: relative;
    z-index: 1;
    width: 84px;
    height: 84px;
    color: var(--color-white);
    opacity: 0.4;
}

.story-visual-mark svg {
    width: 100%;
    height: 100%;
}

/* Real team/office photo inside the existing .story-visual card — fills the
   same portrait frame the placeholder mark used to sit in, cropped just
   enough to cover the 4:5 box while keeping every face in frame. */
.story-visual-photo {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
    border-radius: 28px;
}

@media (max-width: 860px) {
    .story-hero-grid {
        grid-template-columns: 1fr;
    }

    .story-visual {
        aspect-ratio: 16 / 10;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .story-hero {
        padding: 70px 20px 60px;
    }

    .story-stat {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .story-stat-label {
        max-width: none;
        padding-left: 0;
        padding-top: 10px;
        border-left: none;
        border-top: 2px solid rgba(69, 183, 20, 0.4);
    }
}

/* Era timeline — subtle connected line, no illustrations */

.era-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 56px;
    padding-top: 25px;
}

.era-timeline::before {
    content: "";
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(67, 26, 146, 0.12), rgba(69, 183, 20, 0.4), rgba(67, 26, 146, 0.12));
}

.era-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

.era-timeline .era-node:nth-child(2) {
    transition-delay: 0.1s;
}

.era-timeline .era-node:nth-child(3) {
    transition-delay: 0.2s;
}

.era-timeline .era-node:nth-child(4) {
    transition-delay: 0.3s;
}

.era-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-primary-green);
    box-shadow: 0 0 0 5px var(--color-white);
}

.era-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(23, 19, 31, 0.75);
    letter-spacing: 0.2px;
}

@media (max-width: 720px) {
    .era-timeline {
        flex-direction: column;
        align-items: stretch;
        gap: 26px;
        padding-top: 0;
        padding-left: 24px;
    }

    .era-timeline::before {
        top: 4px;
        bottom: 4px;
        left: 4px;
        right: auto;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, rgba(67, 26, 146, 0.12), rgba(69, 183, 20, 0.4), rgba(67, 26, 146, 0.12));
    }

    .era-node {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        padding: 0;
    }

    .era-dot {
        margin-left: -29px;
        flex-shrink: 0;
    }
}

/* Story statement — the one dark band, placed mid-page rather than
   only at the very bottom like every other page's final-cta. */

.story-statement {
    background: var(--gradient-hero);
    padding: 100px 20px;
    text-align: center;
}

.story-statement .section-tag {
    color: rgba(255, 255, 255, 0.75);
}

.story-statement-body {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin: 20px auto 40px;
}

.story-statement-quote {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    line-height: 1.35;
    color: var(--color-white);
    max-width: 780px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .story-statement {
        padding: 64px 20px;
    }
}

/* Principles — the visual/emotional centerpiece. Plain typography,
   no cards, no icons, generous whitespace. */

.principles-section {
    padding-top: 120px;
    padding-bottom: 120px;
}

.principles-list {
    max-width: 760px;
    margin: 56px auto 0;
    display: flex;
    flex-direction: column;
}

.principle {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 36px 0;
    border-top: 1px solid rgba(67, 26, 146, 0.10);
}

.principle:first-child {
    border-top: none;
    padding-top: 0;
}

.principles-list .principle:nth-child(2) {
    transition-delay: 0.08s;
}

.principles-list .principle:nth-child(3) {
    transition-delay: 0.16s;
}

.principles-list .principle:nth-child(4) {
    transition-delay: 0.24s;
}

.principle-index {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: rgba(67, 26, 146, 0.35);
    flex-shrink: 0;
    width: 36px;
}

.principle-text h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    color: var(--color-dark-text);
    margin: 0 0 8px;
}

.principle-text p {
    font-family: var(--font-body);
    font-size: 1.02rem;
    color: rgba(23, 19, 31, 0.78);
    margin: 0;
}

@media (max-width: 640px) {
    .principles-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .principle {
        gap: 16px;
        padding: 26px 0;
    }
}

/* Closing — lighter than the site's usual dark .final-cta, so the
   page doesn't end the same way every other page does. */

.story-closing .final-cta-actions {
    margin-top: 8px;
}
