/* ═══════════════════════════════════════════════════════
   BornilaDNS — Modern Minimal + 3D Design System
   Clean · Spacious · Subtle Depth
══════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Tokens ─────────────────────────────────────────── */
:root {
  --c-bg: #0b0e14;
  --c-bg2: #11151d;
  --c-bg3: #1a2029;
  --c-surface: #161b24;
  --c-surface2: #11151d;
  --c-brand: #6366f1;
  --c-brand-r: 99, 102, 241;
  --c-brand-light: #a5b4fc;
  --c-accent: #22d3ee;
  --c-accent-r: 34, 211, 238;
  --c-green: #34d399;
  --c-gold: #fbbf24;
  --c-danger: #f87171;
  --c-text: #e2e8f0;
  --c-text2: #94a3b8;
  --c-text3: #64748b;
  --c-border: #232b37;
  --c-border-light: #1e2630;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.25);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.35);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.45);
  --shadow-3d: 0 30px 60px -15px rgba(99,102,241,0.15), 0 10px 25px rgba(0,0,0,0.4);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--c-brand); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--c-brand-light); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ── Type ───────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--c-text); letter-spacing: -0.02em; }
.gradient-text {
  background: linear-gradient(135deg, var(--c-brand), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .gradient-text { -webkit-text-fill-color: transparent; }
}

/* ── Container ──────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── 3D Grid Background ─────────────────────────────── */
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 20%, black 0%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, black 0%, transparent 60%);
}

/* ── Ambient Glow Orbs ──────────────────────────────── */
.orb-field { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.5;
  will-change: transform;
}
.orb--cyan {
  width: min(500px, 70vw);
  height: min(500px, 70vw);
  background: radial-gradient(circle, rgba(34,211,238,0.18), transparent 70%);
  top: -10%;
  right: -8%;
  animation: orb-drift 24s ease-in-out infinite;
}
.orb--purple {
  width: min(450px, 65vw);
  height: min(450px, 65vw);
  background: radial-gradient(circle, rgba(99,102,241,0.16), transparent 70%);
  bottom: -8%;
  left: -8%;
  animation: orb-drift 30s ease-in-out infinite reverse;
}
.orb--pink {
  width: min(300px, 45vw);
  height: min(300px, 45vw);
  background: radial-gradient(circle, rgba(244,63,94,0.08), transparent 70%);
  top: 50%;
  left: 45%;
  animation: orb-drift 20s ease-in-out infinite 3s;
}
@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-15px, 30px) scale(0.97); }
  75% { transform: translate(20px, 15px) scale(1.03); }
}

/* ══════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════ */
.anim {
  opacity: 0;
  will-change: transform, opacity, clip-path;
}
.anim[data-anim="fade-up"] {
  transform: translateY(32px);
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--spring);
}
.anim[data-anim="fade-up"].in {
  opacity: 1;
  transform: translateY(0);
}
.anim[data-anim="clip-up"] {
  clip-path: inset(100% 0 0 0);
  transition: opacity 0.4s var(--ease), clip-path 0.8s var(--ease-out);
}
.anim[data-anim="clip-up"].in {
  opacity: 1;
  clip-path: inset(0% 0 0 0);
}
.anim[data-anim="scale-in"] {
  transform: scale(0.9);
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--spring);
}
.anim[data-anim="scale-in"].in {
  opacity: 1;
  transform: scale(1);
}
.anim[data-anim="stagger"] {
  transform: translateY(40px) scale(0.96);
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.6s var(--spring);
}
.anim[data-anim="stagger"].in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ══════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--spring);
  white-space: nowrap;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: -0.01em;
}

.btn--neon {
  background: var(--c-brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(var(--c-brand-r), 0.25), var(--shadow-sm);
}
.btn--neon::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
}
.btn--neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--c-brand-r), 0.35), var(--shadow-md);
  color: #fff;
}
.btn--neon:hover::after { left: 100%; }
.btn--neon:active { transform: translateY(0) scale(0.98); }

