/* ============================================
   MVO AUTOMATION / CUSTOM SOFTWARE PAGE — LIGHT THEME (scoped)
   Loaded AFTER styles.css. Reuses brand tokens.
   Rebuilt around the outcome-first spec: cut costs, grow revenue,
   faster team. All-light to match the rest of getmvo.com.
   ============================================ */

.automation-page {
  background: var(--bg-primary);
  color: var(--text-body);
}

/* Reveal fallback (script.js drives the toggle via IntersectionObserver) */
.automation-page .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.automation-page .reveal.visible { opacity: 1; transform: translateY(0); }
.automation-page .reveal-delay-1 { transition-delay: .10s; }
.automation-page .reveal-delay-2 { transition-delay: .20s; }
.automation-page .reveal-delay-3 { transition-delay: .30s; }
.automation-page .reveal-delay-4 { transition-delay: .40s; }
.automation-page .reveal-delay-5 { transition-delay: .50s; }

/* ============================================
   SHARED BUTTONS / TYPOGRAPHY / SECTIONS
   ============================================ */
.auto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all .25s ease;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.auto-btn-primary {
  background: linear-gradient(135deg, var(--accent-orange), #FB923C);
  color: #fff;
  box-shadow: 0 8px 24px rgba(249,115,22,0.22);
}
.auto-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(249,115,22,0.34);
}
.auto-btn-secondary {
  background: #fff;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.auto-btn-secondary:hover {
  border-color: rgba(249,115,22,0.4);
  background: #FFF7ED;
  color: var(--accent-orange);
}
.auto-btn-lg { padding: 18px 38px; font-size: 16px; }
.auto-btn-block { width: 100%; }

.auto-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-orange);
  display: inline-block;
  margin-bottom: 14px;
}

.auto-section {
  padding: 120px 0;
  position: relative;
}
.auto-section-alt { background: var(--bg-secondary); }

.auto-section-header { max-width: 720px; margin-bottom: 64px; }
.auto-section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.auto-section-header.left { margin-bottom: 48px; }

.auto-section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
}
.auto-section-title .accent { color: var(--accent-orange); }
.auto-section-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-top: 16px;
}
.auto-section-header.center .auto-section-sub { margin-left: auto; margin-right: auto; }

/* number color helpers */
.auto-pos { color: #16A34A; }      /* positive / savings green */

/* ============================================
   SECTION 1 — HERO
   ============================================ */
.auto-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}
.auto-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 760px 560px at 80% 26%, rgba(249,115,22,0.10), transparent 62%),
    radial-gradient(ellipse 520px 420px at 8% 88%, rgba(249,115,22,0.05), transparent 60%);
  pointer-events: none;
}
.auto-hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  /* .auto-hero is a flex row: without these the grid sizes to its content and
     runs past a 360px screen (longer PT/ES headlines made it scroll sideways). */
  width: 100%;
  min-width: 0;
}
.auto-hero .container > * { min-width: 0; }
.auto-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: #FFF7ED;
  border: 1px solid rgba(249,115,22,0.18);
  color: var(--accent-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.auto-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.6vw, 4.1rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.auto-hero-headline .hl-accent {
  position: relative;
  color: var(--accent-orange);
  white-space: nowrap;
}
/* drawn underline under each benefit phrase */
.auto-hero-headline .hl-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.02em;
  height: 0.10em;
  width: 100%;
  background: rgba(249,115,22,0.28);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: auto-underline .7s cubic-bezier(.22,.61,.36,1) forwards;
}
.auto-hero-headline .hl-accent:nth-of-type(1)::after { animation-delay: .5s; }
.auto-hero-headline .hl-accent:nth-of-type(2)::after { animation-delay: .75s; }
.auto-hero-headline .hl-accent:nth-of-type(3)::after { animation-delay: 1s; }
@keyframes auto-underline { to { transform: scaleX(1); } }

