/* ============================================
   CSS Variables — extracted from PDF design
   ============================================ */
:root {
  /* Background colors — dark with purple undertone */
  --bg-primary: #0a0a12;
  --bg-secondary: #0e0d17;
  --bg-card: #12101e;
  --bg-card-purple: linear-gradient(145deg, #1e1440 0%, #150f30 50%, #110d24 100%);

  /* Purple accent palette — matched from PDF */
  --accent: #7b2ff2;
  --accent-light: #9d5cfa;
  --accent-dark: #5b1fd4;
  --accent-glow: rgba(123, 47, 242, 0.25);
  --accent-subtle: rgba(123, 47, 242, 0.08);

  /* Text colors */
  --text-primary: #ffffff;
  --text-secondary: #9e9eb8;
  --text-muted: #5e5e78;

  /* Borders */
  --border: rgba(123, 47, 242, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(123, 47, 242, 0.5);

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1140px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Grid pattern */
  --grid-color: rgba(123, 47, 242, 0.06);
  --grid-size: 60px;
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 18px;
}

body {
  font-family: 'Funnel Display', system-ui, -apple-system, sans-serif !important;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Container
   ============================================ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn--primary:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 32px rgba(123, 47, 242, 0.4);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--accent-light);
  border: 1.5px solid var(--accent);
}

.btn--outline:hover {
  background: var(--accent-subtle);
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 18px 48px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ============================================
   Section Titles
   ============================================ */
.section__title {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.section__subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.6;
  font-weight: 400;
}

/* Brand text styling */
.brand {
  font-weight: 700;
}

.brand--accent {
  color: var(--accent);
  font-style: italic;
}

/* Inline logo in section headings */
.inline-logo {
  display: inline-block;
  height: 1em;
  width: auto;
  vertical-align: middle;
  margin: 0 4px;
  position: relative;
  top: 0.05em;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.header--scrolled {
  background: rgba(10, 10, 18, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo__img {
  height: 30px;
  width: auto;
}

.header__nav {
  display: flex;
  gap: 36px;
}

.header__nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.header__nav a:hover {
  color: var(--text-primary);
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.header__nav a:hover::after {
  width: 100%;
}

.header__cta {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 4px;
}

.hamburger svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  padding: 110px 0 0;
  text-align: center;
  overflow: hidden;
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.hero__subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.6;
  font-weight: 400;
}

/* Form fields in hero — wide to match design */
.hero__form-preview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.hero__form-preview .hero__cta {
  flex-basis: 100%;
}

.hero__field {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 16px 28px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-family: inherit;
  flex: 1;
}

.hero__field--animated {
  position: relative;
}

.hero__field-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 28px;
  pointer-events: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-family: inherit;
  display: flex;
  align-items: center;
}

.hero__field-overlay.typing {
  color: var(--text-primary, #fff);
}

.hero__field-overlay.hidden {
  display: none;
}

.hero__field--animated .hero__input {
  color: transparent;
}

.hero__field--animated .hero__input::placeholder {
  color: transparent;
}

.hero__field--animated.hero__field--active .hero__input {
  color: var(--text-primary, #fff);
}

.hero__field--animated.hero__field--active .hero__input::placeholder {
  color: var(--text-muted);
}

.hero__input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary, #fff);
  font-size: inherit;
  font-family: inherit;
  width: 100%;
  padding: 0;
}

.hero__input::placeholder {
  color: var(--text-muted);
}

.hero__field:has(.hero__input:focus) {
  border-color: var(--accent) !important;
  color: var(--text-primary) !important;
}

.hero__cta {
  margin-bottom: 10px;
}

/* ============================================
   PURPLE LINE UNDER HEADER
   ============================================ */
.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-light), var(--accent), transparent);
  opacity: 0.6;
}

/* ============================================
   HERO WAVE LINES (audio waveform style)
   ============================================ */
.hero__waves {
  position: relative;
  height: 260px;
  margin-top: 0;
  overflow: visible;
}

.wave-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Animate individual wave lines with gentle floating */
.wave-line {
  animation: waveFloat 8s ease-in-out infinite;
}

.wave-line--1, .wave-line--1b, .wave-line--1c { animation-delay: 0s; }
.wave-line--2, .wave-line--2b, .wave-line--2c { animation-delay: -1.5s; }
.wave-line--3, .wave-line--3b { animation-delay: -3s; }
.wave-line--4, .wave-line--4b { animation-delay: -4.5s; }
.wave-line--5, .wave-line--5b { animation-delay: -2s; animation-duration: 10s; }

@keyframes waveFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Voice circle icon — centered on wave lines */
.voice-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(10, 10, 18, 0.9);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 0 30px rgba(123, 47, 242, 0.3);
}

/* Audio bar visualizer inside circle */
.voice-circle__bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}

