/* =========================================
   FlowOps Landing Page Theme
   Aesthetic: Dark editorial + electric accents
   ========================================= */

:root {
  --bg: #0A0A0A;
  --bg-alt: #111111;
  --bg-card: #161616;
  --fg: #F5F0E8;
  --fg-muted: #8A8680;
  --fg-dim: #4A4845;
  --accent: #C8F024;
  --accent-dim: #8AAF1A;
  --border: #2A2A2A;
  --border-light: #1E1E1E;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-mark {
  font-size: 1.2rem;
  color: var(--accent);
}
.logo-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 600px 400px at 70% 50%, rgba(200, 240, 36, 0.04) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--fg);
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-stats-row {
  display: flex;
  gap: 2.5rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.7rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  max-width: 120px;
  line-height: 1.4;
}

/* ---- AGENT DEMO CARD ---- */
.hero-visual { position: relative; z-index: 1; display: flex; justify-content: center; }
.agent-demo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(200, 240, 36, 0.08), 0 32px 64px rgba(0,0,0,0.6);
}
.demo-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
}
.demo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-dim);
}
.demo-dot.live {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 240, 36, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
.demo-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.demo-msg {
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 85%;
}
.demo-msg.user {
  background: var(--bg-alt);
  color: var(--fg-muted);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.demo-msg.agent {
  background: rgba(200, 240, 36, 0.08);
  border: 1px solid rgba(200, 240, 36, 0.15);
  color: var(--fg);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.demo-tag {
  align-self: center;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
}
.demo-tag.qualified {
  background: rgba(200, 240, 36, 0.12);
  color: var(--accent);
}

/* ---- PROOF SECTION ---- */
.proof-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2.5rem 2rem;
}
.proof-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.proof-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  white-space: nowrap;
}
.proof-types {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.proof-type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
  font-weight: 500;
}
.type-icon {
  font-size: 0.5rem;
  color: var(--accent);
}

/* ---- SECTION HEADERS ---- */
.section-header {
  margin-bottom: 3rem;
}
.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 600px;
}

/* ---- SERVICES ---- */
.services-section { padding: 6rem 2rem; }
.services-inner { max-width: 1200px; margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: var(--bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.2s;
}
.service-card:hover { background: var(--bg-alt); }
.service-icon {
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-body);
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.service-card p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}
.service-meta {
  font-size: 0.75rem;
  color: var(--fg-dim);
  font-weight: 500;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

/* ---- PROCESS ---- */
.process-section {
  padding: 6rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
}
.process-inner { max-width: 1200px; margin: 0 auto; }
.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
}
.process-step {
  flex: 1;
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
}
.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fg-dim);
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
  font-family: var(--font-body);
}
.step-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step-content p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}
.process-connector {
  width: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-connector::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--border);
  position: relative;
}
.process-connector::before {
  content: '\2192';
  position: absolute;
  font-size: 0.875rem;
  color: var(--fg-dim);
}

/* ---- PRICING ---- */
.pricing-section { padding: 6rem 2rem; }
.pricing-inner { max-width: 1200px; margin: 0 auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.pricing-card {
  background: var(--bg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.pricing-card.featured {
  background: var(--bg-alt);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 0 0 3px 3px;
}
.pricing-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.featured-badge { color: var(--accent); }
.pricing-price {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.price-setup {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.price-label {
  font-size: 0.7rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pricing-monthly {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.pricing-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}
.pricing-includes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
}
.pricing-includes span {
  font-size: 0.8rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pricing-clarity {
  text-align: center;
}
.pricing-clarity p {
  font-size: 0.85rem;
  color: var(--fg-dim);
}

/* ---- CLOSING ---- */
.closing-section {
  padding: 8rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
}
.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.closing-body {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-top: 1.5rem;
}
.cta-inner {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  background: var(--bg);
}
.cta-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.cta-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1rem;
}
.cta-sub {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ---- FOOTER ---- */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-light);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer .logo-mark, .footer .logo-name {
  display: inline;
}
.footer-tagline {
  font-size: 0.875rem;
  color: var(--fg-dim);
}
.footer-links {
  display: flex;
  gap: 2rem;
  font-size: 0.8rem;
  color: var(--fg-dim);
}
.footer-legal {
  font-size: 0.75rem;
  color: var(--fg-dim);
  margin-top: 0.5rem;
}

/* ---- MOBILE ---- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 6rem; }
  .hero-visual { display: none; }
  .hero-stats-row { flex-direction: column; gap: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; }
  .process-connector { display: none; }
  .closing-inner { grid-template-columns: 1fr; }
  .proof-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .proof-types { gap: 1rem; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  html { font-size: 15px; }
  .hero { padding: 5rem 1.25rem 3rem; }
  .services-section, .process-section, .pricing-section { padding: 4rem 1.25rem; }
  .closing-section { padding: 4rem 1.25rem; }
  .section-title { font-size: 1.75rem; }
}