/* =====================
   TRENDDROP — THEME CSS
   ===================== */

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

:root {
  --bg: #0a0a0f;
  --bg-card: #111827;
  --bg-card-hover: #1a2235;
  --fg: #f0ebe3;
  --fg-muted: #9ca3af;
  --fg-subtle: #6b7280;
  --accent: #ff6b6b;
  --accent-dim: rgba(255, 107, 107, 0.12);
  --accent-glow: rgba(255, 107, 107, 0.35);
  --border: rgba(255,255,255,0.06);
  --border-accent: rgba(255,107,107,0.25);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(16px);
  z-index: 100;
}

.nav-brand { display: flex; align-items: center; gap: 0.6rem; }
.brand-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px var(--accent-glow); }
  50% { box-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(255,107,107,0.15); }
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 3rem 8rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,107,107,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,107,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 100%);
}

.signal-core {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,107,107,0.18) 0%, rgba(255,107,107,0.06) 40%, transparent 70%);
  border-radius: 50%;
  position: absolute;
}

.signal-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,107,107,0.2);
  animation: ring-expand 4s ease-out infinite;
}
.signal-ring-1 { width: 420px; height: 420px; animation-delay: 0s; }
.signal-ring-2 { width: 560px; height: 560px; animation-delay: 1.2s; border-color: rgba(255,107,107,0.1); }
.signal-ring-3 { width: 720px; height: 720px; animation-delay: 2.4s; border-color: rgba(255,107,107,0.06); }

@keyframes ring-expand {
  0% { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.15); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  text-align: left;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 3.5rem;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat { padding: 0 2rem; }
.stat:first-child { padding-left: 0; }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-subtle);
  margin-top: 0.2rem;
  line-height: 1.4;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* How It Works */
.how {
  padding: 8rem 3rem;
  border-top: 1px solid var(--border);
  position: relative;
}
.how::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.how-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.how-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 520px;
  margin-bottom: 5rem;
}

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

.step {
  padding: 2.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}
.step::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,107,107,0.2), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.step:hover::after { opacity: 1; }

.step-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.step-icon {
  color: var(--fg-muted);
  margin-bottom: 1.2rem;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}
.step-desc {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
}

.step-connector {
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  padding-top: 4.5rem;
}
.connector-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--border-accent), transparent);
}

/* Brief Generator */
.brief {
  padding: 8rem 3rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brief-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.brief-label, .watch-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.brief-headline, .watch-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.brief-desc, .watch-desc {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1rem;
}

.brief-card {
  background: var(--bg);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(255,107,107,0.06);
}
.brief-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--accent-dim);
}
.brief-card-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(255,107,107,0.2);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}
.brief-card-meta {
  font-size: 0.75rem;
  color: var(--fg-subtle);
}
.brief-card-body { padding: 1.5rem; }
.brief-section { display: flex; flex-direction: column; gap: 1.2rem; }
.brief-field { display: flex; flex-direction: column; gap: 0.3rem; }
.field-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}
.field-value {
  font-size: 0.875rem;
  color: var(--fg);
  line-height: 1.5;
}
.swatch {
  display: inline-block;
  width: 28px; height: 28px;
  border-radius: 6px;
  margin-right: 6px;
  vertical-align: middle;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Watch / Competitive Intelligence */
.watch {
  padding: 8rem 3rem;
  border-top: 1px solid var(--border);
}
.watch-header { max-width: 600px; margin-bottom: 4rem; }

.watch-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.watch-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.watch-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.watch-card-main {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, var(--bg-card), rgba(255,107,107,0.04));
}
.watch-card-main:hover { border-color: rgba(255,107,107,0.4); }

.watch-card-inner { padding: 2rem; }
.watch-card-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: 0.8rem;
}
.watch-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.watch-card-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-dot--rising { background: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,0.5); }
.status-dot--hot { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,0.5); }
.status-dot--nascent { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); animation: pulse-dot 2s ease-in-out infinite; }

.watch-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.watch-metric { display: flex; flex-direction: column; gap: 0.25rem; }
.metric-label { font-size: 0.65rem; color: var(--fg-subtle); }
.metric-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}
.metric-low { color: #4ade80; }
.metric-mid { color: #f59e0b; }

.watch-card-advice {
  font-size: 0.8rem;
  color: var(--fg-muted);
  line-height: 1.5;
  font-style: italic;
}

/* Manifesto */
.manifesto {
  padding: 8rem 3rem;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,107,107,0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.manifesto-quote-mark {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 2rem;
  display: block;
}
.manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 3rem;
}
.manifesto-rule {
  width: 48px; height: 2px;
  background: var(--accent);
  margin: 0 auto 2rem;
  opacity: 0.6;
}
.manifesto-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* Footer */
.footer {
  padding: 3rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--fg-subtle);
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--fg-subtle);
}
.footer-link-sep { color: var(--border); }

/* Hero Benefits */
.hero-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.hero-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
  font-weight: 300;
}
.hero-benefits li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.55rem;
  box-shadow: 0 0 8px var(--accent-glow);
}
.benefit-lead {
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
}

/* Hero CTA */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.75rem;
  background: var(--accent);
  color: #0a0a0f;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
  min-height: 44px;
}
.btn-primary:hover { opacity: 0.88; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, opacity 0.15s;
  min-height: 44px;
}
.btn-ghost:hover { background: var(--accent-dim); opacity: 0.88; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
  min-height: 44px;
}
.btn-secondary:hover { border-color: var(--border-accent); color: var(--fg); }

/* Closing CTA */
.closing-cta {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
  .how-steps { grid-template-columns: 1fr; gap: 1rem; }
  .step-connector { display: none; }
  .brief-layout { grid-template-columns: 1fr; gap: 3rem; }
  .watch-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 1.5rem 6rem; }
  .how, .brief, .watch, .manifesto { padding: 5rem 1.5rem; }
  .nav { padding: 1.25rem 1.5rem; }
  .nav-tagline { display: none; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .stat-divider { display: none; }
  .watch-card-metrics { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 2.5rem; }
  .manifesto-text { font-size: 1.2rem; }
  .brief-card-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}