/* AgentOps by Kensyd — Shared Design System */
/* Mobile-first. Cloudflare Pages. Version 1.0 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --color-bg:        #0F172A;
  --color-bg-alt:    #1E293B;
  --color-surface:   #FFFFFF;
  --color-text:      #F8FAFC;
  --color-text-muted:#94A3B8;
  --color-accent:    #F59E0B;
  --color-cta:       #EF4444;
  --color-cta-hover: #DC2626;
  --color-success:   #10B981;
  --color-border:    #334155;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-cta:  0 8px 32px rgba(239,68,68,0.35);

  --max-w: 1140px;
  --section-py: 80px;
  --section-py-sm: 48px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}
section { padding: var(--section-py-sm) 0; }
@media (min-width: 768px) { section { padding: var(--section-py) 0; } }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.headline-xl {
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.headline-lg {
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.headline-md {
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
}
.subheadline {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.accent { color: var(--color-accent); }
.highlight { color: var(--color-cta); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--color-cta);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--color-cta-hover);
  box-shadow: 0 12px 40px rgba(239,68,68,0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-bg);
}
.btn-accent:hover {
  background: #D97706;
  transform: translateY(-2px);
}

.btn-lg { padding: 20px 44px; font-size: 1.125rem; }
.btn-full { width: 100%; justify-content: center; }

/* Pulse animation for hero CTA */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
.btn-pulse { animation: pulse-ring 2s ease-out infinite; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,23,42,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--color-accent); }
.nav-cta { display: none; }
@media (min-width: 600px) { .nav-cta { display: inline-flex; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,158,11,0.12) 0%, transparent 70%),
              var(--color-bg);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}
.hero-headline { margin-bottom: 20px; }
.hero-subheadline { max-width: 600px; margin-bottom: 40px; }
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
@media (min-width: 500px) {
  .hero-cta-group { flex-direction: row; align-items: center; }
}
.hero-trust {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-trust::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
}

/* ============================================================
   STAT BAR
   ============================================================ */
.stat-bar {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 24px 0;
}
.stat-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  justify-content: center;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: 0.8rem; color: var(--color-text-muted); font-weight: 500; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .label { margin-bottom: 12px; }
.section-header .headline-lg { margin-bottom: 16px; }

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 640px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
}
.card-icon {
  width: 52px; height: 52px;
  background: rgba(245,158,11,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
  margin: 12px 0 8px;
}
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.65; }

/* ============================================================
   PROOF / TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 28px;
}
.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  color: var(--color-text);
}
.testimonial-author { font-weight: 700; font-size: 0.9rem; }
.testimonial-meta { font-size: 0.8rem; color: var(--color-text-muted); }

/* ============================================================
   GUARANTEE BADGE
   ============================================================ */
.guarantee-band {
  background: linear-gradient(135deg, #064E3B 0%, #065F46 100%);
  border-top: 2px solid var(--color-success);
  border-bottom: 2px solid var(--color-success);
  padding: 40px 0;
}
.guarantee-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
@media (min-width: 640px) {
  .guarantee-inner { flex-direction: row; text-align: left; }
}
.guarantee-badge {
  width: 96px; height: 96px;
  background: var(--color-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px rgba(16,185,129,0.2);
}
.guarantee-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-success);
  margin-bottom: 8px;
}
.guarantee-body { font-size: 0.95rem; color: rgba(255,255,255,0.8); max-width: 520px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding-bottom: 20px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #070E1A;
  border-top: 1px solid var(--color-border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.footer-logo span { color: var(--color-accent); }
.footer-tagline { font-size: 0.85rem; color: var(--color-text-muted); max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.9rem; color: var(--color-text-muted); }
.footer-links a:hover { color: var(--color-accent); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-8 { margin-top: 32px; }
.bg-alt { background: var(--color-bg-alt); }

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem;
}
.checklist li::before {
  content: '✓';
  color: var(--color-success);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--color-border);
  margin: 0 auto;
  max-width: var(--max-w);
}

/* Alert band */
.alert-band {
  background: rgba(239,68,68,0.1);
  border-bottom: 2px solid var(--color-cta);
  padding: 10px 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
}

/* VSL box */
.vsl-box {
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  overflow: hidden;
}

/* Form */
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-label { font-size: 0.875rem; font-weight: 600; color: var(--color-text); }
.form-input, .form-select {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--color-text);
  transition: border-color 0.15s ease;
  width: 100%;
}
.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}
.form-select option { background: var(--color-bg-alt); }
.form-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

/* Pain point list */
.pain-list { display: flex; flex-direction: column; gap: 12px; }
.pain-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius-md);
  padding: 16px;
}
.pain-icon { font-size: 1.5rem; flex-shrink: 0; }
.pain-text strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.pain-text span { font-size: 0.85rem; color: var(--color-text-muted); }

/* Process steps */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px; top: 48px;
  width: 2px; bottom: 0;
  background: var(--color-border);
}
.step-num {
  width: 40px; height: 40px;
  background: var(--color-accent);
  color: var(--color-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem;
  flex-shrink: 0;
}
.step-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.step-content p { font-size: 0.9rem; color: var(--color-text-muted); }

/* GHL embed placeholder */
.ghl-embed {
  width: 100%;
  min-height: 520px;
  border: none;
  border-radius: var(--radius-md);
}
