/* ============================================
   Design Tokens
   ============================================ */
:root {
    --color-navy: #13364d;
    --color-navy-light: #1c4763;
    --color-gold: #eaa349;
    --color-blue: #1f6fd6;
    --color-blue-dark: #1a5cb3;
    --color-bg: #f4f6f8;
    --color-white: #ffffff;
    --color-text: #1f2d3a;
    --color-text-muted: #6b7a87;
    --color-border: #e2e8ee;
    --color-success: #28a745;
    --color-warning: #f5a623;
    --color-danger: #dc3545;

    --sidebar-width: 240px;
    --topbar-height: 64px;
    --radius: 10px;
    --radius-sm: 7px;
    --radius-lg: 16px;
    --shadow-card: 0 2px 8px rgba(19, 54, 77, 0.08);
    --shadow-lift: 0 12px 32px rgba(19, 54, 77, 0.12);
    --font-base: "Cairo", sans-serif;
}

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

body {
    font-family: var(--font-base);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: 14px;
}

::selection {
    background: var(--color-gold);
    color: var(--color-navy);
}

/* ============================================
   Layout Shell
   ============================================ */
.app {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--color-navy);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    transition: transform 0.25s ease;
}

.sidebar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    height: var(--topbar-height);
}

.sidebar__brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--color-navy);
    font-size: 14px;
}

.sidebar__brand-name {
    color: var(--color-white);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.3px;
}

.sidebar__menu {
    flex: 1;
    padding: 12px 10px;
    overflow-y: auto;
}

.sidebar__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.sidebar__item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.sidebar__item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-white);
    padding-left: 18px;
}

.sidebar__item.is-active {
    background: var(--color-blue);
    color: var(--color-white);
}

.sidebar__footer {
    padding: 14px 20px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.main {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topbar {
    height: var(--topbar-height);
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar__menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--color-navy);
}

.topbar__right {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.balance-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--color-navy);
    color: var(--color-white);
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
}

.topbar__link {
    color: var(--color-text-muted);
    font-size: 14px;
    font-weight: 500;
}

.topbar__link:hover {
    color: var(--color-navy);
}

.page {
    padding: 24px;
    flex: 1;
}

.page__header {
    margin-bottom: 20px;
}

.page__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
}

.page__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
}



/* ============================================
   Components
   ============================================ */
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 20px;
    transition: box-shadow 0.2s ease;
}

.card+.card {
    margin-top: 16px;
}

.card__title {
    font-weight: 700;
    font-size: 14px;
    color: var(--color-navy);
    margin-bottom: 14px;
}

.pill-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13px;
    color: var(--color-text);
    transition: all 0.15s ease;
}

.pill.is-active {
    background: var(--color-blue);
    border-color: var(--color-blue);
    color: var(--color-white);
}

.pill:not(.is-active):hover {
    border-color: var(--color-blue);
    color: var(--color-blue);
}

.field {
    margin-bottom: 16px;
}

.field__label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--color-text);
}

.field__hint {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 5px;
}

.input,
.select,
.textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 14px;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(31, 111, 214, 0.1);
}

.textarea {
    resize: vertical;
    min-height: 90px;
}

.description-box {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.description-box strong {
    color: var(--color-text);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: none;
    font-weight: 700;
    font-size: 14px;
    width: 100%;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.btn-primary {
    background: var(--color-blue);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-blue-dark);
    box-shadow: 0 6px 16px rgba(31, 111, 214, 0.35);
}

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

table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.data-table th {
    text-align: left;
    padding: 12px 14px;
    background: var(--color-bg);
    color: var(--color-text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--color-border);
    white-space: nowrap;
}

.data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--color-border);
    white-space: nowrap;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.badge-pending {
    background: #fff3cd;
    color: #856404;
}

.badge-processing {
    background: #d6e9ff;
    color: #1a5cb3;
}

.badge-completed {
    background: #d4edda;
    color: #1c6e2e;
}

.badge-canceled {
    background: #f8d7da;
    color: #842029;
}

.service-row {
    cursor: pointer;
    transition: background 0.12s ease;
}

.service-row:hover {
    background: var(--color-bg);
}

