/* ════════════════════════════════════════════════════════════
   VIVEK PORTFOLIO — STYLES
   Color palette: Indigo · Violet · Cyan · Dark slate
   ════════════════════════════════════════════════════════════ */

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

:root {
  --bg-0:      #070B14;
  --bg-1:      #0A0F1E;
  --bg-2:      #0F1629;
  --bg-card:   #141D33;
  --bg-light:  #101828;
  --accent-1:  #6366F1;
  --accent-2:  #8B5CF6;
  --accent-3:  #06B6D4;
  --accent-g:  linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #06B6D4 100%);
  --text-1:    #F1F5F9;
  --text-2:    #CBD5E1;
  --text-3:    #94A3B8;
  --border:    rgba(99, 102, 241, 0.18);
  --glow:      rgba(99, 102, 241, 0.35);
  --radius:    16px;
  --radius-sm: 10px;
  --trans:     all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

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

/* ─── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--accent-1); border-radius: 3px; }

/* ─── TYPOGRAPHY HELPERS ────────────────────────────────────── */
.gradient-text {
  background: var(--accent-g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent { color: var(--accent-3); }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent-g);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--trans);
  box-shadow: 0 4px 24px rgba(99,102,241,0.4);
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.55);
}
.btn-primary.btn-large { padding: 16px 36px; font-size: 1rem; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(99,102,241,0.1);
  color: var(--text-1);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  transition: var(--trans);
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(99,102,241,0.2);
  border-color: var(--accent-1);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  color: var(--text-1);
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: var(--trans);
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--accent-1);
  background: rgba(99,102,241,0.12);
  transform: translateY(-2px);
}
.btn-outline.btn-large { padding: 16px 36px; }

/* ─── SECTION BASE ──────────────────────────────────────────── */
.section-dark  { background: var(--bg-1); padding: 96px 0; }
.section-light { background: var(--bg-2); padding: 96px 0; }
.section-gradient {
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-2) 50%, var(--bg-0) 100%);
  padding: 96px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 12px 0 16px;
  color: var(--text-1);
}
.section-header p {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.75;
}
.section-tag {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(99,102,241,0.12);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-1);
}

/* ════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
  background: rgba(10,14,30,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
}
.nav-photo-wrap {
  width: 36px; height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(99,102,241,0.5);
  flex-shrink: 0;
}
.nav-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--accent-g);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: #fff;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-1); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-socials {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-3);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--trans);
}
.nav-socials a:hover { color: var(--text-1); background: rgba(99,102,241,0.15); border-color: var(--accent-1); transform: translateY(-1px); }
.nav-socials .n8n-icon:hover { color: #FF6C37; border-color: #FF6C37; background: rgba(255,108,55,0.12); }
.btn-nav {
  padding: 9px 22px;
  background: var(--accent-g);
  color: #fff;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--trans);
  box-shadow: 0 2px 16px rgba(99,102,241,0.35);
}
.btn-nav:hover { transform: translateY(-1px); box-shadow: 0 4px 24px rgba(99,102,241,0.5); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: var(--trans);
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Animated orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: drift 12s ease-in-out infinite alternate;
}
.orb-1 { width: 500px; height: 500px; top: -200px; left: -150px; background: radial-gradient(circle, #6366F1 0%, transparent 70%); animation-duration: 14s; }
.orb-2 { width: 400px; height: 400px; top: 20%; right: -100px; background: radial-gradient(circle, #8B5CF6 0%, transparent 70%); animation-duration: 18s; animation-delay: -4s; }
.orb-3 { width: 350px; height: 350px; bottom: -100px; left: 30%; background: radial-gradient(circle, #06B6D4 0%, transparent 70%); animation-duration: 16s; animation-delay: -8s; }
.orb-4 { width: 600px; height: 600px; top: -200px; right: -200px; background: radial-gradient(circle, #6366F1 0%, transparent 70%); opacity: 0.4; animation-duration: 15s; }
.orb-5 { width: 400px; height: 400px; bottom: -100px; left: -100px; background: radial-gradient(circle, #06B6D4 0%, transparent 70%); opacity: 0.35; animation-duration: 20s; animation-delay: -6s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(99,102,241,0.1);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.badge-dot {
  width: 8px; height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(16,185,129,0.1); }
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-1);
  margin-bottom: 24px;
}
#typed-target { display: block; min-height: 1.2em; }
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 36px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 0;
  backdrop-filter: blur(10px);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--accent-g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-suffix { font-size: 1.5rem; font-weight: 700; color: var(--accent-1); }
.stat-label { font-size: 0.8rem; color: var(--text-3); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 0.75rem;
  animation: float-up 2.5s ease-in-out infinite;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 4px; height: 8px;
  background: var(--accent-1);
  border-radius: 2px;
  animation: scroll-down 2s ease infinite;
}
@keyframes scroll-down {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}
@keyframes float-up {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-6px); }
}

/* ════════════════════════════════════════════════════════════
   PROBLEM
   ════════════════════════════════════════════════════════════ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent-g);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.problem-card:hover::before { transform: scaleX(1); }
.problem-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.35); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.problem-icon {
  width: 52px; height: 52px;
  background: rgba(99,102,241,0.12);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-1);
  margin-bottom: 20px;
}
.problem-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.problem-card p { color: var(--text-2); font-size: 0.92rem; line-height: 1.7; }

/* ════════════════════════════════════════════════════════════
   SOLUTION — WORKFLOW CARDS
   ════════════════════════════════════════════════════════════ */
