/*  ============================================
    Landing Pages — theEngine v2
    Covers: home.html, login.html, register.html,
            forgot-password.html, reset-password.html

    Each page is its own document. Cross-document view
    transitions morph the shared canvas + brand logo
    between navigations (see @view-transition below).

    Font: Avenir Next (system)
    Palette: deep navy radial gradient + #f2e94b yellow
    ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --auth-font:      'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --auth-navy:      #0b2236;
    --auth-dark:      #081722;
    --auth-yellow:    #f2e94b;
    --auth-text:      #eaf1f7;
    --auth-muted:     rgba(204, 217, 228, 0.72);
    --auth-muted-dim: rgba(159, 179, 196, 0.65);
    /* Right panel (form) */
    --form-bg:        #f7f9fb;
    --form-border:    #e2e8ee;
    --form-text:      #0b2236;
    --form-muted:     #6b8294;
    --form-link:      #3f6f96;
}

/* -----------------------------------------------
   Page shell
   ----------------------------------------------- */
body {
    font-family: var(--auth-font);
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    background: var(--auth-dark);
    display: flex;
    color: var(--auth-text);
}

.auth-root {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* -----------------------------------------------
   Shared: canvas + vignette overlay
   ----------------------------------------------- */
.auth-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    view-transition-name: auth-canvas;
}

/* Cross-document view transition between landing pages (home ↔ login ↔ register ↔ forgot/reset).
   The canvas above carries the named transition so it morphs from full-screen on /home to the
   58%-width left panel on /login etc. Everything else cross-fades via the default root group.
   Falls back to a hard cut in browsers that don't support the API. */
@view-transition {
    navigation: auto;
}

::view-transition-group(root),
::view-transition-group(auth-canvas),
::view-transition-group(brand-logo) {
    animation-duration: 600ms;
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
}

.auth-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(80% 60% at 50% 50%, rgba(8,23,34,0) 40%, rgba(8,23,34,0.55) 100%);
}

/* ===============================================
   LANDING PANEL — default state
   =============================================== */
.landing-panel {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 90% at 22% 18%, #11304a 0%, #0b2236 38%, #081722 100%);
    overflow: hidden;
    z-index: 2;
}

/* Content wrapper — sits above canvas */
.landing-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Matches .login-left__inner padding so the logo sits at the same viewport
       coordinates on both pages — keeps the brand-logo view-transition morph
       position-neutral (logo appears to stay put across navigations). */
    padding: 44px clamp(36px, 4.5vw, 72px) 36px;
}

/* -----------------------------------------------
   Header / topbar
   ----------------------------------------------- */
.landing-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-shrink: 0;
}

/* Logo — TW image + separator dot + theEngine text.
   One rule styles the logo on all 5 landing pages identically, so the
   cross-document view-transition morph is a position-and-size identity
   transform (the logo appears to stay put across navigations). */
.logo--landing {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    view-transition-name: brand-logo;
    /* Force content-sized box so old/new view-transition snapshots match
       even when the logo sits inside a column-flex parent that would
       otherwise stretch it. */
    width: max-content;
}

.logo--landing img {
    height: 36px;
    filter: brightness(0) invert(1);
}

.logo__sep {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

.logo__text {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: 0.02em;
}

.logo__the {
    color: var(--auth-yellow);
    font-style: normal;
}

/* Navigation — right side of header */
.landing-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 12.5px;
    letter-spacing: 0.16em;
    font-weight: 600;
    color: var(--auth-muted-dim);
}

.landing-nav .nav-dot {
    opacity: 0.5;
}

/* -----------------------------------------------
   Main grid — hero left, carousel right
   ----------------------------------------------- */
.landing-main {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: clamp(32px, 6vw, 96px);
    padding: clamp(24px, 5vh, 72px) 0;
}

/* Hero */
.landing-kicker {
    font-size: clamp(11px, 0.9vw, 13px);
    letter-spacing: 0.34em;
    font-weight: 700;
    color: var(--auth-yellow);
    margin-bottom: clamp(12px, 2vh, 24px);
}

.landing-wordmark {
    margin: 0;
    line-height: 0.82;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.wordmark-the {
    display: block;
    font-size: clamp(60px, 11vw, 170px);
    color: var(--auth-yellow);
}

.wordmark-engine {
    display: block;
    font-size: clamp(72px, 10.5vw, 172px);
    font-weight: 900;
    color: rgba(150, 170, 188, 0.8);
}

.landing-desc {
    max-width: 580px;
    margin: clamp(20px, 3vh, 34px) 0 0;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.55;
    color: var(--auth-muted);
}

/* CTA buttons */
.landing-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: clamp(28px, 4vh, 44px);
}