.promo-card p {
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.promo-card .highlight {
    color: var(--color-success);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.fab-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 200;
}

/* ============================================
   Responsive — Panel
   ============================================ */




/* ============================================
   Public Navbar
   ============================================ */
.public-navbar {
    height: var(--topbar-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(19, 54, 77, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.public-navbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.public-navbar__logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
    display: block;
}

.public-navbar__brand-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-navy);
    color: var(--color-gold);
    font-weight: 700;
    font-size: 16px;
    border-radius: 8px;
}

.public-navbar__brand-name {
    color: var(--color-navy);
    font-weight: 700;
    font-size: 17px;
}

.public-navbar__links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.public-navbar__links a {
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.15s ease;
}

.public-navbar__links a:hover,
.public-navbar__links a.is-active {
    color: var(--color-navy);
}

.public-navbar__cta {
    background: var(--color-blue);
    color: var(--color-white) !important;
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
}

.public-navbar__cta:hover {
    background: var(--color-blue-dark) !important;
    box-shadow: 0 6px 16px rgba(31, 111, 214, 0.3);
}

.public-navbar__toggle {
    display: none !important;
}



/* ============================================
   Public Footer
   ============================================ */
.public-footer {
    background: var(--color-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 28px 24px;
    margin-top: auto;
}

.public-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.public-footer a {
    color: rgba(255, 255, 255, 0.7);
}

.public-footer a:hover {
    color: var(--color-white);
}

.public-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.public-page__body {
    flex: 1;
}

/* ============================================
   HERO — split layout (upgraded)
   ============================================ */
.hero-split {
    position: relative;
    background: linear-gradient(135deg, #0d2b41 0%, #1a4d72 60%, #1f6fd6 100%);
    padding: 80px 24px 160px;
    overflow: hidden;
}

/* subtle grid pattern overlay */
.hero-split::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.hero-split__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-split__copy {
    color: var(--color-white);
}

.hero-split__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 22px;
    letter-spacing: 0.2px;
}

.hero-split__title {
    font-size: 46px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.hero-split__subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 460px;
}

.hero-split__stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px 0;
    width: fit-content;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 28px;
}

.hero-stat__num {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
}

.hero-stat__label {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    font-weight: 500;
}

.hero-stat__divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.18);
}

.hero-split__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    width: 100%;
    display: block;
    z-index: 1;
}

/* Auth card in hero */
.hero-auth-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    padding: 36px 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.hero-auth-card__header {
    margin-bottom: 24px;
}

.hero-auth-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.hero-auth-card__sub {
    font-size: 13px;
    color: var(--color-text-muted);
}

.hero-auth-card .field__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-auth-card .field__label a {
    color: var(--color-blue);
    font-weight: 600;
    font-size: 12px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
    font-size: 12px;
    color: var(--color-text-muted);
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    margin-bottom: 16px;
}

.btn-google:hover {
    border-color: #aaa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth-card__footer {
    text-align: center;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-top: 18px;
}

.auth-card__footer a {
    color: var(--color-blue);
    font-weight: 600;
}

.google-icon {
    flex-shrink: 0;
}

/* hero responsive */




/* ============================================
   WHY TRY OUR PANEL — elevated cards
   ============================================ */
.why-section {
    background: var(--color-white);
    padding: 0 24px 80px;
    margin-top: -56px;
    position: relative;
    z-index: 3;
}

.why-section__header {
    max-width: 1180px;
    margin: 0 auto 40px;
    text-align: center;
    padding-top: 72px;
}

.why-section__eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-blue);
    margin-bottom: 10px;
}

.why-section__title {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.why-section__subtitle {
    font-size: 15px;
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0 auto;
}

.why-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(19, 54, 77, 0.07);
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-blue), #4da3f7);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lift);
}

.why-card:hover::before {
    opacity: 1;
}

.why-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8f0fc 0%, #dbeeff 100%);
    color: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(31, 111, 214, 0.1);
}

.why-card__icon svg {
    width: 26px;
    height: 26px;
}

.why-card__title {
    font-weight: 700;
    font-size: 15px;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.why-card__text {
    font-size: 13.5px;
    color: var(--color-text-muted);
    line-height: 1.65;
}





/* ============================================
   HOW DOES IT WORK — arrowhead timeline
   ============================================ */
.steps-section {
    background: var(--color-bg);
    padding: 80px 24px 90px;
    position: relative;
}

.steps-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.steps-section__eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-blue);
    text-align: center;
    margin-bottom: 10px;
}

.steps-section__title {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 8px;
}

.steps-section__subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 520px;
    margin: 0 auto 60px;
}

/* Desktop: horizontal row with arrow connectors */
.steps-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 220px;
}

.step__circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-white);
    border: 2.5px solid var(--color-blue);
    color: var(--color-blue);
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(31, 111, 214, 0.14);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.step:hover .step__circle {
    background: var(--color-blue);
    color: var(--color-white);
    transform: scale(1.08);
}