.workflow-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.workflow-card {
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--trans);
  border: 1px solid var(--border);
}
.workflow-card:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,0.4); }
.card-1 { background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(20,29,51,0.8) 100%); border-color: rgba(99,102,241,0.3); }
.card-2 { background: linear-gradient(135deg, rgba(139,92,246,0.12) 0%, rgba(20,29,51,0.8) 100%); border-color: rgba(139,92,246,0.3); }
.card-3 { background: linear-gradient(135deg, rgba(6,182,212,0.10) 0%, rgba(20,29,51,0.8) 100%);  border-color: rgba(6,182,212,0.3); }
.wf-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0.07;
  position: absolute;
  top: 16px; right: 24px;
  color: #fff;
}
.wf-icon {
  width: 56px; height: 56px;
  background: rgba(99,102,241,0.15);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card-1 .wf-icon { color: var(--accent-1); }
.card-2 .wf-icon { color: var(--accent-2); background: rgba(139,92,246,0.15); }
.card-3 .wf-icon { color: var(--accent-3); background: rgba(6,182,212,0.12); }
.workflow-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.wf-subtitle { font-size: 0.82rem; color: var(--accent-1); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.card-2 .wf-subtitle { color: var(--accent-2); }
.card-3 .wf-subtitle { color: var(--accent-3); }
.workflow-card > p { color: var(--text-2); font-size: 0.92rem; line-height: 1.75; margin-bottom: 24px; }
.wf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wf-tags span {
  padding: 4px 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-2);
}

/* ════════════════════════════════════════════════════════════
   PIPELINE (HOW IT WORKS)
   ════════════════════════════════════════════════════════════ */
.pipeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  position: relative;
}
.pipeline-step {
  flex: 1;
  min-width: 140px;
  max-width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
}
.step-bubble {
  width: 36px; height: 36px;
  background: var(--accent-g);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.2);
}
.step-icon {
  width: 60px; height: 60px;
  background: rgba(99,102,241,0.1);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-1);
  margin-bottom: 14px;
  transition: var(--trans);
}
.pipeline-step:hover .step-icon {
  background: rgba(99,102,241,0.2);
  border-color: var(--accent-1);
  transform: scale(1.08);
}
.pipeline-step h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text-1); }
.pipeline-step p { font-size: 0.75rem; color: var(--text-3); line-height: 1.6; }
.pipe-connector {
  display: flex;
  align-items: center;
  padding-top: 50px;
  color: var(--accent-1);
  opacity: 0.4;
  font-size: 1rem;
  min-width: 24px;
  justify-content: center;
}
.pipe-connector::after { content: '›'; font-size: 1.5rem; }

/* ════════════════════════════════════════════════════════════
   FEATURES GRID
   ════════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--trans);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99,102,241,0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(from var(--ic) r g b / 0.12);
  background: color-mix(in srgb, var(--ic) 15%, transparent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--ic);
  margin-bottom: 16px;
}
.feature-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: var(--text-2); font-size: 0.88rem; line-height: 1.7; }

/* ════════════════════════════════════════════════════════════
   INDUSTRIES
   ════════════════════════════════════════════════════════════ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6,182,212,0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.industry-icon {
  width: 52px; height: 52px;
  background: rgba(6,182,212,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-3);
  margin-bottom: 16px;
  transition: var(--trans);
}
.industry-card:hover .industry-icon { background: rgba(6,182,212,0.2); transform: scale(1.05); }
.industry-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.industry-card p { color: var(--text-2); font-size: 0.875rem; line-height: 1.7; margin-bottom: 16px; }
.industry-metric {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--text-3);
}
.industry-metric span { color: var(--accent-3); font-weight: 700; }

/* ════════════════════════════════════════════════════════════
   ROI
   ════════════════════════════════════════════════════════════ */
