/* ============================================================
   Savanna — Premium UI
   Fonts: Sora (display) + Inter (body)
   ============================================================ */

:root {
    --bg: #0c0907;
    --bg-soft: #140e0a;
    --surface: rgba(42, 24, 12, 0.55);
    --surface-solid: #1a100c;
    --border: rgba(251, 146, 60, 0.14);
    --border-strong: rgba(251, 146, 60, 0.28);
    --text: #fff7ed;
    --text-muted: #d6b89a;

    --green: #ff6b00;
    --green-deep: #c2410c;
    --cyan: #ffb020;
    --amber: #ffb020;
    --danger: #fb7185;

    --grad: linear-gradient(100deg, #ff6b00, #ffb020);
    --grad-soft: linear-gradient(100deg, rgba(255, 107, 0, 0.16), rgba(255, 176, 32, 0.14));

    --radius: 0;
    --radius-sm: 0;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    --glow-green: 0 0 40px rgba(255, 107, 0, 0.4);

    --font-display: 'Sora', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Keep anchor targets clear of the sticky header */
    scroll-padding-top: 86px;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

.container {
    width: min(1180px, 92%);
    margin-inline: auto;
}

.center {
    text-align: center;
    justify-content: center;
}

/* ============ Ambient aurora background ============ */
.aurora {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 107, 0, 0.08), transparent 60%),
        var(--bg);
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.5;
    animation: drift 26s ease-in-out infinite alternate;
}

.blob-a {
    width: 640px;
    height: 640px;
    top: -220px;
    right: -140px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.32), transparent 70%);
}

.blob-b {
    width: 560px;
    height: 560px;
    bottom: -200px;
    left: -160px;
    background: radial-gradient(circle, rgba(255, 176, 32, 0.26), transparent 70%);
    animation-delay: -8s;
}

.blob-c {
    width: 460px;
    height: 460px;
    top: 38%;
    left: 42%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.12), transparent 70%);
    animation-delay: -16s;
}

@keyframes drift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-70px, 50px) scale(1.12); }
    100% { transform: translate(50px, -60px) scale(0.94); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 30%, transparent 75%);
}

/* ============ Utilities ============ */
.gradient-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.reveal[data-reveal-delay="1"] { transition-delay: 0.08s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.16s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.24s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.32s; }
.reveal[data-reveal-delay="5"] { transition-delay: 0.40s; }

/* ============ Buttons ============ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.93rem;
    border: none;
    border-radius: 999px;
    padding: 13px 26px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.96);
}

.btn-arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--grad);
    color: #03130a;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(255, 107, 0, 0.45);
}

.btn-ghost {
    background: rgba(148, 163, 184, 0.07);
    color: var(--text);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: var(--green);
    color: var(--green);
    background: rgba(255, 107, 0, 0.06);
}

.btn-card {
    background: rgba(148, 163, 184, 0.08);
    color: var(--text);
    border: 1px solid var(--border-strong);
}

.btn-card:hover {
    background: var(--grad);
    border-color: transparent;
    color: #03130a;
    box-shadow: var(--glow-green);
}

.btn-lg {
    padding: 16px 34px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Shine sweep */
.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
    animation: shine 3.2s ease-in-out infinite;
}

@keyframes shine {
    0%, 60% { left: -80%; }
    100%    { left: 130%; }
}

/* ============ Header ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 7, 15, 0.72);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 15px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: var(--text);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: var(--grad);
    color: #03130a;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.02em;
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.35);
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
}

.brand-dot {
    color: var(--green);
}

.main-nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
}

.main-nav a {
    position: relative;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.91rem;
    padding: 4px 0;
    transition: color 0.2s;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--grad);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.main-nav a:hover {
    color: var(--text);
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
}

/* ============ Hero ============ */
.hero {
    position: relative;
    padding: 96px 0 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: center;
    padding-bottom: 90px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 107, 0, 0.08);
    color: var(--green);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 9px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 107, 0, 0.28);
    margin-bottom: 26px;
    backdrop-filter: blur(6px);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}