.step__body {
    padding: 18px 8px 0;
}

.step__title {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--color-navy);
    margin-bottom: 6px;
}

.step__text {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Arrowhead connectors between steps */
.step-arrow {
    flex: 0 0 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    /* align with circle center (30px half) */
    padding-top: 0;
    position: relative;
}

.step-arrow svg {
    width: 72px;
    height: 24px;
    overflow: visible;
    display: block;
}

/* ---- Mobile: vertical with down-arrows ---- */


/* ============================================
   WHY CHOOSE BOOSTORAA — feature tiles
   ============================================ */
.features-redesign {
    background: var(--color-white);
    padding: 80px 24px;
}

.features-redesign__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.features-redesign__eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 10px;
}

.features-redesign__title {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 48px;
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}



.feature-tile {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.feature-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-gold));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.feature-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
    background: #fafcff;
}

.feature-tile:hover::before,
.feature-tile:focus-visible::before {
    opacity: 1;
}

.feature-tile__number {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.feature-tile__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    color: var(--color-navy);
}

.feature-tile__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 8px;
}

.feature-tile__text {
    font-size: 13.5px;
    color: var(--color-text-muted);
    line-height: 1.65;
}

/* ============================================
   Platform pills
   ============================================ */
.section {
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 36px;
}

.platform-row {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.platform-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 12px;
    padding: 14px 22px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.platform-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(19, 54, 77, 0.12);
    border-color: transparent;
}

.platform-pill svg {
    width: 22px;
    height: 22px;
}

.platform-pill {
    width: 180px;
    justify-content: center;
}



/* ============================================
   Customer Stories
   ============================================ */
.stories-section {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
    padding: 80px 24px;
    position: relative;
}

.stories-section__title {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 8px;
}

.stories-section__subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 520px;
    margin: 0 auto 40px;
}

.stories-viewport {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
}

.stories-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
}

.stories-track::-webkit-scrollbar {
    display: none;
}

.story-card {
    scroll-snap-align: start;
    flex: 0 0 calc(50% - 10px);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.story-card__stars {
    color: var(--color-gold);
    font-size: 15px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.story-card__text {
    font-size: 13.5px;
    color: var(--color-text);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.story-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.story-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e8f0fc;
    color: var(--color-blue);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.story-card__name {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 14px;
}

.story-card__role {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.stories-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

.stories-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
}

.stories-arrow--prev {
    left: -54px;
}

.stories-arrow--next {
    right: -54px;
}

.stories-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
}

.stories-dots__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}

.stories-dots__dot.is-active {
    background: var(--color-white);
    transform: scale(1.2);
}





/* ============================================
   FAQ
   ============================================ */
.faq-section {
    background: var(--color-bg);
    padding: 80px 24px;
}

.faq-section__inner {
    max-width: 760px;
    margin: 0 auto;
}

.faq-section__eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-blue);
    text-align: center;
    margin-bottom: 10px;
}

.faq-section__title {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 8px;
}

.faq-section__subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 40px;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    transition: box-shadow 0.15s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(19, 54, 77, 0.08);
}

.faq-item__question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    text-align: left;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--color-navy);
}

.faq-item__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--color-blue);
    transition: transform 0.2s ease;
}

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

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.faq-item__answer-inner {
    padding: 0 22px 18px;
    font-size: 13.5px;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ============================================
   Sign-in validation
   ============================================ */
.field__error {
    color: var(--color-danger);
    font-size: 12px;
    font-weight: 600;
    margin: -10px 0 16px;
    display: none;
}

.field__error.is-visible {
    display: block;
}

.input.has-error {
    border-color: var(--color-danger);
    background: #fdf3f4;
}

/* ============================================
   Checkbox row / prose / feature-card (legacy)
   ============================================ */
.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.pricing-table-wrap {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.prose h2 {
    color: var(--color-navy);
    font-size: 20px;
    margin-bottom: 16px;
}

.prose ol,
.prose ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.prose li {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--color-text);
    list-style: decimal;
}

.hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, #1c4763 100%);
    color: var(--color-white);
    padding: 80px 24px;
    text-align: center;
}

.hero__title {
    font-size: 36px;
    font-weight: 700;
    max-width: 700px;
    margin: 0 auto 16px;
}

.hero__subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 560px;
    margin: 0 auto 28px;
}

.hero__cta-group {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--color-gold);
    color: var(--color-navy);
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    border: none;
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}