.btn--ghost {
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border);
}
.btn--ghost:hover {
  background: var(--c-bg2);
  color: var(--c-brand-light);
  border-color: rgba(var(--c-brand-r), 0.4);
}
.btn--full { width: 100%; justify-content: center; }

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--c-border);
  color: var(--c-text);
}
.btn--outline:hover {
  border-color: var(--c-brand);
  color: var(--c-brand-light);
  background: rgba(var(--c-brand-r), 0.12);
}

.btn--purple {
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99,102,241, 0.25), var(--shadow-sm);
}
.btn--purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99,102,241, 0.35);
  color: #fff;
}

.btn--gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245,158,11, 0.25), var(--shadow-sm);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,158,11, 0.35);
  color: #fff;
}

.btn--sm { padding: 8px 18px; font-size: 0.82rem; border-radius: 10px; }
.btn--lg { padding: 16px 44px; font-size: 1rem; border-radius: 14px; }
.magnetic { transition: transform 0.3s var(--spring), box-shadow 0.3s; }

/* ══════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(11, 14, 20, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transform: translateZ(0);
  will-change: transform;
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(11, 14, 20, 0.95);
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--c-text);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.nav__logo-3d {
  width: 38px;
  height: 38px;
  background: var(--c-brand);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 4px 12px rgba(var(--c-brand-r), 0.25);
  transition: transform 0.4s var(--spring), box-shadow 0.4s;
  transform-style: preserve-3d;
  perspective: 600px;
  transform: rotateY(-5deg) rotateX(3deg);
}
.nav__logo-3d:hover {
  transform: rotateY(5deg) rotateX(-3deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(var(--c-brand-r), 0.35);
}
.nav__name {
  background: linear-gradient(135deg, var(--c-brand), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav__links { display: flex; gap: 36px; }
.nav__links a {
  color: var(--c-text2);
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-brand);
  border-radius: 2px;
  transition: width 0.3s var(--spring);
}
.nav__links a:hover { color: var(--c-brand-light); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; gap: 10px; align-items: center; }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
  -webkit-tap-highlight-color: transparent;
}
.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all 0.3s var(--spring);
  transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--c-brand); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--c-brand); }

/* Mobile Nav */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.mnav.open { pointer-events: all; }
.mnav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mnav.open .mnav__backdrop { opacity: 1; }
.mnav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 85vw);
  height: 100%;
  background: var(--c-surface);
  border-left: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--spring);
  box-shadow: -10px 0 40px rgba(0,0,0,0.08);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mnav.open .mnav__panel { transform: translateX(0); }

.mnav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--c-border-light);
}
.mnav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-text);
}
.mnav__logo-3d {
  width: 34px;
  height: 34px;
  background: var(--c-brand);
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 3px 10px rgba(var(--c-brand-r), 0.25);
}
.mnav__brand-text {
  font-size: 1.15rem;
  font-weight: 800;
}
.mnav__close {
  width: 38px;
  height: 38px;
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--c-text2);
  transition: all 0.2s;
}
.mnav__close:hover {
  background: var(--c-danger);
  color: #fff;
  transform: rotate(90deg);
}

.mnav__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
}
.mnav__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--c-text);
  transition: all 0.2s var(--ease);
  opacity: 0;
  transform: translateX(24px);
}
.mnav.open .mnav__item { opacity: 1; transform: translateX(0); }
.mnav.open .mnav__links a:nth-child(1) { transition-delay: 0.08s; }
.mnav.open .mnav__links a:nth-child(2) { transition-delay: 0.12s; }
.mnav.open .mnav__links a:nth-child(3) { transition-delay: 0.16s; }
.mnav.open .mnav__links a:nth-child(4) { transition-delay: 0.2s; }
.mnav.open .mnav__links a:nth-child(5) { transition-delay: 0.24s; }
.mnav__item:hover, .mnav__item:active {
  background: var(--c-bg2);
}
.mnav__icon {
  font-size: 1.3rem;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--c-bg2);
  border-radius: 10px;
  border: 1px solid var(--c-border-light);
  flex-shrink: 0;
}
.mnav__item:hover .mnav__icon { background: rgba(var(--c-brand-r), 0.15); }
.mnav__item-text { flex: 1; font-size: 1rem; font-weight: 600; }
.mnav__arrow { font-size: 0.9rem; color: var(--c-text3); transition: transform 0.3s var(--spring), color 0.2s; }
.mnav__item:hover .mnav__arrow { transform: translateX(4px); color: var(--c-brand-light); }

