/* =========================================
   OpForge Landing Page Styles
   Typography: Syne + DM Sans
   Palette: Forest Green, Ivory, Amber
   ========================================= */

:root {
  --bg-ivory: #FDFCF8;
  --bg-dark: #0B3D2E;
  --text-dark: #1a1a1a;
  --text-light: #FDFCF8;
  --text-muted: rgba(253,252,248,0.55);
  --accent: #D4943A;
  --accent-green: #0A5C3F;
  --border-light: rgba(253,252,248,0.12);
  --card-bg: #f4f2ee;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-ivory);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* =========================================
   NAV
   ========================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(11, 61, 46, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* =========================================
   HERO
   ========================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
  overflow: hidden;
}

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

.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,92,63,0.3) 0%, transparent 70%);
}

.bg-circle-1 {
  width: 600px; height: 600px;
  top: -200px; right: -100px;
}

.bg-circle-2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, rgba(212,148,58,0.08) 0%, transparent 70%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(253,252,248,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253,252,248,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.eyebrow-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.headline-accent {
  color: var(--accent);
}

.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-pricing {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  width: fit-content;
  background: rgba(253,252,248,0.04);
}

.pricing-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pricing-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,252,248,0.45);
}

.pricing-value {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-light);
}

.pricing-divider {
  width: 1px;
  height: 36px;
  background: var(--border-light);
}

/* Hero Visual - Automation Flow */
.hero-visual {
  display: flex;
  align-items: center;
}

.automation-flow {
  background: rgba(253,252,248,0.04);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(253,252,248,0.04);
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.node-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(10,92,63,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  flex-shrink: 0;
}

.node-icon-ai {
  background: rgba(212,148,58,0.15);
  color: var(--accent);
}

.node-icon-book {
  background: rgba(10,92,63,0.5);
  color: #4ade80;
}

.node-content {
  flex: 1;
  min-width: 0;
}

.node-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 2px;
}

.node-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.node-time {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(253,252,248,0.35);
}

.node-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(212,148,58,0.2);
  color: var(--accent);
  letter-spacing: 0.05em;
}

.node-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(74,222,128,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
}

.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  margin-left: 33px;
}

.connector-line {
  width: 1px;
  height: 20px;
  background: linear-gradient(to bottom, rgba(253,252,248,0.15), rgba(212,148,58,0.4));
}

.connector-arrow {
  color: var(--accent);
  opacity: 0.7;
}

.flow-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.meta-stat {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
}

.meta-sep {
  color: rgba(253,252,248,0.2);
  font-size: 12px;
}

/* =========================================
   MANIFESTO
   ========================================= */
.manifesto-section {
  background: var(--bg-ivory);
  padding: 100px 48px;
}

.manifesto-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.manifesto-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.manifesto-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.stat-highlight {
  color: var(--accent-green);
}

.manifesto-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  max-width: 680px;
  margin-bottom: 64px;
}

.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  padding: 32px;
  background: white;
  border: 1px solid #e8e4dd;
  border-radius: 10px;
}

.stat-number {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 42px;
  color: var(--accent-green);
  letter-spacing: -2px;
  margin-bottom: 10px;
}

.stat-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* =========================================
   SERVICES
   ========================================= */
.services-section {
  background: #f4f2ee;
  padding: 100px 48px;
}

.services-inner {
  max-width: 1000px;
  margin: 0 auto;
}

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

.services-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--text-dark);
  margin-bottom: 56px;
}

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

.service-card {
  padding: 36px;
  background: white;
  border: 1px solid #e8e4dd;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent-green);
  border-radius: 12px 0 0 12px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleY(1);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(10,92,63,0.08);
}

.service-icon {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: #f0ede8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  margin-bottom: 20px;
}

.service-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.service-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}

.service-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* =========================================
   PROOF
   ========================================= */
.proof-section {
  background: var(--accent-green);
  padding: 80px 48px;
}

.proof-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.proof-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(253,252,248,0.5);
  margin-bottom: 32px;
}

.proof-content {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-bottom: 40px;
}

.proof-stat-group {
  flex-shrink: 0;
}

.proof-big {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 80px;
  color: var(--text-light);
  letter-spacing: -4px;
  line-height: 1;
}

.proof-label-sm {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(253,252,248,0.6);
  margin-top: 8px;
}

.proof-divider {
  width: 1px;
  height: 80px;
  background: rgba(253,252,248,0.15);
}

.proof-quote-block {
  flex: 1;
}

.proof-quote {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(253,252,248,0.85);
  font-style: italic;
  margin-bottom: 10px;
}

.proof-attribution {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: rgba(253,252,248,0.4);
}

.proof-targets {
  padding-top: 32px;
  border-top: 1px solid rgba(253,252,248,0.1);
}

.target-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253,252,248,0.45);
  margin-bottom: 12px;
}

.target-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.target-chip {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(253,252,248,0.1);
  color: rgba(253,252,248,0.8);
  border: 1px solid rgba(253,252,248,0.12);
}

/* =========================================
   CLOSING
   ========================================= */
.closing-section {
  background: var(--bg-dark);
  padding: 100px 48px;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.closing-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #061e16;
  padding: 36px 48px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: rgba(253,252,248,0.35);
  margin-top: 6px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .manifesto-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .proof-content {
    flex-direction: column;
    gap: 28px;
  }

  .proof-divider {
    width: 60px;
    height: 1px;
  }

  nav,
  .hero-section,
  .manifesto-section,
  .services-section,
  .proof-section,
  .closing-section,
  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .hero-pricing {
    width: 100%;
    justify-content: space-between;
  }

  .proof-big {
    font-size: 60px;
  }
}