.voice-circle__bars span {
  display: block;
  width: 3px;
  background: #fff;
  border-radius: 2px;
  animation: barPulse 1.2s ease-in-out infinite;
}

.voice-circle__bars span:nth-child(1) { height: 14px; animation-delay: 0s; }
.voice-circle__bars span:nth-child(2) { height: 20px; animation-delay: 0.15s; }
.voice-circle__bars span:nth-child(3) { height: 8px; animation-delay: 0.3s; }
.voice-circle__bars span:nth-child(4) { height: 18px; animation-delay: 0.45s; }
.voice-circle__bars span:nth-child(5) { height: 12px; animation-delay: 0.6s; }

@keyframes barPulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

/* ============================================
   COMPARISON SECTION
   ============================================ */
.comparison {
  padding: var(--section-padding);
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  position: relative;
  overflow: hidden;
}

.comparison::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 900px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123, 47, 242, 0.4), rgba(157, 92, 250, 0.5), rgba(123, 47, 242, 0.4), transparent);
  box-shadow: 0 0 12px rgba(123, 47, 242, 0.2);
}

.comparison__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.comparison__card {
  padding: 36px 28px;
  transition: var(--transition);
}

.comparison__card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.comparison__card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comparison__card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.bullet {
  color: var(--accent);
  font-size: 0.75rem;
}

.comparison__card--new {
  text-align: right;
}

.comparison__card--new li {
  justify-content: flex-end;
}

/* ============================================
   TYPING MOCKUP (Traditional Typing card)
   ============================================ */
.typing-mockup {
  margin-top: 32px;
  background: linear-gradient(160deg, rgba(20, 16, 36, 0.95) 0%, rgba(14, 12, 26, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  width: 100%;
  max-width: 260px;
}

.typing-mockup__screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.typing-mockup__field {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.typing-mockup__field--empty {
  opacity: 0.35;
}

.typing-mockup__label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.typing-mockup__input {
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 500;
}

.typing-mockup__progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.typing-mockup__bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.typing-mockup__fill {
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #f97316);
  border-radius: 4px;
  transition: width 1.5s ease;
}

.typing-mockup__percent {
  font-size: 0.75rem;
  color: #f97316;
  font-weight: 700;
  min-width: 30px;
}

.typing-mockup__time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
}

.icon--xs {
  width: 14px;
  height: 14px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(123, 47, 242, 0.07) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.features::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 900px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123, 47, 242, 0.4), rgba(157, 92, 250, 0.5), rgba(123, 47, 242, 0.4), transparent);
  box-shadow: 0 0 12px rgba(123, 47, 242, 0.2);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}

.features__grid--row2 {
  margin-bottom: 0;
}

/* Base feature card */
.feature-card {
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(123, 47, 242, 0.1);
}

