:root {
    --sv-bg: #f4f5f8;
    --sv-surface: #ffffff;
    --sv-surface-soft: #f8f8fb;
    --sv-border: #d9dbe2;
    --sv-text: #13254b;
    --sv-text-soft: #6f7483;
    --sv-text-muted: #9498a5;
    --sv-primary: #13254b;
    --sv-primary-strong: #0f1d3d;
    --sv-accent: #4b63ff;
    --sv-accent-2: #6a35f0;
    --sv-link: #2f6df6;
    --sv-shadow: 0 12px 30px rgba(19, 37, 75, 0.08);
    --sv-radius-lg: 22px;
    --sv-radius-md: 16px;
    --sv-logo-clear-space: 24px;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    background: var(--sv-bg);
    color: var(--sv-text);
    font-family: "Poppins", sans-serif;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.legal-title,
.legal-card h2,
.legal-section-card h2,
.help-item h3 {
    font-family: "Montserrat", sans-serif;
}

.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-page {
    flex: 1;
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
}

.app-container {
    max-width: 1180px;
}

/* =========================
   Navbar
   ========================= */

.app-navbar {
    position: relative;
    z-index: 2000;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    background: rgba(244, 245, 248, 0.78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(19, 37, 75, 0.05);
}

.app-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.brand-logo {
    height: 38px;
    width: auto;
    display: block;
}

.app-nav-list {
    gap: 0.35rem;
}

.app-nav-link {
    color: var(--sv-text) !important;
    font-weight: 500;
    padding: 0.75rem 0.95rem !important;
    border-radius: 14px;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

    .app-nav-link:hover,
    .app-nav-link:focus,
    .app-nav-link.show {
        color: var(--sv-link) !important;
        background: rgba(75, 99, 255, 0.06);
    }

.app-navbar-toggler {
    border: 1px solid rgba(19, 37, 75, 0.08);
    border-radius: 14px;
    padding: 0.45rem 0.7rem;
    box-shadow: none !important;
}

.app-dropdown {
    position: absolute;
    z-index: 2100;
    min-width: 240px;
    margin-top: 0.55rem !important;
    border: 1px solid rgba(19, 37, 75, 0.08);
    border-radius: 18px;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(19, 37, 75, 0.12);
}

.app-dropdown-label {
    padding: 0.35rem 0.55rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sv-text-muted);
}

.dropdown-item {
    border-radius: 12px;
    color: var(--sv-text);
    padding: 0.72rem 0.8rem;
    font-weight: 500;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        background: #eef2ff;
        color: var(--sv-link);
    }

.dropdown-divider {
    margin: 0.45rem 0;
    border-top-color: rgba(19, 37, 75, 0.08);
}

@media (max-width: 991.98px) {
    .brand-logo {
        height: 34px;
    }

    .app-nav-list {
        gap: 0.15rem;
        margin-top: 0.7rem;
    }

    .app-dropdown {
        margin-top: 0.2rem !important;
        box-shadow: none;
        border-radius: 14px;
    }
}

@media (max-width: 768px) {
    .brand-logo {
        height: 34px;
    }
}

/* =========================
   Legal pages
   ========================= */

.legal-shell {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.legal-hero {
    background: var(--sv-surface);
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: var(--sv-radius-lg);
    box-shadow: var(--sv-shadow);
    padding: 2rem 2rem 1.75rem;
}

.legal-hero-tight {
    margin-bottom: 0.25rem;
}

.legal-eyebrow {
    display: inline-block;
    color: var(--sv-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.legal-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
    color: var(--sv-primary);
    margin-bottom: 1rem;
}

.legal-intro {
    color: var(--sv-text-soft);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 860px;
    white-space: pre-line;
}

.legal-card {
    display: block;
    height: 100%;
    background: var(--sv-surface);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--sv-radius-lg);
    box-shadow: var(--sv-shadow);
    padding: 1.6rem;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .legal-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(19, 37, 75, 0.12);
        color: inherit;
    }

.legal-card-icon {
    font-size: 1.6rem;
    margin-bottom: 0.9rem;
}

.legal-card h2 {
    color: var(--sv-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.legal-card p {
    color: var(--sv-text-soft);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-card-link {
    color: var(--sv-link);
    font-weight: 600;
}

.legal-sections,
.help-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.legal-section-card {
    background: var(--sv-surface);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--sv-radius-lg);
    box-shadow: var(--sv-shadow);
    padding: 1.5rem;
}

    .legal-section-card h2 {
        color: var(--sv-primary);
        font-size: 1.15rem;
        font-weight: 700;
        margin-bottom: 0.8rem;
    }

.legal-body {
    color: var(--sv-text-soft);
    line-height: 1.9;
}

.help-item {
    border-top: 1px solid #eceef3;
    padding-top: 1rem;
}

    .help-item:first-child {
        border-top: none;
        padding-top: 0;
    }

    .help-item h3 {
        color: var(--sv-primary);
        font-size: 1.02rem;
        font-weight: 700;
        margin-bottom: 0.45rem;
    }

/* =========================
   Buttons
   ========================= */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.6rem;
}

.btn-primary {
    background: var(--sv-primary);
    border-color: var(--sv-primary);
    color: #fff;
    border-radius: 14px;
    padding: 0.9rem 1.4rem;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(19, 37, 75, 0.18);
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
        background: var(--sv-primary-strong) !important;
        border-color: var(--sv-primary-strong) !important;
    }

.btn-outline-secondary {
    border-radius: 14px;
    border-color: #cfd4df;
    color: var(--sv-primary);
    background: #fff;
    padding: 0.9rem 1.4rem;
    font-weight: 600;
}

a {
    color: var(--sv-link);
    text-decoration: none;
}

    a:hover {
        color: #1b57db;
    }

/* =========================
   Footer
   ========================= */

.app-footer {
    width: 100%;
    padding: 0 0 1.5rem;
    background: transparent;
}

.app-footer-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(19, 37, 75, 0.06);
    border-radius: 22px;
    box-shadow: 0 14px 32px rgba(19, 37, 75, 0.06);
    padding: 1.15rem 1.25rem;
    backdrop-filter: blur(10px);
}

.app-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.app-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.app-footer-title {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: var(--sv-primary);
}

.app-footer-copy {
    color: var(--sv-text-soft);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

    .footer-links a {
        color: var(--sv-text-soft);
        font-weight: 500;
    }

        .footer-links a:hover {
            color: var(--sv-link);
        }

.footer-sep {
    margin: 0 0.5rem;
    color: #b0b5c0;
}

@media (max-width: 767.98px) {
    .app-footer-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================
   Home page - modern product landing
   ========================= */

.sv-home {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sv-section {
    margin-top: 0.1rem;
}

.sv-eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    max-width: 36rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.5;
    color: var(--sv-text-muted);
}

.sv-eyebrow-light {
    color: rgba(255, 255, 255, 0.72);
}

.sv-hero,
.sv-hero-visual,
.sv-device-stack,
.sv-device-card,
.sv-glow {
    position: relative;
    z-index: 1;
}

.sv-hero {
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(106, 53, 240, 0.10), transparent 34%), radial-gradient(circle at right center, rgba(75, 99, 255, 0.12), transparent 30%), linear-gradient(180deg, #fbfbfe 0%, #f5f6fb 100%);
    border: 1px solid rgba(19, 37, 75, 0.05);
    border-radius: 32px;
    box-shadow: 0 22px 54px rgba(19, 37, 75, 0.09);
    padding: 2.25rem 2.25rem 2rem;
}

.sv-hero-copy {
    max-width: 620px;
}

.sv-hero-title {
    margin: 0 0 1rem;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--sv-primary);
}

.sv-hero-text {
    margin: 0;
    max-width: 620px;
    font-size: 1.08rem;
    line-height: 1.9;
    color: var(--sv-text-soft);
}

.sv-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.45rem;
}

.sv-hero-microcopy {
    margin-top: 0.75rem;
    margin-bottom: 0;
    color: var(--sv-text-muted);
    font-size: 0.95rem;
}

.sv-hero-visual {
    height: 100%;
    min-height: 320px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.25rem;
}

.sv-device-stack {
    width: 100%;
    max-width: 500px;
    height: 340px;
}

.sv-device-card {
    border-radius: 28px;
    box-shadow: 0 22px 55px rgba(19, 37, 75, 0.16);
    position: absolute;
}

.sv-device-card-back {
    top: 0;
    left: 16px;
    width: 72%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(19, 37, 75, 0.08);
    backdrop-filter: blur(12px);
    transform: rotate(-7deg);
}

.sv-device-card-front {
    top: 72px;
    right: 12px;
    width: 47%;
}

.sv-device-header {
    display: flex;
    gap: 0.42rem;
    margin-bottom: 1rem;
}

    .sv-device-header span {
        width: 9px;
        height: 9px;
        border-radius: 999px;
        background: #d9deea;
        display: inline-block;
    }

.sv-device-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sv-stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.sv-stat-card,
.sv-list-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid rgba(19, 37, 75, 0.05);
}

.sv-stat-label {
    font-size: 0.86rem;
    color: var(--sv-text-muted);
}

.sv-stat-value {
    margin-top: 0.35rem;
    font-family: "Montserrat", sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--sv-primary);
}

.sv-list-line {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(75, 99, 255, 0.22), rgba(106, 53, 240, 0.14));
    margin-bottom: 0.75rem;
}

    .sv-list-line:last-child {
        margin-bottom: 0;
    }