.hero h1 {
    font-size: clamp(2.4rem, 5.4vw, 3.9rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 22px;
}

.hero-lead {
    color: var(--text-muted);
    font-size: 1.12rem;
    max-width: 540px;
    margin-bottom: 34px;
}

.hero-lead strong {
    color: var(--text);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 52px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.stat-divider {
    width: 1px;
    height: 42px;
    background: var(--border-strong);
}

/* --- Payment badges (MTN MoMo / Airtel Money) --- */
.payments-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px dashed var(--border-strong);
}

.payments-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-right: 4px;
}

.pay-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(148, 163, 184, 0.07);
    border: 1px solid var(--border-strong);
    padding: 8px 14px 8px 9px;
    backdrop-filter: blur(8px);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.pay-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(148, 163, 184, 0.45);
}

.pay-badge.sm {
    padding: 5px 11px 5px 6px;
}

.pay-logo {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 0.78rem;
}

.pay-badge.sm .pay-logo {
    padding: 5px 9px;
    font-size: 0.7rem;
}

.mtn-logo {
    background: #ffcb05;
    color: #000;
    letter-spacing: 0.02em;
}

.airtel-logo {
    background: #e40000;
    color: #fff;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 0.01em;
}

.pay-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.83rem;
    color: var(--text);
    white-space: nowrap;
}

.pay-badge.sm .pay-name {
    font-size: 0.76rem;
}

/* --- Hero visual: orb + orbits + floating cards --- */
.hero-visual {
    position: relative;
    min-height: 460px;
    display: grid;
    place-items: center;
}

.orbit-ring {
    position: absolute;
    border: 1px dashed rgba(148, 163, 184, 0.22);
    border-radius: 50%;
}

.ring-1 {
    width: 340px;
    height: 340px;
    animation: spin 30s linear infinite;
}

.ring-2 {
    width: 460px;
    height: 460px;
    animation: spin 50s linear infinite reverse;
}

.orbit-ring::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 14px var(--green);
}

.ring-2::before {
    background: var(--cyan);
    box-shadow: 0 0 14px var(--cyan);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hero-orb {
    position: relative;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 107, 0, 0.55), transparent 55%),
        radial-gradient(circle at 70% 75%, rgba(255, 176, 32, 0.5), transparent 55%),
        rgba(10, 14, 28, 0.9);
    border: 1px solid rgba(255, 107, 0, 0.35);
    box-shadow:
        inset 0 0 60px rgba(255, 107, 0, 0.15),
        0 0 80px rgba(255, 107, 0, 0.25),
        0 0 140px rgba(255, 176, 32, 0.15);
    display: grid;
    place-items: center;
    animation: breathe 5s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.04); }
}

.orb-core {
    text-align: center;
}

.orb-speed {
    display: block;
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.orb-speed small {
    font-size: 1.15rem;
    margin-left: 4px;
}

.orb-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-top: 8px;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 24, 40, 0.78);
    border: 1px solid var(--border-strong);
    border-radius: 0;
    padding: 13px 17px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    animation: float 6s ease-in-out infinite;
}

.floating-card strong {
    display: block;
    font-size: 0.92rem;
    font-family: var(--font-display);
}

