/* ═══════════════════════════════════════════
   A3 MIDNIGHT TEAL — Escudo Design System
   ═══════════════════════════════════════════ */
:root {
  --bg:       #060D14;
  --bg-2:     #071018;
  --surface:  #0A141E;
  --surface-2:#0E1A28;
  --surface-3:#122030;
  --glass:    rgba(10,20,30,0.65);

  --purple:   #7B68EE;
  --purple-light: #9D8FFF;
  --purple-glow: rgba(123,104,238,0.10);
  --purple-glow-s: rgba(123,104,238,0.20);

  --teal:     #20B8A8;
  --teal-light: #3EDBC9;
  --teal-glow: rgba(32,184,168,0.10);

  --amber:    #F5C542;
  --red:      #F06060;
  --green:    #34D87A;

  --text:     #E4EAF2;
  --text-2:   #8A9AB4;
  --text-3:   #4E6478;
  --border:   rgba(255,255,255,0.04);
  --border-h: rgba(123,104,238,0.18);

  --font-h:   'Outfit', sans-serif;
  --font-b:   'Inter', sans-serif;
  --font-m:   'JetBrains Mono', monospace;

  --radius:   14px;
  --max-w:    1200px;
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b); color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.6;
}

/* Grain */
body::after {
  content:''; position:fixed; inset:0; z-index:9999; pointer-events:none; opacity:0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:180px;
}

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.5s var(--ease);
}
.nav.scrolled {
  background: var(--glass);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-h); font-size: 1.15rem; font-weight: 600;
  color: var(--text); text-decoration: none; letter-spacing: -0.01em;
}
.nav-logo svg { width: 30px; height: 30px; }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-family: var(--font-m); font-size: 0.76rem;
  color: var(--text-2); text-decoration: none;
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content:''; position:absolute; bottom:-4px; left:0; right:0;
  height:1px; background:linear-gradient(90deg,var(--purple),var(--teal));
  transform:scaleX(0); transition:transform 0.3s var(--ease);
  transform-origin: left;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--font-m); font-size: 0.76rem; font-weight: 500;
  padding: 8px 20px; border-radius: 8px;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  color: #fff; text-decoration: none;
  transition: all 0.3s var(--ease);
  box-shadow: 0 2px 16px rgba(123,104,238,0.15);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 28px rgba(123,104,238,0.25); }

.nav-hamburger { display:none; background:none; border:none; color:var(--text); cursor:pointer; padding:8px; }
.nav-mobile {
  display:none; position:fixed; top:68px; left:0; right:0; bottom:0;
  background:rgba(6,13,20,0.97); backdrop-filter:blur(20px);
  padding:24px; z-index:99; flex-direction:column; gap:4px;
}
.nav-mobile.open { display:flex; }
.nav-mobile a { display:block; padding:14px 16px; border-radius:10px; color:var(--text); font-size:1rem; text-decoration:none; }
.nav-mobile a:hover { background:var(--surface); }
@media (max-width: 860px) {
  .nav-links { display:none; }
  .nav-hamburger { display:block; }
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: clamp(100px,14vh,140px) 0 80px;
}
.hero::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 60% 50% at 25% 45%, rgba(123,104,238,0.07) 0%, transparent 100%),
    radial-gradient(ellipse 50% 55% at 75% 55%, rgba(32,184,168,0.05) 0%, transparent 100%);
  pointer-events:none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,80px);
  align-items: center; position: relative; z-index: 1;
}
.hero-text { max-width: 560px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 999px;
  background: var(--purple-glow); border: 1px solid rgba(123,104,238,0.12);
  font-family: var(--font-m); font-size: 0.68rem; font-weight: 500;
  color: var(--purple-light); margin-bottom: 24px;
}
.hero-badge .dot {
  width:6px; height:6px; border-radius:3px; background:var(--green);
  box-shadow:0 0 6px var(--green);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse { 0%,100%{opacity:0.4;transform:scale(0.85)} 50%{opacity:1;transform:scale(1.15)} }

.hero h1 {
  font-family: var(--font-h);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.06; letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--purple), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.02rem; color: var(--text-2); line-height: 1.7;
  margin-bottom: 32px; max-width: 460px;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 26px; border-radius:10px;
  font-family:var(--font-m); font-size:0.84rem; font-weight:500;
  text-decoration:none; border:none; cursor:pointer;
  transition: all 0.3s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--teal));
  color:#fff;
  box-shadow: 0 4px 20px rgba(123,104,238,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow: 0 8px 36px rgba(123,104,238,0.28); }
