/* ══════════════════════════════════════
   VARIABLES & RESET
   ══════════════════════════════════════ */
:root {
  --bg: #0B0B0F;
  --bg-card: #141419;
  --bg-card-hover: #1A1A21;
  --bg-elevated: #1E1E26;
  --accent: #6366F1;
  --accent-light: #818CF8;
  --accent-dim: #4F46E5;
  --accent-glow: rgba(99, 102, 241, 0.18);
  --cyan: #38BDF8;
  --white: #F1F5F9;
  --text: #94A3B8;
  --muted: #64748B;
  --border: #2A2A32;
  --border-light: #363640;
  --gradient-dark: linear-gradient(180deg, #0B0B0F 0%, #10101A 100%);
  --gradient-card: linear-gradient(135deg, #141419 0%, #1A1A24 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w: 1200px;
  --px: clamp(20px, 5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

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

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ══════════════════════════════════════
   TYPOGRAPHY
   ══════════════════════════════════════ */
h1, h2, h3, h4 {
  color: var(--white);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }

.accent { color: var(--accent); }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text);
  max-width: 600px;
  line-height: 1.7;
  font-weight: 400;
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-dark {
  background: var(--bg);
  color: var(--accent);
  border: 1px solid var(--border);
}
.btn-dark:hover {
  background: var(--bg-card);
  border-color: var(--accent);
}

/* ══════════════════════════════════════
   NAV — STICKY
   ══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 var(--px);
  background: rgba(11, 11, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

nav.scrolled {
  background: rgba(11, 11, 15, 0.95);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}
.nav-logo span { color: var(--accent); }

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
}

.nav-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  padding: 10px 22px !important;
  border-radius: 100px;
  font-size: 13px !important;
  font-weight: 700 !important;
  transition: all var(--transition) !important;
}
.nav-cta:hover {
  background: var(--white) !important;
  transform: translateY(-1px);
}

.nav-cta-secondary {
  background: transparent !important;
  color: var(--white) !important;
  padding: 10px 18px !important;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: all var(--transition) !important;
}

.nav-cta-secondary:hover {
  background: rgba(99, 102, 241, 0.08) !important;
  border-color: var(--accent);
  color: var(--accent) !important;
  transform: translateY(-1px);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  animation: pulse-badge 3s ease-in-out infinite;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(222,255,71,0.1); }
  50% { box-shadow: 0 0 0 8px rgba(222,255,71,0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 { margin-bottom: 24px; }
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-proof-item {
  display: flex;
  flex-direction: column;
}
.hero-proof-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.hero-proof-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero visual — workflow animation */
.hero-visual {
  position: relative;
  height: 520px;
}

.flow-node {
  position: absolute;
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  animation: float 6s ease-in-out infinite;
}
.flow-node:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.flow-node-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.flow-node .node-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.flow-node .node-text {
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}

.node-1 { top: 20px; left: 10%; animation-delay: 0s; }
.node-2 { top: 120px; left: 45%; animation-delay: 1s; }
.node-3 { top: 240px; left: 15%; animation-delay: 2s; }
.node-4 { top: 330px; left: 50%; animation-delay: 0.5s; }

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

.hero-visual svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.connector-line {
  stroke: var(--border-light);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 8 4;
  animation: dash 20s linear infinite;
}
@keyframes dash {
  to { stroke-dashoffset: -200; }
}

.hero-stat-badge {
  position: absolute;
  bottom: 20px;
  right: 10%;
  background: var(--accent);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 32px var(--accent-glow);
  animation: float 4s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* ══════════════════════════════════════
   LOGOS STRIP
   ══════════════════════════════════════ */
.logos-section {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.logos-label {
  text-align: center;
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #768399;
  margin-bottom: 24px;
}

.logos-track {
  display: flex;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}

.logos-track .logo-item {
  padding: 0 36px;
  font-size: 15px;
  font-weight: 600;
  color: #8391a7;
  white-space: nowrap;
  opacity: 0.65;
  transition: opacity var(--transition);
}
.logos-track .logo-item:hover { opacity: 1; }

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   SECTION BASE
   ══════════════════════════════════════ */
.section {
  padding: 100px 0;
}

.section-divider-top {
  position: relative;
  border-top: 1px solid rgba(241, 245, 249, 0.08);
  box-shadow: inset 0 56px 72px -72px rgba(129, 140, 248, 0.22);
}
.section-dark {
  padding: 100px 0;
  background: var(--gradient-dark);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}
.section-header .section-desc {
  margin: 16px auto 0;
}

/* ══════════════════════════════════════
   PAIN → SOLUTION
   ══════════════════════════════════════ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pain-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pain-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.pain-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity var(--transition);
}
.pain-card:hover::after { opacity: 1; }

.pain-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  background: rgba(99, 102, 241, 0.08);
}

.pain-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.pain-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.pain-solution {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.pain-solution svg { flex-shrink: 0; }

/* ══════════════════════════════════════
   SERVICES
   ══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.service-card h3 { margin-bottom: 10px; }

.service-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(99, 102, 241, 0.06);
  color: var(--accent);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

/* ══════════════════════════════════════
   ROI CALCULATOR
   ══════════════════════════════════════ */
.calc-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, #0D0D14 50%, var(--bg) 100%);
}

.calc-wrapper {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.calc-wrapper::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.calc-form { position: relative; z-index: 1; }

.calc-field {
  margin-bottom: 28px;
}
.calc-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.calc-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  outline: none;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px var(--accent-glow);
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.calc-value {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  align-items: center;
}
.calc-value span:last-child {
  text-align: right;
}
.calc-value .current {
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
}

.calc-results {
  position: relative;
  z-index: 1;
  text-align: center;
}

.calc-big-number {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.calc-big-label {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 32px;
}

.calc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}

.calc-detail-item {
  background: rgba(99, 102, 241, 0.04);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.calc-detail-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}
.calc-detail-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.calc-cta {
  margin-top: 32px;
}

/* ══════════════════════════════════════
   PROCESS — 4 STEPS
   ══════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.process-step {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background var(--transition);
}
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--bg-card); }

.process-num {
  font-size: 48px;
  font-weight: 900;
  color: rgba(99, 102, 241, 0.12);
  line-height: 1;
  margin-bottom: 16px;
}

.process-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.process-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

.process-arrow {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 24px;
  height: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 12px;
}

/* ══════════════════════════════════════
   CASES (Success Stories)
   ══════════════════════════════════════ */
.cases-grid {
  display: grid;
  gap: 24px;
}

.case-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  transition: all var(--transition);
}
.case-card:hover { border-color: var(--accent); }

.case-industry {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.case-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 700;
}

.case-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.case-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.case-flow .arrow { color: var(--accent); font-weight: 700; }

.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.case-metric {
  background: rgba(99, 102, 241, 0.04);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}

.metric-number {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ══════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}
.testimonial-card:hover { border-color: var(--border-light); }

.testimonial-stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.testimonial-role {
  font-size: 13px;
  color: var(--muted);
}

.testimonial-metric {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

/* ══════════════════════════════════════
   COMPARISON TABLE
   ══════════════════════════════════════ */
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  background: var(--bg-card);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.compare-table thead th:first-child { color: var(--white); }
.compare-table thead th.highlight-col {
  color: var(--accent);
  background: rgba(99, 102, 241, 0.06);
}

.compare-table tbody td {
  color: var(--text);
  background: var(--bg);
}
.compare-table tbody td.highlight-col {
  background: rgba(99, 102, 241, 0.03);
  color: var(--white);
  font-weight: 600;
}

.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:first-child {
  color: var(--white);
  font-weight: 500;
}

.check { color: var(--accent); font-weight: 700; }
.cross { color: #ff4757; }
.partial { color: var(--muted); }

/* ══════════════════════════════════════
   MID CTA
   ══════════════════════════════════════ */
.mid-cta {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mid-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(222,255,71,0.04) 0%, transparent 50%, rgba(71,224,255,0.04) 100%);
  pointer-events: none;
}

.mid-cta-inner {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px;
  position: relative;
}
.mid-cta-inner::after {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
}

.mid-cta h2 { margin-bottom: 16px; }
.mid-cta .section-desc { margin: 0 auto 32px; text-align: center; }

.mid-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.2);
  color: #ff6b7a;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
  animation: pulse-badge 3s ease-in-out infinite;
}

/* ══════════════════════════════════════
   FAQ
   ══════════════════════════════════════ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-item.active .faq-icon {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
}

/* ══════════════════════════════════════
   CONTACT FORM — MULTI-STEP
   ══════════════════════════════════════ */
.contact-section {
  padding: 100px 0;
  background: var(--gradient-dark);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info .section-desc { margin-bottom: 32px; }

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
}
.contact-perk-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.form-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.form-step-dot {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: var(--border);
  transition: background var(--transition);
}
.form-step-dot.active { background: var(--accent); }

.form-page { display: none; }
.form-page.active { display: block; }

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--muted); }

textarea.form-input { resize: vertical; min-height: 100px; }

select.form-input {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236B6860' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.form-back {
  background: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  transition: color var(--transition);
}
.form-back:hover { color: var(--white); }

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .nav-logo { margin-bottom: 16px; display: block; }
.footer-desc {
  font-size: 14px;
  color: #7d8aa0;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7d8aa0;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
}
.footer-copy {
  font-size: 13px;
  color: #7d8aa0;
}
.footer-badges {
  display: flex;
  gap: 16px;
}
.footer-badges a {
  font-size: 13px;
  color: #8a97ad;
  transition: color var(--transition);
}
.footer-badges a:hover { color: var(--white); }

/* ══════════════════════════════════════
   WHATSAPP FLOATING
   ══════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  animation: whatsapp-pulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 40px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.1); }
}

/* ══════════════════════════════════════
   COUNTER / IMPACT BAR
   ══════════════════════════════════════ */
.impact-bar {
  padding: 84px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at top left, rgba(71, 224, 255, 0.08), transparent 38%),
    radial-gradient(circle at bottom right, rgba(99, 102, 241, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%);
}
.impact-shell {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(15, 16, 26, 0.96), rgba(10, 11, 18, 0.82));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}
.impact-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.045), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(71,224,255,0.10), transparent 22%);
  pointer-events: none;
}
.impact-intro {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding-right: 12px;
}
.impact-kicker {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-light);
  margin: 0;
}
.impact-heading {
  font-size: clamp(2.3rem, 4.2vw, 4.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--white);
  margin: 0;
}
.impact-summary {
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  margin: 0;
}
.impact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.impact-item {
  position: relative;
  overflow: hidden;
  min-height: 184px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%),
    rgba(255, 255, 255, 0.01);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  text-align: left;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.impact-item::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 24px;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, rgba(71,224,255,0.8), rgba(99,102,241,0.3));
}
.impact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(71, 224, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.065) 0%, rgba(255,255,255,0.025) 100%),
    rgba(255, 255, 255, 0.015);
}
.impact-item-kicker {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin: 14px 0 0;
}
.impact-title {
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
}
.impact-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ══════════════════════════════════════
   BLOG PREVIEW
   ══════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.blog-card-img {
  height: 180px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.blog-card-body { padding: 24px; }
.blog-card-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 10px;
}
.blog-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.3;
}
.blog-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}
.blog-card-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