.feature-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(19, 54, 77, 0.1);
}

.feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(234, 163, 73, 0.15);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.feature-card__title {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-navy);
}

.feature-card__text {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* ============================================
   Modal
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 28, 40, 0.55);
    backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.is-open {
    display: flex;
}

.modal {
    background: var(--color-white);
    border-radius: 14px;
    max-width: 480px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(15, 28, 40, 0.3);
    animation: modal-in 0.2s ease;
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
}

.modal__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-navy);
}

.modal__close {
    background: var(--color-bg);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 16px;
    cursor: pointer;
}

.modal__close:hover {
    background: var(--color-border);
    color: var(--color-navy);
}

.modal__body {
    padding: 22px 24px;
}

.modal__footer {
    padding: 16px 24px 22px;
}

/* ============================================
   Mobile bottom nav (public)
   ============================================ */
.public-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 16px rgba(19, 54, 77, 0.08);
    z-index: 150;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}

.public-bottom-nav__inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.public-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--color-text-muted);
    font-size: 10.5px;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 10px;
    flex: 1;
    transition: color 0.15s ease;
}

.public-bottom-nav__item svg {
    width: 21px;
    height: 21px;
}

.public-bottom-nav__item.is-active {
    color: var(--color-blue);
}

.public-bottom-nav__item:active {
    background: var(--color-bg);
}



/* ============================================
   Panel bottom nav
   ============================================ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 16px rgba(19, 54, 77, 0.08);
    z-index: 150;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}

.bottom-nav__inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--color-text-muted);
    font-size: 10.5px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 10px;
    flex: 1;
    transition: color 0.15s ease, background 0.15s ease;
}

.bottom-nav__item svg {
    width: 21px;
    height: 21px;
}

.bottom-nav__item.is-active {
    color: var(--color-blue);
}

.bottom-nav__item:active {
    background: var(--color-bg);
}



/* More sheet */
.more-sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 28, 40, 0.5);
    z-index: 250;
    display: none;
}

.more-sheet-overlay.is-open {
    display: block;
}

.more-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    border-radius: 18px 18px 0 0;
    padding: 10px 14px calc(20px + env(safe-area-inset-bottom));
    z-index: 251;
    animation: sheet-up 0.2s ease;
}

@keyframes sheet-up {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.more-sheet__handle {
    width: 36px;
    height: 4px;
    background: var(--color-border);
    border-radius: 4px;
    margin: 8px auto 16px;
}

.more-sheet__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-bg);
}

.more-sheet__item svg {
    width: 20px;
    height: 20px;
    color: var(--color-navy);
}

.more-sheet__item:last-child {
    border-bottom: none;
}

/* ============================================
   Service card clickable
   ============================================ */
.service-card-clickable {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.service-card-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(19, 54, 77, 0.12);
}

/* hero-band (legacy, keep for other pages) */
.hero-band {
    background: var(--color-blue);
    color: var(--color-white);
    text-align: center;
    padding: 70px 24px 90px;
    margin-top: -2px;
}

.hero-band__title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-band__subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

/* auth wrap */
.auth-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--color-bg);
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 32px;
}

.auth-card__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 6px;
    text-align: center;
}

.auth-card__subtitle {
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 24px;
}

/* ================================================================
   RESPONSIVE — Consolidated Breakpoint System
   ================================================================
   One shared set of breakpoints used everywhere, instead of each
   section picking its own number. This closes the gaps that left
   some screen widths (e.g. 600-760px tablets, iPhone SE at 375px)
   falling between two unrelated rules.

   1024px  — small laptop / large tablet landscape
   860px   — tablet
   680px   — large phone / small tablet (phablet)
   480px   — standard phone
   375px   — small phone (iPhone SE and similar)
   ================================================================ */

/* ----------------------------------------------------------------
   1024px — small laptop / tablet landscape
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
    .page__grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ----------------------------------------------------------------
   860px — tablet
   ---------------------------------------------------------------- */
