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

:root {
  --bg: #0a0a0f;
  --bg-card: #13131a;
  --bg-elevated: #1a1a24;
  --border: #252530;
  --text: #e4e4ec;
  --text-muted: #8888a0;
  --accent: #6c5ce7;
  --accent-glow: rgba(108, 92, 231, 0.3);
  --green: #00d68f;
  --red: #ff6b6b;
  --radius: 12px;
  --max-width: 1100px;
}

html { scroll-behavior: smooth; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.2s;
  border: none; text-decoration: none !important;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover { background: #7c6ff0; box-shadow: 0 0 30px var(--accent-glow); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-elevated); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* ===== Navigation ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 15, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.logo { font-weight: 800; font-size: 1.2rem; color: var(--text); }
.logo:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ===== Hero ===== */
.hero {
  padding: 80px 24px 60px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(108, 92, 231, 0.08), transparent 70%);
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.badge {
  display: inline-block; padding: 6px 14px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 20px; font-size: 0.8rem; color: var(--accent);
  margin-bottom: 24px; font-weight: 600;
}
.hero h1 {
  font-size: 3rem; font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 560px; margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 48px; }
.hero-stats {
  display: flex; gap: 48px; justify-content: center;
  padding-top: 40px; border-top: 1px solid var(--border);
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* ===== Trust Bar ===== */
.trust-bar {
  text-align: center; padding: 20px 24px;
  background: var(--bg-elevated); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text-muted);
}

/* ===== Sections ===== */
.section-header {
  text-align: center; margin-bottom: 48px;
}
.section-header h2 {
  font-size: 2.2rem; font-weight: 700; margin-bottom: 12px;
}
.section-header p { color: var(--text-muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ===== Products ===== */
.products {
  padding: 80px 24px;
  max-width: var(--max-width); margin: 0 auto;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-bottom: 32px;
}
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  position: relative; transition: border-color 0.2s;
}
.product-card:hover { border-color: var(--accent); }
.product-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent); color: #fff;
  padding: 4px 10px; border-radius: 6px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
}
.product-icon { font-size: 2rem; margin-bottom: 16px; }
.product-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.product-tagline { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.product-features {
  list-style: none; margin-bottom: 24px;
}
.product-features li {
  padding: 6px 0; font-size: 0.88rem; color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.product-features li::before { content: "→ "; color: var(--accent); }
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.product-pricing { text-align: right; }
.price { font-size: 1.6rem; font-weight: 800; }
.price-label { display: block; font-size: 0.75rem; color: var(--text-muted); }

/* Bundle */
.bundle-card {
  background: linear-gradient(135deg, var(--bg-elevated), rgba(108, 92, 231, 0.08));
  border: 1px solid var(--accent); border-radius: var(--radius);
  padding: 28px 32px; position: relative;
}
.bundle-badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--green); color: #000;
  padding: 4px 12px; border-radius: 6px;
  font-size: 0.75rem; font-weight: 700;
}
.bundle-content {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.bundle-content h3 { font-size: 1.2rem; margin-bottom: 4px; }
.bundle-content p { color: var(--text-muted); font-size: 0.9rem; }
.bundle-pricing { text-align: right; }
.bundle-old { text-decoration: line-through; color: var(--text-muted); font-size: 0.95rem; display: block; }
.bundle-price { font-size: 2rem; font-weight: 800; color: var(--green); }

/* ===== How It Works ===== */
.how { padding: 80px 24px; background: var(--bg-card); }
.steps {
  max-width: var(--max-width); margin: 0 auto 48px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}
.step { text-align: center; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1.1rem;
  margin-bottom: 16px;
}
.step h4 { margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.9rem; }
.setup-tier {
  max-width: 600px; margin: 0 auto; text-align: center;
  padding: 24px; background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.setup-tier h4 { margin-bottom: 8px; }

/* ===== Audience ===== */
.audience { padding: 80px 24px; max-width: var(--max-width); margin: 0 auto; }
.audience-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.audience-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
}
.audience-card h4 { margin-bottom: 16px; font-size: 1.1rem; }
.audience-card li {
  padding: 8px 0; font-size: 0.9rem; color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.audience-yes li::before { content: "✅ "; }
.audience-no li::before { content: "❌ "; }

/* ===== FAQ ===== */
.faq { padding: 80px 24px; background: var(--bg-card); }
.faq-list { max-width: 680px; margin: 0 auto; }
details {
  border-bottom: 1px solid var(--border); padding: 20px 0;
}
details:first-of-type { border-top: 1px solid var(--border); }
summary {
  font-weight: 600; font-size: 1rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.2rem; color: var(--accent); }
details[open] summary::after { content: "−"; }
details p {
  margin-top: 12px; color: var(--text-muted); font-size: 0.9rem;
  padding-left: 0;
}

/* ===== CTA ===== */
.cta {
  padding: 80px 24px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(108, 92, 231, 0.06), transparent 60%);
}
.cta-inner { max-width: 520px; margin: 0 auto; }
.cta h2 { font-size: 2rem; margin-bottom: 12px; }
.cta p { color: var(--text-muted); margin-bottom: 24px; }
.email-form {
  display: flex; gap: 8px; margin-bottom: 12px;
}
.email-form input {
  flex: 1; padding: 12px 16px;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: 0.95rem;
  outline: none;
}
.email-form input:focus { border-color: var(--accent); }
.cta-note { font-size: 0.75rem; color: var(--text-muted); }

/* ===== Footer ===== */
.footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }
.footer-copy { width: 100%; text-align: center; color: var(--text-muted); font-size: 0.8rem; padding-top: 20px; }

/* ===== Channel Grid ===== */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto 48px;
  padding: 0 24px;
}
.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  transition: border-color 0.2s;
}
.channel-card:hover { border-color: var(--accent); }

/* ===== Message & Alarm Use Cases ===== */
.msgsection { padding: 40px 24px 80px; background: var(--bg); }
.use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.use-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s;
}
.use-card:hover { border-color: var(--accent); }
.use-icon { font-size: 1.6rem; margin-bottom: 12px; }
.use-card h4 { margin-bottom: 6px; font-size: 1.05rem; }
.use-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }

/* ===== Mega Grid (20+ use cases) ===== */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.mega-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.15s;
}
.mega-item:hover { border-color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .nav-links { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .bundle-content { flex-direction: column; text-align: center; }
  .bundle-pricing { text-align: center; }
  .email-form { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