.btn-landing-secondary {
    padding: 17px 30px;
    border-radius: 12px;
    border: 1.5px solid rgba(207, 218, 228, 0.28);
    background: rgba(255, 255, 255, 0.02);
    color: #eaf1f7;
    font-family: var(--auth-font);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-landing-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(207, 218, 228, 0.5);
}

.btn-landing-primary {
    padding: 17px 34px;
    border-radius: 12px;
    border: none;
    background: var(--auth-yellow);
    color: var(--auth-navy);
    font-family: var(--auth-font);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(242, 233, 75, 0.22);
    transition: all 0.2s ease;
}

.btn-landing-primary:hover {
    background: #f7f06a;
    box-shadow: 0 10px 38px rgba(242, 233, 75, 0.34);
}

/* -----------------------------------------------
   Carousel — right column, single-card with content cycling
   ----------------------------------------------- */
.carousel-area {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: flex-end;
}

.carousel-card {
    width: 100%;
    max-width: 440px;
    padding: 30px 32px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(20,44,64,0.72), rgba(12,30,44,0.62));
    border: 1px solid rgba(122, 150, 176, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 24px 60px rgba(4, 12, 20, 0.4);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.carousel-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: rgba(242, 233, 75, 0.1);
    border: 1px solid rgba(242, 233, 75, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.icon-bar {
    display: block;
    width: 4px;
    border-radius: 2px;
    background: var(--auth-yellow);
}

.icon-bar:nth-child(1) { height: 12px; }
.icon-bar:nth-child(2) { height: 20px; }
.icon-bar:nth-child(3) { height: 8px; }

.carousel-card__body {
    min-width: 0;
}

.carousel-card__title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #f3f7fa;
    margin: 2px 0 8px;
}

.carousel-card__title em {
    font-style: normal;
    color: var(--auth-yellow);
}

.carousel-card__desc {
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--auth-muted);
    margin: 0;
}

/* Dots */
.carousel-dots {
    display: flex;
    gap: 9px;
    align-items: center;
    padding-right: 6px;
}

.carousel-dot {
    height: 4px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(159, 179, 196, 0.35);
    width: 7px;
    padding: 0;
}

.carousel-dot.active {
    width: 26px;
    background: var(--auth-yellow);
}

/* -----------------------------------------------
   Landing footer — copyright + background switcher
   ----------------------------------------------- */
.landing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.trademark {
    font-size: 13px;
    color: rgba(159, 179, 196, 0.5);
}


/* ===============================================
   SPLIT LAYOUT (.auth-split on .auth-root)
   Used by login, register, forgot-password, reset-password.
   Dark left brand panel (54%) + white right form panel (46%).
   =============================================== */

/* Left panel — brand panel with canvas */
.login-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 54%;
    height: 100%;
    background: radial-gradient(120% 95% at 25% 22%, #11304a 0%, #0b2236 40%, #081722 100%);
    overflow: hidden;
    z-index: 3;
    color: var(--auth-text);
}

.login-left__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 44px clamp(36px, 4.5vw, 72px) 36px;
}

.login-left__content {
    margin-top: auto;
}

.login-left__eyebrow {
    font-size: 13px;
    letter-spacing: 0.32em;
    font-weight: 700;
    color: var(--auth-yellow);
    margin-bottom: 22px;
}

