/* ============================================================
   SPECTRA MEDIA AI — Business Automation landing
   Companion sheet to style.css (vars, nav, footer, faq, contact
   all come from there). Only landing-specific blocks live here.
   ============================================================ */

/* ---- SHARED SHELL ---- */
.auto-page { background: var(--bg); }

.auto-lang {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border: 1px solid var(--border);
  border-radius: 999px; font-size: 13px; font-weight: 500;
  color: var(--text-2); text-decoration: none;
  transition: var(--transition);
}
.auto-lang:hover { border-color: var(--border-hover); color: var(--text); }
.auto-lang img { width: 17px; height: 12px; border-radius: 2px; display: block; }

/* ---- HERO ---- */
.auto-hero {
  position: relative;
  padding: 150px 0 90px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.auto-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 12% 0%, var(--cyan-dim), transparent 70%),
    radial-gradient(620px 380px at 92% 12%, var(--blue-dim), transparent 70%);
  pointer-events: none;
}
.auto-hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.12fr 0.88fr;
  gap: 56px; align-items: center;
}

.auto-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px; margin-bottom: 26px;
  background: var(--cyan-dim); border: 1px solid rgba(14,127,176,0.2);
  border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--cyan);
}
.auto-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-glow);
}

/* Syne 800 runs ~0.875em per character. In this 614px column that caps a
   headline line at roughly 18 characters — keep the copy short or the
   forced breaks cascade into a six-line hero. */
.auto-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.1vw, 38px);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.03em;
  color: var(--text); margin-bottom: 20px;
}
.auto-hero-sub {
  font-size: 18px; line-height: 1.62; color: var(--text-2);
  max-width: 560px; margin-bottom: 32px;
}
.auto-hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px;
}
.auto-microcopy {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 13.5px; color: var(--text-3);
}
.auto-microcopy span { display: inline-flex; align-items: center; gap: 7px; }
.auto-microcopy b { color: var(--cyan); font-weight: 700; }

/* ---- HERO PANEL (flow) ---- */
.auto-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 24px 60px -22px rgba(15,23,42,0.22);
}
.auto-panel-head {
  display: flex; align-items: center; gap: 9px;
  padding-bottom: 16px; margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--text-2);
}
.auto-panel-head .live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,0.16);
  animation: autoPulse 2.4s ease-in-out infinite;
}
@keyframes autoPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,0.16); }
  50%      { box-shadow: 0 0 0 7px rgba(22,163,74,0.05); }
}

.flow-card {
  position: relative;
  padding: 15px 16px; margin-bottom: 10px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.flow-card:hover { border-color: var(--border-hover); transform: translateX(3px); }
.flow-card.is-active {
  background: var(--cyan-dim);
  border-color: rgba(14,127,176,0.28);
}
.flow-card .flow-label {
  display: block; margin-bottom: 5px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--cyan);
}
.flow-card strong {
  display: block; font-size: 15px; font-weight: 600;
  color: var(--text); margin-bottom: 4px;
}
.flow-card p { font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.flow-arrow {
  display: block; text-align: center; margin: -3px 0 7px;
  font-size: 13px; color: var(--text-3);
}

.auto-panel-foot {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px; line-height: 1.55; color: var(--text-2);
}
.auto-panel-foot strong { color: var(--text); font-weight: 600; }

/* ---- DOMAIN STRIP ---- */
.auto-strip {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 12px 26px;
  padding: 22px 24px;
  background: var(--bg-2); border-bottom: 1px solid var(--border);
  font-size: 13.5px; color: var(--text-2);
}
.auto-strip strong {
  font-size: 11px; font-weight: 700; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--text-3);
}
.auto-strip i { color: var(--cyan); font-style: normal; opacity: 0.45; }

/* ---- SECTIONS ---- */
.auto-section { padding: 100px 0; }
.auto-section.soft { background: var(--bg-2); }
.auto-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.auto-head.left { margin-left: 0; text-align: left; }
.auto-kicker {
  margin-bottom: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.11em;
  text-transform: uppercase; color: var(--cyan);
}
.auto-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.1vw, 42px);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 16px;
}
.auto-head p { font-size: 16.5px; line-height: 1.65; color: var(--text-2); }