.btn-ghost {
  background:rgba(255,255,255,0.02); color:var(--text);
  border:1px solid var(--border); backdrop-filter:blur(8px);
}
.btn-ghost:hover { border-color:var(--border-h); background:var(--purple-glow); }

.hero-dns {
  font-family:var(--font-m); font-size:0.72rem; color:var(--text-3);
}
.hero-dns .ip { color:var(--teal); font-weight:500; }

.hero-image {
  position: relative;
}
.hero-image img {
  width: 100%; border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 60px rgba(123,104,238,0.06);
}
/* Gradient fade on image edges */
.hero-image::after {
  content:''; position:absolute; inset:0; border-radius:16px;
  background: linear-gradient(180deg, transparent 60%, var(--bg) 100%);
  pointer-events:none;
}

@media (max-width:960px) {
  .hero-grid { grid-template-columns:1fr; text-align:center; }
  .hero-text { max-width:100%; margin:0 auto; }
  .hero-sub { margin:0 auto 32px; }
  .hero-ctas { justify-content:center; }
  .hero-dns { text-align:center; }
  .hero-image { max-width:520px; margin:24px auto 0; }
}

/* ─── TICKER ─── */
.ticker {
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  background:var(--bg-2); overflow:hidden;
}
.ticker-track {
  display:flex; gap:40px; padding:14px 0; white-space:nowrap;
  animation: tick 45s linear infinite;
}
.ticker-item {
  display:flex; align-items:center; gap:8px; flex-shrink:0;
  font-family:var(--font-m); font-size:0.72rem;
}
.ticker-item .v { font-weight:600; }
.ticker-item .v.p { color:var(--purple-light); }
.ticker-item .v.t { color:var(--teal-light); }
.ticker-item .v.a { color:var(--amber); }
.ticker-item .v.g { color:var(--green); }
.ticker-item .v.r { color:var(--red); }
.ticker-item .l { color:var(--text-3); }
.sep { color:var(--text-3); opacity:0.25; flex-shrink:0; }
@keyframes tick { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ─── SECTIONS ─── */
section { padding: clamp(60px,10vh,100px) 0; position:relative; }
.eyebrow {
  font-family:var(--font-m); font-size:0.68rem; font-weight:600;
  text-transform:uppercase; letter-spacing:0.14em;
  color:var(--teal); margin-bottom:14px;
  display:flex; align-items:center; gap:10px;
}
.eyebrow::before { content:''; width:28px; height:1px; background:var(--teal); }
.section-title {
  font-family:var(--font-h);
  font-size:clamp(1.8rem,3.5vw,2.8rem);
  font-weight:700; letter-spacing:-0.025em;
  margin-bottom:10px; line-height:1.1;
}
.section-sub {
  color:var(--text-2); font-size:1rem; max-width:500px;
  line-height:1.7; margin-bottom:48px;
}
.section-sub.center { margin-left:auto; margin-right:auto; text-align:center; }

/* ─── STEPS ─── */
.steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; position:relative; }
.steps-grid::before {
  content:''; position:absolute; top:40px; left:12%; right:12%;
  height:1px; background:linear-gradient(90deg,transparent,var(--purple),var(--teal),transparent);
  opacity:0.2;
}
.step {
  text-align:center; padding:0 12px;
}
.step-num {
  width:64px; height:64px; border-radius:18px; margin:0 auto 20px;
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-m); font-size:1.3rem; font-weight:700; color:var(--purple);
  background:var(--surface); border:1px solid var(--border);
  box-shadow:0 8px 24px rgba(0,0,0,0.3);
  position:relative;
}
.step-num::after {
  content:''; position:absolute; inset:-1px; border-radius:18px;
  background:linear-gradient(135deg,var(--purple-glow-s),transparent 50%);
  z-index:-1; border-radius:19px;
}
.step h3 { font-family:var(--font-h); font-size:1.05rem; font-weight:600; margin-bottom:6px; }
.step p { color:var(--text-2); font-size:0.88rem; }
@media(max-width:768px) {
  .steps-grid { grid-template-columns:1fr; max-width:360px; margin:0 auto; }
  .steps-grid::before { display:none; }
}