.auto-hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 500px;
  margin-top: 24px;
}
.auto-hero-support {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-tertiary);
  max-width: 480px;
  margin-top: 12px;
}
.auto-hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.auto-hero-trust {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px 28px;
  margin-top: 38px;
}
.auto-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ===== HERO VISUAL — outcome orbit (all-light) ===== */
.auto-orbit-wrap { position: relative; }
.auto-orbit {
  position: relative;
  height: 520px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 46%, rgba(249,115,22,0.08), transparent 58%),
    radial-gradient(circle, rgba(17,17,19,0.045) 1px, transparent 1.6px) 0 0 / 26px 26px,
    #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.auto-orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.auto-orbit-lines path {
  fill: none;
  stroke: rgba(249,115,22,0.30);
  stroke-width: 1.5;
}
.auto-orbit-lines .flow {
  stroke: rgba(249,115,22,0.85);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 5 9;
  animation: auto-orbit-flow 1.4s linear infinite;
}
@keyframes auto-orbit-flow { to { stroke-dashoffset: -28; } }

.auto-orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  border-radius: 26px;
  background: linear-gradient(150deg, #fff, #FFF7ED);
  border: 1px solid rgba(249,115,22,0.30);
  box-shadow: 0 18px 44px -12px rgba(249,115,22,0.45), inset 0 0 0 1px rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  animation: auto-core-pulse 3.4s ease-in-out infinite;
}
.auto-orbit-core img { width: 60px; height: 60px; object-fit: contain; }
@keyframes auto-core-pulse {
  0%, 100% { box-shadow: 0 18px 44px -12px rgba(249,115,22,0.40), inset 0 0 0 1px rgba(255,255,255,0.6); }
  50%      { box-shadow: 0 18px 60px -10px rgba(249,115,22,0.60), inset 0 0 0 1px rgba(255,255,255,0.7); }
}

.auto-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  box-shadow: 0 8px 22px -8px rgba(0,0,0,0.16);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  z-index: 4;
}
.auto-chip i {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent-orange); flex-shrink: 0;
}
.auto-chip-c1 { top: 11%;  left: 50%; transform: translateX(-50%); }
.auto-chip-c2 { top: 30%;  right: 4%; }
.auto-chip-c3 { bottom: 28%; right: 5%; }
.auto-chip-c4 { bottom: 11%; left: 50%; transform: translateX(-50%); }
.auto-chip-c5 { top: 31%;  left: 4%; }
/* the "live" chip ticks green */
.auto-chip--live i { animation: auto-chip-live 4s ease-in-out infinite; }
.auto-chip--live .auto-chip-plus {
  color: #16A34A; font-weight: 700; opacity: 0;
  animation: auto-chip-plus 4s ease-in-out infinite;
}
@keyframes auto-chip-live {
  0%, 60%, 100% { background: var(--accent-orange); }
  70%, 90%      { background: #22C55E; box-shadow: 0 0 0 4px rgba(34,197,94,0.18); }
}
@keyframes auto-chip-plus {
  0%, 62%, 100% { opacity: 0; transform: translateY(2px); }
  72%, 88%      { opacity: 1; transform: translateY(0); }
}
.auto-orbit-caption {
  position: absolute;
  bottom: 16px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.3px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ============================================
   SECTION 2 — THE PROBLEM (three hidden costs)
   ============================================ */
.auto-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.auto-problem-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 34px 30px 32px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.auto-problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}
.auto-problem-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 1px;
}
.auto-problem-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: rgba(249,115,22,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--accent-orange);
}
.auto-problem-title {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 12px;
}
.auto-problem-body {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.auto-problem-lead {
  max-width: 760px;
  margin-bottom: 44px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
}

/* ============================================
   SECTION 3 — WHAT WE BUILD (3 pillars, zig-zag)
   ============================================ */
.auto-pillars { display: flex; flex-direction: column; gap: 96px; }
.auto-pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.auto-pillar:nth-child(even) .auto-pillar-text { order: 2; }
.auto-pillar:nth-child(even) .auto-pillar-visual { order: 1; }

.auto-pillar-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-orange);
  background: #FFF7ED;
  border: 1px solid rgba(249,115,22,0.18);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.auto-pillar-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.auto-pillar-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* shared visual panel */