/* Row 1: Dark cards with subtle border */
.feature-card--dark {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.feature-card--dark:hover {
  border-color: var(--border-accent);
}

/* Row 2: Purple gradient cards (matching PDF) */
.feature-card--purple {
  background: var(--bg-card-purple);
  border: 1px solid rgba(123, 47, 242, 0.35);
}

.feature-card--purple:hover {
  border-color: rgba(123, 47, 242, 0.6);
  box-shadow: 0 16px 48px rgba(123, 47, 242, 0.15);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(123, 47, 242, 0.12);
  border: 1px solid rgba(123, 47, 242, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  color: var(--accent-light);
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS — ARC LAYOUT
   ============================================ */
.how-it-works {
  padding: var(--section-padding);
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(123, 47, 242, 0.06) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.how-it-works::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 900px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123, 47, 242, 0.4), rgba(157, 92, 250, 0.5), rgba(123, 47, 242, 0.4), transparent);
  box-shadow: 0 0 12px rgba(123, 47, 242, 0.2);
}

/* ============================================
   FLOW DIAGRAM — Triangle workflow
   Center node at (500,60) in SVG viewBox 1000×600
   Step positions match SVG line endpoints exactly
   ============================================ */
.flow {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  /* Aspect ratio matches SVG viewBox 1000:600 */
  aspect-ratio: 1000 / 600;
}

/* SVG lines overlay — viewBox matched to container */
.flow__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Line style with animated draw */
.flow__line {
  stroke: rgba(106, 53, 255, 0.55);
  stroke-width: 2;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  transition: stroke-dashoffset 1.6s ease;
}

/* Stagger each line's draw animation */
.flow__svg.line-drawn .flow__line { stroke-dashoffset: 0; }
.flow__svg.line-drawn .flow__line:nth-of-type(1) { transition-delay: 0s; }
.flow__svg.line-drawn .flow__line:nth-of-type(2) { transition-delay: 0.12s; }
.flow__svg.line-drawn .flow__line:nth-of-type(3) { transition-delay: 0.24s; }
.flow__svg.line-drawn .flow__line:nth-of-type(4) { transition-delay: 0.36s; }
.flow__svg.line-drawn .flow__line:nth-of-type(5) { transition-delay: 0.48s; }

/* Center node glow pulse */
.flow__node-pulse {
  animation: nodePulse 2.5s ease-in-out infinite;
}

@keyframes nodePulse {
  0%, 100% { r: 6; opacity: 0.8; }
  50% { r: 14; opacity: 0; }
}

/* Steps — absolute positioned using % that map to SVG coords
   SVG viewBox: 1000×600
   center = 500,60 → 50%, 10%
   s1 = 100,60 → 10%, 10%
   s5 = 900,60 → 90%, 10%
   s2 = 250,340 → 25%, 56.7%
   s4 = 750,340 → 75%, 56.7%
   s3 = 500,480 → 50%, 80%
*/
.flow__step {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  transform: translateX(-50%);
}

/* Steps centered on line endpoints */
.flow__step--1 { left: 10%; top: 4.3%; }
.flow__step--5 { left: 90%; top: 4.3%; }
.flow__step--2 { left: 25%; top: 44.3%; }
.flow__step--4 { left: 75%; top: 44.3%; }
.flow__step--3 { left: 50%; top: 67.3%; }

/* Large purple numbers */
.flow__num {
  display: block;
  font-size: 5rem;
  font-weight: 700;
  color: #6A35FF;
  line-height: 0.85;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

/* Outline icon box */
.flow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(106, 53, 255, 0.45);
  border-radius: 12px;
  margin-bottom: 10px;
  color: rgba(106, 53, 255, 0.85);
  transition: var(--transition);
}

.flow__step:hover .flow__icon {
  background: rgba(106, 53, 255, 0.08);
  border-color: #6A35FF;
  box-shadow: 0 0 28px rgba(106, 53, 255, 0.3);
  transform: scale(1.1);
}

.flow__icon svg {
  width: 24px;
  height: 24px;
}

/* Label text */
.flow__label {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  max-width: 170px;
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  position: relative;
  overflow: hidden;
}

.industries::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(123, 47, 242, 0.06) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.industries::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 900px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123, 47, 242, 0.4), rgba(157, 92, 250, 0.5), rgba(123, 47, 242, 0.4), transparent);
  box-shadow: 0 0 12px rgba(123, 47, 242, 0.2);
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}