.floating-card small {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.fc-icon {
    font-size: 1.45rem;
}

.fc-badge {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 800;
    color: #03130a;
    background: var(--grad);
    padding: 3px 9px;
    border-radius: 999px;
}

.fc-badge.hot {
    background: linear-gradient(100deg, var(--amber), #fb923c);
}

.card-1 { top: 4%; left: -2%; animation-delay: 0s; }
.card-2 { top: 46%; right: -5%; animation-delay: 1.8s; }
.card-3 { bottom: 2%; left: 8%; animation-delay: 3.4s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

/* --- Price marquee --- */
.marquee {
    overflow: hidden;
    border-block: 1px solid var(--border);
    background: rgba(10, 14, 28, 0.6);
    backdrop-filter: blur(8px);
    padding: 14px 0;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 34px;
    width: max-content;
    animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.83rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    white-space: nowrap;
}

.marquee-sep {
    color: var(--green);
    font-size: 0.8rem;
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* ============ Sections ============ */
.section {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    color: var(--green);
    background: rgba(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.25);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.8vw, 2.7rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.section-head p {
    color: var(--text-muted);
    font-size: 1.04rem;
}

/* ============ Plan cards ============ */
.cards-grid {
    display: grid;
    gap: 26px;
}

.cards-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 680px;
    margin-inline: auto;
}

.cards-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 980px;
    margin-inline: auto;
}

.cards-5 {
    grid-template-columns: repeat(5, 1fr);
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 30px 24px;
    backdrop-filter: blur(14px);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}

/* Gradient border via masked overlay */
.plan-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(160deg, rgba(148, 163, 184, 0.35), rgba(148, 163, 184, 0.06) 40%, rgba(148, 163, 184, 0.18));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow), 0 0 50px rgba(255, 107, 0, 0.12);
}

.plan-card:hover::before {
    background: linear-gradient(160deg, rgba(255, 107, 0, 0.7), rgba(148, 163, 184, 0.08) 45%, rgba(255, 176, 32, 0.5));
}

.plan-card.is-popular {
    background: linear-gradient(180deg, rgba(255, 107, 0, 0.1), var(--surface) 60%);
    box-shadow: 0 0 60px rgba(255, 107, 0, 0.12);
}

.plan-card.is-popular::before {
    background: linear-gradient(160deg, var(--green), rgba(255, 107, 0, 0.15) 50%, var(--cyan));
}

.popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--grad);
    color: #03130a;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 6px 16px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
    z-index: 1;
}

.plan-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.plan-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    border-radius: 0;
    background: var(--grad-soft);
    border: 1px solid rgba(255, 107, 0, 0.25);
}

.plan-name {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
}

.plan-sub {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.plan-sub.center {
    text-align: center;
    margin-bottom: 12px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--border-strong);
    margin-bottom: 20px;
}

.plan-price .currency {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.83rem;
}

