:root{
  --bg:#070b14;
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --line:rgba(255,255,255,.10);
  --panel:rgba(255,255,255,.04);
  --panel2:rgba(255,255,255,.06);
  --shadow: 0 18px 60px rgba(0,0,0,.40);
  --accent: rgba(122,167,255,.95);
}

*{box-sizing:border-box}
html,body{height:100%}

html{ scroll-padding-top: 68px; }

body{
  margin:0;
  padding-top: 56px; /* matches header height */
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 700px at 20% 0%, rgba(122,167,255,.18), transparent 55%),
    radial-gradient(900px 700px at 85% 10%, rgba(155,231,255,.10), transparent 60%),
    var(--bg);
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.95}

.container{
  width:min(1120px, calc(100% - 48px));
  margin:0 auto;
}

.muted{color:var(--muted)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}
.big{font-size:1.05rem}

/* =========================
   Header (UNCHANGED)
========================= */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7,11,20,.70);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand-mark{
  width:44px;
  height:44px;
  display:block;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(122,167,255,.10);
  object-fit: contain;
  padding: 6px;
}
.brand-name{
  font-weight:800;
  letter-spacing:-0.01em;
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.nav a{
  padding:10px 12px;
  border-radius:12px;
  color: rgba(255,255,255,.84);
}
.nav a:hover{
  background: rgba(255,255,255,.06);
}

/* Privacy Gateway nav (UNCHANGED) */
.nav a.nav-privacy{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:12px;
  color: rgba(255,255,255,.92);
}
.nav a.nav-privacy:hover{
  background: rgba(255,255,255,.06);
}
.nav-privacy-title{
  font-weight:800;
  line-height:1;
  white-space:nowrap;
}
.nav-buy-now-sub{
  margin-top:4px;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  line-height:1;
  color: var(--accent);
  text-shadow:
    0 0 6px rgba(122,167,255,.45),
    0 0 14px rgba(122,167,255,.25);
}

/* Mobile nav toggle */
.nav-toggle{
  display:none;
  width:44px;height:40px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  padding:8px 10px;
}
.nav-toggle span{
  display:block;
  height:2px;
  background: rgba(255,255,255,.85);
  margin:6px 0;
  border-radius:2px;
}

/* =========================
   Buttons
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-weight:800;
}
.btn-primary{
  border-color: rgba(122,167,255,.55);
  background: linear-gradient(135deg, rgba(122,167,255,.32), rgba(155,231,255,.14));
}
.btn-ghost{ background: transparent; }
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}

/* =========================
   Hero
========================= */
.hero{ position: relative; overflow: hidden; }

.hero-image{
  min-height: 48vh;
  display:grid;
  align-items:flex-start;
  padding: 36px 0 28px;
  background: url("/assets/hero.jpg") center/cover no-repeat;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1000px 700px at 20% 15%, rgba(122,167,255,.25), transparent 60%),
    linear-gradient(90deg, rgba(7,11,20,.88), rgba(7,11,20,.56)),
    rgba(7,11,20,.35);
}

/* Center hero content */
.hero-content{
  position:relative;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.kicker{
  display:inline-block;
  color: rgba(155,231,255,.95);
  font-weight:800;
  letter-spacing:.28em;
  text-transform:uppercase;
  font-size:.78rem;
  margin:0 0 10px;
}

h1{
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  margin: 10px 0 14px;
  letter-spacing: -0.03em;
}

.subhead{
  margin:0 0 18px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
  max-width: 72ch;
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 14px;
}

.hero-pills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 18px;
}

.pill{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  padding:8px 12px;
  border-radius:999px;
  font-weight:700;
  color: rgba(255,255,255,.90);
}

