:root {
    --ink: #0B1027;
    --ink-soft: #4B5468;
    --cyan: #1AA3C7;
    --cyan-deep: #0E85A6;
    --cloud: #F4F7F9;
    --panel: #EEF1F4;
    --white: #ffffff;
    --ease: cubic-bezier(.22,.9,.32,1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Sections that slide in (translateX before .in) and off-screen reveal
       transforms must never widen the layout viewport on phones. clip does
       not create a scroll container, so sticky elements keep working. */
    overflow-x: clip;
}

body {
    width: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
    overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
}

    .stats-section, .main-section, .service-card {
        opacity: 1 !important;
        transform: none !important;
    }
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
}
.wrap {
    max-width: 1600px; /* Increase from 1360px */
    margin: 0 auto;
    padding: 0 40px;
}
/* ============================================================
     PAGE 1 — HERO LANDING
  ============================================================ */

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    background-color: #ffffff;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Menu trigger. Hidden until 720px, where .nav-links turns into a sheet.
   Pill shape and hairline border echo .btn and the rest of the header. */
.nav-toggle {
    display: none;
    flex: none; /* a flex item, so without this it shrinks under the 44px touch target */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--white);
    border: 1.5px solid var(--panel);
    border-radius: 999px;
    cursor: pointer;
    transition: border-color .3s var(--ease), background .3s var(--ease);
}

    .nav-toggle:hover {
        border-color: var(--cyan);
    }

    .nav-toggle:focus-visible {
        outline: 2px solid var(--cyan-deep);
        outline-offset: 2px;
    }
.nav-links a.active {
    color: var(--cyan-deep);
    font-weight: 700;
}

    .nav-links a.active::after {
        content: "";
        position: absolute;
        left: 2px;
        right: 2px;
        bottom: -6px;
        height: 2px;
        background: var(--cyan-deep);
        border-radius: 2px;
    }
    .nav-toggle span {
        display: block;
        width: 17px;
        height: 1.6px;
        margin: 0 auto;
        background: var(--ink);
        border-radius: 2px;
        transition: transform .3s var(--ease), opacity .2s var(--ease);
    }

/* Three bars fold into a cross, so the control shows what it will do next. */
.nav.open .nav-toggle span:nth-child(1) {
    transform: translateY(6.6px) rotate(45deg);
}

.nav.open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav.open .nav-toggle span:nth-child(3) {
    transform: translateY(-6.6px) rotate(-45deg);
}

.logo img {
    height: 30px;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

    .nav-links li {
        position: relative;
    }

    .nav-links a {
        font-size: 15px;
        font-weight: 500;
        color: var(--ink);
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 6px 2px;
        transition: color .2s var(--ease);
    }

        .nav-links a:hover {
            color: var(--cyan-deep);
        }

.caret {
    width: 9px;
    height: 9px;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    opacity: .7;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    border-radius: 999px;
    padding: 13px 28px;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: var(--cyan);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(14,133,166,.55);
}

    .btn-primary:hover {
        background: var(--cyan-deep);
        transform: translateY(-2px);
        box-shadow: 0 14px 26px -10px rgba(14,133,166,.6);
    }

.btn-outline {
    background: transparent;
    color: var(--cyan-deep);
    border-color: var(--cyan);
}

    .btn-outline:hover {
        background: var(--cyan);
        color: #fff;
        transform: translateY(-2px);
    }

.btn-nav {
    padding: 11px 26px;
}

.hero {
    position: relative;
    padding: 56px 0 0;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    background: #E4F3F8;
    color: var(--cyan-deep);
    font-size: 14px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 999px;
}

h1.headline {
    font-size: clamp(38px, 5.4vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: #0B1140;
    margin: 26px auto 22px;
    max-width: 900px;
}

.sub {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink-soft);
    max-width: 700px;
    margin: 0 auto 34px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.stage {
    position: relative;
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    align-items: center;
    padding-bottom: 40px;
}

.rail {
    display: flex;
    flex-direction: column;
    height: 560px;
}

.feature {
    background: var(--panel);
    flex: 1 1 50%;
    width: 100%;
    padding: 40px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.rail-left .feature:first-child {
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0% 100%);
}

.rail-left .feature:last-child {
    clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
    margin-top: -2px;
}

.rail-right .feature:first-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 82%);
}

