:root{
  --bg: #070B1A;            /* deep navy */
  --bg-2:#0B1130;
  --surface: rgba(255,255,255,0.06);
  --surface-2: rgba(255,255,255,0.09);
  --border: rgba(255,255,255,0.12);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --muted-2: rgba(255,255,255,0.55);
  --white: #ffffff;

  --accent: #3AA7FF;        /* modern blue */
  --accent-2:#2DE0B5;       /* subtle emerald */
  --shadow: 0 18px 60px rgba(0,0,0,0.35);
  --shadow-soft: 0 12px 28px rgba(0,0,0,0.28);

  --radius: 18px;
  --radius-lg: 24px;

  --container: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 20% -10%, rgba(58,167,255,0.22), transparent 55%),
    radial-gradient(900px 600px at 90% 0%, rgba(45,224,181,0.16), transparent 55%),
    linear-gradient(180deg, var(--bg), #050814 70%, #040612);
  line-height:1.5;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px;
  width:auto; height:auto;
  padding:10px 12px;
  background: var(--white);
  color:#111;
  border-radius: 10px;
  z-index:9999;
}

/* Header */
.site-header{
  position: sticky;
  top:0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(5,8,18,0.55);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.site-header[data-scrolled="true"]{
  border-color: var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  background: rgba(5,8,18,0.75);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 180px;
}
.brand-mark{
  width:12px; height:12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(58,167,255,0.10);
}
.brand-text{
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav{
  display:flex;
  align-items:center;
  gap:12px;
}
.nav-toggle{
  display:none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-radius: 12px;
  padding:10px 12px;
}
.nav-toggle:focus{ outline: 2px solid rgba(58,167,255,0.6); outline-offset: 2px; }
.nav-toggle-lines{
  display:inline-block;
  width:18px; height:12px;
  background:
    linear-gradient(var(--text), var(--text)) 0 0/100% 2px,
    linear-gradient(var(--text), var(--text)) 0 50%/100% 2px,
    linear-gradient(var(--text), var(--text)) 0 100%/100% 2px;
  background-repeat:no-repeat;
  opacity:.9;
}

.nav-panel{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav-link{
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 8px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-link:hover{
  background: rgba(255,255,255,0.05);
  color: var(--text);
  transform: translateY(-1px);
}

/* Buttons */
.btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  cursor:pointer;
}
.btn:focus{ outline: 2px solid rgba(58,167,255,0.6); outline-offset: 2px; }
.btn:hover{ transform: translateY(-1px); box-shadow: var(--shadow-soft); }

.btn-primary{
  border-color: rgba(58,167,255,0.35);
  background: linear-gradient(135deg, rgba(58,167,255,0.95), rgba(45,224,181,0.85));
  color: #061028;
}
.btn-primary:hover{
  border-color: rgba(58,167,255,0.55);
}
.btn-secondary{
  background: rgba(255,255,255,0.05);
  color: var(--text);
}
.btn-block{ width:100%; }

/* Hero */
.hero{
  position: relative;
  padding: 72px 0 48px;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items:start;
}
.eyebrow{
  display:inline-flex;
  gap:10px;
  align-items:center;
  font-weight: 600;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.01em;
  margin:0 0 12px;
}
.h1{
  margin:0 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.lead{
  margin:0 0 18px;
  font-size: 16px;
  color: var(--muted);
  max-width: 58ch;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin: 12px 0 18px;
}
.trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 10px;
}
.pill{
  border:1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.78);
  font-weight: 600;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
}
.micro{
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted-2);
}
.muted{ color: var(--muted-2); }

.hero-card{
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}
.hero-card-inner{
  padding: 22px;
}
.metric{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.metric-label{
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 600;
}
.metric-value{
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.divider{
  height:1px;
  background: rgba(255,255,255,0.12);
  margin: 16px 0;
}
.checklist{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}
.checklist li{
  position:relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 14px;
}
.checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  width:18px; height:18px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#061028;
  background: linear-gradient(135deg, rgba(58,167,255,0.95), rgba(45,224,181,0.85));
  font-weight:800;
  font-size: 12px;
}
.hero-card-cta{ margin-top: 16px; }

.hero-glow{
  position:absolute;
  inset:auto -20% -60% -20%;
  height: 420px;
  background: radial-gradient(closest-side, rgba(58,167,255,0.15), transparent 70%);
  filter: blur(4px);
  pointer-events:none;
}

/* Sections */
.section{
  padding: 64px 0;
}
.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.section-head{
  margin-bottom: 26px;
}
.h2{
  margin:0 0 10px;
  font-size: 28px;
  letter-spacing: -0.03em;
}
.subhead{
  margin:0;
  color: var(--muted);
  max-width: 70ch;
}

.cards-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.card{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  padding: 18px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(58,167,255,0.25);
}
.h3{
  margin: 0 0 10px;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.bullets{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
  display:grid;
  gap:8px;
  font-size: 14px;
}
.note{
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 13px;
}

/* Steps */
.steps-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  padding: 16px;
}
.step .icon{
  width: 40px; height: 40px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 10px;
}
.step p{ margin:0; color: var(--muted); font-size:14px; }

.inline-cta{ margin-top: 18px; }

/* Audience tiles */
.tiles-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.tile{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  padding: 18px;
}
.tile p{ margin:0; color: var(--muted); font-size:14px; }

/* Case studies */
.cs p{ margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.cs strong{ color: rgba(255,255,255,0.90); }

/* FAQ */
.faq{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  overflow:hidden;
}
details{
  border-top: 1px solid rgba(255,255,255,0.10);
}
details:first-child{ border-top: none; }
summary{
  list-style:none;
  cursor:pointer;
  padding: 16px 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.90);
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
}
summary::-webkit-details-marker{ display:none; }
summary::after{
  content:"+";
  width: 28px; height: 28px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
  flex: 0 0 auto;
}
details[open] summary::after{ content:"–"; }
.faq-body{
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 14px;
}

/* CTA */
.cta{
  padding: 54px 0;
}
.cta-inner{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(58,167,255,0.25);
  background:
    radial-gradient(900px 240px at 10% 0%, rgba(58,167,255,0.18), transparent 60%),
    radial-gradient(900px 240px at 90% 0%, rgba(45,224,181,0.14), transparent 60%),
    rgba(255,255,255,0.05);
  padding: 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.cta .subhead{ margin-top: 6px; }

/* Footer */
.footer{
  padding: 28px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.10);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 16px;
  align-items:start;
}
.footer-brand{
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.footer-meta{
  color: var(--muted-2);
  font-size: 13px;
  display:grid;
  gap:6px;
}
.footer-meta a{ color: rgba(255,255,255,0.82); }
.footer-links{
  display:grid;
  gap:10px;
  font-size: 14px;
  color: rgba(255,255,255,0.82);
}
.footer-links a:hover{ color: var(--white); }
.footer-right{
  text-align:right;
}
.footer-note{
  color: var(--muted-2);
  font-size: 12px;
  margin-bottom: 8px;
}
.footer-copy{
  color: var(--muted-2);
  font-size: 12px;
}

/* Legal pages */
.legal{
  padding: 48px 0 64px;
}
.legal .legal-card{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  padding: 22px;
}
.legal h1{
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}
.legal p, .legal li{
  color: var(--muted);
  font-size: 14px;
}
.legal h2{
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 18px;
}
.legal a{ color: rgba(58,167,255,0.95); }
.legal .meta{
  color: var(--muted-2);
  font-size: 12px;
}

/* Animations */
[data-animate]{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-animate].in{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cards-grid{ grid-template-columns: 1fr; }
  .steps-grid{ grid-template-columns: 1fr 1fr; }
  .tiles-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-right{ text-align:left; }
}

@media (max-width: 760px){
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .nav-panel{
    position: absolute;
    right: 20px;
    top: 62px;
    width: min(92vw, 420px);
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(5,8,18,0.92);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
  }
  .nav-panel.open{ display:flex; }
  .nav-link{ padding: 12px 12px; }
  .nav-cta{ margin-top: 6px; }
  .cta-inner{ flex-direction: column; align-items:flex-start; }
}