/* Scroll hint */
.scroll-hint{
  position:absolute;
  right:22px;
  bottom:22px;
  width:44px;height:44px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  display:grid;
  place-items:center;
}
.scroll-dot{
  width:8px;height:8px;
  border-radius:999px;
  background: rgba(255,255,255,.90);
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob{
  0%,100%{ transform: translateY(-3px); opacity:.75;}
  50%{ transform: translateY(4px); opacity:1;}
}

/* =========================
   Sections
========================= */
.section{ padding: 72px 0; }

/* tighten first section below hero */
.hero + .section{ padding-top: 18px; }

.section-alt{
  background: rgba(255,255,255,.02);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.section-head{ margin-bottom: 22px; }
.section-head h2{
  margin:0 0 6px;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}
.section-head p{ margin:0; max-width: 80ch; }

.grid-4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* =========================
   Cards (base)
========================= */
.card, .step, .form{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.card h3, .step h3{
  margin:0 0 10px;
  letter-spacing: -0.01em;
}
.card p, .step p{
  margin:0;
  line-height: 1.6;
  color: var(--muted);
}
.card ul{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.card li{ margin: 6px 0; }

.step-num{
  width:34px;height:34px;
  display:grid;
  place-items:center;
  border-radius: 14px;
  border: 1px solid rgba(122,167,255,.35);
  background: rgba(122,167,255,.12);
  font-weight: 900;
  margin-bottom: 10px;
}

/* =========================
   About layout
========================= */
.about-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
}

/* =========================
   Contact (UNCHANGED)
========================= */
.contact-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items:start;
}
.stack{ display:grid; gap: 16px; }

.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
label{
  display:block;
  font-weight: 800;
  margin-bottom: 12px;
}
input, select, textarea{
  width:100%;
  margin-top: 6px;
  padding: 11px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  outline:none;
}
textarea{ resize: vertical; }
input:focus, select:focus, textarea:focus{
  border-color: rgba(155,231,255,.45);
}
.form-note{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

/* =========================
   Footer
========================= */
.site-footer{
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(7,11,20,.70);
  padding: 24px 0;
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 16px;
  flex-wrap:wrap;
}
.footer-brand{ font-weight: 900; }
.footer-links{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
}
.footer-links a{
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
}
.footer-links a:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
}

/* =========================================================
   SERVICES (Clean + Centered + Correct Color)
   - centered like Hero
   - keeps dark glass look (no gray washout)
========================================================= */

#services.services-split{
  padding: 58px 0 54px; /* slightly tighter */
}

/* hero-width alignment block, centered */
#services .services-align{
  width: min(860px, 100%);
  margin-left: auto;
  margin-right: auto;
}

#services .services-split-inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items:start;
}

/* Meta rows (no boxes) */
#services .services-meta{
  margin-top: 10px;
  display:grid;
  gap: 8px;
}
#services .meta-block{
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
#services .meta-block:last-child{ border-bottom: none; }
#services .meta-title{
  font-weight: 850;
  color: rgba(255,255,255,.90);
}
#services .meta-value{
  margin-top: 3px;
  color: rgba(255,255,255,.70);
}

/* Service list */
#services .services-list{
  margin-top: 14px;
  display:grid;
  gap: 10px;
}
#services .svc-item{
  width:100%;
  text-align:left;
  cursor:pointer;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035); /* darker, consistent with site */
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
#services .svc-item:hover{
  transform: translateY(-1px);
  border-color: rgba(155,231,255,.20);
  background: rgba(255,255,255,.05);
}
#services .svc-item.is-active{
  border-color: rgba(122,167,255,.55);
  background: linear-gradient(135deg, rgba(122,167,255,.14), rgba(255,255,255,.03));
}

#services .svc-name{
  display:block;
  font-weight: 900;
  letter-spacing:-0.02em;
}
#services .svc-hint{
  display:block;
  margin-top: 4px;
  font-size: .92rem;
  color: rgba(255,255,255,.68);
}

/* Featured panel — use true dark glass (matches cards) */
#services .services-right{
  padding-top: 22px;
}

#services .svc-feature{
  background: rgba(7,11,20,.88) !important;   /* darker + less gray */
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.05) !important;
  box-shadow: 0 18px 60px rgba(0,0,0,.65) !important;
  color: var(--text) !important;
}

#services .svc-feature h3{
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
#services .svc-feature p{
  color: rgba(255,255,255,.74);
  margin: 0 0 10px;
}

#services .svc-feature ul{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,.72);
}
#services .svc-feature-kicker{
  display:inline-block;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color: rgba(155,231,255,.95);
  margin-bottom: 10px;
}

#services .svc-actions{
  margin-top: 14px;
}

/* =========================
   Responsive
========================= */
@media (max-width: 980px){
  .grid-4{ grid-template-columns: 1fr 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .about-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }

  .nav-toggle{ display:block; }
  .nav{
    display:none;
    width:100%;
    padding: 12px 0 2px;
  }
  .nav.open{ display:flex; }

  #services .services-split-inner{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  #services .services-right{ padding-top: 6px; }
  #services .svc-feature{
    position: relative;
    top: auto;
  }
}

@media (max-width: 540px){
  .container{ width: min(1120px, calc(100% - 28px)); }
  .grid-4{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .hero-image{ min-height: 68vh; padding: 84px 0 58px; }
}

/* ===== HARD RESET: kill any old Services overlays (fix gray/washed look) ===== */

/* Stop any old pseudo-element overlays from rendering */
#services .svc-feature::before,
#services .svc-feature::after{
  content: none !important;
  display: none !important;
}

/* Force the featured panel to match the site’s dark glass */
#services .svc-feature{
  background: rgba(7,11,20,.72) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 18px 60px rgba(0,0,0,.55) !important;
  color: var(--text) !important;
}

