/* ============================================================
   GrowthHQ Automations — styles.css
   Brand: Orange #F97316 | Dark hero + Light body
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #0F172A;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── CSS Tokens ── */
:root {
  --orange: #F97316;
  --orange-dk: #EA580C;
  --orange-lt: rgba(249,115,22,0.10);
  --dark: #050D0A;
  --dark2: #0A1510;
  --dark3: #0E1C16;
  --text: #0F172A;
  --text2: #475569;
  --text3: #94A3B8;
  --bg: #FFFFFF;
  --bg2: #F8FAFC;
  --bg3: #F1F5F9;
  --border: rgba(0,0,0,0.08);
  --border2: rgba(0,0,0,0.12);
  --green: #22C55E;
  --green-lt: rgba(34,197,94,0.10);
  --r8: 8px;
  --r12: 12px;
  --r16: 16px;
  --r20: 20px;
  --r24: 24px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-o: 0 8px 32px rgba(249,115,22,0.30);
}

/* ── Typography ── */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--orange);
  background: var(--orange-lt); border: 1px solid rgba(249,115,22,0.20);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.section-label .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(30px, 4vw, 48px); line-height: 1.1;
  letter-spacing: -0.5px; color: var(--text);
}
.section-sub {
  font-size: 17px; color: var(--text2); line-height: 1.75;
  max-width: 580px; margin-top: 16px;
}
.orange { color: var(--orange); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: var(--r8); border: none; cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover { background: var(--orange-dk); box-shadow: var(--shadow-o); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: var(--r8); border: 1.5px solid var(--border2);
  transition: border-color .2s, color .2s, background .2s; cursor: pointer;
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-lt); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--orange);
  transition: gap .2s; cursor: pointer;
}
.btn-ghost:hover { gap: 10px; }

