/* ═══════════════════════════════════════════════════════════════
   CLIPIUM — Premium Landing Page CSS
   Aesthetic: Dark terminal meets cinematic grade
   Fonts: Syne (display) + Satoshi (body)
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap');

:root {
  /* Core palette — deep ink with electric accents */
  --bg:           #07070d;
  --bg-1:         #0d0d18;
  --bg-2:         #111120;
  --bg-card:      #0f0f1c;
  --bg-glass:     rgba(15, 15, 28, 0.7);

  /* Foreground */
  --fg:           #eeeef5;
  --fg-2:         #9393b0;
  --fg-3:         #5a5a72;

  /* Accent — warm electric violet → coral */
  --a1:           #8b5cf6;
  --a2:           #f97316;
  --a-glow:       rgba(139, 92, 246, 0.2);
  --a2-glow:      rgba(249, 115, 22, 0.15);

  /* Borders */
  --border:       rgba(255,255,255,0.06);
  --border-hover: rgba(139, 92, 246, 0.25);

  /* Type */
  --font-d:  'Syne', 'Space Grotesk', sans-serif;
  --font-b:  'Satoshi', 'DM Sans', -apple-system, sans-serif;

  /* Geometry */
  --r:   12px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Transitions */
  --t: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-b);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ── Typography helpers ── */
.gradient-text {
  background: linear-gradient(135deg, var(--a1) 0%, var(--a2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--a1);
  margin-bottom: 24px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--a1);
}

.section-wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

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

/* ════════════════════════════════════════
   NAV
   ════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 68px;
  background: rgba(7, 7, 13, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
}

.nav-logo {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
  transition: color var(--t);
}
.nav-links a:hover { color: var(--fg); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-lang {
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-2);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: transparent;
  transition: all var(--t);
  letter-spacing: 1px;
}
.nav-lang:hover, .nav-lang.active {
  color: var(--fg);
  border-color: var(--border-hover);
  background: rgba(139, 92, 246, 0.08);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: transparent;
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--a1); color: var(--a1); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--a1) 0%, #7c3aed 100%);
  border-radius: var(--r);
  cursor: pointer;
  border: none;
  transition: all var(--t);
  box-shadow: 0 4px 20px var(--a-glow);
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.35);
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
  border-radius: var(--r-lg);
}

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: all var(--t);
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(7, 7, 13, 0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
  flex-direction: column;
  gap: 20px;
  z-index: 899;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-2);
  padding: 8px 0;
}

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 32px 80px;
  overflow: hidden;
  text-align: center;
}

/* Layered atmospheric background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(139, 92, 246, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 30%, rgba(249, 115, 22, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 55%);
  pointer-events: none;
}

/* Animated grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 860px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--a1);
  padding: 8px 20px;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 100px;
  background: rgba(139, 92, 246, 0.06);
  margin-bottom: 40px;
  animation: fadeSlideUp 0.8s ease both;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--a1);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(44px, 7.5vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -3px;
  margin-bottom: 28px;
  animation: fadeSlideUp 0.8s 0.1s ease both;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--fg-2);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.7;
  animation: fadeSlideUp 0.8s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s 0.3s ease both;
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: transparent;
  cursor: pointer;
  transition: all var(--t);
}
.btn-demo:hover { color: var(--fg); border-color: var(--border-hover); }

.btn-demo svg { transition: transform var(--t); }
.btn-demo:hover svg { transform: scale(1.1); }

/* Hero trust note */
.hero-trust {
  margin-top: 20px;
  font-size: 13px;
  color: var(--fg-3);
  animation: fadeSlideUp 0.8s 0.4s ease both;
}

/* Hero visual — phone frame */
.hero-visual {
  position: relative;
  z-index: 2;
  margin-top: 72px;
  animation: fadeSlideUp 0.9s 0.5s ease both;
}

.hero-phone-wrap {
  position: relative;
  display: inline-block;
}

.pipeline-chip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
}

.pipe-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--bg-1);
  transition: all var(--t);
  min-width: 70px;
  position: relative;
}

.pipe-chip.lit {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.07);
  box-shadow: 0 0 20px var(--a-glow);
}

.pipe-chip-icon { font-size: 20px; line-height: 1; }

.pipe-chip-label {
  font-family: var(--font-d);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--fg-2);
}

