/* ==========================================================================
   EliceTech — landing page (dark theme)
   Tokens: bg #0B0B12 · surface #15151F · accent #7C5CFF · warm #FFC857 · live #3DDC97
   Type: Space Grotesk (display) · Inter (body) · IBM Plex Mono (labels)
   ========================================================================== */

:root {
  --bg: #0B0B12;
  --bg-soft: #121220;
  --surface: #15151F;
  --surface-2: #1C1C2C;
  --line: #2A2A3D;
  --accent: #7C5CFF;
  --accent-dim: #6247E0;
  --accent-light: #B9A8FF;
  --accent-tint: rgba(124, 92, 255, 0.14);
  --warm: #FFC857;
  --live: #3DDC97;
  --text: #F2F1F7;
  --text-muted: #9A9AB0;
  --text-dim: #6E6E85;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --shell-width: 1120px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 24px 48px -28px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 24px 60px -20px rgba(124, 92, 255, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.shell {
  width: 100%;
  max-width: var(--shell-width);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
  display: inline-block;
}
.eyebrow--light { color: var(--accent-light); }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 13px 26px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn--primary {
  background: #F5F4FA;
  color: var(--bg);
  box-shadow: 0 14px 28px -14px rgba(245, 244, 250, 0.35);
}
.btn--primary:hover { background: #fff; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--text-muted); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  width: 100%;
  justify-content: center;
}
.btn--outline:hover { background: var(--surface-2); border-color: var(--text-muted); }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 11, 18, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav__brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.nav__brand-accent { color: var(--accent-light); }
.nav__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
}
.nav__links { display: flex; gap: 32px; font-size: 14.5px; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--text-muted); transition: color 0.2s var(--ease); }
.nav__links a:hover { color: var(--text); }

@media (max-width: 720px) { .nav__links { display: none; } }

/* ---------- reveal-on-scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 88px 28px 96px;
}
.hero__headline {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.08;
  font-weight: 600;
}
.hero__headline-accent { color: var(--accent-light); }
.hero__subhead {
  margin-top: 22px;
  font-size: 17.5px;
  color: var(--text-muted);
  max-width: 46ch;
}
.hero__actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin-top: 18px; font-size: 13.5px; color: var(--text-dim); }

/* ---------- signature element: automation blob ---------- */
.hero__visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow-orb {
  position: absolute;
  top: 4%;
  left: 6%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFE3A0 0%, var(--warm) 55%, transparent 75%);
  filter: blur(2px);
  box-shadow: 0 0 90px 20px rgba(255, 200, 87, 0.35);
  animation: orb-pulse 4s ease-in-out infinite;
}
@keyframes orb-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
}

.blob {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
  background: radial-gradient(circle at 32% 28%, #9A86FF 0%, #6C4FE0 55%, #3E2C9E 100%);
  box-shadow: var(--shadow-glow);
}

.hub__ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 230px; height: 230px;
  margin-top: -115px; margin-left: -115px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  animation: spin-cw 18s linear infinite;
}
.hub__ring--2 {
  width: 310px; height: 310px;
  margin-top: -155px; margin-left: -155px;
  border-color: rgba(255, 255, 255, 0.16);
  animation: spin-ccw 26s linear infinite;
}
@keyframes spin-cw { to { transform: rotate(360deg); } }
@keyframes spin-ccw { to { transform: rotate(-360deg); } }

.hub__core {
  position: absolute;
  top: 50%; left: 50%;
  width: 128px; height: 128px;
  margin-top: -64px; margin-left: -64px;
  border-radius: 50%;
  background: rgba(11, 11, 18, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  padding: 8px;
  box-shadow: 0 0 40px rgba(124, 92, 255, 0.5);
}

.node {
  position: absolute;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-card);
  animation: node-float 3.2s ease-in-out infinite;
}
.node--1 { top: 6%; left: 50%; transform: translate(-50%, -50%); animation-delay: 0s; }
.node--2 { top: 50%; left: 94%; transform: translate(-50%, -50%); animation-delay: 0.5s; }
.node--3 { top: 92%; left: 50%; transform: translate(-50%, -50%); animation-delay: 1s; }
.node--4 { top: 50%; left: 6%; transform: translate(-50%, -50%); animation-delay: 1.5s; }
@keyframes node-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-8px); }
}

.stat-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  animation: badge-in 0.6s var(--ease) forwards;
}
.stat-badge--1 { top: 2%; right: -2%; animation-delay: 0.5s; }
.stat-badge--2 { bottom: 6%; left: -4%; animation-delay: 0.9s; }
.stat-badge__num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}
.stat-badge__label {
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
}
@keyframes badge-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .hero__visual { order: -1; min-height: 380px; }
  .blob { width: 300px; height: 300px; }
}

/* ---------- generic section ---------- */
.section { padding: 96px 0; background: var(--bg); }
.section--tint { background: var(--bg-soft); }
.section--dark {
  background: radial-gradient(circle at 20% 20%, rgba(124, 92, 255, 0.12), transparent 55%), var(--bg-soft);
}
.section__head { max-width: 640px; margin-bottom: 52px; }
.section__head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.18; }
.section__lede { margin-top: 14px; font-size: 16px; color: var(--text-muted); }
.section__lede--light { color: var(--text-muted); }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps__item { border-top: 2px solid var(--line); padding-top: 20px; }
.steps__index { font-family: var(--font-mono); font-size: 13px; color: var(--accent-light); display: block; margin-bottom: 14px; }
.steps__item h3 { font-size: 18px; margin-bottom: 10px; }
.steps__item p { font-size: 14.5px; color: var(--text-muted); }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--accent-dim); }
.benefit__mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent-light);
  font-size: 17px;
  margin-bottom: 16px;
}
.benefit h3 { font-size: 16.5px; margin-bottom: 8px; }
.benefit p { font-size: 14px; color: var(--text-muted); }

@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan--featured {
  border-color: var(--accent-dim);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow-glow);
}
.plan__badge {
  position: absolute;
  top: -13px; left: 28px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.plan__head h3 { font-size: 21px; margin-bottom: 8px; }
.plan__for { font-size: 14px; color: var(--text-muted); min-height: 40px; }
.plan__features { margin: 24px 0 28px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.plan__features li {
  font-size: 14.5px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text);
}
.plan__features li::before { content: "✓"; color: var(--live); font-size: 12px; }

@media (max-width: 900px) {
  .pricing { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
.contact__points { margin-top: 26px; display: flex; flex-direction: column; gap: 11px; }
.contact__points li { font-size: 14.5px; color: var(--text); display: flex; align-items: center; gap: 10px; }
.contact__points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); flex-shrink: 0; }

.contact__form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label, fieldset.field legend {
  display: block; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 7px;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint);
}
.field textarea { resize: vertical; min-height: 96px; }

fieldset.field { border: none; padding: 0; margin: 0 0 22px; }
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-option {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px 9px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.radio-option:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.radio-option input { margin: 0; accent-color: var(--accent); }

.lead-form__submit { width: 100%; justify-content: center; margin-top: 4px; }
.lead-form__submit[disabled] { opacity: 0.65; cursor: progress; }

.lead-form__status { margin-top: 14px; font-size: 14px; min-height: 20px; }
.lead-form__status.is-success { color: var(--live); font-weight: 600; }
.lead-form__status.is-error { color: #FF7A6E; font-weight: 600; }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .lead-form__row { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.footer { background: var(--bg-soft); padding: 32px 0 40px; border-top: 1px solid var(--line); }
.footer__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.nav__brand--footer { color: var(--text); }
.footer__note { font-size: 13.5px; color: var(--text-dim); }