.rail-right .feature:last-child {
    clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 100%);
    margin-top: -2px;
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #D9EEF4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan-deep);
    flex-shrink: 0;
}

    .feature-icon svg {
        width: 22px;
        height: 22px;
    }

.feature h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 4px 0 0;
    color: #0B1140;
}

.feature p {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.globe-col {
    position: relative;
    height: 560px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: visible;
}

.globe-shadow {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    width: 78%;
    height: 46px;
    background: radial-gradient(ellipse at center, rgba(20,30,60,0.16), rgba(20,30,60,0) 72%);
    filter: blur(2px);
}

.globe-wrap {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin-top: 46px;
}

    .globe-wrap img {
        width: 100%;
        display: block;
        animation: floatY 7s ease-in-out infinite;
    }

@keyframes floatY {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* Reveal-on-load system (hero) */
[data-reveal] {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(22px);
    transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease);
}

    [data-reveal].in {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }

[data-reveal="scale"] {
    transform: translateY(0) scale(.92);
}

    [data-reveal="scale"].in {
        transform: translateY(0) scale(1);
    }

[data-reveal="left"] {
    transform: translateX(-34px);
}

    [data-reveal="left"].in {
        transform: translateX(0);
    }

[data-reveal="right"] {
    transform: translateX(34px);
}

    [data-reveal="right"].in {
        transform: translateX(0);
    }

/* ============================================================
     PAGE 2 — HOSTING SERVICES (scroll-reveal, not load-reveal)
  ============================================================ */

.stats-section {
    width: 100%;
    min-height: 138px;
    background: #079bc5;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(-90px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}

    .stats-section.in {
        opacity: 1;
        transform: translateX(0);
    }

.stats-container {
    width: 100%;
    max-width: 1650px;
    margin: 0 auto;
    padding: 26px 44px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.stat {
    min-width: 0;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
}

    .stat:not(:last-child)::after {
        content: "";
        position: absolute;
        width: 1px;
        height: 55px;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255,255,255,0.75);
    }

.stat-number {
    color: #fff;
    font-size: 42px;
    line-height: 1;
    font-weight: 300;
    white-space: nowrap;
    letter-spacing: -1px;
}

.stat-label {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
}

.main-section {
    width: 100%;
    padding: 80px 40px 90px;
    background: #ffffff;
    opacity: 0;
    transform: translateX(90px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}

    .main-section.in {
        opacity: 1;
        transform: translateX(0);
    }

.content-container {
    width: 100%;
    max-width: 1600px; /* Increase from 1280px */
    margin: 0 auto;
}
.section-heading {
    text-align: center;
    color: #050505;
    font-size: 44px;
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: -1.5px;
    margin-bottom: 17px;
}

.section-subtitle {
    max-width: 900px;
    margin: 0 auto 34px;
    text-align: center;
    color: #7c84a5;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px 61px;
}

.service-card {
    min-height: 270px;
    padding: 43px 18px 22px;
    background: #f5f5f5;
    border-radius: 9px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow 0.28s ease;
}

    .service-card.in {
        opacity: 1;
        transform: translateY(0);
    }

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(7, 18, 77, 0.09);
    }

    .service-card.in:hover {
        transform: translateY(-4px);
    }

.card-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    padding: 0 17px;
    background: #dceef3;
    border-radius: 30px;
    color: #07124d;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    margin-bottom: 14px;
}

.card-title {
    color: #07124d;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 600;
    margin-bottom: 14px;
}

.card-description {
    color: #7c84a5;
    font-size: 13px;
    line-height: 1.42;
    font-weight: 400;
    margin-bottom: 10px;
}

.features {
    list-style: none;
}

    .features li {
        color: #7c84a5;
        font-size: 13px;
        line-height: 1.55;
        font-weight: 400;
    }

/* ============================================================
     RESPONSIVE
  ============================================================ */

@media (max-width: 1100px) {
    .stage {
        grid-template-columns: 1fr;
    }

    .rail {
        flex-direction: row;
        height: auto;
    }

    .rail-left {
        order: 2;
    }

    .rail-right {
        order: 3;
    }

    .feature {
        clip-path: none !important;
        margin-top: 0 !important;
        padding: 28px 22px;
    }

    .globe-col {
        order: 1;
        height: auto;
        padding-top: 20px;
    }

    .globe-wrap {
        margin-top: 0;
        max-width: 520px;
    }

    .globe-shadow {
        display: none;
    }

    .stats-container {
        padding: 20px 25px;
    }

    .stat {
        gap: 10px;
    }

    .stat-number {
        font-size: 34px;
    }

    .stat-label {
        font-size: 11px;
    }

    .main-section {
        padding: 70px 30px 70px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .service-card {
        min-height: 270px;
    }
}

@media (max-width: 720px) {
    .wrap {
        padding: 0 20px;
    }

    .nav {
        position: relative;
    }

    .nav-toggle {
        display: inline-flex;
    }

    /* The links become a sheet under the header rather than vanishing. Same
       #primary-nav markup as the desktop row, so there is no second list to
       keep in step. :not(.open) outranks [data-reveal].in, which would
       otherwise force the closed panel back to opacity 1. */
    .nav:not(.open) .nav-links,
    .nav.open .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 40;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 4px 20px 12px;
        background: var(--white);
        border-top: 1px solid var(--panel);
        box-shadow: 0 20px 34px -22px rgba(11,16,39,.38);
        filter: none;
        transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s var(--ease);
    }

    .nav:not(.open) .nav-links {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
    }

    .nav.open .nav-links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        padding: 15px 2px;
        font-size: 16px;
        border-bottom: 1px solid var(--panel);
    }

    .nav-links li:last-child a {
        border-bottom: 0;
    }

    .rail {
        flex-direction: column;
    }

    h1.headline {
        font-size: 34px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .stats-section {
        min-height: 210px;
        padding: 10px 0;
    }

    .stats-container {
        padding: 20px;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 25px;
    }

    .stat {
        height: 65px;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

        .stat:nth-child(2)::after {
            display: none;
        }

        .stat:nth-child(1)::after, .stat:nth-child(3)::after {
            height: 65px;
        }

    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 11px;
    }

    .main-section {
        padding: 60px 18px 60px;
    }

    .section-heading {
        font-size: 32px;
        line-height: 1.2;
        letter-spacing: -0.8px;
        margin-bottom: 14px;
    }

    .section-subtitle {
        font-size: 12px;
        line-height: 1.55;
        margin-bottom: 30px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        min-height: 265px;
        padding: 38px 18px 22px;
    }

    .card-title {
        font-size: 19px;
    }

    .card-description, .features li {
        font-size: 12.5px;
    }
}

@media (max-width: 420px) {
    .stats-section {
        min-height: 195px;
    }

    .stats-container {
        padding: 16px 12px;
    }

    .stat-number {
        font-size: 27px;
    }

    .stat-label {
        font-size: 10px;
    }

    .main-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-heading {
        font-size: 29px;
    }

    .service-card {
        min-height: 260px;
    }

    .card-pill {
        font-size: 11px;
        min-height: 33px;
        padding: 0 14px;
    }
}


/* ============================================================
   PRICING SECTION STYLES
============================================================ */

:root {
    --ease: cubic-bezier(.22,.9,.32,1);
    --card-bg: #101012;
    --card-border: rgba(255,255,255,0.08);
    --muted: #9a9aa2;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: #fff;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal-text, .price-card {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }
}

.pricing-section {
    position: relative;
    min-height: 100vh;
    padding: 90px 40px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: radial-gradient(ellipse 900px 500px at 50% 25%, rgba(255,255,255,0.06), transparent 70%), #000;
    overflow: hidden;
}

    /* subtle starfield dots */
    .pricing-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(1.5px 1.5px at 20% 15%, rgba(255,255,255,.5) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 80% 10%, rgba(255,255,255,.4) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 60% 30%, rgba(255,255,255,.35) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 35% 45%, rgba(255,255,255,.3) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 90% 40%, rgba(255,255,255,.3) 50%, transparent 51%);
        pointer-events: none;
        opacity: .8;
    }