/* ── Scroll Animations ── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-left.visible { opacity: 1; transform: none; }
.fade-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-right.visible { opacity: 1; transform: none; }
.scale-in {
  opacity: 0; transform: scale(0.9);
  transition: opacity .55s ease, transform .55s ease;
}
.scale-in.visible { opacity: 1; transform: scale(1); }
.d1 { transition-delay: .05s; } .d2 { transition-delay: .12s; }
.d3 { transition-delay: .19s; } .d4 { transition-delay: .26s; }
.d5 { transition-delay: .33s; } .d6 { transition-delay: .40s; }

/* ================================================================
   NAVIGATION
================================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled-light {
  background: rgba(255,255,255,0.97);
  border-bottom-color: rgba(0,0,0,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: 70px; display: flex; align-items: center; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
.logo-wordmark {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 18px; letter-spacing: -0.3px; color: var(--text); line-height: 1.1;
  transition: color .3s;
}
.logo-wordmark em { font-style: normal; color: var(--orange); }
.logo-sub {
  display: block; font-size: 10px; font-weight: 400;
  color: var(--text3); letter-spacing: 1.5px; text-transform: uppercase;
  margin-top: -2px; transition: color .3s;
}
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text2);
  padding: 8px 14px; border-radius: var(--r8);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--bg2); }
.nav-phone {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.60);
  white-space: nowrap; transition: color .3s;
}
.nav.scrolled-light .nav-phone { color: var(--text2); }
.nav-cta {
  background: var(--orange) !important; color: #fff !important;
  font-weight: 700 !important; padding: 10px 20px !important;
  border-radius: var(--r8) !important; white-space: nowrap;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--orange-dk) !important; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s, background .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 16px; font-weight: 500; color: var(--text2);
  padding: 12px 16px; border-radius: var(--r8);
  transition: background .2s, color .2s;
}
.mobile-menu a:hover { background: var(--bg2); color: var(--text); }
.mobile-menu .nav-cta { background: var(--orange) !important; color: #fff !important; margin-top: 8px; text-align: center; }

/* ================================================================
   HERO — Dark with animated waves
================================================================ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: #FAFBFF;
  padding: 130px 0 0;
}
/* Subtle dot grid */
.hero-dots {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(15,23,42,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}
/* Very soft orange glow at top — behind the canvas */
.hero-glow {
  position: absolute; width: 700px; height: 420px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse, rgba(249,115,22,0.07) 0%, transparent 68%);
  top: -140px; left: 50%; transform: translateX(-50%);
}
/* Hide SVG waves — canvas handles visual interest */
.hero-waves { display: none; }
/* Floating bubbles canvas */
#hero-canvas {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  width: 100%; height: 100%;
}
.hero-inner {
  position: relative; z-index: 2; text-align: center;
  max-width: 860px; margin: 0 auto; padding: 0 24px;
  /* ensure inner content sits above blobs */
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px; padding: 7px 16px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.2px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}
.hero h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 800;
  font-size: clamp(44px, 7vw, 88px); line-height: 1.05;
  letter-spacing: -2px; color: #0F172A; margin-bottom: 8px;
}
.hero-highlight {
  display: inline-block; position: relative;
  background: var(--orange); color: #fff;
  border-radius: 6px; padding: 2px 16px;
  font-style: normal;
}
.hero-sub-line {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(24px, 4vw, 48px); color: #0F172A;
  letter-spacing: -1px; margin-bottom: 28px; line-height: 1.1;
}
.hero-desc {
  font-size: 18px; color: #475569;
  line-height: 1.75; max-width: 560px; margin: 0 auto 40px;
}
.hero-desc strong { color: #0F172A; font-weight: 600; }
.hero-btns {
  display: flex; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin-bottom: 36px;
}
.btn-dark-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #0F172A;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: var(--r8);
  border: 1.5px solid rgba(15,23,42,0.20);
  transition: border-color .2s, color .2s, background .2s; cursor: pointer;
}
.btn-dark-outline:hover {
  border-color: rgba(15,23,42,0.45); color: #0F172A;
  background: rgba(15,23,42,0.04);
}
.hero-guarantee {
  font-size: 13px; color: #94A3B8; letter-spacing: 0.5px;
}
/* Normal orange words in headline (no highlight box) */
.hero-orange-word {
  color: var(--orange);
  font-weight: 800;
}
/* AI in Action redesigned badge — light theme */
.ai-in-action-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--orange);
  background: var(--orange-lt); border: 1px solid rgba(249,115,22,0.22);
  padding: 6px 14px; border-radius: 100px;
}
.ai-badge-icon { display: flex; align-items: center; flex-shrink: 0; }
/* Hero mockup — floating dashboard at bottom of hero */
.hero-mockup-wrap {
  position: relative; width: 100%; max-width: 960px; margin: 56px auto 0;
  padding: 0 24px;
}
.hero-mockup {
  background: #0D1F18; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden; padding: 0;
}
.hero-mockup-bar {
  background: #111D17; border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 10px 16px; display: flex; align-items: center; gap: 8px;
}
.hero-mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-mockup-dot:nth-child(1) { background: #F97316; opacity: 0.7; }
.hero-mockup-dot:nth-child(2) { background: #C9F135; opacity: 0.7; }
.hero-mockup-dot:nth-child(3) { background: rgba(255,255,255,0.2); }
.hero-mockup-title {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.35);
  letter-spacing: 1px; margin-left: 8px;
}
.hero-mockup-body {
  display: grid; grid-template-columns: 220px 1fr 260px;
  min-height: 220px;
}
.hero-mockup-sidebar {
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 16px 12px; display: flex; flex-direction: column; gap: 6px;
}
.hmk-nav-item {
  padding: 7px 12px; border-radius: 6px; font-size: 11px;
  color: rgba(255,255,255,0.35); display: flex; align-items: center; gap: 8px;
}
.hmk-nav-item.active { background: rgba(249,115,22,0.12); color: #F97316; font-weight: 600; }
.hmk-nav-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.hero-mockup-canvas {
  padding: 20px; display: flex; align-items: flex-start;
  gap: 16px; flex-wrap: wrap; overflow: hidden;
}
.hmk-node {
  background: #162118; border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px; padding: 10px 14px; min-width: 110px;
  display: flex; flex-direction: column; gap: 4px;
}
.hmk-node-label { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }
.hmk-node-val { font-size: 12px; font-weight: 600; color: #fff; }
.hmk-node-tag {
  display: inline-block; font-size: 9px; font-weight: 700;
  padding: 2px 6px; border-radius: 100px; margin-top: 2px;
}
.hmk-node-tag.orange { background: rgba(249,115,22,0.15); color: #F97316; }
.hmk-node-tag.green { background: rgba(201,241,53,0.12); color: #C9F135; }
.hmk-node-tag.blue { background: rgba(56,189,248,0.12); color: #38BDF8; }
.hmk-connector {
  align-self: center; width: 24px; height: 1px;
  background: linear-gradient(90deg, rgba(249,115,22,0.6), rgba(201,241,53,0.4));
  flex-shrink: 0; position: relative;
}
.hmk-connector::after {
  content: ''; position: absolute; right: -3px; top: -3px;
  border: 3px solid transparent;
  border-left: 5px solid rgba(201,241,53,0.6);
}
.hero-mockup-panel {
  border-left: 1px solid rgba(255,255,255,0.06);
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
}
.hmk-panel-label { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 1px; }
.hmk-stat-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.hmk-stat-name { font-size: 11px; color: rgba(255,255,255,0.45); }
.hmk-stat-val { font-size: 13px; font-weight: 700; color: #C9F135; }
@media (max-width: 768px) {
  /* Hide dashboard mockup on mobile — hero stays clean and compact */
  .hero-mockup-wrap { display: none; }
}

/* Floating avatars */
.hero-avatars {
  display: flex; justify-content: center; align-items: center;
  gap: -8px; margin-bottom: 16px;
}
.avatar-stack {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 16px;
}
.avatar-stack .av {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,0.15);
  background: var(--dark3); margin-left: -10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 14px; color: var(--orange); flex-shrink: 0;
  overflow: hidden;
}
.avatar-stack .av:first-child { margin-left: 0; }
.hero-social-proof {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-bottom: 0;
}
.social-proof-row {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  flex-wrap: wrap;
}
.sp-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,0.45);
}
.sp-icon {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-lt); border: 1px solid rgba(34,197,94,0.2);
  color: var(--green); font-size: 9px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11px; color: rgba(15,23,42,0.28); letter-spacing: 2px;
  text-transform: uppercase; z-index: 2; animation: bounce-y 2s infinite;
}
.scroll-hint svg path { stroke: rgba(15,23,42,0.4); }
@keyframes bounce-y {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ================================================================
   TOOL LOGOS STRIP
================================================================ */
.logos-strip {
  padding: 20px 0; background: #fff;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.logos-label {
  text-align: center; font-size: 11px; font-weight: 600;
  color: var(--text3); letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 24px;
}
.marquee-track { display: flex; }
.marquee-inner {
  display: flex; gap: 52px; align-items: center;
  animation: marquee-scroll 28s linear infinite; flex-shrink: 0; padding-right: 52px;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.tool-item {
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap; flex-shrink: 0;
  opacity: 0.45; transition: opacity .2s; cursor: default;
}
.tool-item:hover { opacity: 1; }
.tool-logo { width: 26px; height: 26px; border-radius: 6px; object-fit: contain; }
.tool-name { font-size: 14px; font-weight: 600; color: var(--text2); }

/* ================================================================
   AGENCY INTRO (text left + hub diagram right)
================================================================ */
.agency-intro { padding: 100px 0; background: #fff; }
.agency-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.agency-text .section-sub { margin-bottom: 32px; }
.agency-visual { display: flex; justify-content: center; align-items: center; }

/* Hub & Spoke Diagram */
.hub-diagram {
  width: 380px; height: 380px; position: relative; flex-shrink: 0;
}
.hub-diagram svg { width: 100%; height: 100%; }

/* ================================================================
   INDUSTRIES TAG STRIP
================================================================ */
.industries-strip {
  padding: 20px 0; background: var(--bg2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.ind-inner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.ind-label {
  font-size: 11px; font-weight: 700; color: var(--text3);
  letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
}
.ind-sep { width: 1px; height: 20px; background: var(--border); flex-shrink: 0; }
.ind-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ind-tag {
  font-size: 12px; font-weight: 500; color: var(--text2);
  padding: 5px 14px; border-radius: 100px; border: 1px solid var(--border);
  background: var(--bg); transition: border-color .2s, color .2s, background .2s; cursor: default;
}
.ind-tag:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-lt); }

/* ================================================================
   HOW IT WORKS
================================================================ */
.how { padding: 100px 0; background: #fff; }
.how-header { text-align: center; margin-bottom: 64px; }
.how-header .section-label { display: inline-flex; }
.how-header .section-sub { margin: 16px auto 0; }
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.steps-grid::before {
  content: ''; position: absolute;
  top: 26px; left: calc(12.5% + 20px); right: calc(12.5% + 20px);
  height: 1px; background: linear-gradient(90deg, var(--orange), rgba(249,115,22,.2), var(--orange));
  z-index: 0;
}
.step { text-align: center; padding: 0 24px; position: relative; z-index: 1; }
.step-num-wrap {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; box-shadow: 0 0 0 6px rgba(249,115,22,.06);
}
.step-num {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 20px; color: var(--orange);
}
.step-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 16px; color: var(--text); margin-bottom: 8px;
}
.step-desc { font-size: 13px; color: var(--text2); line-height: 1.65; }

/* ================================================================
   SERVICES
================================================================ */
.services { padding: 100px 0; background: var(--bg2); }
.services-header { text-align: center; margin-bottom: 56px; }
.services-header .section-label { display: inline-flex; }
.services-header .section-sub { margin: 16px auto 0; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r16); padding: 28px; display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.svc-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.svc-flagship {
  grid-column: span 3;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
  background: linear-gradient(135deg, #fff 0%, var(--orange-lt) 100%);
  border-color: rgba(249,115,22,.22);
}
.svc-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--orange-lt); border: 1px solid rgba(249,115,22,.20);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.svc-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.svc-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 20px; color: var(--text); margin-bottom: 10px; letter-spacing: -0.2px;
}
.svc-desc { font-size: 14px; color: var(--text2); line-height: 1.65; margin-bottom: 16px; }
.svc-pill {
  display: inline-block; font-size: 11px; font-weight: 700;
  color: var(--orange); letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; background: var(--orange-lt);
  border: 1px solid rgba(249,115,22,.2); margin-top: auto;
}
.ff-list { display: flex; flex-direction: column; gap: 10px; }
.ff-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text2); }
.ff-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-lt); border: 1px solid rgba(34,197,94,.25);
  color: var(--green); font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}

/* ================================================================
   WORKFLOW AUTOMATION EXAMPLES GRID
================================================================ */
.workflows-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.wflow-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r16);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.wflow-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.wflow-card:hover {
  border-color: rgba(249,115,22,.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.wflow-card:hover::before { transform: scaleX(1); }
.wflow-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 13px;
  color: var(--text3); letter-spacing: 1px;
  text-transform: uppercase;
}
.wflow-icon { font-size: 26px; margin-bottom: 2px; }
.wflow-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 16px;
  color: var(--text); line-height: 1.3;
}
.wflow-desc {
  font-size: 13px; color: var(--text2);
  line-height: 1.7; flex: 1;
}
.wflow-desc em {
  font-style: italic; color: var(--text);
  background: var(--orange-lt); padding: 1px 5px;
  border-radius: 4px;
}
.wflow-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 4px;
}
.wflow-tag {
  font-size: 10px; font-weight: 600; color: var(--orange);
  background: var(--orange-lt); border: 1px solid rgba(249,115,22,.15);
  padding: 3px 10px; border-radius: 100px; letter-spacing: 0.3px;
}