@media (max-width: 860px) {

    /* Panel shell */
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.is-open {
        transform: translateX(0);
    }

    .main {
        margin-left: 0;
        padding-bottom: 64px;
    }

    .topbar__menu-toggle {
        display: block;
    }

    .page {
        padding: 16px;
    }

    .bottom-nav {
        display: block;
    }

    .topbar__menu-toggle {
        display: none;
    }

    /* Public navbar */
    .public-navbar__links {
        display: none;
    }

    .public-page {
        padding-bottom: 64px;
    }

    .public-bottom-nav {
        display: block;
    }

    /* Hero split */
    .hero-split__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-split {
        padding: 56px 24px 150px;
    }

    .hero-split__title {
        font-size: 32px;
    }

    .hero-split__subtitle {
        max-width: 100%;
    }

    .hero-split__stats {
        margin-left: 20px;
        margin-right: 20px;
        width: 97%;
        justify-content: center;
    }

    .hero-auth-card {
        max-width: 100%;
        margin-top: 12px;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: -32px;
    }

    /* Why-cards: horizontal scroll on tablet */
    .why-section {
        margin-top: -36px;
    }

    .why-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 70%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
    }

    .why-grid::-webkit-scrollbar {
        display: none;
    }

    .why-card {
        scroll-snap-align: start;
    }

    /* Steps: vertical timeline */
    .steps-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0 8px;
    }

    .step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        max-width: 100%;
        width: 100%;
        gap: 20px;
        padding: 0 0 8px 0;
    }

    .step__circle {
        flex-shrink: 0;
        width: 52px;
        height: 52px;
        font-size: 18px;
    }

    .step__body {
        padding: 4px 0 0;
    }

    .step-arrow {
        flex: 0 0 auto;
        width: 52px;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 44px;
    }

    .step-arrow svg {
        width: 24px;
        height: 44px;
        transform: rotate(90deg);
    }

    /* Feature tiles & cards */
    .feature-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

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

    /* Stories */
    .stories-arrow {
        display: none;
    }

    .story-card {
        flex: 0 0 80%;
    }
}

/* ----------------------------------------------------------------
   680px — large phone / phablet (fills the old 520-760 dead zone)
   ---------------------------------------------------------------- */