.heading-wrap {
    position: relative;
    text-align: center;
    margin-bottom: -170px;
    z-index: 1;
}

.reveal-img {
    width: min(900px, 88vw);
    height: auto;
    display: block;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(24px) scale(.96);
    transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
}

.reveal-text.in {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

.subtitle {
    max-width: 900px;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin-top: 10px;
}
/* Only inside .pricing-section does .subtitle get the scroll-reveal fade-in
     (matches the heading/footnote animation there, wired in site.js). Every
     other reuse of this class — Payment, Portal Dashboard, AccessDenied —
     has no reveal-observer at all, so an opacity:0 default there meant the
     text was invisible forever, not "revealed on scroll". */
.pricing-section .subtitle {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .8s var(--ease) .2s, transform .8s var(--ease) .2s;
}

    .pricing-section .subtitle.in {
        opacity: 1;
        transform: translateY(0);
    }

.subtitle.order-last {
    order: 5;
    margin-top: 56px;
}

/* 3. Pricing Cards Container (Currently 1220px) */
.cards-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    width: 100%;
    max-width: 1500px; /* Increase from 1220px */
    flex-wrap: wrap;
}

.price-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.02) 100%), rgba(10,10,12,0.35);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    backdrop-filter: blur(22px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 22px;
    width: 360px;
    padding: 34px 30px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.12);
    opacity: 0;
    transform: translateY(70px) scale(.88);
    transition: opacity .85s var(--ease), transform .85s var(--ease), box-shadow .35s ease, border-color .35s ease;
}

    .price-card.in {
        opacity: 0.8;
        transform: translateY(0) scale(1);
    }

    .price-card:hover {
        border-color: rgba(255,255,255,0.22);
        box-shadow: 0 34px 70px -18px rgba(0,0,0,.8);
    }

    .price-card.featured {
        width: 390px;
        padding: 42px 34px 34px;
        transform: translateY(70px) scale(.9);
        position: relative;
        z-index: 3;
        box-shadow: 0 40px 90px -20px rgba(0,0,0,.85);
    }

        .price-card.featured.in {
            transform: translateY(-18px) scale(1.04);
        }

        .price-card.featured:hover {
            transform: translateY(-22px) scale(1.045);
        }

    .price-card:not(.featured) {
        margin-top: 18px;
    }

