/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #08080F;
  --surface: #111118;
  --surface-2: #1A1A24;
  --border: rgba(255,255,255,0.06);
  --accent: #F5A623;
  --accent-dim: rgba(245, 166, 35, 0.12);
  --accent-glow: rgba(245, 166, 35, 0.08);
  --text: #F0EEE8;
  --text-muted: rgba(240, 238, 232, 0.5);
  --text-dim: rgba(240, 238, 232, 0.25);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1200px;
  --radius: 8px;
  --radius-lg: 16px;
}

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

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

::selection { background: var(--accent); color: #000; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 2px; }

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(8, 8, 15, 0.8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ---- Section Commons ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

.section-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

/* ---- Hero ---- */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding: 80px 48px 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-content { max-width: 560px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
}

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

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

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.headline-accent {
  background: linear-gradient(135deg, #F5A623 0%, #E8901A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 48px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.4;
  max-width: 80px;
}

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

/* ---- Hero Visual ---- */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.network-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  max-width: 500px;
  opacity: 0.5;
  animation: drift 12s ease-in-out infinite alternate;
}

@keyframes drift {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-48%, -52%) scale(1.05); }
}

/* ---- Automation Widget ---- */
.automation-widget {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(245,166,35,0.1), inset 0 1px 0 rgba(255,255,255,0.05);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.widget-dots {
  display: flex;
  gap: 6px;
}

.widget-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface);
}

.widget-dots span:nth-child(1) { background: #FF5F57; }
.widget-dots span:nth-child(2) { background: #FFBD2E; }
.widget-dots span:nth-child(3) { background: #28C840; }

.widget-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.widget-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-line { margin-bottom: 4px; }

.flow-node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--text);
}

.flow-node--ai {
  background: rgba(245,166,35,0.08);
  border-color: rgba(245,166,35,0.3);
  box-shadow: 0 0 20px rgba(245,166,35,0.1);
}

.flow-arrow {
  display: flex;
  justify-content: center;
  padding: 4px 0 4px 42px;
}

.flow-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 42px;
  margin-bottom: 8px;
}

.sub-node {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.flow-complete {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(39, 174, 96, 0.08);
  border: 1px solid rgba(39, 174, 96, 0.2);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: #52D18C;
  margin-top: 4px;
}

.widget-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #52D18C;
  box-shadow: 0 0 0 0 rgba(82, 209, 140, 0.4);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(82, 209, 140, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(82, 209, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(82, 209, 140, 0); }
}

/* ---- Services ---- */
.services {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
}

.services .section-headline { margin-bottom: 64px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.2s;
}

.service-card:hover { background: var(--surface-2); }

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: var(--radius);
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- How It Works ---- */
.howitworks {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, rgba(245,166,35,0.02) 100%);
}

.howitworks-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.hiw-desc {
  margin-top: 20px;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.7;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hiw-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.hiw-step:first-child { padding-top: 0; }
.hiw-step:last-child { border-bottom: none; }

.step-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: -0.04em;
  line-height: 1;
  padding-top: 4px;
}

.step-content h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Pricing ---- */
.pricing {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
}

.pricing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.pricing-header { position: sticky; top: 100px; }

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 0 0 1px rgba(245,166,35,0.08);
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-setup {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

.price-sub {
  font-size: 1rem;
  color: var(--text-muted);
}

.price-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.price-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.price-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.price-includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-niche {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.niche-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

.niche-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.niche-tags span {
  padding: 4px 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.15);
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 500;
}

.pricing-cta {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cta-math {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.cta-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---- Tier Pricing Grid ---- */
.pricing-subhead {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.tier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow 0.2s;
}

.tier-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.tier-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 24px rgba(245,166,35,0.12);
  position: relative;
}

.tier-card--agency {
  border-color: var(--border);
  background: var(--surface);
}

.tier-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(245,166,35,0.15);
  color: var(--accent);
  border: 1px solid rgba(245,166,35,0.3);
  margin-bottom: 12px;
  width: fit-content;
}

.tier-badge--agency {
  background: rgba(100,116,139,0.1);
  color: var(--text-muted);
  border-color: rgba(100,116,139,0.2);
}

.tier-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 6px;
}

.tier-amount {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

.tier-period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tier-tagline {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.5;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  flex: 1;
}

.tier-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.tier-cta {
  display: block;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  margin-top: auto;
}

.tier-cta:hover {
  background: var(--bg);
  border-color: var(--accent);
  color: var(--accent);
}

.tier-cta--featured {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.tier-cta--featured:hover {
  background: #e09010;
  border-color: #e09010;
  color: #000;
}

@media (max-width: 1200px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing { padding: 80px 24px; }
  .pricing-inner { gap: 40px; }
}

/* ---- Manifesto ---- */
.manifesto {
  padding: 120px 48px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, rgba(245,166,35,0.015) 100%);
}

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

.manifesto-mark {
  margin-bottom: 40px;
}

.manifesto-quote {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 28px;
  font-style: italic;
}

.manifesto-attr {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Closing ---- */
.closing {
  padding: 120px 48px 160px;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 760px;
  margin: 0 auto 24px;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.closing-vision {
  max-width: 600px;
  margin: 0 auto;
  padding: 24px 32px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,166,35,0.12);
  border-radius: var(--radius-lg);
}

.closing-vision p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .howitworks-inner { grid-template-columns: 1fr; gap: 48px; }
  .pricing-inner { grid-template-columns: 1fr; }
  .pricing-header { position: static; }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 60px 24px 80px; }
  .hero-headline { font-size: 2.8rem; }
  .services { padding: 80px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .howitworks { padding: 80px 24px; }
  .pricing { padding: 80px 24px; }
  .manifesto { padding: 80px 24px; }
  .closing { padding: 80px 24px 120px; }
  .footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .price-setup { font-size: 2.5rem; }
}