@media (max-width: 680px) {
    .why-grid {
        grid-auto-columns: 84%;
    }

    .story-card {
        flex: 0 0 90%;
        padding: 24px 20px;
    }

    .hero-split__title {
        font-size: 28px;
    }

    .hero-stat {
        padding: 0 18px;
    }

    .platform-pill {
        width: 150px;
        font-size: 13.5px;
        padding: 13px 16px;
    }

    .faq-section {
        padding: 56px 18px;
    }

    .stories-section,
    .features-redesign,
    .steps-section {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* ----------------------------------------------------------------
   480px — standard phone
   ---------------------------------------------------------------- */
@media (max-width: 480px) {

    /* Panel topbar */
    .topbar__right {
        gap: 8px;
    }

    .topbar__link {
        display: none;
    }

    .balance-pill {
        font-size: 12px;
        padding: 7px 11px;
    }

    /* Hero */
    .hero-split {
        padding: 44px 16px 130px;
    }

    .hero-split__title {
        font-size: 25px;
    }

    .hero-split__badge {
        font-size: 11.5px;
        padding: 5px 12px;
    }

    .hero-stat__num {
        font-size: 17px;
    }

    .hero-stat {
        padding: 0 14px;
    }

    .hero-auth-card {
        padding: 26px 18px;
    }

    /* Why-cards */
    .why-grid {
        grid-auto-columns: 90%;
    }

    .why-card {
        padding: 24px 18px;
    }

    /* Platform pills */
    .platform-row {
        gap: 8px;
    }

    .platform-pill {
        width: 130px;
        font-size: 12.5px;
        padding: 11px 12px;
    }

    .platform-pill svg {
        width: 18px;
        height: 18px;
    }

    /* Stories */
    .story-card {
        flex: 0 0 92%;
        padding: 22px 18px;
    }

    .stories-section__title {
        font-size: 24px;
    }

    /* FAQ */
    .faq-section__title {
        font-size: 24px;
    }

    .faq-item__question {
        padding: 15px 16px;
        font-size: 13.5px;
    }

    .faq-item__answer-inner {
        padding: 0 16px 15px;
    }

    /* Feature tiles */
    .feature-tile {
        padding: 26px 20px;
    }

    .features-redesign__title,
    .why-section__title,
    .steps-section__title {
        font-size: 24px;
    }

    /* Section titles generally */
    .section__title {
        font-size: 21px;
    }

    /* Modal */
    .modal {
        border-radius: 12px;
    }

    .modal__header {
        padding: 16px 18px;
    }

    .modal__body {
        padding: 18px;
    }
}

/* ----------------------------------------------------------------
   375px — small phone (iPhone SE and similar)
   ---------------------------------------------------------------- */
@media (max-width: 375px) {
    .public-navbar {
        padding: 0 14px;
    }

    .public-navbar__brand-name {
        font-size: 15px;
    }

    .hero-split {
        padding: 36px 12px 120px;
    }

    .hero-split__title {
        font-size: 22px;
    }

    .hero-split__subtitle {
        font-size: 14.5px;
    }

    .hero-split__stats {
        padding: 12px 0;
    }

    .hero-stat {
        padding: 0 10px;
    }

    .hero-stat__num {
        font-size: 15px;
    }

    .hero-stat__label {
        font-size: 10px;
    }

    .hero-auth-card {
        padding: 20px 14px;
    }

    .hero-auth-card__title {
        font-size: 18px;
    }

    .why-card {
        padding: 20px 16px;
    }

    .why-grid {
        grid-auto-columns: 94%;
    }

    .platform-pill {
        width: 112px;
        font-size: 11.5px;
        padding: 10px 8px;
    }

    .platform-pill svg {
        width: 16px;
        height: 16px;
    }

    .story-card {
        flex: 0 0 94%;
        padding: 18px 14px;
    }

    .story-card__text {
        font-size: 13px;
    }

    .feature-tile {
        padding: 22px 16px;
    }

    .feature-tile__title {
        font-size: 15.5px;
    }

    .feature-tile__icon {
        width: 40px;
        height: 40px;
    }

    .faq-section {
        padding: 44px 12px;
    }

    .faq-item__question {
        padding: 13px 14px;
        font-size: 13px;
    }

    .step__circle {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .step__title {
        font-size: 13.5px;
    }

    .step__text {
        font-size: 12px;
    }

    .auth-card {
        padding: 24px 18px;
    }

    .bottom-nav__item,
    .public-bottom-nav__item {
        font-size: 9.5px;
    }

    .bottom-nav__item svg,
    .public-bottom-nav__item svg {
        width: 19px;
        height: 19px;
    }
}

/* ================================================================
   SERVICES PAGE — category-grouped catalog
   ================================================================ */

/* ---- Page header / toolbar ---- */
.services-hero {
    background: linear-gradient(135deg, #0d2b41 0%, #1a4d72 60%, #1f6fd6 100%);
    padding: 56px 24px 100px;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.services-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.services-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.services-hero__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 8px;
}

.services-hero__subtitle {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.78);
    max-width: 560px;
}

/* ---- Toolbar card (floats over hero bottom edge) ---- */
.services-toolbar {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(13, 43, 65, 0.25);
    padding: 18px;
    max-width: 1200px;
    margin: -64px auto 0;
    position: relative;
    z-index: 3;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.services-toolbar__search {
    flex: 1;
    min-width: 220px;
    position: relative;
}

.services-toolbar__search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    color: var(--color-text-muted);
    pointer-events: none;
}

.services-toolbar__search input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    font-size: 14px;
    color: var(--color-text);
}

.services-toolbar__search input:focus {
    outline: none;
    border-color: var(--color-blue);
    background: var(--color-white);
}

.services-toolbar__select {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    font-weight: 600;
    font-size: 13.5px;
    color: var(--color-text);
    cursor: pointer;
}

.services-toolbar__select svg {
    width: 16px;
    height: 16px;
    color: var(--color-text-muted);
}

/* ---- Platform filter chips ---- */
.services-filters {
    max-width: 1200px;
    margin: 28px auto 0;
    padding: 0 24px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.services-filter-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 22px;
    border: 1.5px solid var(--color-border);
    background: var(--color-white);
    font-weight: 600;
    font-size: 13px;
    color: var(--color-text);
    transition: all 0.15s ease;
}

.services-filter-chip svg,
.services-filter-chip img {
    width: 16px;
    height: 16px;
}

.services-filter-chip:hover {
    border-color: var(--color-blue);
    color: var(--color-blue);
}

.services-filter-chip.is-active {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: var(--color-white);
}

/* ---- Category groups ---- */
.services-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.service-category {
    margin-bottom: 36px;
}

.service-category__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.service-category__icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    flex-shrink: 0;
}

.service-category__icon svg,
.service-category__icon img {
    width: 16px;
    height: 16px;
}

.service-category__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
}

.service-category__badge {
    background: var(--color-gold);
    color: var(--color-navy);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 10px;
    text-transform: uppercase;
}

.service-category__count {
    color: var(--color-text-muted);
    font-size: 12.5px;
    margin-left: auto;
}