.login-left__headline {
    font-size: clamp(44px, 5vw, 78px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    font-weight: 800;
    max-width: 9ch;
    margin: 0;
}

.login-left__headline span {
    color: var(--auth-yellow);
}

.login-left__sub {
    max-width: 420px;
    margin: 28px 0 0;
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.55;
    color: rgba(204, 217, 228, 0.7);
}

.login-left__footer {
    margin-top: auto;
    padding-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.btn-back-to-landing {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    font-family: var(--auth-font);
    font-size: 14px;
    font-weight: 500;
    color: rgba(204, 217, 228, 0.62);
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.btn-back-to-landing:hover {
    color: #eaf1f7;
    background: transparent;
    transform: none;
    box-shadow: none;
}

/* Right panel — white form */
.login-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 46%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px clamp(28px, 4vw, 64px);
    z-index: 3;
}

/* -----------------------------------------------
   Form wrapper
   ----------------------------------------------- */
.login-form-wrapper {
    width: 100%;
    max-width: 420px;
}

/* Blinking cursor on "Welcome back" */
@keyframes engBlink {
    0%, 49%  { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.login-title {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--form-text);
    margin: 0;
    white-space: nowrap;
}

.login-cursor {
    display: inline-block;
    width: 3px;
    height: 0.82em;
    background: var(--form-text);
    animation: engBlink 1.1s steps(1) infinite;
    flex-shrink: 0;
}

.login-subtitle {
    margin: 14px 0 40px;
    font-size: 17px;
    color: var(--form-muted);
}

/* -----------------------------------------------
   Form fields
   ----------------------------------------------- */
.form-group {
    margin-bottom: 26px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--form-text);
    margin-bottom: 9px;
    font-family: var(--auth-font);
    letter-spacing: 0;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 16px 18px;
    border: 1.5px solid var(--form-border);
    border-radius: 12px;
    font-size: 16px;
    font-family: var(--auth-font);
    color: var(--form-text);
    background: var(--form-bg);
    transition: border-color 0.15s, box-shadow 0.15s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: var(--form-text);
    box-shadow: 0 0 0 4px rgba(11, 34, 54, 0.08);
    background: #ffffff;
}

input::placeholder {
    color: #9aa9b6;
}

/* Password toggle */
.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 52px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 7px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--form-muted);
    font-family: var(--auth-font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color 0.15s;
    width: auto;
    height: auto;
    margin: 0;
}

.password-toggle:hover {
    color: var(--form-text);
    background: transparent;
    transform: translateY(-50%);
    box-shadow: none;
}

.password-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

#forgotPasswordContainer {
    text-align: right;
    margin-top: 14px;
}

/* -----------------------------------------------
   Links
   ----------------------------------------------- */
.link {
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--form-link);
    transition: color 0.15s;
}

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

.link.link--create-account {
    color: var(--form-text);
    font-weight: 700;
    text-decoration: none;
}

.link.link--create-account:hover {
    text-decoration: underline;
}

.create-account-prompt {
    text-align: center;
    margin-top: 30px;
    font-size: 15px;
    color: var(--form-muted);
}

/* -----------------------------------------------
   Resend verification (login recovery)
   ----------------------------------------------- */
.resend-verify {
    text-align: center;
    margin-top: 14px;
}

.resend-verify > .link {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
}

.resend-verify__form {
    margin-top: 14px;
    text-align: left;
}

.resend-verify__form[hidden] {
    display: none;
}

.resend-verify__form .btn-submit {
    margin-top: 10px;
}

.resend-verify__msg {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--form-muted);
    text-align: center;
}

.back-to-signin {
    text-align: center;
    margin-top: 28px;
}

.back-to-signin a {
    color: var(--form-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.2s;
}

.back-to-signin a:hover {
    color: var(--form-text);
}

/* -----------------------------------------------
   Submit button
   ----------------------------------------------- */
.btn-submit {
    width: 100%;
    margin-top: 34px;
    padding: 18px;
    border: none;
    border-radius: 12px;
    background: var(--form-text);
    color: #ffffff;
    font-family: var(--auth-font);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
}

.btn-submit:hover {
    background: #0f2d45;
}

.btn-submit:active {
    transform: scale(0.99);
}

.btn-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Success flash — applied via JS on a successful submit */
.btn-submit.is-success,
.btn-submit.is-success:hover {
    background: var(--color-success);
}

button {
    font-family: var(--auth-font);
}

/* -----------------------------------------------
   Feedback banners
   ----------------------------------------------- */
.error,
.success {
    margin-top: 16px;
    padding: 12px 16px;
    border: 1px solid;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
    display: none;
}

.error {
    background: #FEF2F2;
    color: var(--color-danger-text);
    border-color: rgba(var(--danger-rgb), 0.30);
}

.success {
    background: #ECFDF5;
    color: var(--color-success-text);
    border-color: rgba(var(--success-rgb), 0.30);
}

.error.show,
.success.show { display: block; }

/* Sibling: info banner (e.g. "logged out due to inactivity") — prepended
   above the form so it uses margin-bottom instead of margin-top. */
.info-message {
    margin-bottom: 16px;
    padding: 12px 16px;
    background: rgba(var(--warning-rgb), 0.14);
    color: var(--color-warning);
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}

/* -----------------------------------------------
   Loading spinner
   ----------------------------------------------- */
.loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.30);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* -----------------------------------------------
   Mobile responsive (≤900px)
   ----------------------------------------------- */
