/* ==========================================
   RunOps Landing Page
   Dark + Electric Lime Brand
   ========================================== */

:root {
  --bg: #0A0A0A;
  --surface: #111111;
  --surface-2: #1A1A1A;
  --border: #222222;
  --text: #F0EFE9;
  --text-muted: #8A8A85;
  --accent: #BAFF39;
  --accent-dim: rgba(186, 255, 57, 0.08);
  --accent-glow: rgba(186, 255, 57, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  animation: pulse 6s ease-in-out infinite;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(186,255,57,0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(186,255,57,0.08) 0%, transparent 70%);
  bottom: 100px;
  left: 20%;
  animation-delay: 3s;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 48px 100px;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.label-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-headline {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 700px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 64px;
}

.pill {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  transition: border-color 0.2s, color 0.2s;
}

.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-workflow {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(186,255,57,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.workflow-arrow {
  color: rgba(186,255,57,0.3);
  flex-shrink: 0;
}

/* ---- SECTION SHARED ---- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- PIPELINE ---- */
.pipeline {
  padding: 120px 48px;
  border-bottom: 1px solid var(--border);
}

.pipeline-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.pipeline-stages {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr 32px 1fr;
  gap: 0;
  align-items: start;
}

.stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s;
}

.stage:hover {
  border-color: rgba(186,255,57,0.3);
}

.stage-number {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}

.stage h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.stage p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.stage-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
}

.stage-connector::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid rgba(186,255,57,0.25);
}

/* ---- AUTOMATIONS ---- */
.automations {
  padding: 120px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.automations-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.auto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.auto-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.auto-card:hover {
  border-color: rgba(186,255,57,0.3);
  transform: translateY(-4px);
}

.auto-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(186,255,57,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.auto-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.auto-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.pricing-note {
  text-align: center;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--accent-dim);
}

.pricing-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
}

.pricing-label {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-value {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
}

.pricing-unit {
  font-size: 20px;
  font-weight: 600;
}

.pricing-sub {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---- INDUSTRIES ---- */
.industries {
  padding: 120px 48px;
  border-bottom: 1px solid var(--border);
}

.industries-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.industry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.3s;
}

.industry-card:hover {
  border-color: rgba(186,255,57,0.3);
}

.industry-card-wide {
  grid-column: span 2;
}

.industry-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(186,255,57,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.industry-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.industry-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- CLOSING ---- */
.closing {
  position: relative;
  padding: 140px 48px;
  overflow: hidden;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(186,255,57,0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.closing-headline {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 28px;
}

.closing-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 64px;
  line-height: 1.7;
}

.closing-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  flex: 1;
  text-align: center;
}

.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 180px;
  margin: 0 auto;
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 48px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-label {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .pipeline-stages {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stage-connector { display: none; }

  .auto-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-card-wide {
    grid-column: span 2;
  }

  .closing-stats {
    flex-direction: column;
    gap: 32px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 80px 24px 60px;
  }

  .hero-headline {
    font-size: 40px;
  }

  .pipeline,
  .automations,
  .industries,
  .closing {
    padding: 80px 24px;
  }

  .auto-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .industry-card-wide {
    grid-column: span 1;
  }

  .hero-workflow {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .workflow-arrow {
    transform: rotate(90deg);
  }

  .footer {
    padding: 48px 24px 24px;
  }

  .footer-links {
    flex-direction: column;
    gap: 24px;
  }
}