.auto-viz {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 28px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.auto-viz-tag {
  position: absolute;
  top: 18px; left: 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* CUT COSTS visual — stacked subscriptions collapse into one owned system */
.auto-cost-subs { display: flex; flex-direction: column; gap: 9px; margin: 14px 0 18px; }
.auto-cost-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--text-body);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.auto-cost-sub .price { font-weight: 600; color: var(--text-secondary); }
.auto-cost-sub s { color: var(--text-tertiary); text-decoration-color: rgba(249,115,22,0.7); }
.auto-cost-arrow {
  text-align: center;
  color: var(--accent-orange);
  font-size: 20px;
  line-height: 1;
  margin: 2px 0 14px;
}
.auto-cost-owned {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(135deg, #fff, #F0FDF4);
  border: 1px solid rgba(22,163,74,0.30);
  border-radius: 12px;
  box-shadow: 0 10px 26px -10px rgba(22,163,74,0.30);
}
.auto-cost-owned-name { font-weight: 600; color: var(--text-primary); font-size: 14.5px; }
.auto-cost-owned-sub { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.auto-cost-owned-price {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #16A34A;
  line-height: 1;
}

/* GROW REVENUE visual — pipeline catches leads, revenue ticks up */
.auto-rev-flow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0 20px; }
.auto-rev-step {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.auto-rev-step span { display: block; font-size: 10.5px; font-weight: 500; color: var(--text-tertiary); margin-top: 3px; }
.auto-rev-arrow { color: var(--accent-orange); font-weight: 700; flex-shrink: 0; }
.auto-rev-meter {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 22px -12px rgba(0,0,0,0.14);
}
.auto-rev-meter-label { font-size: 13px; color: var(--text-secondary); }
.auto-rev-meter-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: #16A34A;
  line-height: 1;
}

/* BOOST PRODUCTIVITY visual — manual tasks drain, hours saved climb */
.auto-prod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 18px; }
.auto-prod-col-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-tertiary); margin-bottom: 10px;
}
.auto-prod-task {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.auto-prod-task--done { color: var(--text-tertiary); text-decoration: line-through; opacity: 0.7; }
.auto-prod-task--free {
  border-color: rgba(22,163,74,0.3);
  background: linear-gradient(135deg,#fff,#F0FDF4);
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  opacity: 1;
}
.auto-prod-meter {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 8px 22px -12px rgba(0,0,0,0.14);
}
.auto-prod-meter-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--accent-orange);
  line-height: 1;
}
.auto-prod-meter-label { font-size: 12.5px; color: var(--text-secondary); margin-top: 4px; }

/* ============================================
   500+ INTEGRATIONS SHOWCASE (tabs + grid)
   ============================================ */
.auto-int-block { margin-top: 96px; }
.auto-int-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}
.auto-int-tab {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-body);
  background: #fff;
  border: 1px solid var(--border-subtle);
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
  font-family: var(--font-body);
}
.auto-int-tab:hover {
  border-color: rgba(249,115,22,0.4);
  color: var(--accent-orange);
}
.auto-int-tab.is-active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
}
.auto-int-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.auto-int-card {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all .25s ease;
  min-height: 92px;
  justify-content: center;
}
.auto-int-card:hover {
  border-color: rgba(249,115,22,0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.12);
}
.auto-int-card img { width: 36px; height: 36px; object-fit: contain; display: block; }
.auto-int-card span { font-size: 12px; font-weight: 500; color: var(--text-body); }
.auto-int-foot {
  text-align: center;
  margin-top: 36px;
  font-size: 15px;
  color: var(--text-secondary);
}
.auto-int-foot a { color: var(--accent-orange); font-weight: 600; }
.auto-int-foot a:hover { color: var(--accent-orange-hover); }

/* ============================================
   SECTION 4 — HOW IT WORKS (3 steps)
   ============================================ */
.auto-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
/* connecting line behind the markers (desktop) */
.auto-steps::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, rgba(249,115,22,0.35), rgba(249,115,22,0.15));
  z-index: 0;
}
.auto-step { position: relative; z-index: 1; text-align: left; }
.auto-step-marker {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(249,115,22,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 22px;
  box-shadow: 0 8px 24px -10px rgba(249,115,22,0.4);
  position: relative;
}
.auto-step-marker::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(249,115,22,0.18);
  animation: auto-marker-ring 2.6s ease-in-out infinite;
}
@keyframes auto-marker-ring {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.12); opacity: 0; }
}
.auto-step-title {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.auto-step-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 320px;
}

