/* ═══════════════════════════════════════════════════════════════════════════
   JAM TELECOM – Get Started Page  (BEM prefix: st-)
   ─────────────────────────────────────────────────
   Universal service-routing hub with magnetic glass cards.
   Inherits all design tokens and glass utilities from main.css / glass.css.
   ═══════════════════════════════════════════════════════════════════════════ */


/* ── Page wrapper ──────────────────────────────────────────────────────────── */
.st-page {
    overflow-x: hidden;
}


/* ═══════════════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════════════ */

.st-hero {
    position: relative;
    padding-top: calc( var(--header-height, 80px) + clamp(3rem, 6vw, 5rem) );
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    overflow: hidden;
    text-align: center;
}

/* Pastel gradient background */
.st-hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            160deg,
            #EEF2FF 0%,
            #E0E7FF 25%,
            #F0F9FF 55%,
            #F8FAFC 100%
        );
    z-index: 0;
}

/* Decorative orbs */
.st-hero__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(70px);
}
.st-hero__orb--1 {
    top: -100px; right: 8%;
    width: 440px; height: 440px;
    background: radial-gradient(
        circle,
        rgba(79, 70, 229, 0.16) 0%,
        transparent 70%
    );
}
.st-hero__orb--2 {
    bottom: -60px; left: 4%;
    width: 320px; height: 320px;
    background: radial-gradient(
        circle,
        rgba(6, 182, 212, 0.13) 0%,
        transparent 70%
    );
}
.st-hero__orb--3 {
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 280px;
    background: radial-gradient(
        ellipse,
        rgba(139, 92, 246, 0.08) 0%,
        transparent 65%
    );
}

.st-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin-inline: auto;
}

.st-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: var(--space-5, 1.25rem);
}

.st-hero__title {
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: var(--text-primary, #0f172a);
    margin-bottom: var(--space-5, 1.25rem);
}

/* .text-gradient already defined in main.css — no redefinition needed */

.st-hero__desc {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary, #475569);
    line-height: 1.7;
    max-width: 500px;
    margin-inline: auto;
    margin-bottom: var(--space-8, 2rem);
}

/* Animated down-arrow nudge */
.st-hero__arrow {
    display: flex;
    justify-content: center;
    color: var(--color-primary, #4f46e5);
    opacity: 0.45;
    animation: st-bounce 2.2s var(--ease-out, ease-out) infinite;
}

@keyframes st-bounce {
    0%, 100% { transform: translateY(0);    opacity: .45; }
    50%       { transform: translateY(6px); opacity: .7;  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SERVICE CARDS SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.st-services {
    position: relative;
    padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
    background: var(--surface-alt, #f8fafc);
}

/* Subtle top gradient bleed from hero */
.st-services::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 120px;
    background: linear-gradient(
        to bottom,
        rgba(224, 231, 255, 0.5),
        transparent
    );
    pointer-events: none;
}


/* ── Grid: flex-wrap for natural 3+2 centering ──────────────────────────── */

.st-grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 2vw, 1.5rem);
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* 3 columns on desktop */
.st-card {
    flex: 0 0 calc((100% - 2 * clamp(1rem, 2vw, 1.5rem)) / 3);
    min-width: 0; /* prevent overflow */
}


/* ── Card base ──────────────────────────────────────────────────────────── */

.st-card {
    /* Glass surface */
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: var(--radius-2xl, 1.25rem);
    box-shadow:
        0 4px 16px rgba(15, 23, 42, 0.05),
        0 1px 4px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);

    display: flex;
    flex-direction: column;
    padding: clamp(1.5rem, 3vw, 2rem);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    position: relative;

    /* Reserve will-change only during hover/tilt — set via JS */
    transition:
        box-shadow 0.38s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
        border-color 0.38s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)),
        background 0.38s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1));

    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}


/* ── Colour-coded top accent stripe ────────────────────────────────────── */

.st-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: calc(var(--radius-2xl, 1.25rem)) calc(var(--radius-2xl, 1.25rem)) 0 0;
    opacity: 0;
    transition: opacity 0.38s var(--ease-out, ease-out);
}
.st-card:hover::before,
.st-card:focus-visible::before { opacity: 1; }