/* ---- COST GRID (the drift) ---- */
.cost-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.cost-card {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.cost-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.cost-card.win { border-color: rgba(14,127,176,0.3); background: var(--cyan-dim); }
.cost-time {
  display: inline-block; margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text-3);
}
.cost-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; margin-bottom: 16px;
  border-radius: 50%;
  background: var(--bg-card-2); border: 1px solid var(--border);
  font-size: 16px; color: var(--text-2);
}
.cost-card.win .cost-mark {
  background: var(--cyan); border-color: var(--cyan); color: #fff;
}
.cost-card h3 {
  font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 9px;
}
.cost-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); }

/* ---- USE CASES ---- */
.uc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.uc-card {
  position: relative; overflow: hidden;
  padding: 30px 26px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.uc-card::after {
  content: ""; position: absolute; left: 0; top: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  transform: scaleY(0); transform-origin: top;
  transition: var(--transition);
}
.uc-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.uc-card:hover::after { transform: scaleY(1); }
.uc-num {
  display: block; margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 800; letter-spacing: 0.06em;
  color: var(--cyan); opacity: 0.75;
}
.uc-card h3 {
  font-size: 17.5px; font-weight: 700; color: var(--text); margin-bottom: 10px;
}
.uc-card p { font-size: 14.5px; line-height: 1.62; color: var(--text-2); }

/* ---- PROOF / SPLIT ---- */
.auto-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.auto-split-media {
  position: relative;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -26px rgba(15,23,42,0.28);
}
.auto-split-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
/* style.css caps width but not height, so the width/height attributes would
   otherwise fix the rendered height and defeat aspect-ratio. */
.auto-split h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 28px;
}
.auto-list { display: flex; flex-direction: column; gap: 22px; }
.auto-list-item { display: flex; gap: 15px; }
.auto-list-item .mark {
  flex-shrink: 0; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--cyan-dim); border: 1px solid rgba(14,127,176,0.22);
  font-size: 13px; color: var(--cyan);
}
.auto-list-item h3 {
  font-size: 16.5px; font-weight: 700; color: var(--text); margin-bottom: 6px;
}
.auto-list-item p { font-size: 14.5px; line-height: 1.62; color: var(--text-2); }

/* ---- METHOD TIMELINE ---- */
.method-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  counter-reset: step;
}
.method-step {
  position: relative;
  padding: 30px 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.method-step:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.method-step .step-n {
  display: grid; place-items: center;
  width: 34px; height: 34px; margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff; font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
}
.method-step h3 {
  font-size: 16.5px; font-weight: 700; color: var(--text); margin-bottom: 9px;
}
.method-step p { font-size: 14px; line-height: 1.6; color: var(--text-2); }
.method-step .step-out {
  display: block; margin-top: 12px; padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 12.5px; color: var(--text-3);
}
.method-step .step-out b { color: var(--cyan); font-weight: 600; }

/* ---- FOUNDER / TRUST ---- */
.founder-card {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: 48px; align-items: center;
  padding: 44px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.founder-photo {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
}
.founder-photo img { width: 100%; height: auto; display: block; aspect-ratio: 4/3; object-fit: cover; }
.founder-card h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 800; line-height: 1.14; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 16px;
}
.founder-card p {
  font-size: 15.5px; line-height: 1.68; color: var(--text-2); margin-bottom: 14px;
}
.founder-refs {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px;
}
.founder-refs a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px;
  background: var(--bg-card-2); border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--text);
  text-decoration: none; transition: var(--transition);
}
.founder-refs a:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---- CTA ---- */
.auto-cta { padding: 100px 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.auto-cta-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.auto-cta-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.1vw, 40px);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 18px;
}
.auto-cta-copy > p { font-size: 16.5px; line-height: 1.65; color: var(--text-2); }
.auto-promise {
  margin-top: 28px; padding: 22px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.auto-promise-title {
  margin-bottom: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--text-3);
}
.auto-promise li {
  list-style: none; display: flex; gap: 10px;
  padding: 7px 0;
  font-size: 14.5px; line-height: 1.55; color: var(--text-2);
}
.auto-promise li::before { content: "→"; color: var(--cyan); flex-shrink: 0; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .auto-hero-inner, .auto-split, .auto-cta-grid, .founder-card {
    grid-template-columns: 1fr; gap: 44px;
  }
  .auto-hero { padding: 130px 0 70px; }
  .cost-grid, .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-card { padding: 32px; }
}

@media (max-width: 640px) {
  .auto-section, .auto-cta { padding: 72px 0; }
  .cost-grid, .uc-grid, .method-grid { grid-template-columns: 1fr; }
  .auto-hero-actions .btn-primary, .auto-hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .auto-head { margin-bottom: 40px; }
  .founder-card { padding: 24px; }
}