.pipe-chip.lit .pipe-chip-label { color: var(--a1); }

.pipe-arrow {
  font-size: 14px;
  color: var(--fg-3);
  flex-shrink: 0;
}

/* ════════════════════════════════════════
   SOCIAL PROOF BAR
   ════════════════════════════════════════ */
.proof-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-1);
  overflow: hidden;
}

.proof-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 48px;
  border-right: 1px solid var(--border);
}
.proof-stat:last-child { border-right: none; }

.proof-stat-number {
  font-family: var(--font-d);
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--fg) 0%, var(--fg-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.proof-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.proof-logos {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.proof-logo-item {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  color: var(--fg-3);
  letter-spacing: 1px;
  opacity: 0.6;
  transition: opacity var(--t);
}
.proof-logo-item:hover { opacity: 1; }

/* ════════════════════════════════════════
   FEATURES SHOWCASE
   ════════════════════════════════════════ */
.features {
  padding: 120px 0;
  background: var(--bg);
}

.features-header {
  max-width: 720px;
  margin-bottom: 72px;
}

.features h2 {
  font-family: var(--font-d);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.features-sub {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.65;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

.feat-card {
  background: var(--bg-card);
  padding: 40px 36px;
  transition: background var(--t);
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(139,92,246,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--t);
}
.feat-card:hover::before { opacity: 1; }
.feat-card:hover { background: var(--bg-1); }

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 24px;
  transition: all var(--t);
}
.feat-card:hover .feat-icon {
  background: rgba(139, 92, 246, 0.18);
  box-shadow: 0 0 16px var(--a-glow);
}

.feat-card h3 {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feat-card p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.65;
}

/* ════════════════════════════════════════
   WORKFLOW / PIPELINE
   ════════════════════════════════════════ */
.workflow {
  padding: 120px 0;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.workflow h2 {
  font-family: var(--font-d);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.workflow-sub {
  font-size: 17px;
  color: var(--fg-2);
  max-width: 560px;
  margin-bottom: 72px;
  line-height: 1.65;
}

.workflow-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Vertical connector line */
.workflow-steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(180deg, var(--a1) 0%, var(--a2) 100%);
  opacity: 0.3;
}

.wf-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 28px 0;
  position: relative;
  border-bottom: 1px solid var(--border);
  transition: all var(--t);
}
.wf-step:last-child { border-bottom: none; }
.wf-step:hover .wf-step-body { transform: translateX(4px); }

.wf-step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  color: var(--a1);
  transition: all var(--t);
  position: relative;
  z-index: 2;
}
.wf-step:hover .wf-step-num {
  border-color: var(--a1);
  box-shadow: 0 0 20px var(--a-glow);
  background: rgba(139, 92, 246, 0.1);
}

.wf-step-body { transition: transform var(--t); }

.wf-step-title {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.wf-step-desc {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.65;
}

.wf-step-time {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-3);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 14px;
  white-space: nowrap;
  align-self: center;
}

/* ════════════════════════════════════════
   ROI CALCULATOR
   ════════════════════════════════════════ */
.roi {
  padding: 120px 0;
  background: var(--bg);
}

.roi-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.roi-left h2 {
  font-family: var(--font-d);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.roi-left p {
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.65;
  margin-bottom: 40px;
}

.roi-slider-block { margin-bottom: 32px; }

.roi-slider-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
  margin-bottom: 12px;
}

.roi-slider-label span:last-child { color: var(--a1); }

.roi-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--a1) 0%, var(--border) 0%);
  outline: none;
  cursor: pointer;
  transition: background var(--t);
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--a1);
  box-shadow: 0 0 12px var(--a-glow);
  cursor: pointer;
  transition: transform var(--t);
}
.roi-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.roi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
}

.roi-metric {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.roi-metric:last-of-type { border-bottom: none; }

.roi-metric-label {
  font-size: 14px;
  color: var(--fg-2);
  max-width: 180px;
  line-height: 1.5;
}

.roi-metric-value {
  font-family: var(--font-d);
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: right;
}

.roi-metric-unit {
  font-size: 14px;
  color: var(--fg-2);
  text-align: right;
  margin-top: 2px;
}

.roi-payback {
  margin-top: 28px;
  padding: 16px 24px;
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--r-lg);
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.5;
}
.roi-payback strong { color: var(--a1); }

