/*
 * Softoneer landing styles.
 * Layered on top of Bootstrap 5.3. Palette: emerald and medical teal on white,
 * with pastel fills and glass surfaces.
 */

:root {
    --so-emerald: #059669;
    --so-emerald-dark: #047857;
    --so-teal: #0f766e;
    --so-teal-bright: #0d9488;
    --so-mint: #ecfdf5;
    --so-mint-2: #d1fae5;
    --so-aqua: #f0fdfa;
    --so-aqua-2: #ccfbf1;
    --so-ink: #1f2937;
    --so-muted: #4b5563;
    --so-border: rgba(15, 118, 110, 0.14);
    --so-shadow: 0 18px 40px -22px rgba(4, 120, 87, 0.35);
    --so-radius: 1.25rem;
    --so-font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Hind Siliguri carries the Bangla script; Plus Jakarta Sans has no Bengali glyphs. */
:lang(bn) {
    --so-font-sans: "Hind Siliguri", "Plus Jakarta Sans", system-ui, sans-serif;
    line-height: 1.75;
}

/* ---------- Base ---------- */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--so-font-sans);
    color: var(--so-ink);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 90px;
}

a {
    color: var(--so-emerald-dark);
}

a:hover {
    color: var(--so-teal);
}

:focus-visible {
    outline: 3px solid rgba(5, 150, 105, 0.45);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: var(--so-emerald-dark);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
    color: #fff;
}

/* ---------- Buttons ---------- */

.btn-primary {
    --bs-btn-bg: var(--so-emerald);
    --bs-btn-border-color: var(--so-emerald);
    --bs-btn-hover-bg: var(--so-emerald-dark);
    --bs-btn-hover-border-color: var(--so-emerald-dark);
    --bs-btn-active-bg: var(--so-emerald-dark);
    --bs-btn-active-border-color: var(--so-emerald-dark);
    --bs-btn-disabled-bg: var(--so-emerald);
    --bs-btn-disabled-border-color: var(--so-emerald);
    --bs-btn-focus-shadow-rgb: 5, 150, 105;
    font-weight: 600;
    border-radius: 0.8rem;
    box-shadow: 0 10px 22px -12px rgba(5, 150, 105, 0.7);
}

.btn-outline-primary {
    --bs-btn-color: var(--so-emerald-dark);
    --bs-btn-border-color: var(--so-emerald);
    --bs-btn-hover-bg: var(--so-emerald);
    --bs-btn-hover-border-color: var(--so-emerald);
    --bs-btn-active-bg: var(--so-emerald-dark);
    --bs-btn-active-border-color: var(--so-emerald-dark);
    --bs-btn-focus-shadow-rgb: 5, 150, 105;
    font-weight: 600;
    border-radius: 0.8rem;
}

.btn-cta {
    border-radius: 999px;
    padding: 0.55rem 1.2rem;
    white-space: nowrap;
}

.btn-hero {
    border-radius: 0.9rem;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
}

.btn-hero-outline {
    border-radius: 0.9rem;
    padding: 0.85rem 1.5rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.7);
}

/* ---------- Topbar and navbar ---------- */

.topbar {
    background: linear-gradient(90deg, var(--so-teal) 0%, var(--so-emerald-dark) 100%);
    color: #ecfdf5;
    font-size: 0.85rem;
}

.topbar-link {
    color: #ecfdf5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.topbar-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.topbar-badge {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.1rem 0.6rem;
    font-size: 0.78rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--so-border);
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.glass-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 30px -18px rgba(15, 118, 110, 0.35);
}

.glass-nav .navbar-brand {
    color: var(--so-ink);
}

.brand-logo {
    height: 34px;
    width: auto;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .brand-logo {
        height: 30px;
    }
}

@media (min-width: 1200px) {
    .brand-logo {
        height: 40px;
    }
}

.glass-nav .nav-link {
    color: var(--so-ink);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 0.6rem;
    padding: 0.5rem 0.85rem;
}

.glass-nav .nav-link:hover,
.glass-nav .nav-link:focus-visible {
    color: var(--so-emerald-dark);
    background: var(--so-mint);
}

.glass-nav .nav-link.active {
    color: var(--so-emerald-dark);
    background: var(--so-mint);
    box-shadow: inset 0 -2px 0 var(--so-emerald);
}

@media (min-width: 992px) {
    .glass-nav .navbar-nav {
        gap: 0.1rem;
    }
}

.navbar-toggler,
.navbar-toggler:hover,
.navbar-toggler:focus,
.navbar-toggler:focus-visible,
.navbar-toggler:active,
.navbar-toggler:not(:focus-visible) {
    border: 0;
    box-shadow: none;
    outline: none;
    background: transparent;
}

