/* ScholarSync Landing Page Theme */
:root {
  --bg-primary: #08080f;
  --bg-secondary: #0f0f1a;
  --bg-card: #12121e;
  --accent: #c9a227;
  --accent-dim: rgba(201, 162, 39, 0.15);
  --accent-hover: #e0b830;
  --text-primary: #f0ece4;
  --text-secondary: #8a8a9a;
  --text-muted: #4a4a5a;
  --border: rgba(240, 236, 228, 0.08);
  --signal-green: #4ade80;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
}

.wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-primary);
}

/* Section base */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 4rem;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 420px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-tagline {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag-badge {
  padding: 0.35rem 0.85rem;
  background: var(--accent-dim);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Signal Feed */
.hero-visual {
  position: relative;
}

.signal-feed {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.signal-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}

.signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}

.signal-dot.active {
  background: var(--signal-green);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.signal-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.signal-items {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.signal-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.signal-item:last-child {
  border-bottom: none;
}

.signal-item.highlight {
  background: var(--accent-dim);
  margin: 0 -1.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
}

.signal-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: 'DM Mono', 'Courier New', monospace;
  padding-top: 0.1rem;
}

.signal-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.signal-item.highlight .signal-text {
  color: var(--text-primary);
}

.signal-footer {
  padding: 0.85rem 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.01);
}

/* How It Works */
.how-it-works {
  padding: 8rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.step {
  position: relative;
}

.step-number {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.step-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* Audience */
.audience {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.audience-card {
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.audience-card:hover {
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-4px);
}

.audience-icon {
  margin-bottom: 1.5rem;
}

.audience-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.audience-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* Closing */
.closing {
  padding: 10rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.closing-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.3;
}

.closing-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 4rem;
  font-weight: 300;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.closing-stats {
  display: flex;
  justify-content: center;
  gap: 5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.stat-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Footer */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

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

.footer-wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.35rem;
}

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

.footer-links {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

  .steps-grid,
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .closing-stats {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .section-title {
    margin-bottom: 3rem;
  }

  .how-it-works,
  .audience {
    padding: 5rem 0;
  }

  .closing {
    padding: 6rem 0;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.5rem;
  }

  .signal-item {
    grid-template-columns: 50px 1fr;
  }
}