/* ============================================
   SECTION 5 — THE RETURN (3 columns)
   ============================================ */
.auto-return {
  position: relative;
  background:
    radial-gradient(ellipse 700px 420px at 50% 0%, rgba(249,115,22,0.07), transparent 60%),
    var(--bg-secondary);
}
.auto-return-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.auto-return-col {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 34px 30px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.auto-return-col:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}
.auto-return-icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: rgba(249,115,22,0.08);
  color: var(--accent-orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.auto-return-stat {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.auto-return-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.auto-return-body {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.auto-return-close {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary);
}
.auto-return-close .accent { color: var(--accent-orange); }

/* ============================================
   SECTION 6 — WHO THIS IS FOR
   ============================================ */
.auto-who-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.auto-who-chip {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  background: #fff;
  border: 1px solid var(--border-subtle);
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}
.auto-who-chip:hover {
  border-color: var(--border-accent);
  color: var(--accent-orange);
  transform: translateY(-2px);
}
.auto-who-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  max-width: 880px;
}
.auto-who-quote em { font-style: italic; color: var(--accent-orange); }

/* dashboard showcase (tabbed) */
.auto-dash { margin-top: 56px; }
.auto-dash-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.auto-dash-tab {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid var(--border-subtle);
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s ease;
}
.auto-dash-tab:hover {
  border-color: var(--border-accent);
  color: var(--accent-orange);
}
.auto-dash-tab.is-active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(249,115,22,0.45);
}

/* image frame with soft orange-tinted shadow behind it */
.auto-dash-frame {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  box-shadow:
    0 40px 90px -30px rgba(249,115,22,0.35),
    0 24px 60px -24px rgba(17,17,19,0.22);
}
/* glow wash behind the frame */
.auto-dash-frame::before {
  content: '';
  position: absolute;
  inset: 8% 6% -6% 6%;
  z-index: -1;
  border-radius: var(--radius-xl);
  background: radial-gradient(ellipse at 50% 50%, rgba(249,115,22,0.28), transparent 70%);
  filter: blur(36px);
}
.auto-dash-frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
/* scoped to beat `.auto-dash-frame img` specificity so only the active image shows */
.auto-dash-frame img.auto-dash-img { display: none; }
.auto-dash-frame img.auto-dash-img.is-active { display: block; }

/* team presentation */
.auto-team {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.auto-team-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.auto-team-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 440px;
}
.auto-team-frame {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  box-shadow:
    0 40px 90px -30px rgba(249,115,22,0.35),
    0 24px 60px -24px rgba(17,17,19,0.22);
}
.auto-team-frame::before {
  content: '';
  position: absolute;
  inset: 8% 6% -6% 6%;
  z-index: -1;
  border-radius: var(--radius-xl);
  background: radial-gradient(ellipse at 50% 50%, rgba(249,115,22,0.28), transparent 70%);
  filter: blur(36px);
}
.auto-team-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
@media (max-width: 1024px) {
  .auto-team { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================
   SECTION 7 — RESULTS / PROOF
   ============================================ */
.auto-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.auto-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 40px 32px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.auto-result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}
.auto-result-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  color: var(--accent-orange);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}
.auto-result-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.auto-results-note {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ============================================
   SECTION 8 — PRICING / ENGAGEMENT MODEL
   ============================================ */
.auto-engage {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(180deg, #fff 0%, #FFFBF6 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 48px;
}
.auto-engage-blocks {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 36px;
}
.auto-engage-block {
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.auto-engage-block h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 10px;
}
.auto-engage-block .auto-engage-head {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.25;
}
.auto-engage-block p { font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.auto-engage-connect {
  font-size: 26px;
  color: var(--accent-orange);
  text-align: center;
}
.auto-engage-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFF7ED;
  border: 1px solid rgba(249,115,22,0.20);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.auto-engage-badge svg { color: var(--accent-orange); flex-shrink: 0; }
.auto-engage-cta { text-align: center; }

/* ============================================
   SECTION 9 — FAQ (reuses styles.css .faq-* ; light accent on open)
   ============================================ */
.auto-faq-wrap { max-width: 800px; margin: 0 auto; }
.auto-faq-wrap .faq-item { transition: border-color .25s ease; }
.auto-faq-wrap .faq-item.active .faq-question { color: var(--accent-orange); }

/* ============================================
   SECTION 10 — FINAL CTA (light orange-glow climax)
   ============================================ */
.auto-final-cta {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 760px 520px at 50% 12%, rgba(249,115,22,0.16), transparent 62%),
    radial-gradient(ellipse 520px 380px at 50% 100%, rgba(249,115,22,0.08), transparent 60%),
    var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}
.auto-final-cta .container { position: relative; z-index: 1; }
.auto-final-cta-inner { max-width: 780px; margin: 0 auto; }
.auto-final-cta-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.auto-final-cta-title .accent { color: var(--accent-orange); }
.auto-final-cta-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
}
.auto-final-cta .auto-btn-primary { box-shadow: 0 14px 40px rgba(249,115,22,0.35); }
.auto-final-reassure {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-tertiary);
  letter-spacing: 0.3px;
}

