/* ═══════════════════════════════════════════════════════════════
   ROMERO AUTOMATION — Design System
   Aesthetic: Dark Tech Command Center
   Black surfaces, electric blue accents, clean geometry
   Like a mission control dashboard for local business growth
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  /* Surfaces */
  --bg:            #0a0a0a;
  --bg-subtle:     #0e0e0e;
  --surface:       #141414;
  --surface-2:     #1a1a1a;
  --surface-3:     #222222;
  --surface-hover: #2a2a2a;
  --glass:         rgba(255,255,255,0.03);
  --glass-border:  rgba(255,255,255,0.06);

  /* Electric Blue spectrum */
  --accent:        #2563eb;
  --accent-light:  #3b82f6;
  --accent-bright: #60a5fa;
  --accent-dim:    rgba(37,99,235,0.15);
  --accent-glow:   rgba(37,99,235,0.25);
  --accent-deep:   #1d4ed8;

  /* Neutral spectrum */
  --steel:         #94a3b8;
  --steel-light:   #cbd5e1;
  --steel-dim:     rgba(148,163,184,0.12);

  /* Text */
  --text:          #e2e8f0;
  --text-dim:      #64748b;
  --text-muted:    #475569;
  --white:         #ffffff;

  /* Functional */
  --success:       #22c55e;
  --error:         #ef4444;
  --warning:       #f59e0b;
  --info:          #3b82f6;

  /* Typography */
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing scale */
  --s-xs:   4px;
  --s-sm:   8px;
  --s-md:   16px;
  --s-lg:   24px;
  --s-xl:   40px;
  --s-2xl:  64px;
  --s-3xl:  96px;
  --s-4xl:  128px;

  /* Radii */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.5);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.6);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.7);
  --shadow-xl:     0 16px 48px rgba(0,0,0,0.8);
  --shadow-accent: 0 4px 24px rgba(37,99,235,0.2);
  --shadow-glow:   0 0 40px rgba(37,99,235,0.15);

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:      0.2s;
  --t-base:      0.35s;
  --t-slow:      0.6s;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--t-fast) var(--ease); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--accent); color: var(--white); }

/* ── Utility ──────────────────────────────────────────────── */
.container       { max-width: 1200px; margin: 0 auto; padding: 0 var(--s-lg); }
.container-wide  { max-width: 1400px; margin: 0 auto; padding: 0 var(--s-lg); }
.container-narrow{ max-width: 800px;  margin: 0 auto; padding: 0 var(--s-lg); }

/* ── Subtle grid background ───────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(37,99,235,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 20%, transparent 70%);
  pointer-events: none;
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 var(--s-lg);
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--t-base) var(--ease);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  transition: transform var(--t-fast) var(--ease-spring);
}
.logo:hover .logo-icon { transform: rotate(-5deg) scale(1.05); }
.logo-text {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo-text span {
  color: var(--accent-bright);
  font-weight: 400;
}

/* Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  transition: color var(--t-fast) var(--ease);
  position: relative;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--t-base) var(--ease);
}
.nav-desktop a:hover { color: var(--white); }
.nav-desktop a:hover::after { width: 100%; }
.nav-desktop a.active { color: var(--white); }
.nav-desktop a.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--t-fast) var(--ease);
}
.nav-cta:hover {
  background: var(--accent-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t-fast) var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--t-fast);
}
.nav-mobile a:hover { color: var(--accent-bright); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  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-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-bright);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.05em;
}
.hero-tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--steel);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  background: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent-bright);
  padding: 0.9rem 2rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.btn-secondary:hover {
  background: var(--accent-dim);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-dim);
  padding: 0.9rem 2rem;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
}

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(37,99,235,0.1);
}
.stat-item .stat-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.stat-item .stat-number span {
  color: var(--accent-bright);
}
.stat-item .stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 0.25rem;
}

/* ── Sections ─────────────────────────────────────────────── */
.section {
  padding: 6rem 0;
}
.section-dark {
  background: var(--surface);
}
.section-accent-bg {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(37,99,235,0.03) 50%, var(--bg) 100%);
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--steel);
  max-width: 600px;
  line-height: 1.7;
}
.section-header {
  margin-bottom: 3.5rem;
}
.section-header.center {
  text-align: center;
}
.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: var(--s-xl);
  transition: all var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.card:hover {
  border-color: rgba(37,99,235,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-lg);
  color: var(--accent-bright);
  font-size: 1.5rem;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.card-text {
  font-size: 0.95rem;
  color: var(--steel);
  line-height: 1.7;
}
.card-price {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent-bright);
  font-weight: 600;
  margin-top: 1rem;
}

