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

:root {
  --bg:        #080b10;
  --bg-card:   #0e1117;
  --bg-card2:  #131820;
  --border:    rgba(255,255,255,0.07);
  --border-h:  rgba(231,76,60,0.35);
  --text:      #edf2f7;
  --muted:     #7a8694;
  --primary:   #e74c3c;
  --primary-h: #c0392b;
  --primary-g: linear-gradient(135deg, #e74c3c, #e67e22);
  --red:       #e74c3c;
  --orange:    #e67e22;
  --green:     #2ecc71;
  --blue:      #3498db;
  --teal:      #1abc9c;
  --purple:    #9b59b6;
  --radius:    14px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
code {
  font-family: 'Fira Code', 'Courier New', monospace;
  background: rgba(255,255,255,0.07);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.84em;
  color: var(--orange);
}

/* ── Layout ───────────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(231,76,60,0.4);
}
.btn-primary:hover {
  background: var(--primary-h);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(231,76,60,0.35);
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--text); border-color: rgba(255,255,255,0.12); }
.btn-lg { padding: 13px 26px; font-size: 1rem; border-radius: 10px; }

/* ── Header ───────────────────────────────────────────────────────────── */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(8,11,16,0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow 0.2s;
}
#header.scrolled { box-shadow: 0 1px 30px rgba(0,0,0,0.5); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 34px; height: 34px;
  background: rgba(231,76,60,0.12);
  border: 1px solid rgba(231,76,60,0.25);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.logo-text { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}
.header-actions { display: flex; align-items: center; gap: 8px; }
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all 0.2s;
}
.mobile-nav {
  display: none; flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  gap: 12px;
}
.mobile-nav a { color: var(--muted); font-size: 0.95rem; }
.mobile-nav.open { display: flex; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 108px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: pulse 12s ease-in-out infinite alternate;
}
.glow-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(231,76,60,0.14) 0%, transparent 70%);
  top: -250px; left: -150px;
}
.glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(230,126,34,0.10) 0%, transparent 70%);
  top: 50px; left: 450px;
  animation-delay: 4s;
}
.glow-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(231,76,60,0.08) 0%, transparent 70%);
  bottom: -50px; right: 0;
  animation-delay: 8s;
}
.glow-cta {
  width: 800px; height: 400px;
  background: radial-gradient(circle, rgba(231,76,60,0.10) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
@keyframes pulse {
  0%   { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.12); }
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: blink 2.5s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}
.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.gradient-text {
  background: var(--primary-g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
  min-height: 320px;
}
.hero-halo {
  position: absolute;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(231,76,60,0.22) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  animation: pulse 7s ease-in-out infinite alternate;
}
.hero-avatar {
  width: 160px; height: 160px;
  background: linear-gradient(135deg, rgba(231,76,60,0.12), rgba(230,126,34,0.08));
  border: 1px solid rgba(231,76,60,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 70px;
  filter: drop-shadow(0 0 40px rgba(231,76,60,0.25));
  z-index: 1;
}
.mock-card {
  position: absolute;
  bottom: -10px; right: -10px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-width: 260px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 2;
}
.mock-header { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.mock-avatar {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.mock-name {
  font-size: 0.8rem; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 4px;
}
.mock-bot-tag {
  font-size: 0.58rem;
  background: rgba(88,101,242,0.25);
  color: #7289da;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
}
.mock-msg { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }
.mock-action {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 500;
  color: var(--red);
  background: rgba(231,76,60,0.08);
  border-radius: 6px;
  padding: 6px 10px;
}

/* ── Stats banner ─────────────────────────────────────────────────────── */
.stats-banner {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child  { border-right: none; }
.stat-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon.red    { background: rgba(231,76,60,0.1);  color: var(--red);    border: 1px solid rgba(231,76,60,0.2); }
.stat-icon.orange { background: rgba(230,126,34,0.1); color: var(--orange); border: 1px solid rgba(230,126,34,0.2); }
.stat-icon.green  { background: rgba(46,204,113,0.1); color: var(--green);  border: 1px solid rgba(46,204,113,0.2); }
.stat-icon.blue   { background: rgba(52,152,219,0.1); color: var(--blue);   border: 1px solid rgba(52,152,219,0.2); }
.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 3px;
}
.stat-label { font-size: 0.76rem; color: var(--muted); font-weight: 500; }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-card); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: rgba(231,76,60,0.08);
  border: 1px solid rgba(231,76,60,0.18);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.section-desc { font-size: 1rem; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ── Features ─────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231,76,60,0.0), transparent);
  transition: background 0.3s;
}
.feature-card:hover {
  border-color: rgba(231,76,60,0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.feature-card:hover::before {
  background: linear-gradient(90deg, transparent, rgba(231,76,60,0.5), transparent);
}
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.feature-icon.red    { background: rgba(231,76,60,0.1);  color: var(--red);    border: 1px solid rgba(231,76,60,0.2); }
.feature-icon.orange { background: rgba(230,126,34,0.1); color: var(--orange); border: 1px solid rgba(230,126,34,0.2); }
.feature-icon.green  { background: rgba(46,204,113,0.1); color: var(--green);  border: 1px solid rgba(46,204,113,0.2); }
.feature-icon.blue   { background: rgba(52,152,219,0.1); color: var(--blue);   border: 1px solid rgba(52,152,219,0.2); }
.feature-icon.purple { background: rgba(155,89,182,0.1); color: var(--purple); border: 1px solid rgba(155,89,182,0.2); }
.feature-icon.teal   { background: rgba(26,188,156,0.1); color: var(--teal);   border: 1px solid rgba(26,188,156,0.2); }
.feature-card h3 { font-size: 0.975rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p  { font-size: 0.865rem; color: var(--muted); line-height: 1.7; }

/* ── How it Works ─────────────────────────────────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
}
.step {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 0 12px;
}
.step-number {
  width: 26px; height: 26px;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step-icon {
  width: 64px; height: 64px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.step-icon:hover { border-color: rgba(231,76,60,0.4); box-shadow: 0 0 20px rgba(231,76,60,0.15); }
.step h3 { font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; }
.step p   { font-size: 0.78rem; color: var(--muted); line-height: 1.55; }
.step-arrow {
  display: flex; align-items: center;
  padding-top: 40px;
  color: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  background: none; border: none;
  color: var(--text);
  font-size: 0.93rem; font-weight: 500;
  cursor: pointer; text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--primary); }
.faq-chevron { transition: transform 0.25s; flex-shrink: 0; color: var(--muted); }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { font-size: 0.875rem; color: var(--muted); padding-bottom: 20px; line-height: 1.75; }
.faq-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}
.faq-card:hover { border-color: rgba(231,76,60,0.2); }
.faq-card-icon { font-size: 28px; margin-bottom: 12px; }
.faq-card h3   { font-size: 0.975rem; font-weight: 600; margin-bottom: 8px; }
.faq-card p    { font-size: 0.83rem; color: var(--muted); line-height: 1.65; }

/* ── Live Stats ───────────────────────────────────────────────────────── */
.live-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.live-stat-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.live-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(231,76,60,0), transparent);
  transition: background 0.3s;
}
.live-stat-card:hover {
  border-color: rgba(231,76,60,0.2);
  transform: translateY(-2px);
}
.live-stat-card:hover::after {
  background: linear-gradient(90deg, transparent, rgba(231,76,60,0.6), transparent);
}
.live-stat-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.live-stat-icon.red    { background: rgba(231,76,60,0.1);  color: var(--red);    border: 1px solid rgba(231,76,60,0.2); }
.live-stat-icon.green  { background: rgba(46,204,113,0.1); color: var(--green);  border: 1px solid rgba(46,204,113,0.2); }
.live-stat-icon.orange { background: rgba(230,126,34,0.1); color: var(--orange); border: 1px solid rgba(230,126,34,0.2); }
.live-stat-icon.blue   { background: rgba(52,152,219,0.1); color: var(--blue);   border: 1px solid rgba(52,152,219,0.2); }
.live-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 4px;
  background: var(--primary-g);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.live-stat-label { font-size: 0.8rem; color: var(--muted); margin-bottom: 16px; font-weight: 500; }
.live-stat-bar { height: 3px; background: rgba(255,255,255,0.05); border-radius: 2px; overflow: hidden; }
.live-stat-fill { height: 100%; border-radius: 2px; transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1); }
.red-fill    { background: linear-gradient(90deg, var(--red), #ff6b5b); }
.green-fill  { background: linear-gradient(90deg, var(--green), #5bffb0); }
.orange-fill { background: linear-gradient(90deg, var(--orange), #ffb347); }
.blue-fill   { background: linear-gradient(90deg, var(--blue), #5bc0eb); }

/* ── CTA ──────────────────────────────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-inner { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  padding: 52px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-tagline { font-size: 0.85rem; color: var(--muted); margin-bottom: 8px; }
.footer-made    { font-size: 0.78rem; color: var(--muted); }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--text); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner         { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual        { order: -1; }
  .hero-title, .hero-desc, .hero-badge { text-align: center; }
  .hero-desc          { max-width: 100%; }
  .hero-badge         { margin: 0 auto 26px; }
  .hero-actions       { justify-content: center; }
  .features-grid      { grid-template-columns: 1fr 1fr; }
  .stats-grid         { grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
  .stat-item          { background: var(--bg-card); border-right: none; }
  .live-stats-grid    { grid-template-columns: 1fr 1fr; }
  .faq-layout         { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav, .header-actions { display: none; }
  .mobile-menu-btn    { display: flex; }
  .features-grid      { grid-template-columns: 1fr; }
  .live-stats-grid    { grid-template-columns: 1fr 1fr; }
  .steps              { flex-direction: column; align-items: center; }
  .step-arrow         { transform: rotate(90deg); padding: 0; }
  .mock-card          { position: static; margin-top: 24px; width: 100%; }
  .hero-avatar        { width: 120px; height: 120px; font-size: 54px; }
  .footer-grid        { grid-template-columns: 1fr; }
  .footer-bottom      { flex-direction: column; gap: 12px; text-align: center; }
  .stats-grid         { grid-template-columns: 1fr 1fr; }
}