@media (max-width: 900px) {
    .landing-inner {
        padding: 36px 28px;
    }

    .landing-main {
        grid-template-columns: 1fr;
        padding: 24px 0;
        gap: 32px;
    }

    .carousel-area {
        align-items: flex-start;
    }

    .landing-cta {
        flex-direction: column;
        gap: 12px;
    }

    .btn-landing-secondary,
    .btn-landing-primary {
        width: 100%;
        justify-content: center;
    }

    .landing-nav {
        display: none;
    }

    .auth-root.auth-split {
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    .login-left,
    .login-right {
        position: relative;
        width: 100%;
        height: auto;
    }

    .login-left {
        min-height: 260px;
    }

    .login-right {
        border-radius: 24px 24px 0 0;
        margin-top: -24px;
        padding: 40px 28px;
        box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.15);
        z-index: 4;
        min-height: 100vh;
    }

    .login-form-wrapper {
        max-width: 100%;
    }

    .login-left__headline {
        font-size: 26px;
    }
}

/* ===============================================
   SERVICES PAGE — scrollable, hero band + content
   =============================================== */
body.services-page {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: block;
}

.services-root {
    height: auto;
    overflow: visible;
}

.services-hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
}

.services-hero__inner {
    padding: 44px clamp(36px, 4.5vw, 72px) 48px;
}

.services-hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 720px;
}

.services-content {
    position: relative;
    z-index: 2;
    background: var(--auth-dark);
    padding: 72px clamp(36px, 4.5vw, 72px) 56px;
}

/* Nav links (Services / Sign in) — shared by home.html and services.html */
.landing-nav__link {
    color: var(--auth-muted-dim);
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing-nav__link:hover,
.landing-nav__link:focus-visible {
    color: var(--auth-text);
}

.landing-nav__link.is-active {
    color: var(--auth-yellow);
}

.landing-nav__link:focus-visible {
    outline: 2px solid var(--auth-yellow);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Stat row — relocated from the topbar nav to sit under the hero kicker */
.landing-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    letter-spacing: 0.16em;
    font-weight: 600;
    color: var(--auth-muted-dim);
    margin-bottom: clamp(10px, 1.5vh, 18px);
}

.landing-stats .nav-dot {
    opacity: 0.5;
}

/* Low-emphasis text CTA alongside the two hero buttons */
.landing-link-pricing {
    color: var(--auth-muted);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.landing-link-pricing:hover,
.landing-link-pricing:focus-visible {
    color: var(--auth-text);
    text-decoration: underline;
}

.services-hero__headline {
    margin: clamp(16px, 2.5vh, 28px) 0 0;
    font-size: clamp(34px, 4.2vw, 54px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--auth-text);
}

.services-hero__headline em {
    font-style: normal;
    color: var(--auth-yellow);
}

.services-hero__desc {
    max-width: 640px;
}

/* -----------------------------------------------
   Services page — pricing
   ----------------------------------------------- */
.pricing-section {
    max-width: 1080px;
    margin: 0 auto;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 0 auto 40px;
    padding: 4px;
    width: max-content;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(122, 150, 176, 0.18);
}

.pricing-toggle__option {
    padding: 10px 20px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--auth-muted);
    font-family: var(--auth-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pricing-toggle__option:hover {
    color: var(--auth-text);
}

.pricing-toggle__option.is-active {
    background: var(--auth-yellow);
    color: var(--auth-navy);
}

.pricing-toggle__option:focus-visible {
    outline: 2px solid var(--auth-yellow);
    outline-offset: 2px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 30px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(20,44,64,0.72), rgba(12,30,44,0.62));
    border: 1px solid rgba(122, 150, 176, 0.18);
}

.pricing-card--featured {
    border-color: rgba(242, 233, 75, 0.45);
    box-shadow: 0 24px 60px rgba(4, 12, 20, 0.4);
    transform: scale(1.03);
}

.pricing-card__ribbon {
    position: absolute;
    top: -12px;
    left: 30px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--auth-yellow);
    color: var(--auth-navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pricing-card__tier {
    font-size: 18px;
    font-weight: 700;
    color: #f3f7fa;
    margin: 0 0 16px;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0;
}

.pricing-card__price-amount {
    font-size: 40px;
    font-weight: 800;
    color: #f3f7fa;
    letter-spacing: -0.02em;
}

.pricing-card__price-period {
    font-size: 14px;
    color: var(--auth-muted);
}

.pricing-card__billing-note {
    margin: 6px 0 24px;
    font-size: 13px;
    color: var(--auth-muted-dim);
}

.pricing-card__desc {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--auth-muted);
}

.pricing-card__features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.pricing-card__features li {
    position: relative;
    padding-left: 26px;
    font-size: 14.5px;
    line-height: 1.4;
    color: var(--auth-text);
}

.pricing-card__features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--auth-yellow);
    font-weight: 700;
}