.sv-phone-frame {
    position: relative;
    padding: 10px;
    border-radius: 30px;
    background: linear-gradient(180deg, #17284e 0%, #0f1d3d 100%);
    box-shadow: 0 24px 50px rgba(15, 29, 61, 0.25);
}

.sv-phone-screen {
    min-height: 385px;
    border-radius: 24px;
    background: radial-gradient(circle at top right, rgba(106, 53, 240, 0.12), transparent 35%), linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
    padding: 1rem;
}

.sv-app-header {
    padding: 0.2rem 0.2rem 0.8rem;
}

.sv-app-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.sv-app-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.72rem;
    border-radius: 999px;
    background: rgba(75, 99, 255, 0.08);
    color: var(--sv-link);
    font-size: 0.75rem;
    font-weight: 600;
}

.sv-app-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--sv-accent), var(--sv-accent-2));
    display: inline-block;
}

.sv-app-header h3 {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--sv-primary);
}

.sv-app-header p {
    margin: 0.3rem 0 0;
    color: var(--sv-text-soft);
    font-size: 0.92rem;
}

.sv-app-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.sv-app-panel {
    background: #fff;
    border: 1px solid rgba(19, 37, 75, 0.05);
    border-radius: 18px;
    padding: 0.9rem;
    box-shadow: 0 10px 24px rgba(19, 37, 75, 0.06);
}