.st-card--blue::before   { background: linear-gradient(90deg, #4a7dff, #818cf8); }
.st-card--violet::before { background: linear-gradient(90deg, #7c5cfc, #a78bfa); }
.st-card--cyan::before   { background: linear-gradient(90deg, #0891b2, #22d3ee); }
.st-card--pink::before   { background: linear-gradient(90deg, #db6fba, #f9a8d4); }
.st-card--slate::before  { background: linear-gradient(90deg, #5b7094, #94a3b8); }


/* ── Hover state ────────────────────────────────────────────────────────── */

.st-card:hover,
.st-card:focus-visible {
    border-color: rgba(255, 255, 255, 0.92);
    outline: none;
}

/* Per-colour hover shadow glow */
.st-card--blue:hover   { box-shadow: 0 22px 52px rgba(74, 125, 255, 0.12), 0 4px 12px rgba(74, 125, 255, 0.07), inset 0 1px 0 rgba(255,255,255,0.95); }
.st-card--violet:hover { box-shadow: 0 22px 52px rgba(124, 92, 252, 0.12), 0 4px 12px rgba(124, 92, 252, 0.07), inset 0 1px 0 rgba(255,255,255,0.95); }
.st-card--cyan:hover   { box-shadow: 0 22px 52px rgba(8, 145, 178, 0.12), 0 4px 12px rgba(8, 145, 178, 0.07), inset 0 1px 0 rgba(255,255,255,0.95); }
.st-card--pink:hover   { box-shadow: 0 22px 52px rgba(219, 111, 186, 0.12), 0 4px 12px rgba(219, 111, 186, 0.07), inset 0 1px 0 rgba(255,255,255,0.95); }
.st-card--slate:hover  { box-shadow: 0 22px 52px rgba(91, 112, 148, 0.12), 0 4px 12px rgba(91, 112, 148, 0.07), inset 0 1px 0 rgba(255,255,255,0.95); }

/* Focus ring for accessibility */
.st-card:focus-visible {
    outline: 2px solid var(--color-primary, #4f46e5);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

/* Click / active feedback */
.st-card:active,
.st-card--clicking {
    transform: scale(0.982) !important;
    transition-duration: 0.1s !important;
}


/* ── Badge (top-right label, e.g. "Most popular") ───────────────────────── */

.st-card__badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25em 0.7em;
    border-radius: 999px;
    line-height: 1.5;
}

.st-card--blue   .st-card__badge { background: #dbeafe; color: #1d4ed8; }
.st-card--violet .st-card__badge { background: #ede9fe; color: #5b21b6; }
.st-card--cyan   .st-card__badge { background: #cffafe; color: #0e7490; }
.st-card--pink   .st-card__badge { background: #fce7f3; color: #9d174d; }
.st-card--slate  .st-card__badge { background: #e2e8f0; color: #334155; }


/* ── Icon container ─────────────────────────────────────────────────────── */

.st-card__icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
    flex-shrink: 0;
    transition: transform 0.38s var(--ease-spring, cubic-bezier(0.34, 1.56, 0.64, 1));
}

.st-card:hover .st-card__icon {
    transform: scale(1.1) rotate(-4deg);
}

.st-card__icon svg {
    width: 32px;
    height: 32px;
}

.st-card--blue   .st-card__icon { background: #eff6ff; color: #4a7dff; }
.st-card--violet .st-card__icon { background: #f2eeff; color: #7c5cfc; }
.st-card--cyan   .st-card__icon { background: #ecfeff; color: #0891b2; }
.st-card--pink   .st-card__icon { background: #fdf0f7; color: #db6fba; }
.st-card--slate  .st-card__icon { background: #f0f4f8; color: #5b7094; }


/* ── Card body ──────────────────────────────────────────────────────────── */

.st-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.st-card__title {
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.st-card__tagline {
    font-size: 0.75rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.065em;
    margin-bottom: 0.85rem;
    line-height: 1;
}

.st-card--blue   .st-card__tagline { color: #4a7dff; }
.st-card--violet .st-card__tagline { color: #7c5cfc; }
.st-card--cyan   .st-card__tagline { color: #0891b2; }
.st-card--pink   .st-card__tagline { color: #db6fba; }
.st-card--slate  .st-card__tagline { color: #5b7094; }

.st-card__desc {
    font-size: 0.9rem;
    color: var(--text-secondary, #475569);
    line-height: 1.65;
    margin-bottom: 1.1rem;
    flex-shrink: 0;
}


/* ── Bullet list ─────────────────────────────────────────────────────────── */

.st-card__bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0 0 1.5rem;
    padding: 0;
    flex: 1;
}

.st-card__bullet {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--text-secondary, #475569);
    line-height: 1.45;
}

.st-card__bullet svg {
    flex-shrink: 0;
    margin-top: 0.1em;
}

.st-card--blue   .st-card__bullet svg { color: #4a7dff; }
.st-card--violet .st-card__bullet svg { color: #7c5cfc; }
.st-card--cyan   .st-card__bullet svg { color: #0891b2; }
.st-card--pink   .st-card__bullet svg { color: #db6fba; }
.st-card--slate  .st-card__bullet svg { color: #5b7094; }


/* ── Card footer CTA ─────────────────────────────────────────────────────── */

.st-card__footer {
    padding-top: 1.15rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    margin-top: auto;
}

.st-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.88rem;
    font-weight: 650;
    transition: gap 0.28s var(--ease-out, ease-out);
}

.st-card--blue   .st-card__cta { color: #4a7dff; }
.st-card--violet .st-card__cta { color: #7c5cfc; }
.st-card--cyan   .st-card__cta { color: #0891b2; }
.st-card--pink   .st-card__cta { color: #db6fba; }
.st-card--slate  .st-card__cta { color: #5b7094; }

.st-card:hover .st-card__cta,
.st-card:focus-visible .st-card__cta {
    gap: 0.75rem;
}

.st-card__arrow {
    flex-shrink: 0;
    transition: transform 0.28s var(--ease-out, ease-out);
}

.st-card:hover .st-card__arrow,
.st-card:focus-visible .st-card__arrow {
    transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════════════════════════════
   TRUST STATS STRIP
   ═══════════════════════════════════════════════════════════════════════════ */

.st-trust {
    padding-block: clamp(2.5rem, 5vw, 4rem);
    background: white;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.st-trust__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 6vw, 5rem);
    flex-wrap: wrap;
}

/* Dividers between items (hidden on wrap) */
.st-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    position: relative;
}

.st-trust__item + .st-trust__item::before {
    content: '';
    position: absolute;
    left: calc(-1 * clamp(1rem, 3vw, 2.5rem));
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: rgba(15, 23, 42, 0.1);
}

.st-trust__value {
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--color-primary, #4f46e5), var(--color-accent, #8b5cf6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.st-trust__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CONSULTATIVE CTA  –  "Not sure yet?"
   ═══════════════════════════════════════════════════════════════════════════ */

.st-consult {
    padding-block: clamp(4rem, 8vw, 7rem);
    background: var(--surface-alt, #f8fafc);
}

.st-consult__card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: clamp(1.5rem, 4vw, 3rem);
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: var(--radius-2xl, 1.25rem);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 8px 32px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient accent on the card */
.st-consult__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(79, 70, 229, 0.03) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.st-consult__icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary, #4f46e5);
}

.st-consult__icon svg {
    width: 38px;
    height: 38px;
}

.st-consult__body {
    min-width: 0;
}

.st-consult__title {
    font-family: var(--font-heading, 'Space Grotesk', sans-serif);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 0.85rem;
}

.st-consult__desc {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    color: var(--text-secondary, #475569);
    line-height: 1.68;
    margin-bottom: 1.25rem;
}

.st-consult__perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.st-consult__perks li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary, #475569);
}

.st-consult__perks li svg {
    flex-shrink: 0;
    color: var(--color-primary, #4f46e5);
}

.st-consult__actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: flex-start;
    flex-shrink: 0;
}

/* WhatsApp tint override */
.st-consult__wa {
    --icon-color: #25d366;
}
.st-consult__wa svg {
    color: #25d366;
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─ Tablet (≤ 1024px): 2 columns ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .st-card {
        flex: 0 0 calc((100% - clamp(1rem, 2vw, 1.5rem)) / 2);
    }
}

/* ─ Narrow tablet / consult card (≤ 900px) ──────────────────────────────── */
@media (max-width: 900px) {
    .st-consult__card {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }
    .st-consult__actions {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* ─ Mobile (≤ 600px): 1 column ──────────────────────────────────────────── */
@media (max-width: 600px) {
    .st-card {
        flex: 0 0 100%;
    }

    /* Hero title breaks more gracefully */
    .st-hero__title br {
        display: none;
    }

    /* Consult card simplified */
    .st-consult__card {
        grid-template-columns: 1fr;
    }
    .st-consult__icon {
        width: 52px;
        height: 52px;
    }
    .st-consult__icon svg {
        width: 28px;
        height: 28px;
    }
    .st-consult__actions {
        flex-direction: column;
        width: 100%;
    }
    .st-consult__actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Trust strip — hide dividers when items wrap */
    .st-trust__item::before {
        display: none;
    }
    .st-trust__list {
        gap: 1.5rem 2.5rem;
    }
}

/* ─ Reduced motion ───────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .st-hero__arrow {
        animation: none;
    }
    .st-card,
    .st-card__icon,
    .st-card__cta,
    .st-card__arrow {
        transition: none !important;
    }
}

@media (max-width: 480px) {
    .st-hero {
        padding-top: calc(var(--header-height, 80px) + 2.2rem);
        padding-bottom: 2rem;
    }

    .st-hero__orb--1,
    .st-hero__orb--2 {
        opacity: 0.65;
        filter: blur(56px);
    }

    .st-services {
        padding-block: 2.2rem 3.1rem;
    }

    .st-card {
        padding: 1.1rem;
        border-radius: 16px;
    }

    .st-card__badge {
        top: 0.9rem;
        right: 0.9rem;
    }

    .st-card__title {
        font-size: 1.1rem;
    }

    .st-card__desc {
        font-size: 0.86rem;
    }

    .st-trust__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .st-trust__item {
        padding: 0.7rem 0.4rem;
        border-radius: 12px;
        border: 1px solid rgba(15, 23, 42, 0.08);
        background: rgba(255, 255, 255, 0.8);
    }

    .st-consult {
        padding-block: 2.7rem;
    }

    .st-consult__card {
        padding: 1.25rem;
    }
}