.plan-kind {
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 10px;
}

.plan-name {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 22px;
    letter-spacing: -0.01em;
}

.plan-price {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}

    .plan-price span {
        font-size: 20px;
        font-weight: 400;
        color: var(--muted);
    }

.divider {
    height: 1px;
    width: 100%;
    background: rgba(255,255,255,0.12);
    margin-bottom: 24px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 34px;
    flex: 1;
}

    .plan-features li {
        display: flex;
        align-items: flex-start;
        gap: 13px;
        font-size: 13.5px;
        line-height: 1.5;
        color: #d8d8dc;
    }

.check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

    .check svg {
        width: 11px;
        height: 11px;
    }

.cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid rgba(255,255,255,0.35);
    background: transparent;
    color: #fff;
    transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}

    .cta:hover {
        background: #fff;
        color: #000;
        transform: translateY(-2px);
    }

.price-card.featured .cta {
    background: #fff;
    color: #000;
    border-color: #fff;
}

    .price-card.featured .cta:hover {
        background: #eee;
        transform: translateY(-2px);
    }

.footnote {
    position: relative;
    z-index: 2;
    margin-top: 60px;
    max-width: 950px;
    text-align: center;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

    .footnote.in {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 1180px) {
    .cards-row {
        gap: 20px;
    }

    .price-card {
        width: 320px;
    }

        .price-card.featured {
            width: 340px;
        }
}

@media (max-width: 900px) {
    .pricing-section {
        padding: 70px 24px 80px;
    }

    .cards-row {
        flex-direction: column;
    }

    .price-card, .price-card.featured {
        width: 100%;
        max-width: 420px;
    }

        .price-card.featured {
            order: -1;
        }

        .price-card:not(.featured) {
            margin-top: 0;
        }

        .price-card.featured.in {
            transform: translateY(0) scale(1);
        }

        .price-card.featured:hover {
            transform: translateY(-6px) scale(1.01);
        }

    .heading-wrap {
        margin-bottom: 10px;
    }
}


/* ── Catalog page (Plans/Index.cshtml): text heading + category tabs ──── */
.heading-wrap--text {
    margin-bottom: 24px; /* overrides the -170px pull designed for the tall image variant */
}

.reveal-heading {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    color: #fff;
    opacity: 0;
    filter: blur(10px);
    transform: translateY(24px) scale(.96);
    transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
}

.category-tabs {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 10px;
    margin-bottom: 36px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 999px;
    padding: 6px;
}

    .category-tabs a {
        padding: 10px 22px;
        border-radius: 999px;
        font-weight: 700;
        font-size: 14px;
        color: var(--muted);
        transition: background .2s var(--ease), color .2s var(--ease);
    }

        .category-tabs a.active {
            background: var(--cyan);
            color: #fff;
        }

        .category-tabs a:not(.active):hover {
            color: #fff;
        }

.pricing-empty {
    position: relative;
    z-index: 2;
    color: var(--muted);
    text-align: center;
    padding: 60px 20px;
    font-size: 15px;
}

/* ── Signup page (Account/Signup.cshtml) ─────────────────────────────── */
.signup-section {
    min-height: 100vh;
    padding: 140px 24px 100px;
    background: var(--cloud);
    display: flex;
    justify-content: center;
}

.signup-wrap {
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 860px) {
    .signup-wrap {
        grid-template-columns: 1fr;
    }
}

.order-summary-card {
    background: var(--ink);
    color: #fff;
    border-radius: 18px;
    padding: 28px 26px;
    position: sticky;
    top: 24px;
}

    .order-summary-card .subtitle {
        color: rgba(255,255,255,.7);
        font-size: 13.5px;
    }

.signup-form-card {
    background: #fff;
    border: 1px solid var(--panel);
    border-radius: 18px;
    padding: 32px 34px;
}

.signup-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 22px;
}

