/* =============================================
   NEURCITE — Design System Premium Dark
   ============================================= */

:root {
  --bg-deep: #050508;
  --bg-mid: #080810;
  --bg-card: #0d0d18;
  --bg-glass: rgba(13, 13, 24, 0.75);
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);

  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-glow: rgba(37, 99, 235, 0.25);
  --violet: #7c3aed;
  --violet-light: #8b5cf6;
  --violet-glow: rgba(124, 58, 237, 0.25);
  --cyan: #06b6d4;
  --cyan-glow: rgba(6, 182, 212, 0.2);
  --green: #10b981;
  --orange: #f59e0b;
  --red: #ef4444;

  --text-1: #f8fafc;
  --text-2: #94a3b8;
  --text-3: #475569;
  --text-4: #1e293b;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow-blue: 0 0 40px rgba(37, 99, 235, 0.15);
  --shadow-glow-violet: 0 0 40px rgba(124, 58, 237, 0.15);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

.gradient-text {
  background: linear-gradient(135deg, var(--blue-light), var(--violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  padding: 12px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  border: none;
  box-shadow: 0 4px 24px rgba(37, 99, 235, 0.35);
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45); }
.btn--primary:hover::after { opacity: 1; }

.btn--ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--border-hover); color: var(--text-1); background: rgba(255,255,255,0.04); }

.btn--lg { padding: 15px 32px; font-size: 16px; border-radius: 14px; }
.btn--sm { padding: 9px 18px; font-size: 13px; border-radius: 10px; }

.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.status-dot--live {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* =============================================
   NAVBAR
   ============================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), border-color var(--transition);
}
.nav.scrolled {
  background: rgba(5, 5, 8, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav__logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}
.nav__logo-text { color: var(--text-1); }
.nav__logo-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 8px var(--blue);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 6px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav__link:hover { color: var(--text-1); background: rgba(255,255,255,0.05); }
.nav__link.active { color: var(--text-1); background: rgba(37,99,235,0.1); }

.nav__actions { margin-left: auto; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: rgba(5, 5, 8, 0.97);
  backdrop-filter: blur(24px);
}
.nav__mobile ul { display: flex; flex-direction: column; gap: 4px; }
.nav__mobile .nav__link { padding: 10px 14px; font-size: 15px; }
.nav__mobile .btn { margin-top: 12px; justify-content: center; }

/* =============================================
   HERO
   ============================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero__glow--blue {
  width: 600px; height: 600px;
  background: var(--blue-glow);
  top: -100px; left: -100px;
}
.hero__glow--violet {
  width: 500px; height: 500px;
  background: var(--violet-glow);
  bottom: -50px; right: -50px;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero__content { max-width: 580px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 10px var(--blue);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.hero__stat { flex: 1; text-align: center; padding: 0 8px; }
.hero__stat-value {
  display: block;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-light), var(--violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.02em;
}
.hero__stat-label { font-size: 11px; color: var(--text-3); font-weight: 500; margin-top: 3px; }
.hero__stat-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

/* Hero Visual / Mockup */
.hero__visual { position: relative; }

.hero__mockup {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow-blue);
}

.mockup__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.mockup__dots { display: flex; gap: 6px; }
.mockup__dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.mockup__dots span:nth-child(1) { background: #ef4444; }
.mockup__dots span:nth-child(2) { background: #f59e0b; }
.mockup__dots span:nth-child(3) { background: #10b981; }
.mockup__title { font-size: 12px; color: var(--text-3); flex: 1; text-align: center; font-family: 'JetBrains Mono', monospace; }
.mockup__status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--green); font-weight: 600; }

.mockup__body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }

.mockup__score-ring { display: flex; justify-content: center; }
.mockup__score-ring svg { width: 130px; height: 130px; }
.mockup__ring-progress { transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1); }