.sv-app-panel-wide {
    grid-column: span 2;
}

.sv-panel-kicker {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.76rem;
    color: var(--sv-text-muted);
}

.sv-app-panel strong {
    font-family: "Montserrat", sans-serif;
    color: var(--sv-primary);
    font-size: 1rem;
}

.sv-mini-list {
    padding-left: 1rem;
    margin: 0.5rem 0 0;
    color: var(--sv-text-soft);
}

    .sv-mini-list li {
        margin-bottom: 0.25rem;
    }

.sv-app-footer-card {
    margin-top: 0.75rem;
    padding: 0.9rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(75, 99, 255, 0.10), rgba(106, 53, 240, 0.10));
    border: 1px solid rgba(75, 99, 255, 0.08);
}

    .sv-app-footer-card span {
        display: block;
        color: var(--sv-text-muted);
        font-size: 0.78rem;
        margin-bottom: 0.25rem;
    }

    .sv-app-footer-card strong {
        font-family: "Montserrat", sans-serif;
        color: var(--sv-primary);
        font-size: 0.95rem;
    }

.sv-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(28px);
    opacity: 0.45;
    pointer-events: none;
}

.sv-glow-left {
    left: 18%;
    bottom: 0;
    width: 120px;
    height: 120px;
    background: rgba(106, 53, 240, 0.14);
}

.sv-glow-right {
    right: 10%;
    top: 24%;
    width: 140px;
    height: 140px;
    background: rgba(75, 99, 255, 0.14);
}

.sv-section-heading {
    max-width: 780px;
    margin: 0 auto 0.5rem;
}

    .sv-section-heading h2,
    .sv-story-card h2,
    .sv-cta-band h2 {
        margin: 0;
        font-family: "Montserrat", sans-serif;
        font-size: clamp(1.8rem, 3vw, 2.7rem);
        font-weight: 800;
        line-height: 1.15;
        color: var(--sv-primary);
    }

    .sv-section-heading p,
    .sv-story-card p,
    .sv-cta-band p {
        margin: 0.9rem auto 0;
        color: var(--sv-text-soft);
        line-height: 1.9;
        font-size: 1.03rem;
    }

.sv-feature-card,
.sv-story-card,
.sv-showcase-card,
.sv-step-card {
    height: 100%;
    background: var(--sv-surface);
    border: 1px solid rgba(19, 37, 75, 0.05);
    border-radius: 28px;
    box-shadow: 0 16px 38px rgba(19, 37, 75, 0.07);
    padding: 1.7rem;
}