/* Mobile side menu: a glass drawer that slides in from the right. Below lg
   it is an offcanvas; at lg and up Bootstrap renders it inline (offcanvas-lg). */
@media (max-width: 991.98px) {
    /* backdrop-filter makes the navbar the containing block for fixed
       children, which would pin the drawer to the 60px bar. */
    .glass-nav,
    .glass-nav.is-scrolled {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.96);
    }

    .side-menu {
        --bs-offcanvas-width: min(86vw, 22rem);
        background: rgba(255, 255, 255, 0.97);
        -webkit-backdrop-filter: saturate(160%) blur(16px);
        backdrop-filter: saturate(160%) blur(16px);
        border-left: 1px solid var(--so-border);
        box-shadow: -24px 0 48px -28px rgba(4, 120, 87, 0.45);
    }

    .side-menu-header {
        padding: 1.25rem 1.25rem 0.5rem;
    }

    .side-menu-logo {
        height: 34px;
        width: auto;
    }

    .side-menu-body {
        display: flex;
        flex-direction: column;
        padding: 0.5rem 1.25rem 1.5rem;
    }

    .side-menu-nav {
        gap: 0.35rem;
        margin-top: 0.5rem;
    }

    .side-menu-nav .nav-link {
        display: flex;
        align-items: center;
        gap: 0.9rem;
        padding: 0.7rem 0.8rem;
        border: 1px solid transparent;
        border-radius: 1rem;
        font-size: 0.95rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .side-menu-nav .nav-link:hover,
    .side-menu-nav .nav-link:focus-visible {
        background: var(--so-aqua);
        border-color: var(--so-border);
    }

    .side-menu-nav .nav-link.active {
        background: var(--so-aqua);
        border-color: var(--so-border);
        box-shadow: none;
    }

    .side-menu-nav .nav-link.active .side-menu-icon {
        background: var(--so-emerald);
        color: #fff;
    }

    .side-menu-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.4rem;
        height: 2.4rem;
        flex-shrink: 0;
        border-radius: 0.85rem;
        background: var(--so-mint);
        color: var(--so-emerald-dark);
        font-size: 1.05rem;
    }

    .side-menu-label {
        flex: 1 1 auto;
    }

    .side-menu-chevron {
        color: var(--so-teal);
        opacity: 0.6;
    }

    .side-menu-actions {
        margin-top: auto;
        padding-top: 1.5rem;
    }

    .side-menu-footer {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--so-border);
    }

    .side-menu-footer-link {
        font-size: 0.9rem;
        color: var(--so-muted);
        text-decoration: none;
    }
}

@media (min-width: 992px) {
    .side-menu-body {
        flex-grow: 1;
        align-items: center;
    }

    .side-menu-nav {
        margin: 0 auto;
        gap: 0.25rem;
    }
}

/* ---------- Surfaces ---------- */

.glass-card {
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--so-border);
    border-radius: var(--so-radius);
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.06), 0 22px 40px -28px rgba(4, 120, 87, 0.35);
}

.glass-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--so-border);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--so-teal);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass-card,
    .glass-nav,
    .glass-pill {
        background: #ffffff;
    }
}

/* ---------- Sections ---------- */

.section {
    padding: 5rem 0;
}

.section-muted {
    background: linear-gradient(180deg, var(--so-aqua) 0%, #ffffff 100%);
}

.section-head {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-title {
    font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--so-ink);
}

.section-intro {
    color: var(--so-muted);
    font-size: 1.05rem;
}

.kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--so-emerald-dark);
    background: var(--so-mint);
    border: 1px solid var(--so-mint-2);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.9rem;
}

.kicker-light {
    color: #ecfdf5;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 5rem;
    background:
        radial-gradient(900px 480px at 85% -10%, rgba(13, 148, 136, 0.18), transparent 60%),
        radial-gradient(700px 420px at -10% 10%, rgba(5, 150, 105, 0.16), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, var(--so-aqua) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 118, 110, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 118, 110, 0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    pointer-events: none;
}

.hero > .container {
    position: relative;
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--so-border);
    border-radius: 999px;
    padding: 0.35rem 0.9rem 0.35rem 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--so-teal);
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--so-emerald);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.18);
}

.hero-title {
    font-size: clamp(2.2rem, 1.3rem + 3.2vw, 3.9rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--so-ink);
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--so-muted);
    margin-top: 1.25rem;
    max-width: 36rem;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.25rem;
    margin-top: 2rem;
    max-width: 36rem;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-weight: 500;
}

.benefit-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: var(--so-mint-2);
    color: var(--so-emerald-dark);
    font-size: 1rem;
}