@media (max-width: 1024px) {
  .workflows-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .workflows-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   WORKFLOW VISUAL (like the n8n mockup section)
================================================================ */
.workflow-section { padding: 100px 0; background: #fff; }
.workflow-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.workflow-text .section-sub { margin-bottom: 32px; }
.workflow-mockup {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r20); overflow: hidden; box-shadow: var(--shadow-md);
  position: relative;
}
.workflow-mockup-bar {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 12px 16px; display: flex; align-items: center; gap: 8px;
}
.wm-dots { display: flex; gap: 5px; }
.wm-dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.wm-dot-r { background: #FF5F57; }
.wm-dot-y { background: #FEBC2E; }
.wm-dot-g { background: #28C840; }
.wm-title {
  margin-left: 8px; font-size: 12px; font-weight: 500; color: var(--text3);
}
.wm-body { padding: 20px; }
.workflow-row {
  display: flex; align-items: stretch; gap: 0;
  position: relative; margin-bottom: 4px;
}
.wf-node {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; min-width: 80px; padding: 10px 8px;
  border-radius: var(--r8); border: 1px solid var(--border);
  background: var(--bg); font-size: 10px; text-align: center;
  position: relative; transition: border-color .2s;
  cursor: default;
}
.wf-node:hover { border-color: var(--orange); }
.wf-node-icon { font-size: 18px; }
.wf-node-label { font-size: 10px; font-weight: 600; color: var(--text); line-height: 1.2; }
.wf-node-sub { font-size: 9px; color: var(--text3); }
.wf-arrow {
  display: flex; align-items: center; padding: 0 4px;
  color: var(--text3); font-size: 14px; flex-shrink: 0;
}
.wf-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 100px; white-space: nowrap;
}
.wf-badge-green { background: var(--green-lt); color: var(--green); border: 1px solid rgba(34,197,94,.2); }
.wf-badge-orange { background: var(--orange-lt); color: var(--orange); border: 1px solid rgba(249,115,22,.2); }
.wf-badge-blue { background: rgba(59,130,246,.08); color: #3B82F6; border: 1px solid rgba(59,130,246,.2); }
.workflow-nodes {
  display: flex; flex-direction: column; gap: 8px;
}
.workflow-path {
  display: flex; align-items: center; gap: 6px; padding: 8px;
  background: var(--bg2); border-radius: var(--r8); border: 1px solid var(--border);
}
.wp-step {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; color: var(--text2);
}
.wp-step-icon {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--orange-lt); border: 1px solid rgba(249,115,22,.2);
  display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0;
}
.wp-arrow { color: var(--text3); font-size: 12px; flex-shrink: 0; }

/* ================================================================
   STATS / RESULTS BAR
================================================================ */
.results-bar { padding: 80px 0; background: var(--orange); position: relative; overflow: hidden; }
.results-bar::before {
  content: ''; position: absolute; top: -40%; right: -5%;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,0.06); pointer-events: none;
}
.results-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; position: relative; z-index: 1;
}
.result-item { text-align: center; }
.result-num {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 46px; color: #fff; line-height: 1; letter-spacing: -1px; margin-bottom: 6px;
}
.result-label { font-size: 13px; color: rgba(255,255,255,0.80); line-height: 1.45; }

/* ================================================================
   STATS STRIP
================================================================ */
.stats-strip { padding: 64px 0; background: #0F172A; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r16); overflow: hidden;
}
.stat-box {
  padding: 36px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background .2s;
}
.stat-box:last-child { border-right: none; }
.stat-box:hover { background: rgba(255,255,255,0.04); }
.stat-num {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 44px; color: var(--orange); line-height: 1;
  letter-spacing: -1px; margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: rgba(255,255,255,0.45); font-weight: 500; }

/* ================================================================
   TESTIMONIALS
================================================================ */
.testimonials { padding: 100px 0; background: var(--bg2); }
.testi-header { margin-bottom: 56px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r16); padding: 28px; display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.testi-card:hover { border-color: rgba(249,115,22,.3); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-stars { color: var(--orange); font-size: 15px; letter-spacing: 3px; margin-bottom: 16px; }
.testi-quote {
  font-size: 15px; color: var(--text2); line-height: 1.75;
  font-style: italic; flex: 1; margin-bottom: 24px;
}
.testi-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange-lt); border: 2px solid rgba(249,115,22,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 16px; color: var(--orange);
}
.testi-name { font-weight: 700; font-size: 14px; color: var(--text); }
.testi-role { font-size: 12px; color: var(--text3); margin-top: 2px; }

/* ================================================================
   INSIGHTS
================================================================ */
.insights { padding: 100px 0; background: var(--bg2); }
.insights-header { margin-bottom: 56px; }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.insight-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r16); overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.insight-card:hover { border-color: rgba(249,115,22,.3); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.insight-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--bg2) 0%, var(--orange-lt) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; border-bottom: 1px solid var(--border);
}
.insight-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.insight-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 8px;
}
.insight-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 16px; color: var(--text); line-height: 1.35; margin-bottom: 10px;
}
.insight-excerpt { font-size: 13px; color: var(--text2); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.insight-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text3);
}
.insight-read {
  font-size: 12px; font-weight: 700; color: var(--orange);
  display: flex; align-items: center; gap: 4px; transition: gap .2s;
}
.insight-card:hover .insight-read { gap: 8px; }
.insights-cta { text-align: center; }