.sv-feature-icon,
.sv-step-number {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(75, 99, 255, 0.14), rgba(106, 53, 240, 0.14));
    color: var(--sv-primary);
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    margin-bottom: 1rem;
}

.sv-feature-card h3,
.sv-step-card h3,
.sv-showcase-top h3 {
    margin: 0 0 0.7rem;
    font-family: "Montserrat", sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--sv-primary);
}

.sv-feature-card p,
.sv-step-card p,
.sv-showcase-top p {
    margin: 0;
    color: var(--sv-text-soft);
    line-height: 1.85;
}

.sv-check-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.sv-check-item {
    position: relative;
    padding-left: 1.65rem;
    color: var(--sv-text-soft);
    line-height: 1.8;
}

    .sv-check-item::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.7rem;
        width: 9px;
        height: 9px;
        border-radius: 999px;
        background: linear-gradient(135deg, var(--sv-accent), var(--sv-accent-2));
    }

.sv-showcase-card {
    background: radial-gradient(circle at top right, rgba(106, 53, 240, 0.09), transparent 30%), linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
}

.sv-showcase-label {
    display: inline-block;
    margin-bottom: 0.6rem;
    color: var(--sv-text-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.sv-showcase-panels {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.sv-showcase-panel {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(19, 37, 75, 0.05);
    border-radius: 20px;
    padding: 1rem;
}

    .sv-showcase-panel span {
        display: block;
        color: var(--sv-text-muted);
        font-size: 0.84rem;
        margin-bottom: 0.35rem;
    }

    .sv-showcase-panel strong {
        font-family: "Montserrat", sans-serif;
        color: var(--sv-primary);
        font-size: 1rem;
    }

.sv-cta-band {
    background: linear-gradient(135deg, #13254b 0%, #1d3270 45%, #472dc7 100%);
    border-radius: 32px;
    padding: 2.1rem;
    box-shadow: 0 20px 48px rgba(19, 37, 75, 0.18);
}

    .sv-cta-band h2,
    .sv-cta-band p {
        color: #fff;
    }

    .sv-cta-band p {
        color: rgba(255, 255, 255, 0.82);
    }

.sv-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sv-btn-light {
    color: var(--sv-primary);
    border-radius: 14px;
    font-weight: 600;
    padding: 0.9rem 1.3rem;
}

.sv-btn-outline-light {
    border-radius: 14px;
    font-weight: 600;
    padding: 0.9rem 1.3rem;
}

@media (max-width: 991.98px) {
    .sv-hero {
        padding: 1.9rem 1.4rem 1.7rem;
        border-radius: 26px;
    }

    .sv-hero-visual {
        min-height: 290px;
        margin-top: 0.5rem;
    }

    .sv-device-stack {
        max-width: 430px;
        height: 300px;
    }

    .sv-device-card-front {
        top: 56px;
        width: 50%;
    }

    .sv-phone-screen {
        min-height: 340px;
    }

    .sv-cta-actions {
        align-items: stretch;
    }
}

@media (max-width: 767.98px) {
    .sv-home {
        gap: 1.1rem;
    }

    .sv-hero {
        padding: 1.45rem 1rem 1.35rem;
    }

    .sv-hero-title {
        font-size: 2.35rem;
    }

    .sv-hero-text {
        font-size: 1rem;
        line-height: 1.8;
    }

    .sv-hero-visual {
        min-height: 250px;
    }

    .sv-device-stack {
        max-width: 360px;
        height: 250px;
    }

    .sv-device-card-back {
        left: 8px;
        width: 74%;
    }

    .sv-device-card-front {
        top: 54px;
        right: 6px;
        width: 54%;
    }

    .sv-phone-screen {
        min-height: 285px;
        padding: 0.85rem;
    }

    .sv-app-grid {
        grid-template-columns: 1fr;
    }

    .sv-app-panel-wide {
        grid-column: span 1;
    }

    .sv-feature-card,
    .sv-story-card,
    .sv-showcase-card,
    .sv-step-card {
        padding: 1.3rem;
        border-radius: 22px;
    }

    .sv-cta-band {
        padding: 1.5rem 1rem;
        border-radius: 24px;
    }
}

/* =========================
   Plans page
   ========================= */

.app-nav-link.active {
    color: var(--sv-link) !important;
    background: rgba(75, 99, 255, 0.06);
    font-weight: 600;
}

.sv-plans-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sv-plans-hero-section {
    margin-top: 0.1rem;
}

.sv-appstore-badge {
    display: inline-block;
    width: 100%;
    max-width: 210px;
    height: auto;
}

.sv-download-qr {
    width: 180px;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.sv-download-qr-small {
    width: 130px;
}

.sv-screenshot-card {
    height: 100%;
    background: var(--sv-surface);
    border: 1px solid rgba(19, 37, 75, 0.05);
    border-radius: var(--sv-radius-lg);
    box-shadow: var(--sv-shadow);
    padding: 1rem;
}

.sv-screenshot-frame {
    background: linear-gradient(180deg, #fbfbfe 0%, #f3f5fa 100%);
    border-radius: 20px;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

    .sv-screenshot-frame img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 16px;
    }

.sv-screenshot-copy h3 {
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sv-primary);
}

.sv-screenshot-copy p {
    margin-bottom: 0;
    color: var(--sv-text-soft);
    line-height: 1.8;
}

.sv-plan-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--sv-surface);
    border: 1px solid rgba(19, 37, 75, 0.05);
    border-radius: 28px;
    box-shadow: var(--sv-shadow);
    overflow: hidden;
}

    .sv-plan-card.is-popular {
        border-color: rgba(75, 99, 255, 0.22);
        box-shadow: 0 18px 46px rgba(75, 99, 255, 0.14);
    }

    /* IMPORTANT:
   Apply status colors ONLY to the status badge,
   not to the Most Popular badge.
*/
    .sv-plan-card.is-coming-soon .sv-plan-badge:not(.is-most-popular) {
        background: rgba(241, 182, 0, 0.14);
        color: #8b6500;
    }

    .sv-plan-card.is-planned .sv-plan-badge:not(.is-most-popular) {
        background: rgba(106, 53, 240, 0.12);
        color: #6a35f0;
    }

.sv-plan-top {
    padding: 1.4rem 1.4rem 1rem;
}

.sv-plan-kicker-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.sv-plan-emoji {
    font-size: 1.1rem;
}

.sv-plan-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: capitalize;
}

/* Most Popular badge:
   Make this selector more specific than the status rules.
*/
.sv-plan-card .sv-plan-badge.is-most-popular {
    background: rgba(0, 122, 255, 0.12);
    color: #007aff;
    font-weight: 700;
    border: 1px solid rgba(0, 122, 255, 0.24);
    box-shadow: 0 6px 18px rgba(0, 122, 255, 0.22);
    animation: sv-popular-pulse 2.5s ease-in-out infinite;
}

@keyframes sv-popular-pulse {
    0%, 100% {
        box-shadow: 0 6px 18px rgba(124, 58, 237, 0.25); /* purple */
    }

    50% {
        box-shadow: 0 8px 26px rgba(124, 58, 237, 0.45); /* stronger purple */
    }
}

.sv-plan-card h3 {
    margin-bottom: 0.35rem;
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sv-primary);
}

.sv-plan-subtitle {
    margin-bottom: 0.8rem;
    color: var(--sv-text-soft);
}

.sv-plan-price {
    font-family: "Montserrat", sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--sv-primary);
    margin-bottom: 0.75rem;
}