/* ─── BENTO FEATURES ─── */
.bento {
  display:grid; grid-template-columns:repeat(12,1fr);
  grid-auto-rows:minmax(180px,auto); gap:16px;
}
.b-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); padding:clamp(22px,3vw,32px);
  position:relative; overflow:hidden;
  transition:all 0.4s var(--ease);
}
.b-card:hover {
  border-color:var(--border-h); transform:translateY(-3px);
  box-shadow:0 20px 60px rgba(0,0,0,0.4);
}
.b-card::before {
  content:''; position:absolute; top:-50%; right:-50%;
  width:200%; height:200%;
  background:radial-gradient(circle at top right, var(--purple-glow) 0%, transparent 50%);
  opacity:0; transition:opacity 0.4s;
}
.b-card:hover::before { opacity:1; }

.b-8 { grid-column:span 8; }
.b-4 { grid-column:span 4; }
.b-6 { grid-column:span 6; }

.b-icon {
  width:42px; height:42px; border-radius:11px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px; position:relative; z-index:1;
}
.b-icon svg { width:20px; height:20px; fill:none; stroke-width:1.5; }
.b-icon.ip { background:var(--purple-glow); }
.b-icon.ip svg { stroke:var(--purple); }
.b-icon.it { background:var(--teal-glow); }
.b-icon.it svg { stroke:var(--teal); }
.b-icon.ia { background:rgba(245,197,66,0.08); }
.b-icon.ia svg { stroke:var(--amber); }
.b-icon.ir { background:rgba(240,96,96,0.08); }
.b-icon.ir svg { stroke:var(--red); }

.b-card h3 { font-family:var(--font-h); font-size:1.1rem; font-weight:600; margin-bottom:6px; position:relative; z-index:1; }
.b-card p { color:var(--text-2); font-size:0.86rem; line-height:1.6; position:relative; z-index:1; }
.b-card .big { font-family:var(--font-m); font-size:clamp(2.2rem,4vw,3.2rem); font-weight:700; letter-spacing:-0.03em; position:relative; z-index:1; }

.b-card .card-img { border-radius:10px; width:100%; margin-top:16px; position:relative; z-index:1; }

@media(max-width:768px) { .b-card { grid-column:span 12!important; } }

/* ─── PRODUCT SHOTS ─── */
.product-shot {
  display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;
  padding:clamp(40px,8vh,80px) 0;
  border-bottom:1px solid var(--border);
}
.product-shot:last-child { border-bottom:none; }
.product-shot.reverse .ps-text { order:2; }
.product-shot.reverse .ps-img { order:1; }
.ps-text { max-width:460px; }
.ps-text .eyebrow { margin-bottom:10px; }
.ps-text h3 { font-family:var(--font-h); font-size:1.6rem; font-weight:700; letter-spacing:-0.02em; margin-bottom:10px; }
.ps-text p { color:var(--text-2); font-size:0.95rem; line-height:1.7; margin-bottom:20px; }
.ps-img img {
  width:100%; border-radius:14px;
  box-shadow:0 16px 64px rgba(0,0,0,0.4);
}
@media(max-width:768px) {
  .product-shot { grid-template-columns:1fr; }
  .product-shot.reverse .ps-text { order:1; }
  .product-shot.reverse .ps-img { order:2; }
}