/* ════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════ */
.testimonials {
  padding: 120px 0;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
}

.testimonials h2 {
  font-family: var(--font-d);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 64px;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  transition: border-color var(--t), transform var(--t);
  position: relative;
  overflow: hidden;
}

.testi-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  right: 24px;
  font-size: 120px;
  font-family: var(--font-d);
  color: rgba(139, 92, 246, 0.06);
  line-height: 1;
  pointer-events: none;
}

.testi-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 20px;
}
.testi-star { color: #f59e0b; font-size: 14px; }

.testi-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--bg-1);
  border-radius: var(--r);
  border: 1px solid var(--border);
}

.testi-ba-block label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 6px;
}

.testi-ba-block.after label { color: var(--a1); }

.testi-ba-val {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
}
.testi-ba-block.after .testi-ba-val { color: var(--a1); }

.testi-quote {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testi-name {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.testi-handle {
  font-size: 12px;
  color: var(--fg-3);
}

/* ════════════════════════════════════════
   PRICING
   ════════════════════════════════════════ */
.pricing {
  padding: 120px 0;
  background: var(--bg);
}

.pricing h2 {
  font-family: var(--font-d);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.pricing-sub {
  font-size: 17px;
  color: var(--fg-2);
  margin-bottom: 40px;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px;
  margin-bottom: 56px;
}

.pricing-toggle-btn {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--fg-2);
  cursor: pointer;
  transition: all var(--t);
}
.pricing-toggle-btn.active {
  background: var(--bg-2);
  color: var(--fg);
  border: 1px solid var(--border);
}

.pricing-save-badge {
  font-family: var(--font-d);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--a2);
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 100px;
  padding: 2px 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  position: relative;
  transition: all var(--t);
}
.price-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }

.price-card.popular {
  border-color: var(--a1);
  background: linear-gradient(180deg, rgba(139,92,246,0.06) 0%, var(--bg-card) 40%);
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.12);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-d);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--a1), #7c3aed);
  border-radius: 100px;
  padding: 4px 16px;
  white-space: nowrap;
}

.price-plan-name {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 20px;
}

.price-amount {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 8px;
}

.price-currency {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-2);
  margin-top: 6px;
}

.price-number {
  font-family: var(--font-d);
  font-size: 48px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
  letter-spacing: -2px;
}

.price-period {
  font-size: 13px;
  color: var(--fg-3);
  align-self: flex-end;
  margin-bottom: 4px;
}

.price-desc {
  font-size: 13px;
  color: var(--fg-3);
  margin-bottom: 28px;
  line-height: 1.5;
}

.price-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.price-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.45;
}

.price-feats li::before {
  content: '✓';
  color: var(--a1);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.price-feats li.dim { color: var(--fg-3); }
.price-feats li.dim::before { content: '–'; color: var(--fg-3); }

.price-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--r);
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
}

.price-cta-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg-2);
}
.price-cta-ghost:hover { border-color: var(--a1); color: var(--a1); }

.price-cta-filled {
  background: linear-gradient(135deg, var(--a1), #7c3aed);
  border: none;
  color: #fff;
  box-shadow: 0 4px 20px var(--a-glow);
}
.price-cta-filled:hover { box-shadow: 0 8px 32px rgba(139,92,246,0.35); transform: translateY(-1px); }

/* Feature comparison table */
.pricing-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

.pricing-table th, .pricing-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.pricing-table tr:last-child td { border-bottom: none; }

.pricing-table thead th {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-3);
  background: var(--bg-1);
}
.pricing-table thead th:first-child { color: var(--fg-2); }

.pricing-table td:not(:first-child) { text-align: center; color: var(--a1); }
.pricing-table td.no-feat { color: var(--fg-3); }

.pricing-table tbody tr:hover td { background: rgba(255,255,255,0.01); }

/* ════════════════════════════════════════
   FAQ
   ════════════════════════════════════════ */
.faq {
  padding: 120px 0;
  background: var(--bg-1);
  border-top: 1px solid var(--border);
}