.industries__grid--row2 {
  margin-bottom: 0;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}

.industry-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(123, 47, 242, 0.08);
}

/* Purple banner at top of industry cards (matching PDF) */
.industry-card__banner {
  height: 100px;
  background: linear-gradient(145deg, rgba(123, 47, 242, 0.2) 0%, rgba(30, 20, 64, 0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  border-bottom: 1px solid var(--border);
}

.industry-card__banner svg {
  width: 32px;
  height: 32px;
}

.industry-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 20px 20px 8px;
}

.industry-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 20px 24px;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  padding: var(--section-padding);
  background-color: var(--bg-primary);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(123, 47, 242, 0.07) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.pricing::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 900px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123, 47, 242, 0.4), rgba(157, 92, 250, 0.5), rgba(123, 47, 242, 0.4), transparent);
  box-shadow: 0 0 12px rgba(123, 47, 242, 0.2);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(123, 47, 242, 0.08);
}

/* Cards 1 and 3 have purple accent border (matching PDF) */
.pricing-card--highlighted {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(123, 47, 242, 0.1);
}

.pricing-card--highlighted:hover {
  box-shadow: 0 0 40px rgba(123, 47, 242, 0.18);
}

.pricing-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing-card__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  line-height: 1.5;
}

.pricing-card__price {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
}

.period {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.icon--sm {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.icon--accent {
  color: var(--accent-light);
}

.pricing-card .btn {
  width: 100%;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta {
  padding: 120px 0;
  background-color: var(--bg-secondary);
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.final-cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.final-cta .section__title {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.final-cta .section__subtitle {
  margin-bottom: 36px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 56px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 14px;
  max-width: 260px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer__links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--accent-light);
}

.footer__bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 18px 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================
   BACKGROUND GRID PATTERN (reusable)
   ============================================ */
.bg-grid {
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}

/* ============================================
   SECTION DIVIDER LINES (glowing purple)
   ============================================ */
.section-divider {
  position: relative;
}

.section-divider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 900px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123, 47, 242, 0.5), rgba(157, 92, 250, 0.6), rgba(123, 47, 242, 0.5), transparent);
  box-shadow: 0 0 12px rgba(123, 47, 242, 0.3), 0 0 4px rgba(123, 47, 242, 0.2);
}

/* ============================================
   AMBIENT GLOW EFFECTS
   ============================================ */
.ambient-glow {
  position: relative;
  overflow: hidden;
}

.ambient-glow::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(123, 47, 242, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow--right::before {
  left: auto;
  right: -100px;
}

.ambient-glow--bottom::before {
  top: auto;
  bottom: -100px;
}

/* ============================================
   FLOATING ORBS (decorative particles)
   ============================================ */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(1px);
}

.orb--1 { width: 6px; height: 6px; background: rgba(123,47,242,0.5); top: 20%; left: 8%; animation: orbFloat 12s ease-in-out infinite; }
.orb--2 { width: 10px; height: 10px; background: rgba(157,92,250,0.35); top: 35%; right: 12%; animation: orbFloat 16s ease-in-out infinite -3s; }
.orb--3 { width: 4px; height: 4px; background: rgba(200,140,255,0.5); top: 55%; left: 15%; animation: orbFloat 10s ease-in-out infinite -6s; }
.orb--4 { width: 14px; height: 14px; background: rgba(123,47,242,0.2); top: 70%; right: 8%; animation: orbFloat 18s ease-in-out infinite -2s; filter: blur(4px); }
.orb--5 { width: 8px; height: 8px; background: rgba(180,80,220,0.3); top: 15%; right: 25%; animation: orbFloat 14s ease-in-out infinite -8s; }
.orb--6 { width: 5px; height: 5px; background: rgba(220,100,180,0.4); top: 80%; left: 30%; animation: orbFloat 11s ease-in-out infinite -4s; }
.orb--7 { width: 18px; height: 18px; background: rgba(123,47,242,0.1); top: 45%; left: 5%; animation: orbFloat 20s ease-in-out infinite -10s; filter: blur(6px); }
.orb--8 { width: 3px; height: 3px; background: rgba(255,255,255,0.3); top: 25%; left: 45%; animation: orbFloat 9s ease-in-out infinite -5s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  25% { transform: translate(15px, -20px) scale(1.1); opacity: 1; }
  50% { transform: translate(-10px, -35px) scale(0.9); opacity: 0.7; }
  75% { transform: translate(20px, -15px) scale(1.05); opacity: 0.9; }
}

/* ============================================
   HERO TITLE GRADIENT SHIMMER
   ============================================ */
.hero__title {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 40%,
    var(--accent-light) 50%,
    #ffffff 60%,
    #ffffff 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: -100% 0; }
}

/* ============================================
   CTA BUTTON PULSE RING
   ============================================ */
.btn--primary {
  position: relative;
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: transparent;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: pulseRing 3s ease-out infinite;
}

@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* ============================================
   FEATURE CARD ICON ROTATING BORDER
   ============================================ */
.feature-card__icon {
  position: relative;
  overflow: hidden;
}

.feature-card__icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 0deg, var(--accent), transparent, var(--accent-light), transparent, var(--accent));
  border-radius: inherit;
  z-index: -1;
  animation: rotateBorder 6s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover .feature-card__icon::before {
  opacity: 1;
}