.mockup__metrics { display: flex; flex-direction: column; gap: 10px; }
.mockup__metric { display: flex; align-items: center; gap: 10px; }
.mockup__metric-label { font-size: 12px; color: var(--text-2); width: 68px; flex-shrink: 0; font-weight: 500; }
.mockup__bar {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.mockup__bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  width: 0;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mockup__bar-fill--violet { background: linear-gradient(90deg, var(--violet), var(--violet-light)); }
.mockup__bar-fill--cyan { background: linear-gradient(90deg, var(--cyan), #22d3ee); }
.mockup__metric-val { font-size: 12px; font-weight: 700; color: var(--text-1); font-family: 'JetBrains Mono', monospace; width: 36px; text-align: right; }

.mockup__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.mockup__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid;
}
.mockup__tag--green { color: var(--green); border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.08); }
.mockup__tag--orange { color: var(--orange); border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.08); }

.hero__floating {
  position: absolute;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
}
.hero__floating--1 { bottom: -16px; left: -20px; animation: float 4s ease-in-out infinite; }
.hero__floating--2 { top: 20px; right: -20px; animation: float 4s ease-in-out infinite 2s; }

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--border), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

/* =============================================
   WHY SECTION
   ============================================= */

.why {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.why__stat-banner {
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(124,58,237,0.08));
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  margin-bottom: 64px;
  display: flex;
  justify-content: center;
}
.why__stat-banner-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.why__stat-banner-number { font-size: clamp(48px, 7vw, 80px); font-weight: 900; letter-spacing: -0.03em; font-family: 'JetBrains Mono', monospace; }
.why__stat-banner-text { font-size: 17px; color: var(--text-2); max-width: 500px; line-height: 1.6; }

.why__cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

.why__card {
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}
.why__card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-glow-blue); }

.why__card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }

.why__card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why__card-icon--green { background: rgba(16,185,129,0.12); color: var(--green); }
.why__card-icon--blue { background: rgba(37,99,235,0.12); color: var(--blue-light); }
.why__card-icon--violet { background: rgba(124,58,237,0.12); color: var(--violet-light); }
.why__card-icon--orange { background: rgba(245,158,11,0.12); color: var(--orange); }
.why__card-icon--cyan { background: rgba(6,182,212,0.12); color: var(--cyan); }

.why__card-name { font-size: 15px; font-weight: 700; }
.why__card-badge { margin-left: auto; font-size: 10px; color: var(--text-3); background: rgba(255,255,255,0.05); padding: 3px 8px; border-radius: 100px; border: 1px solid var(--border); }
.why__card-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.why__card-stat { border-top: 1px solid var(--border); padding-top: 14px; }
.why__card-stat-val { display: block; font-size: 22px; font-weight: 800; font-family: 'JetBrains Mono', monospace; background: linear-gradient(135deg, var(--blue-light), var(--violet-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.why__card-stat-label { font-size: 11px; color: var(--text-3); }

.why__bottom {
  background: linear-gradient(135deg, rgba(37,99,235,0.06), rgba(124,58,237,0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.why__bottom-text h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.why__bottom-text p { font-size: 15px; color: var(--text-2); max-width: 540px; }

/* =============================================
   HOW SECTION
   ============================================= */

.how {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, rgba(37,99,235,0.02), transparent);
}

.how__timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.how__timeline-line {
  position: absolute;
  left: 35px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--violet), transparent);
}

.how__step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
}
.how__step--right { /* same layout on mobile-first, alternating logic stays desktop only */ }

.how__step-number {
  width: 72px; height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.how__step-content {
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all var(--transition);
}
.how__step-content:hover { border-color: var(--border-hover); transform: translateX(4px); }

.how__step-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.12);
  color: var(--blue-light);
  flex-shrink: 0;
}
.how__step-icon--violet { background: rgba(124,58,237,0.12); color: var(--violet-light); }
.how__step-icon--cyan { background: rgba(6,182,212,0.1); color: var(--cyan); }
.how__step-icon--green { background: rgba(16,185,129,0.1); color: var(--green); }
.how__step-icon--orange { background: rgba(245,158,11,0.1); color: var(--orange); }

.how__step-body { flex: 1; }
.how__step-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
  border: 1px solid;
}
.how__step-tag--blue { color: var(--blue-light); border-color: rgba(37,99,235,0.3); background: rgba(37,99,235,0.08); }
.how__step-tag--violet { color: var(--violet-light); border-color: rgba(124,58,237,0.3); background: rgba(124,58,237,0.08); }
.how__step-tag--cyan { color: var(--cyan); border-color: rgba(6,182,212,0.3); background: rgba(6,182,212,0.08); }
.how__step-tag--green { color: var(--green); border-color: rgba(16,185,129,0.3); background: rgba(16,185,129,0.08); }
.how__step-tag--orange { color: var(--orange); border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.08); }