.plan-price .amount {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.plan-price .period {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.plan-features {
    list-style: none;
    flex: 1;
    margin-bottom: 26px;
}

.plan-features li {
    position: relative;
    padding-left: 28px;
    color: var(--text-muted);
    font-size: 0.89rem;
    margin-bottom: 11px;
}

.plan-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    background: rgba(255, 107, 0, 0.12);
    color: var(--green);
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 800;
}

/* --- Fibre speed dial --- */
.fibre-card {
    padding-top: 36px;
}

.speed-dial {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 14px;
}

.speed-dial svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.dial-track,
.dial-fill {
    fill: none;
    stroke-width: 7;
    stroke-linecap: round;
}

.dial-track {
    stroke: rgba(148, 163, 184, 0.14);
}

.dial-fill {
    stroke: var(--green);
    stroke-dasharray: 0 326.7;
    transition: stroke-dasharray 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    filter: drop-shadow(0 0 6px rgba(255, 107, 0, 0.6));
}

/* Fill animates in when the card is revealed */
.plan-card.in .dial-fill {
    stroke-dasharray: calc(var(--dial) * 326.7) 326.7;
}

.dial-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dial-speed {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
}

.dial-unit {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 3px;
}

/* ============ Steps ============ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 980px;
    margin-inline: auto;
}

.step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    backdrop-filter: blur(12px);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.step:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 0, 0.4);
}

.step-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(180deg, rgba(255, 107, 0, 0.9), rgba(255, 107, 0, 0.1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 18px;
}

.step h3 {
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 9px;
}

.step p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.step-line {
    position: absolute;
    top: 50%;
    right: -26px;
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 107, 0, 0.5), transparent);
}

/* ============ CTA banner ============ */
.cta-banner {
    padding: 20px 0 110px;
}

.cta-card {
    position: relative;
    overflow: hidden;
    text-align: center;
    background: var(--surface);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 0;
    padding: 70px 30px;
    backdrop-filter: blur(14px);
}

.cta-glow {
    position: absolute;
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 280px;
    background: radial-gradient(ellipse, rgba(255, 107, 0, 0.22), transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-card p {
    color: var(--text-muted);
    max-width: 460px;
    margin: 0 auto 30px;
}

/* ============ Footer ============ */
.site-footer {
    background: rgba(10, 14, 28, 0.7);
    border-top: 1px solid var(--border);
    padding-top: 64px;
    backdrop-filter: blur(10px);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 44px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 11px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--green);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px solid var(--border);
    padding: 22px 0;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.footer-payments {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* ============ Order modal ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    background: rgba(2, 4, 10, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: relative;
    width: min(530px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(255, 107, 0, 0.06), transparent 30%), var(--surface-solid);
    border: 1px solid var(--border-strong);
    border-radius: 0;
    padding: 38px 34px;
    box-shadow: var(--shadow), 0 0 80px rgba(255, 107, 0, 0.08);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-overlay.is-open .modal {
    transform: translateY(0) scale(1);
}

.modal h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, transform 0.2s;
}

.modal-close:hover {
    color: var(--text);
    border-color: var(--text-muted);
    transform: rotate(90deg);
}

.order-summary {
    background: rgba(255, 107, 0, 0.05);
    border: 1px solid rgba(255, 107, 0, 0.22);
    border-radius: 0;
    padding: 17px 19px;
    margin-bottom: 26px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.summary-row + .summary-row {
    margin-top: 7px;
}

.summary-type {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
}

.summary-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: right;
}

.summary-detail {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.summary-price {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--amber);
}

/* Form */
.form-group {
    margin-bottom: 19px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.req {
    color: var(--danger);
}

.optional {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.8rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: rgba(148, 163, 184, 0.06);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 13px 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(154, 167, 189, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green);
    background: rgba(255, 107, 0, 0.04);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.12);
}

.form-group input.has-error,
.form-group textarea.has-error {
    border-color: var(--danger);
}

.field-hint {
    display: block;
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-top: 7px;
}

.field-error {
    display: none;
    color: var(--danger);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 7px;
}

.field-error.is-visible {
    display: block;
}

.form-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 12px;
}

.modal-payments {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

/* Success view */
.order-success {
    text-align: center;
    padding: 14px 0;
}

.success-icon {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.1);
    border: 2px solid var(--green);
    color: var(--green);
    font-size: 2.1rem;
    font-weight: 800;
    box-shadow: 0 0 40px rgba(255, 107, 0, 0.3);
    animation: pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pop {
    from { transform: scale(0.4); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.order-success p {
    color: var(--text-muted);
    margin: 12px 0 26px;
}

.order-reference {
    display: inline-block;
    background: rgba(255, 107, 0, 0.07);
    border: 1px dashed rgba(255, 107, 0, 0.4);
    padding: 8px 18px;
    font-size: 0.9rem;
}

.order-reference strong {
    font-family: var(--font-display);
    color: var(--green);
    letter-spacing: 0.04em;
}

.network-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(148, 163, 184, 0.07);
    border: 1px solid var(--border-strong);
    padding: 8px 14px 8px 8px;
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
}

.network-pill .pay-logo {
    padding: 5px 10px;
    font-size: 0.72rem;
}

.network-pill.is-mtn .pay-logo {
    background: #ffcb05;
    color: #000;
}

.network-pill.is-airtel .pay-logo {
    background: #e40000;
    color: #fff;
    text-transform: lowercase;
}

.hold-note {
    color: var(--green) !important;
    font-weight: 600;
    margin: 0 0 22px !important;
}

.payment-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: var(--amber);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 18px;
    margin: 4px 0 16px;
}

.payment-status.is-paid {
    background: rgba(255, 107, 0, 0.08);
    border-color: rgba(255, 107, 0, 0.4);
    color: var(--green);
}

.payment-status.is-failed {
    background: rgba(251, 113, 133, 0.08);
    border-color: rgba(251, 113, 133, 0.4);
    color: var(--danger);
}

.payment-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 0 currentColor;
    animation: pulse 1.6s infinite;
}

.payment-status.is-paid .payment-status-dot,
.payment-status.is-failed .payment-status-dot {
    animation: none;
}

.order-success strong {
    color: var(--text);
}

body.modal-open {
    overflow: hidden;
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
    .cards-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .hero {
        padding-top: 56px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 56px;
    }

    /* Compact hero visual: keep the orb + rings, drop the floating cards */
    .hero-visual {
        min-height: 330px;
        order: 2;
    }

    .ring-1 {
        width: 260px;
        height: 260px;
    }

    .ring-2 {
        width: 350px;
        height: 350px;
    }

    .hero-orb {
        width: 185px;
        height: 185px;
    }

    .orb-speed {
        font-size: 2.7rem;
    }

    .orb-speed small {
        font-size: 1rem;
    }

    .floating-card {
        display: none;
    }

    /* Lighter background effects for mobile GPUs */
    .aurora-blob {
        filter: blur(70px);
        opacity: 0.38;
    }

    .cards-2,
    .cards-3 {
        grid-template-columns: 1fr;
        max-width: 430px;
    }

    .cards-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .step-line {
        display: none;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(5, 7, 15, 0.97);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 16px 5%;
        border-top: 1px solid var(--border);
    }

    .main-nav a::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
    }

    .header-cta {
        display: none;
    }

    /* 16px inputs stop iOS Safari from zooming in on focus */
    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }
}

@media (max-width: 560px) {
    html {
        scroll-padding-top: 74px;
    }

    .header-inner {
        padding: 12px 0;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .brand-name {
        font-size: 1.15rem;
    }

    .hero {
        padding-top: 44px;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 8px 14px;
    }

    .hero-lead {
        font-size: 1.02rem;
    }

    /* Full-width, thumb-friendly action buttons */
    .hero-actions {
        margin-bottom: 40px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        gap: 18px;
        justify-content: space-between;
    }

    .stat-value {
        font-size: 1.35rem;
    }

    .stat-divider {
        display: none;
    }

    .payments-strip {
        margin-top: 26px;
        padding-top: 20px;
        gap: 10px;
    }

    .payments-label {
        width: 100%;
    }

    .hero-visual {
        min-height: 290px;
    }

    .ring-1 {
        width: 230px;
        height: 230px;
    }

    .ring-2 {
        width: 300px;
        height: 300px;
    }

    .hero-orb {
        width: 165px;
        height: 165px;
    }

    .orb-speed {
        font-size: 2.4rem;
    }

    .marquee {
        padding: 11px 0;
    }

    .section {
        padding: 60px 0;
    }

    .section-head {
        margin-bottom: 44px;
    }

    .cards-grid {
        gap: 20px;
    }

    .cards-5 {
        grid-template-columns: 1fr;
        max-width: 430px;
        margin-inline: auto;
    }

    .plan-card {
        padding: 28px 22px;
    }

    .step {
        padding: 28px 22px;
    }

    .cta-banner {
        padding-bottom: 80px;
    }

    .cta-card {
        padding: 48px 22px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    /* Modal: anchor to the top so the keyboard doesn't hide fields */
    .modal-overlay {
        place-items: start center;
        padding: 16px 14px;
    }

    .modal {
        padding: 30px 20px;
        max-height: calc(100dvh - 32px);
    }

    .modal h2 {
        font-size: 1.3rem;
        padding-right: 40px;
    }
}

/* Disable hover-lift effects on touch devices (they stick after tap) */
@media (hover: none) {
    .plan-card:hover,
    .step:hover,
    .pay-badge:hover,
    .btn-primary:hover {
        transform: none;
    }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