.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.faq-left h2 {
  font-family: var(--font-d);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.faq-left p {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.65;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border-radius: var(--r);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--t);
}
.faq-item.open, .faq-item:hover { border-color: var(--border-hover); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.faq-q-text { flex: 1; }

.faq-chevron {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t);
  font-size: 10px;
  color: var(--fg-2);
}
.faq-item.open .faq-chevron {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--a1);
  color: var(--a1);
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.7;
  padding: 0 24px;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ════════════════════════════════════════
   FINAL CTA
   ════════════════════════════════════════ */
.final-cta {
  padding: 140px 0;
  background: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(139,92,246,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(249,115,22,0.04) 0%, transparent 55%);
  pointer-events: none;
}

.final-cta-content { position: relative; z-index: 2; }

.final-cta h2 {
  font-family: var(--font-d);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -3px;
  margin-bottom: 28px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-3);
}
.trust-badge svg { color: var(--a1); }

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand-logo {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-3);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 240px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--fg-3);
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
}
.footer-social-btn:hover { border-color: var(--border-hover); color: var(--fg); background: rgba(139,92,246,0.08); }

.footer-col-title {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--fg-3);
  transition: color var(--t);
}
.footer-links a:hover { color: var(--fg); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 12px;
  color: var(--fg-3);
}

.footer-langs {
  display: flex;
  gap: 4px;
}

.footer-lang-btn {
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--fg-3);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  transition: all var(--t);
}
.footer-lang-btn:hover, .footer-lang-btn.active {
  color: var(--fg);
  border-color: var(--border);
}

/* ════════════════════════════════════════
   SIGNUP MODAL
   ════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7, 7, 13, 0.88);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  transform: translateY(20px) scale(0.97);
  transition: transform var(--t);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--fg-2);
  transition: all var(--t);
}
.modal-close:hover { border-color: var(--border-hover); color: var(--fg); }

.modal-top {
  text-align: center;
  margin-bottom: 36px;
}

.modal-logo {
  font-family: var(--font-d);
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--a1), var(--a2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.modal h3 {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.modal-sub {
  font-size: 14px;
  color: var(--fg-2);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--fg);
  font-family: var(--font-b);
  font-size: 14px;
  outline: none;
  transition: all var(--t);
}
.modal-input::placeholder { color: var(--fg-3); }
.modal-input:focus { border-color: var(--a1); box-shadow: 0 0 0 3px rgba(139,92,246,0.12); }

.modal-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--a1), #7c3aed);
  border: none;
  border-radius: var(--r);
  color: #fff;
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t);
  box-shadow: 0 4px 20px var(--a-glow);
}
.modal-submit:hover { box-shadow: 0 8px 32px rgba(139,92,246,0.35); transform: translateY(-1px); }

.modal-fine {
  text-align: center;
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 6px;
}

/* ════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes chipCycle {
  0%, 20%  { box-shadow: 0 0 20px var(--a-glow); border-color: rgba(139,92,246,0.4); }
  21%, 100% { box-shadow: none; border-color: var(--border); }
}

/* Scroll-triggered fade-in */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .roi-wrap { grid-template-columns: 1fr; gap: 48px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .workflow-steps::before { display: none; }
  .wf-step-num { position: static; }
}

@media (max-width: 768px) {
  .section-wrap { padding: 0 20px; }

  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 120px 20px 64px; }
  .hero h1 { letter-spacing: -1.5px; }
  .hero-ctas { gap: 12px; }
  .btn-large { padding: 14px 28px; font-size: 14px; }

  .pipeline-chip-row { padding: 16px 20px; gap: 6px; }
  .pipe-chip { min-width: 56px; padding: 10px 12px; }
  .pipe-arrow { display: none; }

  .proof-bar-inner { flex-direction: column; gap: 0; }
  .proof-stat { border-right: none; border-bottom: 1px solid var(--border); width: 100%; max-width: 360px; }
  .proof-stat:last-child { border-bottom: none; }

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

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

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

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .features, .workflow, .roi, .testimonials, .pricing, .faq, .final-cta { padding: 80px 0; }

  .workflow-steps::before { display: none; }
  .wf-step { flex-direction: column; gap: 16px; }
  .wf-step-time { align-self: flex-start; }

  .testi-before-after { grid-template-columns: 1fr; }
  .modal { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .proof-logos { gap: 20px; }
  .pricing-table { font-size: 12px; }
  .pricing-table th, .pricing-table td { padding: 12px; }
}