.mnav__bottom {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--c-border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.35s var(--ease) 0.25s;
}
.mnav.open .mnav__bottom { opacity: 1; transform: translateY(0); }
.mnav__btn-login { border: 1.5px solid var(--c-border) !important; border-radius: 12px !important; font-weight: 700 !important; font-size: 0.95rem !important; padding: 13px !important; }
.mnav__btn-start { border-radius: 12px !important; font-weight: 700 !important; font-size: 0.95rem !important; padding: 13px !important; }

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 15%, rgba(99,102,241,0.08) 0%, var(--c-bg) 50%, rgba(34,211,238,0.04) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 25%, rgba(99,102,241,0.06), transparent 45%),
    radial-gradient(circle at 20% 70%, rgba(34,211,238,0.04), transparent 45%);
  pointer-events: none;
}
.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

/* Hero Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--c-brand-r), 0.12);
  border: 1px solid rgba(var(--c-brand-r), 0.25);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-brand-light);
  margin-bottom: 28px;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: var(--c-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--c-green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.06;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}
.hero__title-line { display: block; }
.hero__title-glow {
  display: block;
  background: linear-gradient(135deg, var(--c-brand), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--c-text2);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 3D DNS Card */
.hero__dns-3d {
  margin-top: 40px;
  perspective: 1000px;
}
.dns-3d-card {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 18px 28px;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s var(--spring);
  transform-style: preserve-3d;
}
.dns-3d-card:hover {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-6px);
  box-shadow: var(--shadow-3d);
  border-color: rgba(var(--c-brand-r), 0.15);
}
.dns-col { display: flex; flex-direction: column; gap: 3px; }
.dns-label {
  font-size: 0.65rem;
  color: var(--c-text3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.dns-val {
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.88rem;
  color: var(--c-brand-light);
  font-weight: 700;
}
.dns-sep {
  width: 1px;
  height: 32px;
  background: var(--c-border);
}

/* Hero Stats */
.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hstat__num {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--c-brand), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.hstat__lbl {
  font-size: 0.76rem;
  color: var(--c-text3);
  margin-top: 2px;
  font-weight: 500;
}

/* ══════════════════════════════════════════════════════
   TRUST BAR
══════════════════════════════════════════════════════ */
.trust {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border-light);
  border-bottom: 1px solid var(--c-border-light);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.trust__track {
  display: flex;
  gap: 48px;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.trust:hover .trust__track { animation-play-state: paused; }
.trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--c-text2);
  white-space: nowrap;
}
.trust__item i { font-style: normal; font-size: 0.95rem; }
.trust__item b { color: var(--c-text); font-weight: 600; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════════ */
.sec { padding: 100px 0; position: relative; z-index: 1; }
.sec--alt {
  background: var(--c-bg2);
}
.sec__head { text-align: center; margin-bottom: 60px; }
.sec__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-brand-light);
  margin-bottom: 14px;
  background: rgba(var(--c-brand-r), 0.12);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(var(--c-brand-r), 0.2);
}
.sec__title {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
}
.sec__sub {
  color: var(--c-text2);
  font-size: 1.02rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border), transparent);
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════
   FEATURE CARDS
