﻿:root {
    color-scheme: light;
    --bg-main: #ffffff;
    --bg-soft: #f8f9fc;
    --bg-card: #ffffff;
    --text-primary: #181a20;
    --text-secondary: #626b7a;
    --text-muted: #788294;
    --primary: #1a73e8;
    --primary-hover: #1557b0;
    --google-blue: #4285f4;
    --google-red: #ea4335;
    --google-yellow: #fbbc05;
    --google-green: #34a853;
    --purple: #704be8;
    --cyan: #22a9c1;
    --green: #34a853;
    --border: #e6e9ef;
    --border-strong: #d3d9e4;
    --font: "Google Sans Flex", "Google Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --container-width: 1160px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    background: var(--bg-main);
    color: var(--text-primary);
    font-family: "Google Sans Flex", "Google Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body {
    overflow-x: hidden;
    position: relative;
    isolation: isolate;
    background: transparent;
    font-family: "Google Sans Flex", "Google Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
label,
button,
input,
textarea,
select,
nav,
a,
span,
li,
td,
th,
.btn,
.nav-links a {
    font-family: "Google Sans Flex", "Google Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#ambientField {
    position: fixed;
    z-index: -10;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    display: block;
    will-change: transform;
}

body > main,
body > footer {
    position: relative;
    z-index: 1;
}

a {
    color: inherit;
}

a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.container {
    width: min(100% - 3rem, var(--container-width));
    margin: 0 auto;
}

.navbar {
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
    border-bottom: 1px solid rgba(220, 224, 232, 0.9);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-container {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 750;
    letter-spacing: -0.06em;
    text-decoration: none;
    transition: opacity 180ms ease;
}

.logo:hover {
    opacity: 0.92;
}

.logo-symbol {
    width: 30px;
    height: 30px;
    display: inline-block;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(66, 133, 244, 0.22));
}

.logo-text {
    display: inline-block;
}

.logo-accent {
    color: var(--google-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1.15rem, 3vw, 2.4rem);
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 550;
    text-decoration: none;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links .btn-secondary {
    color: var(--text-primary);
}

.btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 650;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 5px 14px rgba(49, 95, 232, 0.17);
    color: #ffffff;
}

.btn-primary:hover {
    border-color: var(--primary-hover);
    background: var(--primary-hover);
    box-shadow: 0 7px 20px rgba(49, 95, 232, 0.24);
}

.btn-secondary,
.btn-outline {
    border-color: var(--border-strong);
    background: #ffffff;
    color: var(--text-primary);
}

.btn-secondary {
    min-height: 40px;
    padding: 0.58rem 1rem;
}

.btn-secondary:hover,
.btn-outline:hover {
    border-color: #9db1ef;
    background: #f6f8ff;
    color: var(--primary);
}

.hero {
    position: relative;
    display: flex;
    min-height: 700px;
    align-items: center;
    overflow: hidden;
    padding: 8.5rem 0 5rem;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(ellipse at 82% 50%, rgba(84, 121, 233, 0.08), transparent 34rem),
        linear-gradient(180deg, rgba(252, 253, 255, 0.22) 0%, rgba(255, 255, 255, 0.35) 78%);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 94, 135, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 94, 135, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, black, transparent 95%);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5rem);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 690px;
}

.badge,
.capital-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid rgba(66, 133, 244, 0.22);
    border-radius: 6px;
    padding: 0.48rem 0.78rem;
    background: #f8fafd;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.015em;
}

.badge::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--google-green);
    box-shadow: 0 0 8px rgba(52, 168, 83, 0.6);
    content: "";
}

.hero h1 {
    margin: 1.65rem 0 1.25rem;
    font-size: clamp(2.65rem, 5.3vw, 4.65rem);
    font-weight: 680;
    letter-spacing: -0.065em;
    line-height: 1.045;
}