/* ══════════════════════════════════════
   LEGAL PAGES (Terms & Privacy)
   ══════════════════════════════════════ */
.legal-hero {
  padding: 160px 0 60px;
  position: relative;
  overflow: hidden;
}
.legal-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.legal-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}
.legal-hero .hero-subtitle {
  max-width: 500px;
  margin-bottom: 0;
}

.legal-content {
  padding: 0 0 100px;
}

.legal-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.legal-section:last-child {
  border-bottom: 1px solid var(--border);
}

.legal-section h2 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.legal-section p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section strong {
  color: var(--white);
  font-weight: 600;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
}
.legal-section ul li {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
}
.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.legal-section ul li strong {
  color: var(--white);
}

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.legal-section a:hover {
  color: var(--accent-light);
}

/* Legal steps flow (terms page) */
.legal-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 24px 0;
  flex-wrap: wrap;
}
.legal-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  flex: 1;
  min-width: 100px;
}
.legal-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legal-step-label {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}
.legal-step-arrow {
  font-size: 18px;
  color: var(--border-light);
  flex-shrink: 0;
  padding: 0 6px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .legal-hero { padding: 120px 0 40px; }
  .legal-content { padding: 0 0 64px; }
  .legal-section { padding: 36px 0; }
  .legal-section h2 { font-size: 1.15rem; }
  .legal-step-arrow { display: none; }
  .legal-steps { gap: 12px; }
  .legal-step { min-width: 80px; }
}

/* ══════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:nth-child(odd) { border-right: 1px solid var(--border); }
  .process-step:nth-child(3), .process-step:nth-child(4) { border-bottom: none; }
  .process-arrow { display: none; }
  .case-card { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .calc-wrapper { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .impact-shell { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: rgba(11,11,15,0.98);
    padding: 24px var(--px);
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-left: 0;
  }
  .nav-actions a {
    width: 100%;
  }
  .hero { padding-top: 100px; min-height: auto; }
  .hero-proof { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section, .section-dark, .calc-section, .contact-section { padding: 64px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
  .services-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .case-metrics { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .calc-wrapper { padding: 28px; }
  .mid-cta-inner { padding: 40px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 12px 14px; }
  .impact-bar { padding: 64px 0; }
  .impact-shell { padding: 28px; gap: 24px; border-radius: 24px; }
  .impact-heading { font-size: 2.4rem; }
  .impact-summary { max-width: 42ch; }
  .impact-item { min-height: 164px; padding: 22px; }
}

@media (max-width: 480px) {
  .calc-detail { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-heading { font-size: 2rem; }
  .impact-shell { padding: 22px; }
  .impact-summary { font-size: 14px; }
  .impact-item { min-height: auto; }
}