══════════════════════════════════════════════════════ */
.fgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  perspective: 1200px;
}
.fcard {
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--spring);
  transform-style: preserve-3d;
  box-shadow: var(--shadow-sm);
}
.fcard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-brand), var(--c-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--spring);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.fcard:hover {
  border-color: rgba(var(--c-brand-r), 0.15);
  box-shadow: var(--shadow-xl);
}
.fcard:hover::before { transform: scaleX(1); }
.fcard__icon {
  width: 50px;
  height: 50px;
  background: rgba(var(--c-brand-r), 0.12);
  border: 1px solid rgba(var(--c-brand-r), 0.15);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  transition: all 0.35s var(--spring);
  position: relative;
  z-index: 1;
}
.fcard:hover .fcard__icon {
  transform: scale(1.12) rotate(-5deg) translateZ(8px);
  background: rgba(var(--c-brand-r), 0.18);
}
.fcard__title {
  font-size: 0.95rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.01em;
}
.fcard__desc {
  color: var(--c-text2);
  font-size: 0.82rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════════════════ */
.sec--how { overflow: hidden; }
.how-wrap { position: relative; }
.how-line {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: -10px;
  margin-bottom: -10px;
  position: relative;
  z-index: 0;
}
.how-line__track { stroke-dasharray: 2000; stroke-dashoffset: 2000; }
.how-line__draw {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  transition: stroke-dashoffset 2s var(--ease-out);
}
.how-line.drawn .how-line__draw { stroke-dashoffset: 0; }
.how-line__dot { opacity: 0; transition: opacity 0.6s; }
.how-line.drawn .how-line__dot { opacity: 1; }
.how-line.drawn .how-line__dot:nth-child(4) { transition-delay: 0.2s; }
.how-line.drawn .how-line__dot:nth-child(5) { transition-delay: 0.8s; }
.how-line.drawn .how-line__dot:nth-child(6) { transition-delay: 1.4s; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.step { text-align: center; position: relative; }
.step__orb {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
}
.step__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; opacity: 0; }
.step__ring--1 { border-color: rgba(var(--c-brand-r), 0.12); animation: ring-pulse 3s ease-out infinite; }
.step__ring--2 { border-color: rgba(var(--c-accent-r), 0.08); animation: ring-pulse 3s ease-out infinite 0.6s; }
.step__ring--3 { border-color: rgba(var(--c-brand-r), 0.06); animation: ring-pulse 3s ease-out infinite 1.2s; }
.step.in .step__ring { opacity: 1; }

@keyframes ring-pulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.8); opacity: 0; }
}
.step__num {
  width: 76px;
  height: 76px;
  background: var(--c-brand);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(var(--c-brand-r), 0.2);
  transition: all 0.4s var(--spring);
  position: relative;
  z-index: 2;
}
.step__num span {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
}
.step__glow {
  position: absolute;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(var(--c-brand-r), 0.12), transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s;
  animation: glow-breathe 4s ease-in-out infinite;
}
.step.in .step__glow { opacity: 1; }

@keyframes glow-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.12); opacity: 0.9; }
}
.step:hover .step__num {
  transform: scale(1.12) translateY(-4px);
  box-shadow: 0 10px 30px rgba(var(--c-brand-r), 0.3);
}
.step:hover .step__glow { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
.step__body { position: relative; }
.step__body h3 { margin-bottom: 10px; font-size: 1.05rem; font-weight: 700; transition: color 0.2s; }
.step:hover .step__body h3 { color: var(--c-brand-light); }
.step__body p { color: var(--c-text2); font-size: 0.87rem; line-height: 1.7; max-width: 260px; margin: 0 auto; }

/* ══════════════════════════════════════════════════════
   DEVICE CARDS
══════════════════════════════════════════════════════ */
.dgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  perspective: 1200px;
}
.dcard {
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-lg);
  padding: 32px 22px;
  text-align: center;
  transition: all 0.35s var(--spring);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: var(--shadow-sm);
}
.dcard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--c-brand-r), 0.05), rgba(var(--c-accent-r), 0.05));
  opacity: 0;
  transition: opacity 0.3s;
}
.dcard:hover {
  border-color: rgba(var(--c-brand-r), 0.15);
  box-shadow: var(--shadow-xl);
}
.dcard:hover::before { opacity: 1; }
.dcard__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
  transition: transform 0.35s var(--spring);
  position: relative;
  z-index: 1;
}
.dcard:hover .dcard__icon { transform: scale(1.15) rotate(-4deg) translateZ(8px); }
.dcard h3 { margin-bottom: 8px; font-size: 0.95rem; position: relative; z-index: 1; letter-spacing: -0.01em; }
.dcard p { color: var(--c-text2); font-size: 0.82rem; margin-bottom: 20px; line-height: 1.65; position: relative; z-index: 1; }
.dcard .btn { position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════
   PRICING CARDS
══════════════════════════════════════════════════════ */
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  perspective: 1200px;
}
.pcard {
  background: var(--c-surface);
  border: 1px solid var(--c-border-light);
  border-radius: var(--r-xl);
  padding: 36px 28px;
  transition: all 0.35s var(--spring);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: var(--shadow-sm);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.pcard--pop {
  border-color: var(--c-brand);
  box-shadow: 0 8px 30px rgba(var(--c-brand-r), 0.1), var(--shadow-md);
  transform: scale(1.04);
}
.pcard--pop::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-brand), var(--c-accent));
}
.pcard--pop:hover { transform: scale(1.04) translateY(-6px); }