.sv-plan-description {
    margin-bottom: 0;
    color: var(--sv-text-soft);
    line-height: 1.8;
}

.sv-plan-meta {
    padding: 0 1.4rem 0.9rem;
}

.sv-plan-bestfor {
    display: grid;
    gap: 0.15rem;
    margin-bottom: 0.8rem;
}

    .sv-plan-bestfor span {
        font-size: 0.8rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--sv-text-muted);
    }

    .sv-plan-bestfor strong {
        color: var(--sv-primary);
        font-size: 0.98rem;
    }

.sv-plan-fineprint {
    color: var(--sv-text-soft);
    font-size: 0.92rem;
}

.sv-plan-bullets {
    padding: 0 1.4rem 1rem;
    display: grid;
    gap: 0.7rem;
}

.sv-plan-footer {
    margin-top: auto;
    padding: 0 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.sv-plan-btn {
    width: 100%;
    margin-top: 0;
}

.sv-plan-cta-note {
    margin: 0;
    color: var(--sv-text-soft);
    font-size: 0.92rem;
    font-style: italic;
    line-height: 1.55;
}

.sv-download-band .sv-download-band-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 991.98px) {
    .sv-download-band .sv-download-band-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .sv-plan-top,
    .sv-plan-meta,
    .sv-plan-bullets,
    .sv-plan-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .sv-download-qr {
        width: 150px;
    }
}

.sv-plans-hero .sv-hero-copy {
    max-width: 100%;
}

.sv-plans-hero .sv-hero-text {
    max-width: 980px;
}