/* ---- Column header row (labels above each service list) ---- */
.service-list-head {
    display: grid;
    grid-template-columns: 56px 1fr 110px 90px 110px 90px;
    gap: 14px;
    align-items: center;
    margin-top: 10px;
    padding: 0 18px 9px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.service-list-head__id {
    text-align: center;
}

.service-list-head__rate,
.service-list-head__minmax,
.service-list-head__time {
    text-align: right;
}

.service-list-head__action {
    text-align: right;
}

/* ---- Service card list (replaces plain table rows) ---- */
.service-list {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.service-list-row {
    display: grid;
    grid-template-columns: 56px 1fr 110px 90px 110px 90px;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: background 0.12s ease;
}

.service-list-row:last-child {
    border-bottom: none;
}

.service-list-row:hover {
    background: #f8fafc;
}

.service-list-row__id {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-muted);
    background: var(--color-bg);
    border-radius: 6px;
    padding: 4px 0;
    text-align: center;
}

.service-list-row__name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.5;
}

.service-list-row__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}

.service-tag {
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
    background: var(--color-bg);
    color: var(--color-text-muted);
}

.service-tag--warn {
    background: #fff3cd;
    color: #856404;
}

.service-tag--good {
    background: #d4edda;
    color: #1c6e2e;
}

.service-list-row__rate {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-navy);
    text-align: right;
}

.service-list-row__minmax {
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: right;
}

.service-list-row__time {
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: right;
}

.service-list-row__action {
    display: flex;
    justify-content: flex-end;
}

.service-list-row__view-btn {
    background: var(--color-blue);
    color: var(--color-white);
    font-size: 12.5px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: none;
    white-space: nowrap;
}

.service-list-row__view-btn:hover {
    background: var(--color-blue-dark);
}

/* ---- Service detail modal additions ---- */
.service-modal-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.service-modal-meta__item {
    background: var(--color-bg);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
}

.service-modal-meta__label {
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
}

.service-modal-meta__value {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--color-navy);
}

/* ---- Responsive (uses the project's standard 5 breakpoints) ---- */
@media (max-width: 860px) {
    .services-hero {
        padding: 44px 18px 90px;
    }

    .services-hero__title {
        font-size: 26px;
    }

    .services-toolbar {
        margin-top: -56px;
        padding: 14px;
    }

    .service-list-head {
        display: none;
    }

    .service-list-row {
        grid-template-columns: 40px 1fr;
        grid-template-areas:
            "id name"
            "rate rate"
            "action action";
        row-gap: 8px;
    }

    .service-list-row__id {
        grid-area: id;
    }

    .service-list-row__name {
        grid-area: name;
    }

    .service-list-row__minmax,
    .service-list-row__time {
        display: none;
    }

    .service-list-row__rate {
        grid-area: rate;
        text-align: left;
        font-size: 14px;
    }

    .service-list-row__action {
        grid-area: action;
        justify-content: stretch;
    }

    .service-list-row__view-btn {
        width: 100%;
        padding: 10px;
    }
}

@media (max-width: 680px) {
    .services-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .services-filters::-webkit-scrollbar {
        display: none;
    }

    .services-filter-chip {
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 36px 14px 80px;
    }

    .services-hero__title {
        font-size: 22px;
    }

    .services-hero__subtitle {
        font-size: 13.5px;
    }

    .services-toolbar {
        flex-direction: column;
        align-items: stretch;
        margin-left: 14px;
        margin-right: 14px;
    }

    .services-toolbar__select {
        justify-content: space-between;
    }

    .services-content {
        padding: 32px 14px 60px;
    }

    .service-category__title {
        font-size: 14.5px;
    }

    .service-category__icon {
        width: 26px;
        height: 26px;
    }

    .service-category__icon svg,
    .service-category__icon img {
        width: 14px;
        height: 14px;
    }

    .service-list-row {
        padding: 14px 14px;
    }

    .service-tag {
        font-size: 10px;
        padding: 2px 7px;
    }

    .service-modal-meta {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}

@media (max-width: 375px) {
    .services-hero__title {
        font-size: 20px;
    }

    .service-list-row {
        padding: 12px 12px;
    }

    .service-list-row__name {
        font-size: 13px;
    }

    .service-modal-meta__value {
        font-size: 13px;
    }
}

/* ================================================================
   API DOCS PAGE
   ================================================================ */
.api-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.api-meta-table td:first-child {
    color: var(--color-text-muted);
    font-weight: 600;
    width: 160px;
}

.code-block {
    position: relative;
    background: var(--color-navy);
    color: #d9e6f2;
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 12.5px;
    line-height: 1.7;
    overflow-x: auto;
    max-width: 100%;
    white-space: pre;
    margin-top: 10px;
    box-sizing: border-box;
}

.code-block__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-top: 18px;
    margin-bottom: 0;
}

