/* Data9ja — modern homepage design system */

:root{
  --accent: #6D28D9;
  --accent-light: #8B5CF6;
  --accent-soft: rgba(109,40,217,.08);
  --accent-soft-2: rgba(109,40,217,.14);
  --ink: #0B0B0F;
  --ink-2: #1D1D1F;
  --muted: #6E6E73;
  --muted-2: #86868B;
  --hairline: rgba(0,0,0,.08);
  --surface: #ffffff;
  --surface-2: #FAFAFA;
  --surface-dark: #0B0B0F;
  --on-dark: #F5F5F7;
  --on-dark-muted: #A1A1A6;
  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(0,0,0,.04), 0 1px 1px rgba(0,0,0,.03);
  --shadow-m: 0 8px 24px rgba(0,0,0,.06), 0 2px 6px rgba(0,0,0,.04);
  --shadow-l: 0 24px 64px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
  --ease: cubic-bezier(.16,1,.3,1);
  --container: 1180px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}
body{
  margin:0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
button{ font-family: inherit; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section{ position: relative; }

h1,h2,h3{ margin:0; letter-spacing:-0.02em; font-weight:700; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:600; letter-spacing:.02em;
  color: var(--accent); background: var(--accent-soft);
  padding:6px 14px; border-radius:999px;
}
.lede{ color: var(--muted); font-size: clamp(16px,2vw,19px); line-height:1.55; }

/* ---------- Nav ---------- */
.nav{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  padding: 14px 0;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav.scrolled{
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--hairline);
}
.nav .container{ display:flex; align-items:center; justify-content:space-between; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:800; font-size:19px; color:#fff; transition: color .3s var(--ease); }
.brand svg{ width:30px; height:30px; flex-shrink:0; }
.nav-links{ display:flex; align-items:center; gap:32px; font-size:14px; font-weight:500; color: rgba(255,255,255,.82); transition: color .3s var(--ease); }
.nav-cta{ display:flex; align-items:center; gap:12px; }
.nav-cta .btn-ghost{ color:#fff; }
.nav.scrolled .brand{ color: var(--ink); }
.nav.scrolled .nav-links{ color: var(--ink-2); }
.nav.scrolled .nav-cta .btn-ghost{ color: var(--ink); }
.nav-toggle{
  display:none; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:50%; border:none;
  background: transparent; color: var(--ink); cursor:pointer;
}
.nav-toggle svg{ width:22px; height:22px; }
.nav.scrolled .nav-toggle{ color: var(--ink); }
.hero ~ .nav, .nav{ } /* nav sits above hero which is dark; keep toggle visible before scroll */
.nav:not(.scrolled) .nav-toggle{ color:#fff; }

.mobile-menu{
  position: fixed; inset: 0; z-index: 99;
  background: rgba(11,11,15,.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:28px;
  transform: translateY(-100%); opacity:0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  pointer-events: none;
}
.mobile-menu.open{ transform: translateY(0); opacity:1; pointer-events:auto; }
.mobile-menu a{ color:#fff; font-size:22px; font-weight:600; }
.mobile-menu-ctas{ display:flex; flex-direction:column; gap:14px; width:80%; margin-top:14px; }
.mobile-menu-ctas .btn{ width:100%; }
@media (prefers-reduced-motion: reduce){
  .mobile-menu{ transition:none; }
}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 12px 22px; border-radius: 999px; font-size:15px; font-weight:600;
  border: none; cursor:pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
  white-space: nowrap;
}
.btn:active{ transform: scale(.97); }
.btn-primary{ background: var(--ink); color:#fff; box-shadow: var(--shadow-s); }
.btn-primary:hover{ background:#000; box-shadow: var(--shadow-m); }
.btn-accent{ background: var(--accent); color:#fff; box-shadow: 0 8px 20px rgba(109,40,217,.28); }
.btn-accent:hover{ background:#5B21B6; box-shadow: 0 10px 28px rgba(109,40,217,.36); }
.btn-ghost{ background: transparent; color: var(--ink); }
.btn-ghost-light{ background: rgba(255,255,255,.1); color:#fff; border:1px solid rgba(255,255,255,.25); }
.btn-ghost-light:hover{ background: rgba(255,255,255,.16); }
.btn-sm{ padding:9px 16px; font-size:13px; }

/* ---------- Hero ---------- */
.hero{
  background: radial-gradient(120% 100% at 50% 0%, #17121F 0%, var(--surface-dark) 60%);
  color: var(--on-dark);
  padding: 168px 0 120px;
  overflow: hidden;
  position: relative;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(50% 40% at 20% 20%, rgba(139,92,246,.20), transparent 60%),
    radial-gradient(40% 35% at 85% 10%, rgba(109,40,217,.22), transparent 60%);
  pointer-events:none;
}
.hero-inner{ position:relative; text-align:center; }
.hero h1{
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color:#fff;
  margin: 22px auto 20px;
  max-width: 900px;
}
.hero h1 .accent-text{
  background: linear-gradient(100deg, #C4B5FD, #8B5CF6 60%, #C4B5FD);
  -webkit-background-clip: text; background-clip:text; color:transparent;
}
.hero .lede{ color: var(--on-dark-muted); max-width: 580px; margin: 0 auto 36px; }
.hero-ctas{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-bottom:18px; }
.hero-microcopy{ color: var(--on-dark-muted); font-size:13px; display:flex; gap:18px; justify-content:center; flex-wrap:wrap; margin-top: 14px; }
.hero-microcopy span{ display:inline-flex; align-items:center; gap:6px; }
.hero-microcopy svg{ width:14px; height:14px; color:#34D399; }

/* Device mockup */
.mockup-wrap{ margin: 76px auto 0; max-width: 380px; perspective: 1400px; }
.mockup{
  border-radius: 44px;
  background: linear-gradient(160deg, #232028, #131016);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-l), 0 0 0 1px rgba(255,255,255,.04) inset;
  padding: 14px;
  will-change: transform;
  transform: rotateX(8deg) rotateY(0deg);
  transition: transform .2s linear;
}
.mockup-screen{
  border-radius: 30px; overflow:hidden;
  background: linear-gradient(180deg,#fff,#F4F1FB);
  aspect-ratio: 9/17.5;
  padding: 20px 18px;
  position: relative;
}
.mockup-screen .row{ display:flex; justify-content:space-between; align-items:center; margin-bottom:18px; }
.mockup-wallet{
  background: linear-gradient(135deg, var(--accent), #4C1D95);
  border-radius: 20px; padding:18px; color:#fff; margin-bottom:16px;
  box-shadow: 0 12px 24px rgba(109,40,217,.28);
}
.mockup-wallet small{ opacity:.75; font-size:11px; letter-spacing:.03em; }
.mockup-wallet .amt{ font-size:26px; font-weight:800; margin-top:6px; letter-spacing:-.02em; }
.mockup-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:10px; }
.mockup-tile{ background:#fff; border-radius:14px; padding:10px 4px; text-align:center; box-shadow: var(--shadow-s); }
.mockup-tile .ic{ width:26px; height:26px; margin:0 auto 6px; border-radius:8px; background: var(--accent-soft); }
.mockup-tile span{ font-size:9px; color: var(--muted); font-weight:600; }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .mockup{ transform:none !important; }
}

/* ---------- Section shell ---------- */
.section{ padding: 108px 0; }
.section-alt{ background: var(--surface-2); }
.section-head{ text-align:center; max-width: 640px; margin: 0 auto 64px; }
.section-head h2{ font-size: clamp(28px,4vw,44px); color: var(--ink); margin: 16px 0 14px; }

/* ---------- Service grid ---------- */
.services{ display:grid; grid-template-columns: repeat(5,1fr); gap:18px; }
.service-card{
  background: var(--surface); border-radius: var(--radius-m);
  padding: 28px 22px; box-shadow: var(--shadow-m);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-l); }
.service-icon{
  width:52px; height:52px; border-radius:14px;
  background: var(--accent-soft); color: var(--accent);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.service-icon svg{ width:26px; height:26px; }
.service-card h3{ font-size:17px; color: var(--ink); margin-bottom:8px; }
.service-card p{ font-size:14px; color: var(--muted); line-height:1.5; margin:0 0 12px; }
.service-price{ font-size:13px; font-weight:700; color: var(--accent); }

/* ---------- How it works ---------- */
.steps{ display:grid; grid-template-columns: repeat(3,1fr); gap:28px; counter-reset: step; }
.step{ text-align:center; padding: 8px 12px; }
.step-num{
  width:56px; height:56px; border-radius:50%; margin:0 auto 22px;
  background: var(--ink); color:#fff; display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:20px;
}
.step h3{ font-size:19px; color: var(--ink); margin-bottom:10px; }
.step p{ font-size:14.5px; color: var(--muted); line-height:1.6; max-width:280px; margin:0 auto; }
.step-line{ position:absolute; top:28px; left:calc(50% + 46px); right:calc(-50% + 46px); height:1px; background: var(--hairline); }

/* ---------- Pricing ---------- */
.pricing-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:16px; margin-bottom: 48px; }
.price-card{
  background:#fff; border-radius: var(--radius-m); padding:26px 20px;
  box-shadow: var(--shadow-m); text-align:center;
}
.price-card img{ height:34px; width:auto; margin:0 auto 14px; object-fit:contain; }
.price-card .netname{ font-size:13px; font-weight:700; color:var(--muted); letter-spacing:.03em; margin-bottom:10px; }
.price-card .from{ font-size:12px; color: var(--muted-2); }
.price-card .amount{ font-size:26px; font-weight:800; color:var(--ink); letter-spacing:-.02em; }
.coverage-note{ text-align:center; color: var(--muted); font-size:14px; }
.cable-row{ display:flex; justify-content:center; gap:14px; flex-wrap:wrap; margin-top:28px; }
.cable-chip{
  padding:10px 20px; border-radius:999px; background:#fff; box-shadow: var(--shadow-s);
  font-size:13px; font-weight:600; color: var(--ink-2);
}

/* ---------- Reseller ---------- */
.reseller{
  background: linear-gradient(135deg, #1B1023, #100A18);
  border-radius: var(--radius-l);
  padding: 72px 56px;
  color:#fff;
  display:grid; grid-template-columns: 1.1fr .9fr; gap:48px; align-items:center;
  overflow:hidden; position:relative;
}
.reseller::before{
  content:""; position:absolute; inset:0;
  background: radial-gradient(60% 80% at 90% 10%, rgba(139,92,246,.25), transparent 60%);
}
.reseller-copy{ position:relative; }
.reseller .eyebrow{ background: rgba(139,92,246,.18); color:#C4B5FD; }
.reseller h2{ color:#fff; font-size: clamp(26px,3.4vw,38px); margin:16px 0 16px; }
.reseller p{ color: var(--on-dark-muted); font-size:15.5px; line-height:1.65; margin-bottom:28px; max-width: 480px; }
.reseller-stats{ position:relative; display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
.reseller-stat{ background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:16px; padding:20px; }
.reseller-stat b{ display:block; font-size:24px; color:#fff; margin-bottom:4px; }
.reseller-stat span{ font-size:12.5px; color: var(--on-dark-muted); }

/* ---------- Trust ---------- */
.trust-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; margin-bottom:56px; }
.trust-card{ text-align:center; padding: 20px; }
.trust-card b{ display:block; font-size: clamp(30px,4vw,42px); color:var(--ink); letter-spacing:-.02em; }
.trust-card span{ font-size:13.5px; color: var(--muted); }
.testimonials{ display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.tcard{ background:#fff; border-radius: var(--radius-m); padding:26px; box-shadow: var(--shadow-m); }
.tcard .stars{ color:#F5A623; font-size:13px; margin-bottom:12px; letter-spacing:2px; }
.tcard p{ font-size:14.5px; color: var(--ink-2); line-height:1.6; margin-bottom:16px; }
.tcard .who{ font-size:13px; font-weight:700; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list{ max-width: 760px; margin: 0 auto; }
.faq-item{ border-bottom:1px solid var(--hairline); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding: 22px 4px; font-size:16px; font-weight:600; color: var(--ink);
}
.faq-q .plus{ flex-shrink:0; width:20px; height:20px; position:relative; transition: transform .3s var(--ease); }
.faq-q .plus::before, .faq-q .plus::after{ content:""; position:absolute; background: var(--ink); border-radius:2px; }
.faq-q .plus::before{ width:20px; height:2px; top:9px; left:0; }
.faq-q .plus::after{ width:2px; height:20px; top:0; left:9px; transition: transform .3s var(--ease); }
.faq-item.open .plus::after{ transform: scaleY(0); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .4s var(--ease); }
.faq-a p{ padding: 0 4px 22px; margin:0; color: var(--muted); font-size:14.5px; line-height:1.65; max-width:640px; }

/* ---------- Footer ---------- */
footer{ background: var(--surface-dark); color: var(--on-dark-muted); padding: 72px 0 32px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr repeat(3,1fr); gap:40px; margin-bottom:56px; }
.footer-brand{ display:flex; align-items:center; gap:10px; color:#fff; font-weight:800; font-size:18px; margin-bottom:14px; }
.footer-brand svg{ width:26px; height:26px; }
.footer-col h4{ color:#fff; font-size:13px; margin:0 0 16px; letter-spacing:.03em; text-transform:uppercase; opacity:.7; }
.footer-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14px; transition: color .2s; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.08); padding-top:24px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; font-size:13px; }
.footer-socials{ display:flex; gap:14px; }
.footer-socials a{ width:34px; height:34px; border-radius:50%; background: rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center; }
.footer-socials svg{ width:16px; height:16px; }

/* ---------- Mobile ---------- */
@media (max-width: 900px){
  .nav-links{ display:none; }
  .nav-cta{ display:none; }
  .nav-toggle{ display:flex; }
  .services{ grid-template-columns: repeat(2,1fr); }
  .steps{ grid-template-columns: 1fr; gap:44px; }
  .step-line{ display:none; }
  .pricing-grid{ grid-template-columns: repeat(2,1fr); }
  .reseller{ grid-template-columns: 1fr; padding: 48px 28px; }
  .reseller-stats{ grid-template-columns: 1fr 1fr; }
  .trust-grid{ grid-template-columns: 1fr; gap:8px; }
  .testimonials{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap:32px; }
  .section{ padding: 76px 0; }
  .hero{ padding: 128px 0 80px; }
}
@media (max-width: 560px){
  .services{ grid-template-columns: 1fr 1fr; }
  .pricing-grid{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap:28px; }
  .hero-ctas .btn{ width:100%; }
  .hero-ctas{ flex-direction:column; }
}