/* ─── PRICING ─── */
.pricing-row { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.p-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); padding:30px 24px;
  transition:all 0.4s var(--ease); position:relative;
}
.p-card:hover { border-color:var(--border-h); transform:translateY(-3px); box-shadow:0 16px 48px rgba(0,0,0,0.4); }
.p-card.featured {
  border-color:var(--purple);
  box-shadow:0 0 48px var(--purple-glow);
}
.p-card.featured::before {
  content:'POPULAR'; position:absolute; top:-10px; left:50%; transform:translateX(-50%);
  padding:3px 12px; border-radius:6px;
  background:linear-gradient(135deg,var(--purple),var(--teal)); color:#fff;
  font-family:var(--font-m); font-size:0.6rem; font-weight:700; letter-spacing:0.06em;
}
.p-tier { font-family:var(--font-m); font-size:0.68rem; font-weight:600; color:var(--teal); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:6px; }
.p-price { font-family:var(--font-h); font-size:2.4rem; font-weight:700; letter-spacing:-0.02em; margin-bottom:2px; }
.p-price span { font-size:0.85rem; font-weight:400; color:var(--text-2); }
.p-desc { color:var(--text-2); font-size:0.88rem; margin-bottom:20px; }
.p-list { list-style:none; margin-bottom:24px; }
.p-list li { padding:6px 0; font-size:0.84rem; color:var(--text-2); display:flex; align-items:center; gap:8px; }
.p-list .ck { width:16px; height:16px; border-radius:4px; background:var(--teal-glow); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.p-list .ck svg { width:10px; height:10px; stroke:var(--teal); fill:none; stroke-width:3; }
.p-card .btn { width:100%; justify-content:center; }
@media(max-width:768px) { .pricing-row { grid-template-columns:1fr; max-width:380px; margin:0 auto; } }

/* ─── TRUST ─── */
.trust {
  display:flex; justify-content:center; gap:36px; flex-wrap:wrap;
  padding:48px 0;
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
}
.trust-i {
  display:flex; align-items:center; gap:6px;
  font-family:var(--font-m); font-size:0.68rem;
  color:var(--text-3); text-transform:uppercase; letter-spacing:0.05em;
}
.trust-i svg { width:14px; height:14px; stroke:var(--text-3); fill:none; stroke-width:1.5; }

/* ─── CTA ─── */
.cta-section { text-align:center; padding:clamp(80px,12vh,120px) 0; position:relative; }
.cta-section::before {
  content:''; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:500px; height:350px;
  background:radial-gradient(circle, var(--purple-glow-s) 0%, transparent 60%);
  pointer-events:none;
}
.dns-box {
  display:inline-flex; flex-direction:column; gap:6px;
  background:var(--surface); border:1px solid var(--border);
  border-radius:12px; padding:18px 30px;
  font-family:var(--font-m); font-size:0.8rem;
  margin:24px 0;
}
.dns-r { display:flex; align-items:center; gap:14px; }
.dns-l { color:var(--text-3); min-width:100px; font-size:0.7rem; }
.dns-v { color:var(--teal); font-weight:600; }

/* ─── FOOTER ─── */
.footer { background:var(--bg-2); border-top:1px solid var(--border); padding:56px 0 24px; }
.footer-grid { display:grid; grid-template-columns:1.5fr repeat(3,1fr); gap:40px; margin-bottom:40px; }
.footer-brand .logo { display:flex; align-items:center; gap:10px; font-family:var(--font-h); font-size:1.05rem; font-weight:600; margin-bottom:10px; }
.footer-brand .logo svg { width:26px; height:26px; }
.footer-brand .tagline { color:var(--text-3); font-size:0.82rem; line-height:1.6; max-width:260px; }
.footer-col h4 { font-family:var(--font-m); font-size:0.65rem; font-weight:600; text-transform:uppercase; letter-spacing:0.12em; color:var(--text-3); margin-bottom:14px; }
.footer-col a { display:block; padding:3px 0; color:var(--text-2); font-size:0.85rem; text-decoration:none; transition:color 0.2s; }
.footer-col a:hover { color:var(--text); }
.footer-bottom { padding-top:20px; border-top:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; font-family:var(--font-m); font-size:0.7rem; color:var(--text-3); flex-wrap:wrap; gap:12px; }
@media(max-width:768px) { .footer-grid { grid-template-columns:1fr 1fr; gap:24px; } .footer-bottom { flex-direction:column; text-align:center; } }

/* ─── SCROLL REVEAL ─── */
.rv { opacity:0; transform:translateY(28px); transition:all 0.7s var(--ease); }
.rv.vis { opacity:1; transform:translateY(0); }
.rv-d1 { transition-delay:0.08s; } .rv-d2 { transition-delay:0.16s; } .rv-d3 { transition-delay:0.24s; }
.rv-d4 { transition-delay:0.32s; } .rv-d5 { transition-delay:0.4s; }