:root {
  --bg: #0c0a0d;
  --bg-alt: #161217;
  --text: #f7f1ee;
  --text-muted: #a89ca0;
  --accent: #ff5b3d;
  --accent-hover: #ff7c5c;
  --accent-2: #ffb648;
  --border: #2a2226;
  --radius: 12px;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }

/* Nav */
.nav {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 13, 18, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.logo-mark {
  display: inline-flex;
  filter: drop-shadow(0 0 6px rgba(255, 91, 61, 0.45));
}

.logo-word { color: var(--text); }
.logo-dim { color: var(--text-muted); font-weight: 600; }

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 rgba(255, 182, 72, 0.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 182, 72, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(255, 182, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 182, 72, 0); }
}

.nav nav { display: flex; align-items: center; gap: 24px; }
.nav nav a:not(.btn) { color: var(--text-muted); font-size: 0.95rem; }
.nav nav a:not(.btn):hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn-primary { background: var(--accent); color: #061024; }
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }

.btn-small { padding: 8px 16px; font-size: 0.85rem; }

/* Hero */
.hero {
  padding: 120px 24px 100px;
  text-align: center;
}

.hero-inner { max-width: 720px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 80px 24px; max-width: var(--max-width); margin: 0 auto; }

.features h2, .about h2, .contact h2 { text-align: center; font-size: 2rem; margin-bottom: 40px; }

/* Trending */
.trending-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.trending-head h2 { font-size: 1.6rem; margin: 0; }

.updated-at { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

.trend-list { display: flex; flex-direction: column; gap: 12px; }

.trend-empty { color: var(--text-muted); }

.trend-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

a.trend-item:hover { border-color: var(--accent); }

.trend-rank {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent-2);
  min-width: 24px;
}

.trend-body { flex: 1; min-width: 0; }

.trend-title { font-weight: 600; margin: 0 0 2px; }

.trend-blurb { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

.trend-meta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.trend-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
}

.trend-status {
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
  text-transform: capitalize;
}

.trend-status.rising { color: #ffb648; background: rgba(255, 182, 72, 0.12); }
.trend-status.peaking { color: #ff5b3d; background: rgba(255, 91, 61, 0.14); }
.trend-status.fading { color: var(--text-muted); background: rgba(255, 255, 255, 0.06); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.feature-icon { font-size: 1.8rem; margin-bottom: 12px; }

.feature-card p { color: var(--text-muted); margin: 0; }

.about { text-align: center; }
.about p { color: var(--text-muted); max-width: 620px; margin: 0 auto; }

.contact { text-align: center; }
.contact p { color: var(--text-muted); }

.contact-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.contact-form input {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  min-width: 260px;
  font-size: 0.95rem;
}

.contact-form input:focus { outline: none; border-color: var(--accent); }

.form-status { margin-top: 16px; color: var(--accent); font-size: 0.9rem; min-height: 1.2em; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}