.pcard__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-brand);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 0 0 10px 10px;
  padding: 5px 16px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 10px rgba(var(--c-brand-r), 0.2);
}
.pcard__label {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(var(--c-brand-r), 0.12);
  border: 1px solid rgba(var(--c-brand-r), 0.2);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.65rem;
  color: var(--c-brand-light);
  font-weight: 600;
}
.pcard__name {
  font-size: 0.78rem;
  color: var(--c-text2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  margin-top: 10px;
}
.pcard__price {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--c-text);
  letter-spacing: -0.03em;
}
.pcard__price span {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: 6px;
  display: inline-block;
  color: var(--c-text2);
}
.pcard__period { font-size: 0.78rem; color: var(--c-text3); margin-bottom: 24px; }
.pcard__list { list-style: none; margin: 0 0 28px; }
.pcard__list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border-light);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pcard__list li:last-child { border: none; }
.pcard__list li i { font-style: normal; color: var(--c-green); font-weight: 700; flex-shrink: 0; }
.pcard__cta { width: 100%; justify-content: center; }
.pcard__btns { display: flex; flex-direction: column; gap: 10px; }
.pcard__cta-sub { width: 100%; justify-content: center; padding: 10px 20px; font-size: 0.85rem; }

.pcard--enterprise {
  border-color: var(--c-gold);
  box-shadow: 0 8px 30px rgba(245,158,11, 0.08), var(--shadow-md);
  transform: scale(1.03);
}
.pcard--enterprise::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), #d97706);
}
.pcard--enterprise:hover { transform: scale(1.03) translateY(-6px); }
.pcard__name--xl { font-size: 1rem; letter-spacing: 3px; color: var(--c-text); }

.pcard--business {
  border-color: #7c3aed;
  box-shadow: 0 8px 30px rgba(124,58,237, 0.08), var(--shadow-md);
}
.pcard--business::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7c3aed, #6366f1);
}
.pcard--business:hover { transform: translateY(-6px); }

/* ══════════════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════════════ */
.cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  background: radial-gradient(circle, rgba(var(--c-brand-r), 0.08), transparent 70%);
  pointer-events: none;
  animation: orb-drift 10s ease-in-out infinite;
}
.cta__inner { position: relative; z-index: 1; }
.cta__desc {
  color: var(--c-text2);
  margin: 20px auto 40px;
  max-width: 460px;
  font-size: 1.02rem;
  line-height: 1.75;
}
.cta__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.foot {
  background: var(--c-bg2);
  border-top: 1px solid var(--c-border-light);
  padding: 56px 0 24px;
  position: relative;
  z-index: 1;
}
.foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.foot__logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.foot__logo-3d {
  width: 38px;
  height: 38px;
  background: var(--c-brand);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 3px 10px rgba(var(--c-brand-r), 0.2);
}
.foot__logo {
  font-size: 1.3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--c-brand), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.foot__brand p { color: var(--c-text2); font-size: 0.82rem; line-height: 1.7; }