.signup-subheading {
    font-size: 16px;
    font-weight: 700;
    margin: 22px 0 12px;
}

/* ── Shared form field styles (Signup, and any future public forms) ─────
   Mirrors the .tgd-field/.tgd-row/.field-error classes already used in
   _AdminLayout.cshtml's inline styles, so form markup is consistent whether
   it renders inside the admin shell or the public layout. */
.tgd-field {
    margin-bottom: 16px;
}

    .tgd-field label {
        display: block;
        font-size: 13px;
        font-weight: 700;
        color: var(--ink-soft);
        margin-bottom: 6px;
    }

    .tgd-field input[type=text],
    .tgd-field input[type=email],
    .tgd-field input[type=tel],
    .tgd-field input[type=password],
    .tgd-field input[type=number],
    .tgd-field select,
    .tgd-field textarea {
        width: 100%;
        padding: 11px 13px;
        border: 1px solid var(--panel);
        border-radius: 10px;
        font-size: 14px;
        font-family: inherit;
        background: var(--cloud);
        color: var(--ink);
    }

        .tgd-field input:focus,
        .tgd-field select:focus {
            outline: none;
            border-color: var(--cyan);
            background: #fff;
        }

            .tgd-field.has-error input[type=text],
            .tgd-field.has-error input[type=email],
            .tgd-field.has-error input[type=tel],
            .tgd-field.has-error input[type=password],
            .tgd-field.has-error input[type=number],
            .tgd-field.has-error select,
            .tgd-field.has-error textarea {
                border-color: #e53e3e;
                background-color: #fff5f5;
            }

            .tgd-field.has-error input:focus,
            .tgd-field.has-error select:focus {
                border-color: #e53e3e;
                background-color: #fff5f5;
                box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
            }

.field-error {
            color: #e53e3e;
    font-size: 12.5px;
    margin-top: 5px;
    display: none;
            font-weight: 500;
        }

.tgd-field.has-error .field-error {
    display: block !important;
}

.tgd-row {
    display: flex;
    gap: 14px;
}

    .tgd-row .tgd-field {
        flex: 1;
        min-width: 0;
    }