/* Card grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-lg); }

/* ── Steps / Process ──────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s-xl);
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--s-xl);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  counter-increment: step;
  transition: all var(--t-base) var(--ease);
}
.step:hover {
  border-color: rgba(37,99,235,0.2);
  transform: translateY(-2px);
}
.step-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: var(--s-md);
}
.step-number span {
  color: var(--accent);
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.step p {
  font-size: 0.9rem;
  color: var(--steel);
  line-height: 1.7;
}

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-lg);
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: var(--s-xl);
  transition: all var(--t-base) var(--ease);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(37,99,235,0.08) 0%, var(--surface) 100%);
}
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 0.35rem 1rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.pricing-amount .unit {
  font-size: 1rem;
  color: var(--text-dim);
  font-weight: 400;
}
.pricing-desc {
  color: var(--steel);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}
.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pricing-features li::before {
  content: '\2713';
  color: var(--success);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ── Portfolio Grid ───────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s-xl);
}
.portfolio-card {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
}
.portfolio-card:hover {
  border-color: rgba(37,99,235,0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.portfolio-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}
.portfolio-thumb .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.portfolio-thumb .placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.3;
}
.portfolio-info {
  padding: var(--s-lg);
}
.portfolio-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.portfolio-info p {
  font-size: 0.9rem;
  color: var(--steel);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.portfolio-tags span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-bright);
  background: var(--accent-dim);
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-full);
  letter-spacing: 0.5px;
}
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-bright);
  transition: all var(--t-fast) var(--ease);
}
.portfolio-link:hover { color: var(--white); gap: 10px; }
.portfolio-link svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.portfolio-link:hover svg { transform: translateX(4px); }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s-lg);
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: var(--s-xl);
}
.testimonial-quote {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
}
.testimonial-author {
  font-weight: 600;
  color: var(--white);
  font-size: 0.9rem;
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(37,99,235,0.12) 0%, rgba(37,99,235,0.04) 100%);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: var(--r-lg);
  padding: var(--s-3xl) var(--s-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}
.cta-banner p {
  font-size: 1.1rem;
  color: var(--steel);
  max-width: 500px;
  margin: 0 auto 2rem;
  position: relative;
}
.cta-banner .btn-primary {
  position: relative;
}

/* ── Forms ─────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 0.95rem;
  transition: all var(--t-fast) var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-subtle);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 320px;
}
.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}
.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 0.35rem 0;
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--accent-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Timeline (Process page) ──────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 15px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dim));
}
.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -3rem;
  top: 0;
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-bright);
}
.timeline-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.timeline-item p {
  color: var(--steel);
  line-height: 1.7;
  font-size: 0.95rem;
}
.timeline-detail {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  color: var(--steel);
}

/* ── About page ───────────────────────────────────────────── */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3xl);
  align-items: center;
}
.about-photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}
.about-photo::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 50%);
  opacity: 0.15;
}
.about-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.about-content p {
  color: var(--steel);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.about-content p strong {
  color: var(--text);
  font-weight: 600;
}

/* Highlight row */
.highlight-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}
.highlight-item {
  text-align: center;
  padding: var(--s-xl);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
}
.highlight-item .number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-bright);
  line-height: 1.2;
}
.highlight-item .label {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── Contact Grid ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3xl);
}
.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-bright);
}
.contact-info-block h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}
.contact-info-block p {
  color: var(--steel);
  font-size: 0.95rem;
}
.contact-info-block a {
  color: var(--accent-bright);
  transition: color var(--t-fast);
}
.contact-info-block a:hover { color: var(--white); }

/* ── Page Header (inner pages) ────────────────────────────── */
.page-header {
  padding: 10rem 0 4rem;
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 400px;
  background: linear-gradient(180deg, rgba(37,99,235,0.06) 0%, transparent 100%);
  pointer-events: none;
}
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
  position: relative;
}
.page-header p {
  font-size: 1.15rem;
  color: var(--steel);
  max-width: 600px;
  line-height: 1.7;
  position: relative;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-hero { grid-template-columns: 1fr; gap: var(--s-2xl); }
  .about-photo { max-width: 400px; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--s-2xl); }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }

  .hero { min-height: auto; padding: 7rem 0 3rem; }
  .hero h1 { font-size: 2.2rem; letter-spacing: -1px; }

  .stats-bar { flex-wrap: wrap; gap: 1.5rem; }
  .stat-item { flex: 1 1 120px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .highlight-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .section { padding: 4rem 0; }
  .page-header { padding: 8rem 0 3rem; }

  .cta-banner { padding: var(--s-2xl) var(--s-lg); }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary { width: 100%; justify-content: center; }
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-fade-up {
  animation: fadeUp 0.6s var(--ease-out) forwards;
}
.animate-fade-in {
  animation: fadeIn 0.6s var(--ease-out) forwards;
}

/* Stagger children */
.stagger > *:nth-child(1) { animation-delay: 0s; }
.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.2s; }
.stagger > *:nth-child(4) { animation-delay: 0.3s; }
.stagger > *:nth-child(5) { animation-delay: 0.4s; }
.stagger > *:nth-child(6) { animation-delay: 0.5s; }

/* ── Scroll animations (IntersectionObserver) ─────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