.how__step-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.how__step-desc { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* =============================================
   SCANNER SECTION
   ============================================= */

.scanner {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.scanner__box {
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-glow-blue);
}

.scanner__form {}
.scanner__input-group {
  display: flex;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.scanner__input-group:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.scanner__input-icon {
  display: flex;
  align-items: center;
  padding: 0 16px;
  color: var(--text-3);
  flex-shrink: 0;
}

.scanner__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 16px;
  color: var(--text-1);
  padding: 18px 0;
}
.scanner__input::placeholder { color: var(--text-3); }

.scanner__btn { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: 18px 28px; font-size: 15px; }

.scanner__disclaimer { font-size: 12px; color: var(--text-3); margin-top: 14px; text-align: center; }

.scanner__error {
  color: var(--red);
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
  min-height: 20px;
}

/* Scanner Progress */
.scanner__progress { padding: 32px 0; }
.scanner__progress-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.scanner__progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  transition: color var(--transition);
}
.scanner__step-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: all var(--transition);
}
.scanner__progress-step.active .scanner__step-icon {
  background: rgba(37,99,235,0.15);
  border-color: var(--blue);
  color: var(--blue-light);
  box-shadow: 0 0 20px rgba(37,99,235,0.2);
}
.scanner__progress-step.active { color: var(--text-1); }
.scanner__progress-step.done .scanner__step-icon {
  background: rgba(16,185,129,0.15);
  border-color: var(--green);
  color: var(--green);
}
.scanner__progress-step.done { color: var(--green); }

.scanner__progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.scanner__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  border-radius: 2px;
  width: 0%;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.scanner__progress-label {
  text-align: center;
  font-size: 13px;
  color: var(--text-2);
  margin-top: 14px;
}

/* =============================================
   BENEFITS SECTION
   ============================================= */

.benefits {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, rgba(124,58,237,0.02), transparent);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.benefits__card {
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
}
.benefits__card:hover { transform: translateY(-6px); border-color: var(--border-hover); }

.benefits__card--large {
  grid-column: span 2;
}

.benefits__card-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--blue-glow);
  filter: blur(60px);
  pointer-events: none;
}

.benefits__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.benefits__icon--blue { background: rgba(37,99,235,0.12); color: var(--blue-light); }
.benefits__icon--green { background: rgba(16,185,129,0.12); color: var(--green); }
.benefits__icon--violet { background: rgba(124,58,237,0.12); color: var(--violet-light); }
.benefits__icon--orange { background: rgba(245,158,11,0.12); color: var(--orange); }
.benefits__icon--cyan { background: rgba(6,182,212,0.1); color: var(--cyan); }

.benefits__card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.benefits__card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

.benefits__metric {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.benefits__metric-val { font-size: 28px; font-weight: 900; font-family: 'JetBrains Mono', monospace; }
.benefits__metric span:last-child { font-size: 13px; color: var(--text-2); }

/* =============================================
   USE CASES
   ============================================= */

.usecases {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

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

.usecases__card {
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.usecases__card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.usecases__card--wide { grid-column: span 3; display: flex; align-items: center; gap: 28px; }

.usecases__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.usecases__card--wide .usecases__icon { margin-bottom: 0; }

.usecases__card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.usecases__card p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 14px; }

.usecases__example {
  display: inline-block;
  font-size: 11px;
  color: var(--text-3);
  font-style: italic;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 8px;
}

/* =============================================
   FAQ SECTION
   ============================================= */

.faq {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, rgba(37,99,235,0.02), transparent);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq__item:hover { border-color: var(--border-hover); }
.faq__item.open { border-color: rgba(37,99,235,0.3); }

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}
.faq__question:hover { background: rgba(255,255,255,0.02); }
.faq__question h3 { font-size: 16px; font-weight: 600; line-height: 1.4; }

.faq__chevron {
  flex-shrink: 0;
  color: var(--text-3);
  transition: transform var(--transition), color var(--transition);
}
.faq__item.open .faq__chevron { transform: rotate(180deg); color: var(--blue-light); }

.faq__answer {
  padding: 0 26px 22px;
}
.faq__answer p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
}
.faq__answer strong { color: var(--text-1); }