.feature-card:hover .feature-card__icon {
  box-shadow: 0 0 24px rgba(123, 47, 242, 0.3);
}

@keyframes rotateBorder {
  to { transform: rotate(360deg); }
}

/* ============================================
   HOW IT WORKS — ANIMATED ARC LINE
   ============================================ */
.steps-arc__line path {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 2s ease;
}

.steps-arc__line.line-drawn path {
  stroke-dashoffset: 0;
}

/* Pulsing glow on step numbers */
.step__number {
  text-shadow: 0 0 20px rgba(123, 47, 242, 0.4);
}

/* ============================================
   STAGGERED CARD ENTRANCE ANIMATIONS
   ============================================ */
.reveal-stagger {
  opacity: 0;
  transform: translateY(36px) scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays applied via nth-child */
.features__grid .feature-card:nth-child(1),
.industries__grid .industry-card:nth-child(1),
.pricing__grid .pricing-card:nth-child(1) { transition-delay: 0s; }

.features__grid .feature-card:nth-child(2),
.industries__grid .industry-card:nth-child(2),
.pricing__grid .pricing-card:nth-child(2) { transition-delay: 0.12s; }

.features__grid .feature-card:nth-child(3),
.industries__grid .industry-card:nth-child(3),
.pricing__grid .pricing-card:nth-child(3) { transition-delay: 0.24s; }

/* ============================================
   PRICING BADGE
   ============================================ */
.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(123, 47, 242, 0.4);
  animation: badgeGlow 2s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
  from { box-shadow: 0 4px 16px rgba(123, 47, 242, 0.3); }
  to { box-shadow: 0 4px 28px rgba(123, 47, 242, 0.6); }
}

/* ============================================
   PHONE MOCKUP (comparison section)
   ============================================ */
