/* ─── Variables ──────────────────────────────────────────────────── */
:root {
  --bg:           #07091a;
  --bg-card:      #0d1128;
  --border:       rgba(99, 102, 241, 0.18);
  --accent:       #6366f1;
  --accent-2:     #8b5cf6;
  --teal:         #06b6d4;
  --text:         #f1f5f9;
  --muted:        #94a3b8;
  --grad:         linear-gradient(135deg, #6366f1, #8b5cf6);
}

/* ─── Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; }
big { font-size: 1.1em; font-weight: 600; color: var(--text); }

/* ─── Gradient text ──────────────────────────────────────────────── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Navbar ─────────────────────────────────────────────────────── */
#navbar {
  background: transparent;
  transition: background .35s, box-shadow .35s;
  padding: .9rem 0;
}
#navbar.scrolled {
  background: rgba(7, 9, 26, .92) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(99,102,241,.15);
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.025em;
  color: var(--text) !important;
}
.navbar-brand .slash { color: var(--teal); }
.nav-link {
  color: var(--muted) !important;
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-link:hover { color: var(--text) !important; }
.btn-nav {
  background: var(--grad);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: .4rem 1.15rem;
  font-size: .85rem;
  font-weight: 600;
  transition: opacity .2s, transform .2s;
}
.btn-nav:hover { opacity: .85; transform: translateY(-1px); }

/* ─── Hero ───────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg   { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.orb       {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .22;
  animation: orb-float 9s ease-in-out infinite alternate;
}
.orb-a { width: 650px; height: 650px; background: radial-gradient(#6366f1, transparent 70%); top: -140px; left: -120px; animation-delay: 0s; }
.orb-b { width: 520px; height: 520px; background: radial-gradient(#8b5cf6, transparent 70%); bottom: -100px; right: -90px; animation-delay: 3.5s; }
.orb-c { width: 320px; height: 320px; background: radial-gradient(#06b6d4, transparent 70%); top: 30%; right: 18%; animation-delay: 6s; }
@keyframes orb-float {
  from { transform: scale(1)    translate(0, 0); }
  to   { transform: scale(1.18) translate(28px, -22px); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 0%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: 999px; padding: .3rem 1rem;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: #a5b4fc; margin-bottom: 1.5rem;
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.15; } }

.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 4.75rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.045em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.btn-primary-cta {
  background: var(--grad); color: #fff; border: none;
  border-radius: 10px; padding: .8rem 2rem;
  font-size: .95rem; font-weight: 600;
  transition: box-shadow .25s, transform .2s;
}
.btn-primary-cta:hover {
  box-shadow: 0 0 36px rgba(99,102,241,.5);
  transform: translateY(-2px); color: #fff;
}
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid rgba(241,245,249,.2);
  border-radius: 10px; padding: .8rem 2rem;
  font-size: .95rem; font-weight: 600;
  transition: border-color .2s, background .2s, transform .2s;
}
.btn-ghost:hover {
  border-color: rgba(241,245,249,.45);
  background: rgba(241,245,249,.05);
  transform: translateY(-2px); color: var(--text);
}

.trust-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin-top: 2.75rem; align-items: center;
}
.trust-item {
  display: flex; align-items: center; gap: .45rem;
  font-size: .78rem; color: var(--muted);
}
.trust-item i { color: var(--teal); font-size: .8rem; }

/* Hero visual ring */
.hero-ring {
  position: relative; width: 280px; height: 280px;
}
.ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(99,102,241,.2);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  animation: pulse-ring 6s ease-in-out infinite alternate;
}
.ring-1 { width: 100%; height: 100%; animation-delay: 0s; }
.ring-2 { width: 74%; height: 74%; animation-delay: 2s; }
.ring-3 { width: 48%; height: 48%; animation-delay: 4s; }
@keyframes pulse-ring {
  from { transform: translate(-50%,-50%) scale(1); opacity:.6; }
  to   { transform: translate(-50%,-50%) scale(1.08); opacity:1; }
}
.ring-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
}
.ring-center i {
  font-size: 3.25rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ring-center span {
  display: block; font-size: .65rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-top: .5rem;
}
.ring-tag {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid;
  border-radius: 10px;
  padding: .4rem .7rem;
  font-size: .65rem; font-weight: 600;
  white-space: nowrap;
}
.ring-tag-1 { top: 8px; right: 20px; border-color: rgba(99,102,241,.35); color: #a5b4fc; }
.ring-tag-2 { bottom: 40px; left: 0; border-color: rgba(6,182,212,.35); color: #67e8f9; }
.ring-tag-3 { bottom: 10px; right: 10px; border-color: rgba(139,92,246,.35); color: #c4b5fd; }

/* ─── Provider bar ───────────────────────────────────────────────── */
.provider-bar {
  background: rgba(13,17,40,.75);
  border-top: 1px solid rgba(99,102,241,.1);
  border-bottom: 1px solid rgba(99,102,241,.1);
  padding: 1.4rem 0;
}
.provider-bar .label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.provider-bar .brand {
  font-size: .875rem; font-weight: 700; color: #94a3b8;
}
.pipe { color: rgba(99,102,241,.25); }

/* ─── Sections shared ────────────────────────────────────────────── */
section { padding: 6rem 0; }

.sec-label {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .6rem;
}
.sec-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800; letter-spacing: -.035em;
  line-height: 1.15; margin-bottom: .9rem;
}
.sec-sub {
  color: var(--muted); font-size: 1.05rem;
  line-height: 1.72; max-width: 580px;
}

/* ─── Feature cards ──────────────────────────────────────────────── */
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.9rem;
  height: 100%;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.feat-card:hover {
  border-color: rgba(99,102,241,.48);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99,102,241,.12);
}
.feat-icon {
  width: 46px; height: 46px;
  background: rgba(99,102,241,.1);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: var(--accent);
  margin-bottom: 1.15rem;
}
.feat-card h5 { font-size: .95rem; font-weight: 700; margin-bottom: .45rem; }
.feat-card p  { font-size: .85rem; color: var(--muted); line-height: 1.62; margin: 0; }

/* ─── Guarantee section ──────────────────────────────────────────── */
#guarantee {
  background: linear-gradient(135deg, rgba(99,102,241,.07) 0%, rgba(139,92,246,.07) 100%);
  border-top: 1px solid rgba(99,102,241,.14);
  border-bottom: 1px solid rgba(99,102,241,.14);
}
.g-icon {
  font-size: 3rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.g-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(6,182,212,.08);
  border: 1px solid rgba(6,182,212,.28);
  border-radius: 999px; padding: .28rem .85rem;
  font-size: .75rem; font-weight: 600;
  color: var(--teal); margin: .2rem;
}

/* ─── How It Works ───────────────────────────────────────────────── */
.step-card {
  display: flex; gap: 1.15rem; padding: 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px; height: 100%;
  transition: border-color .3s, box-shadow .3s;
}
.step-card:hover {
  border-color: rgba(99,102,241,.42);
  box-shadow: 0 8px 30px rgba(99,102,241,.1);
}
.step-num {
  flex-shrink: 0; width: 38px; height: 38px;
  border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .85rem; color: #fff;
}
.step-card h6 { font-size: .9rem; font-weight: 700; margin-bottom: .3rem; }
.step-card p  { font-size: .82rem; color: var(--muted); line-height: 1.55; margin: 0; }

/* ─── Pricing ────────────────────────────────────────────────────── */
.price-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 3px;
}
.price-toggle .tab-btn {
  border-radius: 8px; font-size: .82rem; font-weight: 600;
  padding: .38rem 1.1rem; border: none;
  color: var(--muted); background: transparent;
  cursor: pointer; transition: all .2s;
}
.price-toggle .tab-btn.active {
  background: var(--grad); color: #fff;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 1.85rem;
  height: 100%; position: relative;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(99,102,241,.14);
}
.price-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 16px 48px rgba(6,182,212,.22);
}
.featured-badge {
  position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--teal); color: #032027;
  font-size: .68rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: .22rem .9rem;
  border-radius: 999px; white-space: nowrap;
}
.price-card h4   { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.price-desc      { font-size: .82rem; color: var(--muted); line-height: 1.5; margin-bottom: 1rem; }
.price-tier {
  font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .4rem;
}
.price-card.featured .price-tier {
  color: var(--teal);
}
.price-amount    { font-size: 2.75rem; font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.price-from      { font-size: 1.2rem; font-weight: 600; }
.price-period    { font-size: .76rem; color: var(--muted); margin-bottom: 1.1rem; margin-top: .2rem; }
.price-divider   { border-color: rgba(99,102,241,.13); margin: 0.75rem 0; }
.price-list      { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.price-list li   {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .82rem; color: var(--muted); margin-bottom: .55rem;
}
.price-list li i { color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.btn-price {
  width: 100%; padding: .6rem; border-radius: 10px;
  font-size: .875rem; font-weight: 600;
  border: 1px solid rgba(99,102,241,.28);
  background: transparent; color: var(--text);
  cursor: pointer; transition: all .2s;
}
.btn-price:hover, .price-card.featured .btn-price {
  background: var(--grad); border-color: transparent; color: #fff;
}

/* Business cards */
.biz-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.65rem; height: 100%;
  transition: border-color .3s, transform .3s;
}
.biz-card:hover { border-color: rgba(99,102,241,.4); transform: translateY(-3px); }
.biz-tier {
  font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .4rem;
}
.biz-card h5     { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.biz-card .desc  { font-size: .8rem; color: var(--muted); line-height: 1.5; margin-bottom: .6rem; }
.biz-price       { font-size: 1.55rem; font-weight: 900; letter-spacing: -.03em; margin: .6rem 0 .2rem; }
.biz-period      { font-size: .74rem; color: var(--muted); margin-bottom: .9rem; }

.usage-grid { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.usage-chip {
  background: rgba(6,182,212,.07);
  border: 1px solid rgba(6,182,212,.18);
  border-radius: 10px; padding: .5rem .9rem;
  font-size: .75rem; color: var(--muted);
}
.usage-chip strong { color: var(--text); display: block; font-size: .78rem; margin-bottom: .05rem; }

/* Pricing Matrix Table */
.pricing-matrix {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.pricing-matrix thead th {
  background: rgba(99,102,241,.04);
  border-bottom: 1px solid var(--border);
  padding: 0;
  vertical-align: top;
}
.pricing-matrix .feature-col {
  width: 35%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pricing-matrix .tier-col {
  width: 16.25%;
  padding: 0;
  border-left: 1px solid var(--border);
}
.pricing-matrix .tier-col.tier-featured {
  background: rgba(99,102,241,.03);
  border-left: 1px solid rgba(99,102,241,.3);
  border-right: 1px solid rgba(99,102,241,.3);
  position: relative;
}
.pricing-matrix .tier-col.tier-sovereign {
  border-right: 1px solid rgba(6,182,212,.15);
}
.tier-header {
  padding: 1.4rem 1.1rem;
  text-align: center;
}
.tier-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .3rem;
}
.tier-col.tier-sovereign .tier-name {
  color: var(--teal);
}
.tier-desc {
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: .9rem;
  line-height: 1.35;
}
.tier-price {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -.035em;
  margin-bottom: .15rem;
}
.tier-price span {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
}
.tier-min {
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: .05rem;
}
.tier-start {
  font-size: .68rem;
  color: var(--muted);
  opacity: .75;
  margin-bottom: 1rem;
}
.btn-matrix {
  width: 100%;
  padding: .5rem .9rem;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 600;
  border: 1px solid rgba(99,102,241,.3);
  background: rgba(99,102,241,.12);
  color: var(--text);
  cursor: pointer;
  transition: all .2s;
}
.btn-matrix:hover {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}
.pricing-matrix tbody tr {
  border-bottom: 1px solid rgba(99,102,241,.06);
}
.pricing-matrix tbody tr:last-child {
  border-bottom: none;
}
.pricing-matrix tbody td {
  padding: .85rem 1.5rem;
  text-align: center;
  font-size: .82rem;
  border-left: 1px solid rgba(99,102,241,.06);
}
.pricing-matrix tbody td:first-child {
  border-left: none;
}
.pricing-matrix tbody tr:hover {
  background: rgba(99,102,241,.02);
}
.pricing-matrix .section-row {
  background: rgba(99,102,241,.08);
}
.pricing-matrix .section-row:hover {
  background: rgba(99,102,241,.08);
}
.pricing-matrix .section-label {
  padding: .6rem 1.5rem;
  font-size: .72rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: left;
}
.pricing-matrix .feature-name {
  text-align: left;
  color: var(--text);
  font-size: .85rem;
  font-weight: 500;
}
.g-pill .feature-option,
.pricing-matrix .feature-option {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
}
.g-pill .feature-check,
.pricing-matrix .feature-check {
  color: var(--teal);
  font-size: 1.1rem;
  font-weight: 700;
}
.pricing-matrix .feature-value {
  color: var(--text);
  font-weight: 600;
}
.pricing-matrix .feature-none {
  color: var(--muted);
  opacity: .4;
}
.tier-col.tier-featured .feature-check,
.tier-col.tier-featured .feature-value {
  color: var(--accent);
}

/* Usage Rates Table */
.usage-rates-table {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.usage-rates-table thead {
  background: rgba(99,102,241,.06);
  border-bottom: 1px solid var(--border);
}
.usage-rates-table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.usage-rates-table .meter-col {
  width: 40%;
}
.usage-rates-table .cost-col {
  width: 30%;
  text-align: center;
}
.usage-rates-table .rate-col {
  width: 30%;
  text-align: center;
}
.usage-rates-table tbody tr {
  border-bottom: 1px solid rgba(99,102,241,.08);
  transition: background .2s;
}
.usage-rates-table tbody tr:last-child {
  border-bottom: none;
}
.usage-rates-table tbody tr:hover {
  background: rgba(99,102,241,.03);
}
.usage-rates-table tbody td {
  padding: 1rem 1.25rem;
  font-size: .75rem;
}
.usage-rates-table .meter-name {
  color: var(--text);
  font-weight: 500;
}
.usage-rates-table .meter-cost {
  text-align: center;
  color: var(--teal);
  font-weight: 700;
}
.usage-rates-table .meter-rate {
  text-align: center;
  color: var(--muted);
}

/* Responsive pricing matrix */
@media (max-width: 1199px) {
  .pricing-matrix {
    display: block;
    overflow-x: auto;
  }
  .pricing-matrix table {
    min-width: 900px;
  }
}
@media (max-width: 768px) {
  .pricing-matrix .feature-col {
    width: 45%;
  }
  .pricing-matrix .tier-col {
    width: 13.75%;
  }
  .tier-header {
    padding: 1rem .7rem;
  }
  .tier-name {
    font-size: .85rem;
  }
  .tier-desc {
    display: none;
  }
  .tier-price {
    font-size: 1.4rem;
  }
  .pricing-matrix tbody td {
    padding: .7rem .5rem;
    font-size: .75rem;
  }
  .pricing-matrix .feature-name {
    font-size: .78rem;
  }
}

/* ─── CTA section ────────────────────────────────────────────────── */
#cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #0c0a1a 50%, #0d2032 100%);
  border-top: 1px solid rgba(99,102,241,.15);
}
.cta-orb-1 {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(rgba(99,102,241,.28), transparent 70%);
  filter: blur(60px); top: -110px; left: -110px; pointer-events: none;
}
.cta-orb-2 {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(rgba(6,182,212,.18), transparent 70%);
  filter: blur(60px); bottom: -90px; right: -80px; pointer-events: none;
}
#cta h2 { font-size: clamp(1.85rem, 4.5vw, 2.85rem); font-weight: 900; letter-spacing: -.035em; }

/* ─── Footer ─────────────────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid rgba(99,102,241,.1);
  padding: 3rem 0 1.75rem;
}
.footer-brand { font-size: 1.1rem; font-weight: 800; }
.footer-link  { font-size: .82rem; color: var(--muted); display: block; transition: color .2s; }
.footer-link:hover { color: var(--text); }
.footer-col-label {
  font-size: .67rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .75rem;
}
.footer-copy { font-size: .75rem; color: var(--muted); }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 767px) {
  section { padding: 4rem 0; }
  .trust-row { gap: .9rem; }
}