.pricing-card__industry-select {
    width: 100%;
    margin: 0 0 16px;
    padding: 12px 14px;
    border: 1px solid rgba(122, 150, 176, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--auth-text);
    font-family: var(--auth-font);
    font-size: 14.5px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.pricing-card__industry-select:hover {
    border-color: rgba(122, 150, 176, 0.32);
    background: rgba(255, 255, 255, 0.08);
}

.pricing-card__industry-select:focus-visible {
    outline: 2px solid var(--auth-yellow);
    outline-offset: 2px;
}

.pricing-card__cta {
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* -----------------------------------------------
   Services page — feature comparison + section titles
   ----------------------------------------------- */
.services-section-title {
    font-size: 26px;
    font-weight: 700;
    color: #f3f7fa;
    margin: 0 0 24px;
    text-align: center;
}

.feature-compare {
    max-width: 1080px;
    margin: 88px auto 0;
}

.feature-table-wrap {
    overflow-x: auto;
}

.feature-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.feature-table th,
.feature-table td {
    padding: 14px 18px;
    text-align: left;
    font-size: 14.5px;
    border-bottom: 1px solid rgba(122, 150, 176, 0.18);
}

.feature-table thead th {
    color: var(--auth-muted-dim);
    font-size: 12.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.feature-table tbody th {
    font-weight: 500;
    color: var(--auth-muted);
    white-space: nowrap;
}

.feature-table td {
    color: var(--auth-text);
}

/* -----------------------------------------------
   Services page — FAQ accordion
   ----------------------------------------------- */
.faq-section {
    max-width: 760px;
    margin: 88px auto 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid rgba(122, 150, 176, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.faq-item__question {
    width: 100%;
    padding: 18px 22px;
    background: transparent;
    border: none;
    text-align: left;
    font-family: var(--auth-font);
    font-size: 15.5px;
    font-weight: 600;
    color: #f3f7fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item__question:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq-item__question:focus-visible {
    outline: 2px solid var(--auth-yellow);
    outline-offset: -2px;
}

.faq-item__question::after {
    content: '+';
    font-size: 20px;
    font-weight: 400;
    color: var(--auth-muted-dim);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.is-open .faq-item__question::after {
    transform: rotate(45deg);
}

.faq-item__answer {
    padding: 0 22px 20px;
}

.faq-item__answer p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--auth-muted);
}

/* -----------------------------------------------
   Services page — closing CTA + footer
   ----------------------------------------------- */
.closing-cta {
    max-width: 640px;
    margin: 96px auto 0;
    text-align: center;
}

.closing-cta__title {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    color: #f3f7fa;
    margin: 0 0 12px;
}

.closing-cta__desc {
    font-size: 16px;
    color: var(--auth-muted);
    margin: 0 0 32px;
}

.closing-cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.services-footer {
    margin-top: 64px;
    justify-content: center;
}

/* -----------------------------------------------
   Services page — mobile overrides (≤900px)
   Kept as a small, separate block placed after the
   base .pricing-grid rule (defined earlier in this
   file) so these rules win the same-specificity
   cascade tie without touching the pre-existing
   shared @media (max-width: 900px) block above,
   which serves the other landing pages.
   ----------------------------------------------- */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card--featured {
        transform: none;
    }

    .services-hero {
        height: auto;
        min-height: 100vh;
    }

    .closing-cta__actions {
        flex-direction: column;
    }

    .closing-cta__actions .btn-landing-secondary,
    .closing-cta__actions .btn-landing-primary {
        width: 100%;
        justify-content: center;
    }
}
