/* =========================================
   SYLLABUS — CSS THEME
   Dark mission-control aesthetic
   ========================================= */

:root {
  --bg: #060810;
  --surface: #0D1117;
  --surface-raised: #111827;
  --border: #1A2332;
  --border-light: #1E2D3D;
  --accent: #00E5FF;
  --accent-dim: rgba(0, 229, 255, 0.12);
  --accent-glow: rgba(0, 229, 255, 0.06);
  --mint: #10B981;
  --amber: #F59E0B;
  --text: #E8ECF0;
  --text-muted: #7A8FA6;
  --text-faint: #4A5568;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

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

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

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

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 40%, rgba(0, 229, 255, 0.04) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--accent); }
  50% { opacity: 0.5; box-shadow: 0 0 4px var(--accent); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 24px;
}

.headline-accent {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.3);
}

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

.hero-actions {
  margin-bottom: 16px;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #060810;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: #33EAFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 229, 255, 0.25);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-faint);
}

/* ---- INTELLIGENCE DISPLAY ---- */
.intelligence-display {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  font-family: var(--font-body);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.intel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.intel-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.intel-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0, 229, 255, 0.15);
  color: var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
  animation: pulse-dot 2s ease-in-out infinite;
}

.intel-sources {
  margin-bottom: 16px;
}

.intel-sources:last-child {
  margin-bottom: 0;
}

.source-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.source-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.source-status {
  font-size: 0.7rem;
  color: var(--text-faint);
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--surface-raised);
}

.status-updated { }

.status-new {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
}

.change-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 6px;
}

.change-tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  margin-bottom: 6px;
}

.change-tag.pricing { background: rgba(0, 229, 255, 0.12); color: var(--accent); }
.change-tag.product { background: rgba(16, 185, 129, 0.12); color: var(--mint); }
.change-tag.messaging { background: rgba(167, 139, 250, 0.12); color: #A78BFA; }
.change-tag.alert { background: rgba(245, 158, 11, 0.12); color: var(--amber); }

.change-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

/* ---- FEATURES ---- */
.features {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--surface);
  padding: 40px 36px;
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--surface-raised);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- HOW ---- */
.how {
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

.how-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.steps-row {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.step {
  text-align: center;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.step-connector::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-light), transparent);
}

/* ---- OUTCOMES ---- */
.outcomes {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
}

.outcome-item {
  background: var(--surface);
  padding: 40px 32px;
  text-align: center;
}

.outcome-stat {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.25);
}

.outcome-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.outcomes-testimonial {
  text-align: center;
}

.testimonial-quote {
  max-width: 640px;
  margin: 0 auto;
}

.testimonial-quote p {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
}

.attribution-name {
  font-size: 0.8rem;
  color: var(--text-faint);
  font-style: normal;
}

/* ---- CLOSER ---- */
.closer {
  position: relative;
  padding: 120px 40px;
  overflow: hidden;
  text-align: center;
}

.closer-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 40%, transparent 100%);
}

.closer-content {
  position: relative;
  z-index: 1;
}

.closer-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 500px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.closer-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 20px;
}

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

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

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

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

.footer-meta {
  font-size: 0.78rem;
  color: var(--text-faint);
}

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

  .hero-left {
    text-align: center;
  }

  .hero-sub {
    max-width: 100%;
  }

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

  .steps-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step-connector { display: none; }

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

@media (max-width: 600px) {
  .hero { padding: 100px 0 60px; }
  .hero-content { padding: 0 24px; }
  .features, .how, .outcomes { padding: 60px 24px; }
  .closer { padding: 80px 24px; }
  .footer { padding: 24px; }

  .intelligence-display { display: none; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}