@media (max-width: 640px) {
    .tgd-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ── Portal Dashboard — subscription grid (Module 7) ─────────────────
   Restyled to match the same slate/blue/sky "modern dashboard" theme as
   the admin panel (_AdminLayout.cshtml) — scoped locally to .dashboard-shell
   via its own variables, NOT the shared :root above, since that :root is
   used site-wide (Home/Plans/Services/Signup/Login) and this page alone
   shouldn't change the rest of the public site's cyan brand color. */
.dashboard-shell {
    --d-ink: #0F172A;
    --d-ink-soft: #64748B;
    --d-blue: #2563EB;
    --d-blue-deep: #1D4ED8;
    --d-sky: #0EA5E9;
    --d-cloud: #F8FAFC;
    --d-panel: #E2E8F0;
    --d-panel-bg: #F1F5F9;
    --d-shadow-sm: 0 1px 2px rgba(15,23,42,.05), 0 1px 3px rgba(15,23,42,.04);
    --d-shadow-md: 0 4px 10px rgba(15,23,42,.08), 0 2px 4px rgba(15,23,42,.05);
    max-width: 1600px; /* Increase from 1240px */
    width: 100%;
    margin: 0 auto;
    padding: 10px 24px 100px;
    background: var(--d-cloud);
    background: var(--d-cloud);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--d-panel);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 20px;
    box-shadow: var(--d-shadow-sm);
}

.dashboard-identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dashboard-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--d-blue), var(--d-sky));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: var(--d-shadow-sm);
}

.dashboard-name {
    font-size: 19px;
    font-weight: 700;
    color: var(--d-ink);
    letter-spacing: -.01em;
}

.dashboard-email {
    color: var(--d-ink-soft);
    font-size: 13.5px;
    margin-top: 2px;
}

.dashboard-header-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.dashboard-stats {
    display: flex;
    gap: 20px;
    padding-right: 20px;
    border-right: 1px solid var(--d-panel);
}

.dashboard-stat {
    text-align: center;
}

.dashboard-stat-num {
    font-size: 22px;
    font-weight: 700;
    color: var(--d-blue);
    line-height: 1;
}

.dashboard-stat:nth-child(2) .dashboard-stat-num {
    color: var(--d-sky);
}

.dashboard-stat:nth-child(3) .dashboard-stat-num {
    color: var(--d-ink);
}

.dashboard-stat-label {
    font-size: 11px;
    color: var(--d-ink-soft);
    font-weight: 600;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.dashboard-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

    .dashboard-actions .btn {
        padding: 9px 16px;
        font-size: 13px;
        border-radius: 8px;
        transition: background .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
    }

        .dashboard-actions .btn.btn-primary {
            background: var(--d-blue);
            border-color: var(--d-blue);
            box-shadow: var(--d-shadow-sm);
        }

            .dashboard-actions .btn.btn-primary:hover {
                background: var(--d-blue-deep);
                border-color: var(--d-blue-deep);
                transform: translateY(-1px);
                box-shadow: var(--d-shadow-md);
            }

        .dashboard-actions .btn.btn-outline {
            border-color: var(--d-panel);
            color: var(--d-ink-soft);
        }

            .dashboard-actions .btn.btn-outline:hover {
                border-color: var(--d-blue);
                color: var(--d-blue-deep);
                background: var(--d-panel-bg);
            }

@media (max-width: 760px) {
    .dashboard-header-right {
        width: 100%;
        justify-content: space-between;
    }

    .dashboard-stats {
        border-right: none;
        padding-right: 0;
    }
}

.dashboard-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--d-ink);
    letter-spacing: -.01em;
    margin: 28px 0 14px;
}

.sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 16px;
}

.sub-card {
    background: #fff;
    border: 1px solid var(--d-panel);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--d-shadow-sm);
    transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}

    .sub-card:hover {
        box-shadow: var(--d-shadow-md);
        transform: translateY(-2px);
    }

.sub-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.sub-card-name {
    font-weight: 700;
    font-size: 15.5px;
    color: var(--d-ink);
    line-height: 1.35;
}

.sub-card-kind {
    font-size: 12px;
    color: var(--d-ink-soft);
    font-weight: 600;
    margin-top: 2px;
}

.sub-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--d-ink);
}

    .sub-card-price span {
        font-size: 13px;
        font-weight: 600;
        color: var(--d-ink-soft);
    }

.sub-card-meta {
    color: var(--d-ink-soft);
    font-size: 12.5px;
}

.sub-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 8px;
}