/* ============================================
   STICKY BOTTOM CTA BAR
   ============================================ */
.auto-sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -6px 28px -12px rgba(0,0,0,0.18);
  transform: translateY(120%);
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.auto-sticky-cta.is-visible { transform: translateY(0); }
.auto-sticky-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.auto-sticky-text { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.auto-sticky-cta .auto-btn { padding: 11px 22px; font-size: 14px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .auto-hero .container { grid-template-columns: 1fr; gap: 48px; }
  .auto-problem-grid { grid-template-columns: 1fr; }
  .auto-pillar,
  .auto-pillar:nth-child(even) .auto-pillar-text,
  .auto-pillar:nth-child(even) .auto-pillar-visual { grid-template-columns: 1fr; order: 0; }
  .auto-pillar { grid-template-columns: 1fr; gap: 32px; }
  .auto-return-grid { grid-template-columns: 1fr; }
  .auto-results-grid { grid-template-columns: 1fr; }
  .auto-engage-blocks { grid-template-columns: 1fr; }
  .auto-engage-connect { transform: rotate(90deg); }
  .auto-steps { grid-template-columns: 1fr; gap: 36px; }
  .auto-steps::before { display: none; }
  .auto-int-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .auto-section { padding: 84px 0; }
  .auto-int-grid { grid-template-columns: repeat(3, 1fr); }
  .auto-hero { padding: 124px 0 64px; min-height: auto; }
  .auto-hero-trust { grid-template-columns: 1fr; }
  .auto-hero-cta { flex-direction: column; align-items: stretch; }
  .auto-hero-cta .auto-btn { width: 100%; }
  .auto-orbit { height: 420px; }
  .auto-engage { padding: 32px 22px; }
  .auto-sticky-text { display: none; }
  .auto-sticky-cta .container { justify-content: center; }
  .auto-sticky-cta .auto-btn { width: 100%; }
}

@media (max-width: 480px) {
  .auto-int-grid { grid-template-columns: repeat(2, 1fr); }
  .auto-orbit { height: 360px; }
  .auto-chip { font-size: 11px; padding: 7px 11px; }
  .auto-orbit-core { width: 86px; height: 86px; }
  .auto-orbit-core img { width: 46px; height: 46px; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  .automation-page .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .auto-hero-headline .hl-accent::after { animation: none; transform: scaleX(1); }
  .auto-orbit-lines .flow,
  .auto-core-pulse,
  .auto-orbit-core,
  .auto-chip--live i,
  .auto-chip--live .auto-chip-plus,
  .auto-step-marker::after,
  .auto-marquee-track { animation: none !important; }
  .auto-chip--live .auto-chip-plus { opacity: 1; }
}

/* Small phones: the longer Portuguese/Spanish copy must wrap instead of pushing
   the page sideways. Grid tracks may shrink below their content, accent phrases
   and buttons may break onto two lines, and the lead-flow steps share the row. */
.auto-pillar > * { min-width: 0; }
.auto-rev-step { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .auto-hero-headline .hl-accent { white-space: normal; }
  .auto-btn { white-space: normal; line-height: 1.25; text-align: center; }
}