.roi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}
.roi-stats { display: flex; flex-direction: column; gap: 24px; }
.roi-stat {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--trans);
}
.roi-stat:hover { border-color: rgba(99,102,241,0.35); transform: translateX(4px); }
.roi-stat-icon {
  width: 48px; height: 48px;
  background: rgba(99,102,241,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--accent-1);
  flex-shrink: 0;
}
.roi-big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--accent-g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.roi-small { font-size: 1rem; }
.roi-stat-body p { font-size: 0.85rem; color: var(--text-2); }
.roi-stat-body p strong { color: var(--text-1); }

/* Comparison bars */
.roi-comparison {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.roi-comparison h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 28px;
}
.roi-comparison h3 span { color: var(--text-3); font-weight: 400; }
.comparison-item { margin-bottom: 24px; }
.ci-label { font-size: 0.82rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; letter-spacing: 0.03em; }
.ci-bars { display: flex; flex-direction: column; gap: 4px; }
.ci-bar { border-radius: 50px; overflow: hidden; }
.ci-fill {
  height: 28px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  transition: width 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ci-bar.before .ci-fill { background: rgba(239,68,68,0.2); color: #FCA5A5; }
.ci-bar.after  .ci-fill { background: linear-gradient(135deg, #6366F1, #06B6D4); color: #fff; width: 0; }
.ci-legend { display: flex; gap: 16px; margin-top: 4px; }
.leg-before { font-size: 0.75rem; color: #FCA5A5; }
.leg-before i, .leg-after i { font-size: 0.6rem; margin-right: 4px; }
.leg-after { font-size: 0.75rem; color: var(--accent-3); }

/* Cost breakdown */
.cost-breakdown { text-align: center; }
.cost-breakdown h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 32px; }
.cost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.cost-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: var(--trans);
}
.cost-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.35); }
.highlight-cost { border-color: rgba(6,182,212,0.4); background: linear-gradient(135deg, rgba(6,182,212,0.08), var(--bg-card)); }
.cost-icon { font-size: 1.5rem; color: var(--accent-1); margin-bottom: 12px; }
.highlight-cost .cost-icon { color: var(--accent-3); }
.cost-label { font-size: 0.82rem; color: var(--text-2); margin-bottom: 8px; }
.cost-amount { font-family: 'Space Grotesk', sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--text-1); margin-bottom: 6px; }
.cost-red  { color: #F87171; }
.cost-green { background: var(--accent-g); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cost-note { font-size: 0.75rem; color: var(--text-3); }

/* ════════════════════════════════════════════════════════════
   TECH STACK
   ════════════════════════════════════════════════════════════ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--trans);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tech-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.4); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.tech-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.t-n8n    { background: rgba(255,108,55,0.12);  color: #FF6C37; }
.t-openai { background: rgba(99,102,241,0.12);  color: var(--accent-1); }
.t-pg     { background: rgba(51,103,145,0.2);   color: #336791; }
.t-gmail  { background: rgba(234,67,53,0.12);   color: #EA4335; }
.t-embed  { background: rgba(6,182,212,0.1);    color: var(--accent-3); }
.t-js     { background: rgba(247,220,111,0.1);  color: #F7DC6F; }
.tech-card h4 { font-size: 1rem; font-weight: 600; }
.tech-card p  { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; }

/* ════════════════════════════════════════════════════════════
   SCALABILITY
   ════════════════════════════════════════════════════════════ */
.scale-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.scale-chart-wrap { text-align: center; }
.scale-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  height: 220px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  position: relative;
}
.scale-chart::before {
  content: '';
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  height: 1px;
  background: var(--border);
}
.scale-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.s-bar {
  width: 48px;
  height: var(--h);
  background: linear-gradient(180deg, rgba(99,102,241,0.5), rgba(99,102,241,0.15));
  border-radius: 6px 6px 0 0;
  position: relative;
  transition: all 0.6s ease;
  border: 1px solid rgba(99,102,241,0.3);
}
.active-bar .s-bar {
  background: linear-gradient(180deg, var(--accent-1), var(--accent-3));
  box-shadow: 0 0 24px rgba(99,102,241,0.5);
  border-color: var(--accent-1);
}
.s-cost {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-3);
  white-space: nowrap;
}
.s-label {
  font-size: 0.7rem;
  color: var(--text-3);
  white-space: nowrap;
}
.chart-caption { font-size: 0.82rem; color: var(--text-3); }