.code-block__copy {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #d9e6f2;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.code-block__copy:hover {
    background: rgba(255, 255, 255, 0.18);
}

.endpoint-card__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.endpoint-card__badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(31, 111, 214, 0.1);
    color: var(--color-blue);
    white-space: nowrap;
}

.endpoint-card__title {
    font-weight: 700;
    font-size: 16px;
    color: var(--color-navy);
}

.api-jumpnav-wrap {
    max-width: 1200px;
    margin: -34px auto 0;
    padding: 16px 18px;
    position: relative;
    z-index: 3;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(13, 43, 65, 0.18);
}

.api-jumpnav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.api-jumpnav a.services-filter-chip {
    border-radius: 22px;
    text-decoration: none;
}

/* Light active state instead of the dark navy default used elsewhere */
.api-jumpnav a.services-filter-chip.is-active {
    background: rgba(31, 111, 214, 0.1);
    border-color: var(--color-blue);
    color: var(--color-blue);
}

@media (max-width: 860px) {
    .api-jumpnav-wrap {
        margin-top: -20px;
        margin-left: 16px;
        margin-right: 16px;
        padding: 14px;
    }

    .api-jumpnav {
        justify-content: flex-start;
    }

    .api-grid {
        padding: 32px 16px 60px;
    }
}

@media (max-width: 480px) {
    .api-meta-table td:first-child {
        width: 110px;
    }

    .code-block {
        font-size: 11.5px;
        padding: 14px 14px;
    }

    .api-grid {
        padding: 24px 14px 60px;
        gap: 14px;
    }

    .endpoint-card__title {
        font-size: 15px;
    }
}

@media (max-width: 375px) {
    .api-jumpnav-wrap {
        margin-top: -14px;
        margin-left: 12px;
        margin-right: 12px;
        padding: 12px;
    }

    .api-jumpnav {
        gap: 8px;
    }

    .api-grid {
        padding: 20px 12px 50px;
    }

    .code-block {
        font-size: 11px;
        padding: 12px;
    }

    .endpoint-card__badge {
        font-size: 10px;
    }

    /* ── Public Services Featured Badge ── */
    .service-category__badge {
        background: var(--color-gold);
        color: var(--color-navy);
        font-size: 10px;
        font-weight: 800;
        padding: 3px 9px;
        border-radius: 10px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    /* ── Favourite Button ── */
    .service-fav-btn {
        background: none;
        border: none;
        cursor: pointer;
        font-size: 18px;
        padding: 4px;
        transition: color 0.15s, transform 0.15s;
    }

    .service-fav-btn:hover {
        transform: scale(1.2);
    }

    /* ── Load More Button ── */
    #loadMoreBtn {
        background: var(--color-white);
        color: var(--color-blue);
        border: 2px solid var(--color-blue);
        border-radius: var(--radius-sm);
        padding: 12px 32px;
        font-weight: 700;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.2s;
    }

    #loadMoreBtn:hover {
        background: var(--color-blue);
        color: var(--color-white);
        box-shadow: 0 6px 16px rgba(31, 111, 214, 0.3);
    }

    /* ── Result Counter ── */
    #resultCount {
        font-size: 13px;
        color: var(--color-text-muted);
        white-space: nowrap;
    }

    /* ── Loading State ── */
    .services-loading {
        text-align: center;
        padding: 60px 20px;
        color: var(--color-text-muted);
    }
}
/* ── Google button active/disabled states ── */
.btn-google {
    cursor: pointer;
    font-family: var(--font);
    text-decoration: none;
}
.btn-google[disabled],
.btn-google.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.btn-google.is-coming-soon {
    opacity: 0.6;
    cursor: default;
}
/* WhatsApp button — same as client.css version */
.wa-btn { position:fixed; bottom:24px; right:24px; z-index:9999; width:56px; height:56px; border-radius:50%; background:#25d366; box-shadow:0 4px 16px rgba(37,211,102,.45); display:flex; align-items:center; justify-content:center; text-decoration:none; transition:transform .2s,box-shadow .2s; }
.wa-btn:hover { transform:scale(1.08); box-shadow:0 6px 24px rgba(37,211,102,.55); }
.wa-btn svg { width:30px; height:30px; fill:#fff; }
@media (max-width:768px) { .wa-btn { bottom:80px; right:16px; width:50px; height:50px; } .wa-btn svg { width:26px; height:26px; } }