.sub-status-pill {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid transparent;
}

    .sub-status-pill.Active {
        background: #ECFDF5;
        color: #047857;
        border-color: #A7F3D0;
    }

    .sub-status-pill.PendingPayment {
        background: #FEFCE8;
        color: #A16207;
        border-color: #FEF08A;
    }

    .sub-status-pill.Cancelled, .sub-status-pill.Expired {
        background: #FEF2F2;
        color: #DC2626;
        border-color: #FECACA;
    }

.sub-btn {
    border-radius: 8px;
    padding: 8px 14px;
    font-weight: 600;
    font-size: 12.5px;
    border: 1px solid var(--d-panel);
    background: #fff;
    color: var(--d-ink);
    cursor: pointer;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}

    .sub-btn.cyan {
        background: var(--d-sky);
        color: #fff;
        border-color: var(--d-sky);
    }

        .sub-btn.cyan:hover {
            background: #0284C7;
            border-color: #0284C7;
        }

    .sub-btn.danger {
        color: #DC2626;
        border-color: #FECACA;
    }

        .sub-btn.danger:hover {
            background: #FEF2F2;
        }

.sub-empty {
    background: #fff;
    border: 1px dashed var(--d-panel);
    border-radius: 14px;
    padding: 40px 20px;
    text-align: center;
    color: var(--d-ink-soft);
}

/* ── Toast notifications (replaces alert()) ──────────────────────────── */
.tgd-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
    width: calc(100% - 40px);
}

.tgd-toast {
    background: #fff;
    border-radius: 10px;
    padding: 14px 16px;
    box-shadow: 0 10px 30px rgba(15,23,42,.15);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
    color: #0F172A;
    border-left: 4px solid #64748B;
    opacity: 0;
    transform: translateX(16px);
    transition: opacity .22s ease, transform .22s ease;
}

    .tgd-toast.in {
        opacity: 1;
        transform: translateX(0);
    }

.tgd-toast-success {
    border-left-color: #10B981;
}

.tgd-toast-error {
    border-left-color: #DC2626;
}

.tgd-toast-warning {
    border-left-color: #F59E0B;
}

.tgd-toast-info {
    border-left-color: #2563EB;
}

.tgd-toast-msg {
    flex: 1;
}

.tgd-toast-close {
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #94A3B8;
    padding: 0;
    flex-shrink: 0;
}

    .tgd-toast-close:hover {
        color: #0F172A;
    }

/* ── Confirm modal, global (replaces confirm()) ──────────────────────── */
.tgd-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 4100;
}

    .tgd-confirm-overlay.open {
        display: flex;
    }

.tgd-confirm-box {
    position: relative;
    background: #fff;
    border-radius: 14px;
    width: 420px;
    max-width: 90vw;
    padding: 28px 26px 24px;
    box-shadow: 0 24px 60px rgba(15,23,42,.22);
}

.tgd-confirm-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: none;
    background: #F1F5F9;
    color: #64748B;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, color .15s ease;
}

    .tgd-confirm-close:hover {
        background: #FEE2E2;
        color: #DC2626;
    }

.tgd-confirm-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-right: 28px;
}

.tgd-confirm-message {
    color: #64748B;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.tgd-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.tgd-confirm-btn {
    border-radius: 8px;
    padding: 9px 18px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background .15s ease, transform .15s ease;
}

.tgd-confirm-btn-cancel {
    background: #fff;
    border-color: #E2E8F0;
    color: #475569;
}

    .tgd-confirm-btn-cancel:hover {
        background: #F1F5F9;
    }

.tgd-confirm-btn-ok {
    background: #2563EB;
    color: #fff;
}

    .tgd-confirm-btn-ok:hover {
        background: #1D4ED8;
        transform: translateY(-1px);
    }

    .tgd-confirm-btn-ok.tgd-confirm-btn-danger {
        background: #DC2626;
    }

        .tgd-confirm-btn-ok.tgd-confirm-btn-danger:hover {
            background: #B91C1C;
        }

/* ── Numeric inputs — right-aligned, no scroll/spinner increment ────── */
input[type=number] {
    text-align: right;
    -moz-appearance: textfield;
}

    input[type=number]::-webkit-inner-spin-button,
    input[type=number]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