.benefit small {
    display: block;
    color: var(--so-muted);
    font-weight: 400;
    font-size: 0.85rem;
}

.hero-visual {
    position: relative;
    padding: 3.5rem 1rem 1rem;
}

.dashboard-card {
    background: #ffffff;
    border: 1px solid var(--so-border);
    border-radius: 1.1rem;
    box-shadow: var(--so-shadow);
    padding: 1.1rem;
}

.window-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 1rem;
}

.window-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
}

.window-dots span:first-child {
    background: #6ee7b7;
}

.badge-soft {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--so-emerald-dark);
    background: var(--so-mint);
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
}

.kpi-tile {
    background: var(--so-aqua);
    border: 1px solid var(--so-aqua-2);
    border-radius: 0.8rem;
    padding: 0.8rem;
}

.kpi-tile small {
    display: block;
    color: var(--so-muted);
    font-size: 0.75rem;
}

.kpi-tile strong {
    font-size: 1.25rem;
    color: var(--so-ink);
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
    margin-top: 1rem;
    padding: 0.5rem 0.25rem 0;
    border-bottom: 1px dashed var(--so-border);
}

.mini-chart span {
    flex: 1;
    height: var(--h, 50%);
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--so-teal-bright) 0%, var(--so-emerald) 100%);
    opacity: 0.85;
}

.floating-card {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--so-border);
    border-radius: 0.9rem;
    box-shadow: var(--so-shadow);
    padding: 0.65rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.floating-card-top {
    top: 0.5rem;
    right: 0.5rem;
}

.floating-card-bottom {
    bottom: 1.5rem;
    left: -0.75rem;
}

.floating-icon {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 9px;
    background: var(--so-mint-2);
    color: var(--so-emerald-dark);
}

/* ---------- Products ---------- */

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -24px rgba(5, 150, 105, 0.5);
}

.product-card-title {
    font-weight: 700;
    color: var(--so-ink);
    margin-bottom: 0.6rem;
}

.product-card-title a {
    color: inherit;
    text-decoration: none;
}

.product-card-title a:hover {
    color: var(--so-emerald-dark);
}

.product-card-link {
    margin-top: auto;
    color: var(--so-emerald-dark);
}

.product-page-title {
    font-size: clamp(2rem, 4vw + 0.5rem, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--so-ink);
}

.lead-soft {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--so-muted);
    max-width: 60ch;
}
.product-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--so-mint-2), var(--so-aqua-2));
    color: var(--so-emerald-dark);
    margin-bottom: 1.25rem;
}

.product-title {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.feature-mini {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--so-border);
    border-radius: 1rem;
    height: 100%;
}

.feature-mini-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--so-aqua-2);
    color: var(--so-teal);
    font-size: 1.1rem;
}

.value-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.value-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--so-teal);
    background: var(--so-aqua);
    border: 1px solid var(--so-aqua-2);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
}

/* ---------- Features ---------- */

.feature-card {
    padding: 1.75rem;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.06), 0 28px 48px -28px rgba(4, 120, 87, 0.45);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--so-mint-2), var(--so-aqua-2));
    color: var(--so-emerald-dark);
    flex: 0 0 auto;
}

.feature-icon-sm {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
    border-radius: 12px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 1.1rem;
}

.feature-card p {
    color: var(--so-muted);
    margin-bottom: 0;
}

/* ---------- Pricing ---------- */

.plan-card {
    position: relative;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.plan-featured {
    border: 2px solid var(--so-emerald);
    box-shadow: 0 30px 60px -30px rgba(5, 150, 105, 0.6);
}

.plan-ribbon {
    position: absolute;
    top: -0.85rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--so-teal-bright), var(--so-emerald));
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    white-space: nowrap;
}

.plan-price {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--so-ink);
    line-height: 1.1;
}

.plan-price-unit {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--so-muted);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.75rem;
    display: grid;
    gap: 0.6rem;
}

.plan-features li {
    position: relative;
    padding-left: 1.6rem;
}

.plan-features li > i {
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: var(--so-emerald);
}

.custom-tier-banner {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 2.5rem;
    color: #ecfdf5;
    background:
        radial-gradient(500px 260px at 100% 0%, rgba(255, 255, 255, 0.18), transparent 70%),
        linear-gradient(120deg, var(--so-teal) 0%, var(--so-emerald-dark) 100%);
    box-shadow: 0 30px 60px -36px rgba(4, 120, 87, 0.8);
}