.foot__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129, 0.06);
  border: 1px solid rgba(16,185,129, 0.12);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.72rem;
  color: var(--c-green);
  margin-top: 14px;
  font-weight: 500;
}
.foot__col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-text3);
  margin-bottom: 14px;
}
.foot__col a {
  display: block;
  color: var(--c-text2);
  font-size: 0.82rem;
  margin-bottom: 8px;
  transition: all 0.2s;
}
.foot__col a:hover { color: var(--c-brand-light); transform: translateX(3px); }
.foot__bottom {
  border-top: 1px solid var(--c-border-light);
  padding-top: 18px;
  display: flex;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--c-text2);
  flex-wrap: wrap;
  gap: 8px;
  text-align: center;
}
.foot__dev {
  text-align: center;
  font-size: 11px;
  color: var(--c-text3);
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(37,211,102, 0.3);
  z-index: 99;
  transition: all 0.3s var(--spring);
  animation: wa-bob 3s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,211,102, 0.4);
  color: #fff;
}
@keyframes wa-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .dgrid { grid-template-columns: repeat(2, 1fr); }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .pgrid .pcard:last-child { grid-column: auto; }
  .how-line { display: none; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step__orb { width: 100px; height: 100px; }
  .step__num { width: 70px; height: 70px; }
  .step__num span { font-size: 1.4rem; }
  .foot__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
  .foot__grid > div:first-child { grid-column: span 3; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero__content { text-align: center; }
  .hero__title { font-size: clamp(2rem, 7vw, 2.8rem); margin-bottom: 16px; }
  .hero__sub { font-size: 0.92rem; margin-bottom: 32px; }
  .hero__badge { font-size: 0.7rem; padding: 5px 14px; margin-bottom: 20px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 320px; }

  .dns-3d-card {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    width: 100%;
  }
  .dns-sep { width: 60%; height: 1px; }

  .hero__stats { justify-content: center; gap: 20px 28px; text-align: center; }
  .hstat__num { font-size: 1.4rem; }

  .fgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .fcard { padding: 22px 16px; }
  .fcard__icon { width: 44px; height: 44px; font-size: 1.2rem; border-radius: 12px; margin-bottom: 12px; }

  .dgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .dcard { padding: 22px 16px; }
  .dcard__icon { font-size: 1.8rem; margin-bottom: 12px; }

  .pgrid { grid-template-columns: 1fr; gap: 18px; }
  .pgrid .pcard:last-child { grid-column: 1 / -1; max-width: none; width: 100%; }
  .pcard--pop { transform: none; }
  .pcard--pop:hover { transform: translateY(-6px); }
  .pcard { padding: 28px 22px; box-sizing: border-box; width: 100%; }
  .pcard--enterprise { transform: none; padding: 28px 22px; border-width: 1px; width: 100%; }
  .pcard--enterprise .pcard__price { font-size: 2.8rem; }
  .pcard--enterprise .pcard__name--xl { font-size: 1rem; letter-spacing: 3px; }
  .pcard--enterprise:hover { transform: translateY(-6px); }

  .sec { padding: 64px 0; }
  .sec__head { margin-bottom: 40px; }
  .sec__title { font-size: clamp(1.4rem, 5vw, 1.9rem); }

  .cta { padding: 64px 0; }

  .foot__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .foot__grid > div:first-child { grid-column: span 2; }
  .foot__bottom { flex-direction: column; text-align: center; }

  .orb { opacity: 0.3; }
  .wa-float { bottom: 16px; right: 16px; width: 50px; height: 50px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: 1.8rem; }
  .hero__sub { font-size: 0.88rem; }
  .dns-val { font-size: 0.78rem; }

  .fgrid { grid-template-columns: 1fr; gap: 12px; }
  .dgrid { grid-template-columns: 1fr; gap: 12px; }
  .pgrid { gap: 16px; }
  .pcard { padding: 24px 20px; }
  .pcard--enterprise { padding: 24px 20px; }
  .pcard--enterprise .pcard__price { font-size: 2.6rem; }

  .sec { padding: 52px 0; }
  .sec__head { margin-bottom: 32px; }
  .cta { padding: 52px 0; }

  .hero__stats { gap: 16px 24px; }
  .hstat__num { font-size: 1.2rem; }
  .hstat__lbl { font-size: 0.7rem; }

  .btn--lg { padding: 14px 32px; font-size: 0.92rem; }

  .foot__grid { grid-template-columns: 1fr; gap: 20px; }
  .foot__grid > div:first-child { grid-column: auto; }
}

@media (max-width: 360px) {
  .hero__title { font-size: 1.6rem; }
  .hero__badge { font-size: 0.66rem; }
  .pcard__price { font-size: 2.4rem; }
}