.scale-points { display: flex; flex-direction: column; gap: 28px; }
.sp {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.sp-icon {
  width: 44px; height: 44px;
  background: rgba(99,102,241,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--accent-1);
  flex-shrink: 0;
}
.sp-text h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.sp-text p  { font-size: 0.85rem; color: var(--text-2); line-height: 1.65; }

/* ════════════════════════════════════════════════════════════
   ABOUT — redesigned with real photo
   ════════════════════════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}

/* Photo column */
.about-photo-col { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.about-photo-wrap {
  position: relative;
  width: 280px; height: 320px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(99,102,241,0.3);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.about-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.photo-glow {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(99,102,241,0.25) 100%);
  pointer-events: none;
}
.about-badges { display: flex; flex-direction: column; gap: 10px; width: 280px; }
.badge-n8n {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255,108,55,0.1);
  border: 1px solid rgba(255,108,55,0.3);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: #FF6C37;
  transition: var(--trans);
}
.badge-n8n:hover { background: rgba(255,108,55,0.18); transform: translateY(-2px); }
.badge-check { margin-left: auto; color: #FF6C37; }
.badge-available {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: #10B981;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
  flex-shrink: 0;
}

/* Info column */
.about-info-col { display: flex; flex-direction: column; gap: 28px; }
.about-headline h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 6px;
}
.about-role {
  font-size: 0.85rem;
  color: var(--accent-1);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.about-bio {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.8;
}

/* Pill badges */
.about-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(99,102,241,0.1);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  transition: var(--trans);
}
.pill i { color: var(--accent-1); font-size: 0.75rem; }
.pill:hover { border-color: var(--accent-1); color: var(--text-1); }

/* Offer list */
.offer-wrap h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.offer-list { margin-bottom: 0; }
.offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-2);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  line-height: 1.5;
}
.offer-list li:last-child { border-bottom: none; }
.offer-list i { color: #10B981; font-size: 0.82rem; flex-shrink: 0; margin-top: 2px; }

/* About CTAs */
.about-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-n8n-creator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: rgba(255,108,55,0.1);
  border: 1.5px solid rgba(255,108,55,0.4);
  color: #FF6C37;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--trans);
}
.btn-n8n-creator:hover { background: rgba(255,108,55,0.2); transform: translateY(-2px); }

/* ════════════════════════════════════════════════════════════
   CTA
   ════════════════════════════════════════════════════════════ */
.section-cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background: var(--bg-0);
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-1);
}
.cta-content p { font-size: 1.05rem; color: var(--text-2); margin-bottom: 40px; line-height: 1.75; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
#footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-name { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.875rem; color: var(--text-3); line-height: 1.7; max-width: 280px; margin-bottom: 16px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: var(--text-3);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--trans);
}
.footer-socials a:hover { color: var(--text-1); background: rgba(99,102,241,0.15); border-color: var(--accent-1); }
.footer-links-col h5 { font-size: 0.82rem; font-weight: 700; color: var(--text-1); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-3);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-links-col a:hover { color: var(--text-1); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-3);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-photo-col { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 20px; }
  .about-photo-wrap { width: 220px; height: 260px; }
  .about-badges { width: 220px; }
  .roi-layout { grid-template-columns: 1fr; }
  .scale-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .nav-socials { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,14,30,0.98); backdrop-filter: blur(20px); padding: 24px; gap: 20px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .btn-nav { display: none; }
  .hero-stats { flex-direction: column; gap: 16px; border-radius: 12px; }
  .stat-divider { width: 80%; height: 1px; }
  .stat-item { padding: 8px 0; }
  .pipeline { flex-direction: column; align-items: center; }
  .pipeline-step { max-width: 100%; width: 100%; flex-direction: row; text-align: left; gap: 16px; padding: 16px; background: var(--bg-card); border-radius: var(--radius-sm); border: 1px solid var(--border); }
  .step-bubble { margin-bottom: 0; flex-shrink: 0; }
  .step-icon { margin-bottom: 0; flex-shrink: 0; width: 48px; height: 48px; font-size: 1.1rem; }
  .pipe-connector { padding-top: 0; }
  .pipe-connector::after { content: '↓'; }
  .workflow-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .roi-layout { gap: 28px; }
  .section-dark, .section-light, .section-gradient { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .features-grid, .industries-grid, .tech-grid, .cost-grid { grid-template-columns: 1fr; }
  .about-ctas { flex-direction: column; }
  .about-pills { gap: 7px; }
}

/* ─── PHOTO FALLBACK (gradient shows behind image if it fails) ── */
.about-photo-wrap {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #06B6D4 100%);
}