.text-gradient {
    background: linear-gradient(110deg, #4285F4 0%, #EA4335 38%, #FBBC05 72%, #34A853 100%);
    background-clip: text;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-inline-end: 0.12em;
}

.hero-subtitle {
    max-width: 650px;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.55vw, 1.1rem);
    line-height: 1.8;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-visual {
    position: relative;
    display: grid;
    min-height: 420px;
    place-items: center;
    isolation: isolate;
    border: 1px solid var(--border);
    border-radius: 12px;
    background:
        radial-gradient(circle at center, rgba(80, 119, 234, 0.08), transparent 48%),
        linear-gradient(150deg, #ffffff, #f8f9fc);
    box-shadow: 0 18px 55px rgba(34, 49, 83, 0.07), inset 0 1px 0 #ffffff;
    --active-network-color: var(--primary);
}

.hero-visual::before,
.hero-visual::after {
    position: absolute;
    z-index: 0;
    border: 1px solid rgba(105, 129, 189, 0.14);
    border-radius: 50%;
    content: "";
}

.hero-visual::before {
    width: 310px;
    height: 310px;
}

.hero-visual::after {
    width: 215px;
    height: 215px;
    border-style: dashed;
    border-color: rgba(112, 75, 232, 0.13);
}

.visual-orbit {
    position: absolute;
    z-index: 0;
    border: 1px solid rgba(105, 129, 189, 0.1);
    border-radius: 50%;
}

.orbit-outer {
    width: 390px;
    height: 390px;
}

.orbit-inner {
    width: 135px;
    height: 135px;
    border-color: rgba(112, 75, 232, 0.17);
}

.radar-connections {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.radar-connections path {
    fill: none;
    stroke: var(--network-color, #315fe8);
    stroke-dasharray: 4 9;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    stroke-width: 2;
    opacity: 0.16;
    transition: opacity 220ms ease, stroke-width 220ms ease, filter 220ms ease;
}

.radar-wave {
    position: absolute;
    z-index: 1;
    width: var(--wave-size);
    aspect-ratio: 1;
    border: 1px solid var(--network-color);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}

.wave-mpesa {
    --network-color: #269f46;
    --wave-size: 190px;
}

.wave-ecocash {
    --network-color: #e34747;
    --wave-size: 245px;
}

.wave-mtn {
    --network-color: #e0b21c;
    --wave-size: 300px;
}

.wave-orange {
    --network-color: #f1871b;
    --wave-size: 355px;
}

.wave-airtel {
    --network-color: #e94551;
    --wave-size: 220px;
}

.visual-core {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border: 1.5px solid rgba(66, 133, 244, 0.4);
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f0f4ff);
    box-shadow: 0 10px 26px rgba(66, 133, 244, 0.18), inset 0 1px 0 #ffffff;
    transform: rotate(45deg);
    transition: box-shadow 220ms ease, border-color 220ms ease;
}

.visual-core:hover {
    border-color: rgba(66, 133, 244, 0.65);
    box-shadow: 0 12px 30px rgba(66, 133, 244, 0.28), inset 0 1px 0 #ffffff;
}

.core-logo {
    width: 40px;
    height: 40px;
    transform: rotate(-45deg);
    filter: drop-shadow(0 2px 4px rgba(66, 133, 244, 0.2));
    transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.visual-core:hover .core-logo {
    transform: rotate(-45deg) scale(1.08);
}

.core-pulse {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 10px;
    height: 10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: var(--google-green);
    box-shadow: 0 0 8px rgba(52, 168, 83, 0.7);
}

.provider-logo {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 0.52rem;
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 0.48rem 0.68rem;
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(34, 49, 83, 0.07);
    color: #323844;
    font-size: 0.76rem;
    font-weight: 650;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.provider-logo:hover,
.provider-logo:focus-visible {
    z-index: 3;
    border-color: var(--network-color);
    box-shadow: 0 10px 25px rgba(35, 48, 77, 0.15), inset 0 0 0 1px var(--network-color);
    transform: translateY(-4px) scale(1.02);
}

.provider-logo:focus-visible {
    outline: 2px solid var(--network-color);
    outline-offset: 3px;
}

.provider-mpesa,
.wave-mpesa,
.connection-mpesa {
    --network-color: #269f46;
}

.provider-ecocash,
.wave-ecocash,
.connection-ecocash {
    --network-color: #e34747;
}

.provider-mtn,
.wave-mtn,
.connection-mtn {
    --network-color: #d3a600;
}

.provider-orange,
.wave-orange,
.connection-orange {
    --network-color: #f1871b;
}

.provider-airtel,
.wave-airtel,
.connection-airtel {
    --network-color: #e94551;
}

.hero-visual[data-active="mpesa"],
.hero-visual:has(.provider-mpesa:hover),
.hero-visual:has(.provider-mpesa:focus-visible) {
    --active-network-color: #269f46;
}

.hero-visual[data-active="ecocash"],
.hero-visual:has(.provider-ecocash:hover),
.hero-visual:has(.provider-ecocash:focus-visible) {
    --active-network-color: #e34747;
}

.hero-visual[data-active="mtn"],
.hero-visual:has(.provider-mtn:hover),
.hero-visual:has(.provider-mtn:focus-visible) {
    --active-network-color: #d3a600;
}

.hero-visual[data-active="orange"],
.hero-visual:has(.provider-orange:hover),
.hero-visual:has(.provider-orange:focus-visible) {
    --active-network-color: #f1871b;
}

.hero-visual[data-active="airtel"],
.hero-visual:has(.provider-airtel:hover),
.hero-visual:has(.provider-airtel:focus-visible) {
    --active-network-color: #e94551;
}

:is(.hero-visual[data-active="mpesa"], .hero-visual:has(.provider-mpesa:hover), .hero-visual:has(.provider-mpesa:focus-visible)) .connection-mpesa,
:is(.hero-visual[data-active="ecocash"], .hero-visual:has(.provider-ecocash:hover), .hero-visual:has(.provider-ecocash:focus-visible)) .connection-ecocash,
:is(.hero-visual[data-active="mtn"], .hero-visual:has(.provider-mtn:hover), .hero-visual:has(.provider-mtn:focus-visible)) .connection-mtn,
:is(.hero-visual[data-active="orange"], .hero-visual:has(.provider-orange:hover), .hero-visual:has(.provider-orange:focus-visible)) .connection-orange,
:is(.hero-visual[data-active="airtel"], .hero-visual:has(.provider-airtel:hover), .hero-visual:has(.provider-airtel:focus-visible)) .connection-airtel {
    stroke-width: 3;
    opacity: 1;
    filter: drop-shadow(0 0 4px var(--network-color));
    animation: connection-flow 850ms linear infinite;
}

:is(.hero-visual[data-active="mpesa"], .hero-visual:has(.provider-mpesa:hover), .hero-visual:has(.provider-mpesa:focus-visible)) .wave-mpesa,
:is(.hero-visual[data-active="ecocash"], .hero-visual:has(.provider-ecocash:hover), .hero-visual:has(.provider-ecocash:focus-visible)) .wave-ecocash,
:is(.hero-visual[data-active="mtn"], .hero-visual:has(.provider-mtn:hover), .hero-visual:has(.provider-mtn:focus-visible)) .wave-mtn,
:is(.hero-visual[data-active="orange"], .hero-visual:has(.provider-orange:hover), .hero-visual:has(.provider-orange:focus-visible)) .wave-orange,
:is(.hero-visual[data-active="airtel"], .hero-visual:has(.provider-airtel:hover), .hero-visual:has(.provider-airtel:focus-visible)) .wave-airtel {
    animation: radar-ripple 1.5s ease-out infinite;
}

:is(.hero-visual[data-active], .hero-visual:has(.provider-logo:hover), .hero-visual:has(.provider-logo:focus-visible)) .visual-core {
    animation: hub-receive 1.25s ease-in-out infinite;
    box-shadow: 0 0 34px color-mix(in srgb, var(--active-network-color) 38%, transparent), 0 0 58px rgba(49, 95, 232, 0.2), inset 0 1px 0 #ffffff;
}

:is(.hero-visual[data-active], .hero-visual:has(.provider-logo:hover), .hero-visual:has(.provider-logo:focus-visible)) .core-pulse {
    box-shadow: 0 0 10px #40b98a;
}

@keyframes radar-ripple {
    0% {
        opacity: 0.55;
        transform: scale(0.9);
    }

    100% {
        opacity: 0;
        transform: scale(1.12);
    }
}

@keyframes connection-flow {
    to {
        stroke-dashoffset: -26;
    }
}

@keyframes hub-receive {
    50% {
        transform: rotate(45deg) scale(1.08);
    }
}

.provider-symbol {
    display: block;
    width: auto;
    max-width: 52px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: 0;
    object-fit: contain;
}

.provider-mpesa {
    top: 16%;
    left: 12%;
    --network-color: #269f46;
}

.provider-ecocash {
    top: 16%;
    right: 10%;
    --network-color: #e34747;
}

.provider-mtn {
    right: 5%;
    bottom: 24%;
    --network-color: #d3a600;
}

.provider-orange {
    bottom: 14%;
    left: 20%;
    --network-color: #f1871b;
}

.provider-airtel {
    top: 46%;
    left: 5%;
    --network-color: #e94551;
}

.visual-caption {
    position: absolute;
    right: 1.15rem;
    bottom: 1.15rem;
    display: flex;
    gap: 5px;
}

.visual-caption span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d0d5df;
}

.visual-caption span:first-child {
    background: var(--primary);
}

.network-section,
.contact-section {
    padding: 6.25rem 0;
    border-bottom: 1px solid var(--border);
}

.features-section {
    padding: 6.25rem 0;
    border-bottom: 1px solid var(--border);
    background: rgba(248, 250, 253, 0.68);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.feature-card {
    min-width: 0;
    min-height: 220px;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 20px rgba(34, 49, 83, 0.025);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: #bdcafa;
    box-shadow: 0 12px 28px rgba(34, 49, 83, 0.08);
}

.feature-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 1.2rem;
    border: 1px solid #e1e8fb;
    border-radius: 8px;
    background: #f5f7ff;
    color: var(--primary);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
}

.section-title {
    margin-bottom: 0.7rem;
    font-size: clamp(1.85rem, 3vw, 2.4rem);
    font-weight: 650;
    letter-spacing: -0.045em;
    text-align: center;
}

.section-subtitle {
    margin-bottom: 3rem;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.region-card {
    position: relative;
    min-height: 170px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.65rem;
    background: var(--bg-card);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.region-card::after {
    position: absolute;
    top: -30px;
    right: -28px;
    width: 105px;
    height: 105px;
    border: 1px solid rgba(49, 95, 232, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 14px rgba(49, 95, 232, 0.025), 0 0 0 29px rgba(49, 95, 232, 0.018);
    content: "";
    pointer-events: none;
}

.region-card:hover {
    transform: translateY(-3px);
    border-color: #bdcafa;
    background: #fcfdff;
    box-shadow: 0 10px 28px rgba(34, 49, 83, 0.07);
}

.region-card h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 620;
    letter-spacing: -0.025em;
}

.region-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.capital-section {
    padding: 4.8rem 0;
    background: var(--bg-soft);
}

.capital-box {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: clamp(2rem, 5vw, 3.75rem);
    background: #ffffff;
    text-align: center;
    box-shadow: 0 12px 38px rgba(34, 49, 83, 0.045);
}

.capital-badge {
    margin-bottom: 1.3rem;
    border-color: #d9e9df;
    background: #f3faf5;
    color: #34724f;
}

.capital-box h2 {
    margin-bottom: 0.9rem;
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 680;
    letter-spacing: -0.055em;
}

.capital-box p {
    max-width: 690px;
    margin: 0 auto 1.75rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.capital-box .progress-text {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1rem;
}

.contact-info,
.contact-actions {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: #ffffff;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-info:hover,
.contact-actions:hover {
    border-color: var(--border-strong);
    box-shadow: 0 8px 26px rgba(34, 49, 83, 0.05);
}

.contact-info h3,
.contact-actions h3 {
    margin-bottom: 0.7rem;
    font-size: 1.28rem;
    font-weight: 640;
    letter-spacing: -0.035em;
}

.meta-text {
    margin-bottom: 1.5rem;
    color: #68789a;
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.035em;
}

.contact-info p {
    margin-bottom: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.contact-info strong {
    color: var(--text-primary);
    font-weight: 600;
}

.channels {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.7rem;
}

.channels a {
    width: fit-content;
    color: #3155bd;
    font-size: 0.92rem;
    text-decoration: none;
    text-underline-offset: 4px;
    transition: color 180ms ease;
}

.channels a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.contact-actions p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.whatsapp-buttons {
    display: grid;
    gap: 0.7rem;
}

.early-access-dialog {
    width: min(720px, calc(100% - 2rem));
    max-width: none;
    max-height: min(90vh, 880px);
    margin: auto;
    overflow: auto;
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    padding: 0;
    background: #ffffff;
    color: var(--text-primary);
    box-shadow: 0 24px 80px rgba(24, 35, 62, 0.24);
}

.early-access-dialog::backdrop {
    background: rgba(18, 27, 45, 0.48);
    backdrop-filter: blur(4px);
}

.early-access-panel {
    padding: clamp(1.25rem, 4vw, 2rem);
}

.early-access-heading {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.early-access-eyebrow {
    margin-bottom: 0.45rem;
    color: var(--primary);
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.early-access-heading h2 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.45rem, 4vw, 1.8rem);
    letter-spacing: -0.04em;
}

.early-access-heading p:not(.early-access-eyebrow) {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
}

.early-access-close {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.early-access-form {
    display: grid;
    gap: 1rem;
}

.early-access-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-field {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 0.42rem;
    border: 0;
    padding: 0;
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 600;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.form-trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.form-field input:not([type="checkbox"]),
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 43px;
    border: 1px solid var(--border-strong);
    border-radius: 7px;
    padding: 0.65rem 0.75rem;
    background: #ffffff;
    color: var(--text-primary);
    font: inherit;
    font-weight: 400;
}

.form-field textarea {
    min-height: 92px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.early-access-close:focus-visible {
    border-color: var(--primary);
    outline: 2px solid rgba(26, 115, 232, 0.18);
    outline-offset: 1px;
}

.required-marker {
    color: #b3261e;
}

.provider-options legend {
    margin-bottom: 0.55rem;
}

.form-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.form-checkboxes label {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 0.42rem;
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 0.42rem 0.65rem;
    background: #ffffff;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 500;
}

.form-checkboxes input {
    accent-color: var(--primary);
}

.early-access-captcha {
    min-height: 65px;
}

.early-access-captcha iframe {
    max-width: 100%;
}

.early-access-note,
.early-access-status {
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.5;
}

.early-access-status {
    color: #286f48;
}

.early-access-status[data-state="error"] {
    color: #b3261e;
}

.early-access-actions .btn:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.early-access-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
}

.btn-whatsapp {
    width: 100%;
    justify-content: flex-start;
    border-color: #cfe7d9;
    background: #f4faf6;
    color: #286f48;
}

.btn-whatsapp::before {
    width: 7px;
    height: 7px;
    margin-right: 0.75rem;
    border-radius: 50%;
    background: #38a96d;
    content: "";
}

.btn-whatsapp:hover {
    border-color: #9bd0b0;
    background: #edf8f1;
}

footer {
    padding: 2.5rem 0;
    background: #f8f9fc;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.65;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.35rem;
}

.footer-logo {
    width: 24px;
    height: 24px;
    display: inline-block;
    filter: drop-shadow(0 1px 3px rgba(66, 133, 244, 0.22));
}

.footer-title {
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: -0.05em;
    color: var(--text-primary);
}
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.65;
    text-align: center;
}

.footer-meta {
    max-width: 780px;
    color: var(--text-muted);
    font-size: 0.76rem;
}

@media (max-width: 960px) {
    .hero {
        min-height: auto;
        padding: 9rem 0 5rem;
    }

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

    .hero-layout {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
        gap: 2rem;
    }

    .hero-visual {
        min-height: 370px;
    }

    .orbit-outer {
        width: 330px;
        height: 330px;
    }

    .provider-mpesa {
        left: 7%;
    }

    .provider-ecocash {
        right: 6%;
    }

    .provider-mtn {
        right: 3%;
    }

    .provider-airtel {
        left: 3%;
    }
}

@media (max-width: 720px) {
    html {
        scroll-padding-top: 7.5rem;
    }

    .container {
        width: min(100% - 2rem, var(--container-width));
    }

    .nav-container {
        min-height: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        gap: 1.2rem;
        overflow-x: visible;
        padding: 0.1rem 0 0.25rem;
    }

    .nav-links a {
        flex: 0 0 auto;
        font-size: 0.8rem;
    }

    .nav-links .btn-secondary {
        min-height: 32px;
        padding: 0.36rem 0.7rem;
    }

    .hero {
        padding: 9.5rem 0 3.5rem;
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .hero h1 {
        margin-top: 1.3rem;
        font-size: clamp(2.45rem, 9.5vw, 3.7rem);
    }

    .hero-subtitle {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .hero-visual {
        width: min(100%, 500px);
        min-height: 350px;
        justify-self: center;
    }

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

    .region-card {
        min-height: 145px;
    }

    .features-section,
    .network-section,
    .contact-section {
        padding: 4.5rem 0;
    }

    .section-subtitle {
        margin-bottom: 2rem;
    }

    .capital-section {
        padding: 3.5rem 0;
    }

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

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

@media (max-width: 560px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .early-access-dialog {
        max-height: 94vh;
        border-radius: 12px;
    }

    .early-access-fields {
        grid-template-columns: 1fr;
    }

    .form-field-wide {
        grid-column: auto;
    }

    .early-access-actions {
        flex-direction: column-reverse;
    }

    .early-access-actions .btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .cta-group {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-visual {
        min-height: 320px;
    }

    .hero-visual::before {
        width: 260px;
        height: 260px;
    }

    .hero-visual::after {
        width: 190px;
        height: 190px;
    }

    .orbit-outer {
        width: 300px;
        height: 300px;
    }

    .provider-logo {
        min-height: 37px;
        gap: 0.38rem;
        padding: 0.4rem 0.52rem;
        font-size: 0.68rem;
    }

    .provider-symbol {
        max-width: 46px;
        height: 28px;
    }

    .provider-mpesa {
        top: 13%;
        left: 5%;
    }

    .provider-ecocash {
        top: 13%;
        right: 4%;
    }

    .provider-mtn {
        right: 1%;
        bottom: 20%;
    }

    .provider-orange {
        bottom: 11%;
        left: 12%;
    }

    .provider-airtel {
        top: 45%;
        left: 2%;
    }

    .contact-info,
    .contact-actions {
        padding: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .hero-visual[data-active] .visual-core,
    .hero-visual[data-active] .radar-wave,
    .hero-visual[data-active] .radar-connections path {
        animation: none !important;
    }

    .liftoff-active main > section {
        animation: none !important;
    }

    #ambientField {
        opacity: 0.38;
    }
}

.hero {
    background:
        radial-gradient(ellipse at 82% 50%, rgba(84, 121, 233, 0.08), transparent 34rem),
        linear-gradient(180deg, rgba(252, 253, 255, 0.22) 0%, rgba(255, 255, 255, 0.35) 78%);
}

.capital-section {
    background: rgba(248, 249, 252, 0.38);
}

footer {
    background: rgba(248, 249, 252, 0.55);
}

.liftoff-active main > section {
    animation: liftoff-material 850ms cubic-bezier(0.05, 0.7, 0.1, 1.0) both;
    will-change: transform, opacity;
}

.liftoff-active main > section:nth-child(2) {
    animation-delay: 40ms;
}

.liftoff-active main > section:nth-child(3) {
    animation-delay: 80ms;
}

.liftoff-active main > section:nth-child(4) {
    animation-delay: 120ms;
}

@keyframes liftoff-material {
    0% {
        opacity: 0.35;
        transform: translateY(26px) scale(0.995);
    }

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