/* ============================================================
   SCROLL REVEAL (generic)
   Add data-scroll="up|left|right|zoom" to any element and site.js adds
   .in when it scrolls into view. Children of a [data-scroll-stagger]
   container reveal one after another (site.js sets --i on each child).
   ============================================================ */
[data-scroll] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    will-change: opacity, transform;
}
[data-scroll="left"]  { transform: translateX(-40px); }
[data-scroll="right"] { transform: translateX(40px); }
[data-scroll="zoom"]  { transform: scale(.94); }
[data-scroll].in { opacity: 1; transform: none; }

[data-scroll-stagger] > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
}
[data-scroll-stagger].in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    [data-scroll], [data-scroll-stagger] > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ============================================================
   Primary nav dropdowns. Desktop: hover / :focus-within reveals the
   panel. Mobile (<=720px): the panel is an accordion inside the sheet,
   opened by the .menu-toggle button (site.js toggles li.open).
   ============================================================ */
.nav-links li.has-menu { position: relative; display: flex; align-items: center; }
.nav-links .menu-trigger .caret { margin-left: 2px; }
.nav-links .menu-toggle { display: none; }
.nav-links .submenu {
    list-style: none; margin: 0; padding: 10px;
    position: absolute; top: calc(100% + 10px); left: -12px; min-width: 268px;
    background: var(--white); border: 1px solid var(--panel); border-radius: 16px;
    box-shadow: 0 28px 54px -22px rgba(11,16,39,.38);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    z-index: 600;
}
.nav-links .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */
.nav-links li.has-menu:hover > .submenu,
.nav-links li.has-menu:focus-within > .submenu,
.nav-links li.has-menu.open > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links .submenu li { position: static; }
.nav-links .submenu a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink); }
.nav-links .submenu a:hover { background: var(--cloud); color: var(--cyan-deep); }
.nav-links .submenu a.featured { font-weight: 600; }

@media (max-width: 720px) {
    .nav-links li.has-menu { flex-wrap: wrap; }
    .nav-links li.has-menu > .menu-trigger { flex: 1; }
    .nav-links li.has-menu > .menu-trigger .caret { display: none; }
    .nav-links .menu-toggle {
        display: flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--ink);
    }
    .nav-links .menu-toggle::before {
        content: ""; width: 9px; height: 9px; margin-top: -4px;
        border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
        transform: rotate(45deg); transition: transform .2s var(--ease), margin .2s var(--ease);
    }
    .nav-links li.has-menu.open .menu-toggle::before { transform: rotate(-135deg); margin-top: 4px; }
    .nav-links .submenu {
        position: static; flex: 0 0 100%; min-width: 0; display: none;
        opacity: 1; visibility: visible; transform: none;
        border: 0; box-shadow: none; border-radius: 0; padding: 0 0 6px 16px; background: transparent;
    }
    .nav-links li.has-menu.open > .submenu { display: block; }
    .nav-links .submenu a { padding: 11px 2px; border-bottom: 1px solid var(--panel); border-radius: 0; font-size: 15px; }
    .nav-links .submenu li:last-child a { border-bottom: 0; }
}

/* ============================================================
   Floating "Chat on WhatsApp" button (bottom-left; Tawk.to owns the
   bottom-right). Number comes from Admin > Settings.
   ============================================================ */
.wa-float {
    position: fixed; left: 20px; bottom: 20px; z-index: 3500;
    display: inline-flex; align-items: center; gap: 10px;
    height: 54px; padding: 0 18px 0 12px; border-radius: 999px;
    background: #25D366; color: #fff; font-weight: 700; font-size: 14.5px;
    box-shadow: 0 12px 30px rgba(37,211,102,.38), 0 2px 6px rgba(11,16,39,.18);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s ease;
}
.wa-float:hover { background: #1EBE5A; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(37,211,102,.45), 0 2px 6px rgba(11,16,39,.18); }
.wa-float:focus-visible { outline: 3px solid #0B1027; outline-offset: 2px; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; flex: 0 0 auto; }
.wa-float span { white-space: nowrap; }

@media (max-width: 720px) {
    .wa-float { left: 14px; bottom: 14px; height: 52px; width: 52px; padding: 0; justify-content: center; }
    .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