/* ================================================================
   FAQ
================================================================ */
.faq { padding: 100px 0; background: #fff; }
.faq-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.faq-sticky { position: sticky; top: 90px; }
.faq-sticky .section-sub { margin-bottom: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  border: 1.5px solid var(--border); border-radius: var(--r12);
  overflow: hidden; transition: border-color .2s;
}
.faq-item.open { border-color: rgba(249,115,22,.3); }
.faq-q {
  width: 100%; text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; background: var(--bg); border: none;
  color: var(--text); font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 600; transition: background .2s;
}
.faq-q:hover { background: var(--bg3); }
.faq-arrow {
  width: 26px; height: 26px; border-radius: 50%; background: var(--bg2);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--orange); font-weight: 400; line-height: 1;
  transition: transform .3s, background .2s;
}
.faq-item.open .faq-q .faq-arrow { transform: rotate(45deg); background: var(--orange-lt); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
  background: var(--bg);
}
.faq-a-inner { padding: 0 20px 20px; font-size: 14px; color: var(--text2); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 400px; }

/* ================================================================
   PRICING
================================================================ */
.pricing { padding: 100px 0; background: #fff; }  /* white after dark stats = contrast pop */
.pricing-header { text-align: center; margin-bottom: 56px; }
.pricing-header .section-label { display: inline-flex; }
.pricing-header .section-sub { margin: 16px auto 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.price-card {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r16); padding: 32px; position: relative;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.price-card:hover { border-color: rgba(249,115,22,.3); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-popular { border-color: rgba(249,115,22,.4); background: linear-gradient(160deg, #fff 0%, var(--orange-lt) 100%); }
.price-popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 100px; white-space: nowrap;
}
.price-tier { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.price-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; color: var(--text); margin-bottom: 8px; }
.price-value {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: 44px; color: var(--text); line-height: 1; letter-spacing: -1px; margin: 16px 0 4px;
}
.price-value span { font-size: 20px; color: var(--text3); font-family: 'Inter', sans-serif; font-weight: 400; letter-spacing: 0; }
.price-desc { font-size: 13px; color: var(--text2); margin-bottom: 24px; }
.price-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 20px; }
.price-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-feat { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text2); }
.feat-check {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  background: var(--green-lt); border: 1px solid rgba(34,197,94,.25);
  color: var(--green); font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}

/* ================================================================
   CONTACT
================================================================ */
.contact { padding: 100px 0; background: var(--bg2); }  /* light gray to close */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-left .section-sub { margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--text2); }
.contact-icon {
  width: 40px; height: 40px; border-radius: var(--r8);
  background: var(--orange-lt); border: 1px solid rgba(249,115,22,.15);
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tbadge {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--text2);
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--bg);
}
.contact-form {
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--r16); padding: 36px; box-shadow: var(--shadow);
}
.form-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 20px; color: var(--text); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text2); letter-spacing: 0.5px; margin-bottom: 7px; text-transform: uppercase;
}
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: var(--r8); color: var(--text); font-size: 14px;
  font-family: 'Inter', sans-serif; padding: 12px 16px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text3); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.10);
}
.form-select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.form-textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; padding: 15px; background: var(--orange); color: #fff;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px;
  border: none; border-radius: var(--r8); cursor: pointer; margin-top: 4px;
  transition: background .2s, box-shadow .2s, transform .15s;
}
.btn-submit:hover { background: var(--orange-dk); box-shadow: var(--shadow-o); transform: translateY(-1px); }
.form-note { text-align: center; font-size: 12px; color: var(--text3); margin-top: 12px; }