/* =============================================
   FOOTER
   ============================================= */

.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

.footer__top { padding: 72px 0; }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}
.footer__logo .nav__logo-icon { width: 32px; height: 32px; font-size: 15px; }

.footer__slogan {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 12px;
}
.footer__desc { font-size: 13px; color: var(--text-3); line-height: 1.7; margin-bottom: 32px; }

.footer__newsletter-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer__newsletter-form { display: flex; gap: 8px; margin-bottom: 8px; }
.footer__newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-1);
  outline: none;
  transition: border-color var(--transition);
}
.footer__newsletter-input:focus { border-color: var(--blue); }
.footer__newsletter-input::placeholder { color: var(--text-3); }
.footer__newsletter-note { font-size: 11px; color: var(--text-3); }

.footer__col-title { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-2); margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14px; color: var(--text-3); transition: color var(--transition); }
.footer__col a:hover { color: var(--text-1); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copyright { font-size: 13px; color: var(--text-3); }

.footer__socials { display: flex; gap: 10px; }
.footer__social {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all var(--transition);
}
.footer__social:hover { background: rgba(37,99,235,0.15); border-color: var(--blue); color: var(--blue-light); }

.footer__tagline { font-size: 12px; color: var(--text-3); display: flex; align-items: center; }

/* =============================================
   MODAL
   ============================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade-in 0.2s ease;
}
.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), var(--shadow-glow-blue);
  animation: fade-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  cursor: pointer;
}
.modal__close:hover { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.3); color: var(--red); }

.modal__icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(124,58,237,0.15));
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  margin-bottom: 20px;
}

.modal__title { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.modal__desc { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-bottom: 28px; }

.modal__form { display: flex; flex-direction: column; gap: 16px; }

.modal__field { display: flex; flex-direction: column; gap: 7px; }
.modal__label { font-size: 13px; font-weight: 600; color: var(--text-2); }

.modal__input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-1);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.modal__input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.modal__input::placeholder { color: var(--text-3); }

.modal__note { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 4px; }
.modal__error { font-size: 13px; color: var(--red); text-align: center; min-height: 18px; }

.modal__success {
  text-align: center;
  padding: 12px 0;
}
.modal__success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 24px rgba(16,185,129,0.2);
}
.modal__success h4 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.modal__success p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { order: -1; }
  .hero__mockup { max-width: 500px; margin: 0 auto; }
  .hero__floating { display: none; }
  .why__cards { grid-template-columns: repeat(3, 1fr); }
  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .benefits__card--large { grid-column: span 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile.open { display: flex; }

  .hero { padding: 100px 0 60px; }
  .hero__ctas { flex-direction: column; }
  .hero__stats { flex-direction: column; gap: 16px; }
  .hero__stat-divider { width: 40px; height: 1px; }

  .why__cards { grid-template-columns: 1fr 1fr; }
  .why__bottom { flex-direction: column; text-align: center; }

  .how__timeline-line { display: none; }
  .how__step { grid-template-columns: 1fr; }
  .how__step-number { width: 40px; height: 40px; font-size: 11px; }

  .scanner__box { padding: 24px; }
  .scanner__input-group { flex-direction: column; }
  .scanner__btn { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .scanner__progress-steps { grid-template-columns: repeat(2, 1fr); }

  .benefits__grid { grid-template-columns: 1fr; }
  .benefits__card--large { grid-column: span 1; }

  .usecases__grid { grid-template-columns: 1fr; }
  .usecases__card--wide { grid-column: span 1; flex-direction: column; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .why__cards { grid-template-columns: 1fr; }
  .section-header { margin-bottom: 40px; }
  .hero__title { font-size: 36px; }
}