.custom-tier-banner h3 {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.custom-tier-banner .btn-outline-light {
    border-radius: 0.8rem;
    font-weight: 600;
}

/* ---------- Advantages (about) ---------- */

.about-stat {
    font-size: 2rem;
    font-weight: 800;
    color: var(--so-emerald-dark);
    line-height: 1.1;
}

.about-stat-label {
    font-size: 0.9rem;
    color: var(--so-muted);
}

/* ---------- Contact ---------- */

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    text-decoration: none;
    color: var(--so-ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.contact-card:hover {
    color: var(--so-ink);
    transform: translateY(-2px);
}

.form-card {
    height: 100%;
}

.contact-form .form-label {
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 0.75rem;
    border-color: #cfe9e4;
    padding: 0.65rem 0.9rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--so-emerald);
    box-shadow: 0 0 0 0.2rem rgba(5, 150, 105, 0.18);
}

.contact-form .btn-primary {
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
}

.contact-form .htmx-indicator {
    display: none;
}

.contact-form.htmx-request .htmx-indicator,
.htmx-request .htmx-indicator {
    display: inline-block;
}

/* Honeypot: visually and accessibly hidden, but still in the DOM for bots. */
.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-success {
    padding: 1rem;
}

.success-icon {
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    font-size: 2.2rem;
    color: var(--so-emerald-dark);
    background: var(--so-mint-2);
}

/* ---------- Legal and 404 ---------- */

.legal-card {
    max-width: 840px;
}

.not-found {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.not-found-card {
    max-width: 560px;
}

.not-found-code {
    font-size: clamp(3.5rem, 2.5rem + 4vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--so-emerald);
    line-height: 1;
}

/* ---------- Footer ---------- */

.site-footer {
    background: #052e2b;
    color: #cbd5e1;
    padding: 4rem 0 1.5rem;
    font-size: 0.95rem;
}

.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
}

.site-footer a:hover {
    color: #6ee7b7;
    text-decoration: underline;
}

.footer-text {
    color: #94a3b8;
    max-width: 22rem;
}

.footer-heading {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-muted {
    color: #94a3b8;
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    margin-top: 3rem;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-brand .brand-logo {
    width: 36px;
    height: 36px;
}

.site-footer .navbar-brand {
    background: #ffffff;
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
}

.footer-brand .brand-text {
    color: #ffffff;
}

/* ---------- Product detail ---------- */

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.check-list li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--so-ink);
}

.check-list li > i {
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: var(--so-emerald);
}

.step-number {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin-bottom: 0.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--so-teal-bright) 0%, var(--so-emerald) 100%);
    color: #ffffff;
    font-weight: 800;
}

.faq-accordion {
    --bs-accordion-bg: rgba(255, 255, 255, 0.85);
    --bs-accordion-border-color: var(--so-border);
    --bs-accordion-active-bg: var(--so-aqua);
    --bs-accordion-active-color: var(--so-emerald-dark);
    --bs-accordion-btn-color: var(--so-ink);
    --bs-accordion-btn-focus-border-color: var(--so-teal-bright);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.2);
}

.faq-accordion .accordion-item {
    border: 1px solid var(--so-border);
    border-radius: 1rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    border-radius: 1rem;
    padding: 1.1rem 1.25rem;
}

.glass-pill-link {
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.glass-pill-link:hover {
    color: var(--so-emerald-dark);
    border-color: var(--so-emerald);
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
    .section {
        padding: 4rem 0;
    }

    .hero {
        padding: 3rem 0 4rem;
    }

    .hero-visual {
        margin-top: 2.5rem;
    }

    .custom-tier-banner {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 3.25rem 0;
    }

    .section-head {
        margin-bottom: 2rem;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .floating-card {
        display: none;
    }

    .plan-card,
    .feature-card {
        padding: 1.5rem;
    }

    .custom-tier-banner {
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ---------- Loading feedback for htmx requests ---------- */

.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1080;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: linear-gradient(90deg, transparent, var(--so-emerald), var(--so-teal-bright), transparent);
    background-size: 200% 100%;
    animation: page-progress 1.1s linear infinite;
}

body.is-loading .page-progress {
    opacity: 1;
}

#main {
    transition: opacity 0.2s ease;
}

body.is-navigating #main {
    opacity: 0.55;
}

@keyframes page-progress {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

/* ---------- Language switcher ---------- */

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem;
    border: 1px solid var(--so-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
}

.lang-link {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    color: var(--so-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.lang-link:hover {
    color: var(--so-emerald-dark);
}

.lang-link.is-active {
    background: var(--so-emerald);
    color: #ffffff;
}

.lang-link:focus-visible {
    outline: 2px solid var(--so-teal-bright);
    outline-offset: 2px;
}

.lang-switch-menu {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.lang-switch-menu .lang-link {
    flex: 1 1 0;
    text-align: center;
    padding: 0.5rem 0.75rem;
}