/* ================================================================
   FOOTER
================================================================ */
.footer { background: var(--text); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.40); line-height: 1.75; margin-top: 14px; max-width: 260px; }
.footer-logo-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: #fff; letter-spacing: -0.3px; }
.footer-logo-name em { font-style: normal; color: var(--orange); }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.50); transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.07);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,.28); }
.footer-copy a { color: rgba(255,255,255,.45); text-decoration: underline; }
.footer-copy a:hover { color: var(--orange); }

/* ================================================================
   BACK TO TOP
================================================================ */
.back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: #fff; border: none; cursor: pointer;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-o); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .2s;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); }

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1024px) {
  .agency-inner { grid-template-columns: 1fr; gap: 48px; }
  .hub-diagram { width: 300px; height: 300px; margin: 0 auto; }
  .workflow-inner { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc-flagship { grid-column: span 2; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .results-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-box:nth-child(2) { border-right: none; }
  .stat-box:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.07); border-top: 1px solid rgba(255,255,255,0.07); }
  .stat-box:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.07); }
}
@media (max-width: 768px) {
  .nav-links, .nav-phone { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .hero {
    padding: 80px 0 60px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    min-height: auto;
  }
  .hero-inner {
    padding: 0 20px;
    text-align: center;
  }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); line-height: 1.1; }
  .hero-desc { font-size: 15px; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero-guarantee { font-size: 12px; }
  .services-grid, .testi-grid, .insights-grid, .pricing-grid { grid-template-columns: 1fr; }
  .svc-flagship { grid-column: span 1; grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .faq-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .faq-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .results-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns > * { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-box { border-right: none !important; border-top: 1px solid rgba(255,255,255,0.08); }
  .stat-box:first-child { border-top: none; }
  .results-grid { grid-template-columns: 1fr 1fr; }
}