.phone-mockup {
  width: 100%;
  max-width: 260px;
  margin: 32px 0 0 auto;
  background: linear-gradient(160deg, rgba(20, 16, 36, 0.95) 0%, rgba(14, 12, 26, 0.98) 100%);
  border: 1px solid rgba(123, 47, 242, 0.2);
  border-radius: 20px;
  padding: 16px 16px 18px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 40px rgba(123, 47, 242, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.phone-mockup__notch {
  width: 60px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 0 auto 12px;
}

.phone-mockup__field {
  background: rgba(123, 47, 242, 0.06);
  border: 1px solid rgba(123, 47, 242, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.phone-mockup__field--done {
  border-color: rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.06);
  color: rgba(255, 255, 255, 0.9);
}

.phone-mockup__field--active {
  border-color: var(--accent);
  background: rgba(123, 47, 242, 0.12);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(123, 47, 242, 0.15);
}

.phone-mockup__field svg {
  width: 14px;
  height: 14px;
  color: var(--accent-light);
  flex-shrink: 0;
}

.phone-mockup__wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 18px;
  margin-top: 8px;
}

.phone-mockup__wave span {
  display: block;
  width: 3px;
  background: var(--accent-light);
  border-radius: 2px;
  animation: miniBar 1s ease-in-out infinite;
}

.phone-mockup__wave span:nth-child(1) { height: 10px; animation-delay: 0s; }
.phone-mockup__wave span:nth-child(2) { height: 18px; animation-delay: 0.1s; }
.phone-mockup__wave span:nth-child(3) { height: 8px; animation-delay: 0.2s; }
.phone-mockup__wave span:nth-child(4) { height: 20px; animation-delay: 0.3s; }
.phone-mockup__wave span:nth-child(5) { height: 12px; animation-delay: 0.4s; }
.phone-mockup__wave span:nth-child(6) { height: 16px; animation-delay: 0.5s; }
.phone-mockup__wave span:nth-child(7) { height: 6px; animation-delay: 0.6s; }

.phone-mockup__status {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-mockup__status-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.phone-mockup__status-fill {
  width: 75%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #22c55e);
  border-radius: 4px;
}

.phone-mockup__status-text {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #22c55e;
  font-weight: 600;
}

@keyframes miniBar {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

/* ============================================
   TYPING CURSOR
   ============================================ */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent-light);
  margin-left: 2px;
  animation: blink 0.8s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Hero field typing state */
.hero__field--typing {
  border-color: var(--accent) !important;
  color: var(--text-primary) !important;
}

/* ============================================
   SCROLL ANIMATIONS (enhanced reveal)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — Tablet (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .section__title {
    font-size: 2rem;
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .features__grid,
  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 380px;
    margin: 0 auto;
  }

  .flow__num {
    font-size: 3.5rem;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   RESPONSIVE — Mobile (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .section__title {
    font-size: 1.65rem;
  }

  .section__subtitle {
    font-size: 0.88rem;
    margin-bottom: 36px;
  }

  /* Header mobile */
  .header__nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 18, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .header__nav--open {
    display: flex;
  }

  .header__cta {
    display: none;
  }

  .hamburger {
    display: block;
  }

  /* Hero mobile */
  .hero {
    padding: 120px 0 0;
  }

  .hero__title {
    font-size: 1.9rem;
  }

  .hero__form-preview {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero__field {
    width: 100%;
    max-width: 260px;
  }

  .hero__aurora {
    height: 180px;
    margin-top: 30px;
  }

  /* Comparison mobile */
  .comparison__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .comparison__card--new {
    text-align: left;
  }

  .comparison__card--new li {
    justify-content: flex-start;
    flex-direction: row-reverse;
  }

  .comparison__avatars--right {
    justify-content: flex-start;
  }

  /* Features & Industries mobile */
  .features__grid,
  .industries__grid {
    grid-template-columns: 1fr;
  }

  /* Steps mobile — stack vertically */
  .flow__svg { display: none; }

  .flow {
    position: static;
    height: auto !important;
    aspect-ratio: unset !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .flow__step {
    position: static !important;
    transform: none !important;
  }

  .flow__num { font-size: 2.5rem; }

  /* Pricing mobile */
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

  .pricing-card:last-child {
    max-width: none;
  }

  /* Final CTA mobile */
  .final-cta {
    padding: 80px 0;
  }

  .final-cta .section__title {
    font-size: 1.8rem;
  }

  /* Footer mobile */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ============================================
   RESPONSIVE — Small Mobile (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  .hero__title {
    font-size: 1.6rem;
  }

  .section__title {
    font-size: 1.4rem;
  }

  .btn--lg {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  .pricing-card {
    padding: 28px 20px;
  }

  .feature-card {
    padding: 24px 18px;
  }
}