/* Keep feature text consistent */
#services .svc-feature p,
#services .svc-feature ul{
  color: rgba(255,255,255,.74) !important;
}

/* Darken service list items (prevents “gray tiles”) */
#services .svc-item{
  background: rgba(7,11,20,.55) !important;
  border-color: rgba(255,255,255,.10) !important;
}
#services .svc-item:hover{
  background: rgba(7,11,20,.62) !important;
}
#services .svc-item.is-active{
  background: linear-gradient(135deg, rgba(122,167,255,.12), rgba(7,11,20,.60)) !important;
  border-color: rgba(122,167,255,.55) !important;
}

/* ===== Featured panel polish (no harsh box border) ===== */

#services .svc-feature::before,
#services .svc-feature::after{
  content:none !important;
  display:none !important;
}

#services .svc-feature{
  position: sticky;
  top: 86px;

  /* keep your darker fill */
  background:
    radial-gradient(900px 520px at 18% 0%, rgba(122,167,255,.10), transparent 58%),
    rgba(7,11,20,.88) !important;

  /* remove harsh outline */
  border: 1px solid rgba(255,255,255,.06) !important;

  /* add depth without gray-washing */
  box-shadow:
    0 22px 70px rgba(0,0,0,.70),
    inset 0 1px 0 rgba(255,255,255,.04) !important;

  border-radius: 20px;
  padding: 18px;
  color: var(--text) !important;
}

/* text rhythm */
#services .svc-feature h3{
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

#services .svc-feature p{
  color: rgba(255,255,255,.78) !important;
  margin: 0 0 10px;
}

#services .svc-feature ul{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(255,255,255,.74) !important;
}

/* kicker stays crisp */
#services .svc-feature-kicker{
  display:inline-block;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color: rgba(155,231,255,.95);
  margin-bottom: 10px;
}

/* ================================
   HERO → SERVICES SPACING TIGHTEN
   Goal: Services visible on load
================================ */

/* Slightly reduce hero height impact */
.hero-image{
  min-height: 42vh;        /* was 48vh */
  padding-bottom: 18px;    /* was 28px */
}

/* Remove double-padding on Services */
#services.services-split{
  padding-top: 24px;       /* was 64px */
  padding-bottom: 48px;    /* keep breathing room */
}

/* Optional: visually connect hero + services */
#services{
  margin-top: -8px;
}

/* ================================
   SERVICES LIST – TEXT CONTRAST FIX
================================ */

/* Primary service name */
#services .svc-name{
  display:block;
  font-weight: 800;
  font-size: 1.02rem;
  color: rgba(255,255,255,.96);
  letter-spacing: -0.01em;
}

/* Secondary descriptor (override .muted) */
#services .svc-hint{
  display:block;
  margin-top: 4px;
  font-size: .92rem;
  color: rgba(255,255,255,.72);
}

/* Active state clarity */
#services .svc-item.is-active .svc-name{
  color: rgba(255,255,255,1);
}
#services .svc-item.is-active .svc-hint{
  color: rgba(200,225,255,.95);
}

/* Optional: subtle lift for readability */
#services .svc-item{
  backdrop-filter: blur(6px);
}

/* ============================
   PRICING COLOR ACCENTS (Hardware cards only)
   Targets ONLY the 3 option cards in "Choose your option"
============================ */

.pricing-grid > .card{
  position: relative;
  overflow: hidden;
}

/* Glow layer */
.pricing-grid > .card::before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  opacity:.85;
  background:
    radial-gradient(900px 520px at 12% 0%, var(--plan-glow, rgba(79,140,255,.14)), transparent 58%),
    radial-gradient(720px 520px at 100% 30%, var(--plan-glow2, rgba(201,215,255,.08)), transparent 62%);
}

/* Subtle top sheen */
.pricing-grid > .card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.45;
  background: linear-gradient(180deg, rgba(255,255,255,.05), transparent 38%);
}

/* Keep content above glow */
.pricing-grid > .card > *{
  position: relative;
  z-index: 1;
}

/* Starter */
.pricing-grid > .card:nth-child(1){
  --plan-glow:  rgba(79,140,255,.16);
  --plan-glow2: rgba(201,215,255,.08);
}

/* Standard (slightly emphasized) */
.pricing-grid > .card:nth-child(2){
  --plan-glow:  rgba(140,220,255,.18);
  --plan-glow2: rgba(79,140,255,.10);
  border-color: rgba(140,220,255,.22);
  box-shadow:
    0 14px 40px rgba(0,0,0,.40),
    0 0 0 1px rgba(140,220,255,.10) inset;
}

/* Pro */
.pricing-grid > .card:nth-child(3){
  --plan-glow:  rgba(255,170,120,.15);
  --plan-glow2: rgba(255,120,170,.10);
}
