:root {
  --bg: #070b14;
  --surface: #0f172a;
  --card: #131d33;
  --border: rgba(148, 163, 184, 0.16);
  --border-hi: rgba(16, 185, 129, 0.45);
  --text: #f8fafc;
  --muted: #94a3b8;
  --emerald: #10b981;
  --emerald-lt: #34d399;
  --cyan: #06b6d4;
  --danger: #ef4444;
  --danger-lt: #fb7185;
  --warn: #f59e0b;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(16, 185, 129, 0.12), transparent 34%),
    radial-gradient(circle at 88% 22%, rgba(6, 182, 212, 0.1), transparent 36%);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: transparent; color: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 20, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand-dot {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
}
.nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
@media (max-width: 780px) { .nav-links { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  transition: transform 0.14s, filter 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: #04131c;
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.28);
}
.btn-primary:hover { filter: brightness(1.07); }
.btn-secondary {
  background: var(--card); border: 1px solid rgba(148, 163, 184, 0.28); color: var(--text);
}
.btn-secondary:hover { border-color: var(--emerald); }
.btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626); color: #fff;
  box-shadow: 0 8px 22px rgba(239, 68, 68, 0.32);
}
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* Hero */
.hero { padding: 64px 0 56px; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 38px; align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.pill-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(16, 185, 129, 0.32);
  color: var(--emerald-lt); font-size: 12.5px; font-weight: 700;
}
.hero h1 {
  margin: 16px 0 14px; font-size: clamp(30px, 4.4vw, 48px); line-height: 1.15;
  font-weight: 900; letter-spacing: -0.025em;
}
.grad-text {
  background: linear-gradient(135deg, #34d399, #22d3ee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 16.5px; color: var(--muted); margin: 0 0 24px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--border);
}
.metric-val { font-size: 20px; font-weight: 900; color: var(--emerald-lt); }
.metric-lbl { font-size: 12px; color: var(--muted); }

/* Interactive Demo Phone/Desktop Simulator */
.demo-shell {
  background: var(--surface); border: 1px solid var(--border-hi);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}
.demo-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: #131d33; border-bottom: 1px solid var(--border);
}
.demo-room { font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 8px var(--emerald); }
.demo-body { padding: 16px; min-height: 250px; display: flex; flex-direction: column; gap: 10px; }
.demo-msg {
  max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px;
  transition: opacity 0.3s, transform 0.3s, filter 0.3s;
}
.demo-msg.other { background: #1a2744; align-self: flex-start; border-bottom-left-radius: 4px; }
.demo-msg.me { background: linear-gradient(135deg, #065f46, #0f766e); align-self: flex-end; border-bottom-right-radius: 4px; }
.demo-msg.call { background: rgba(6, 182, 212, 0.16); border: 1px solid rgba(6, 182, 212, 0.35); align-self: flex-start; }
.demo-msg.vanish { opacity: 0; transform: scale(0.85); filter: blur(6px); }
.demo-cd { font-size: 11px; opacity: 0.85; margin-top: 4px; text-align: right; font-variant-numeric: tabular-nums; }
.demo-empty { margin: auto; text-align: center; color: var(--danger-lt); font-weight: 700; font-size: 14px; padding: 20px; }
.demo-footer {
  padding: 12px 16px; background: #0c1426; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted);
}

/* Visual Showcase Banner */
.hero-banner-wrap {
  margin-top: 40px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
}
.hero-banner-wrap img { width: 100%; display: block; height: auto; }

/* Sections */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 38px; }
.section-head h2 { margin: 0 0 10px; font-size: clamp(24px, 3.2vw, 34px); font-weight: 900; }
.section-head p { margin: 0; color: var(--muted); font-size: 15.5px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.feat-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.feat-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(16, 185, 129, 0.14); border: 1px solid rgba(16, 185, 129, 0.26);
  display: inline-flex; align-items: center; justify-content: center; font-size: 22px;
}
.feat-card h3 { margin: 4px 0 0; font-size: 17px; }
.feat-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* Comparison Table */
.table-wrap {
  overflow-x: auto; border-radius: 18px; border: 1px solid var(--border); background: var(--surface);
}
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: #131d33; font-weight: 800; }
th.zt-col, td.zt-col { background: rgba(16, 185, 129, 0.08); font-weight: 700; color: var(--emerald-lt); }

/* Pricing */
.currency-switch {
  display: inline-flex; background: var(--card); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px; margin-top: 16px;
}
.currency-btn {
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted);
}
.currency-btn.active { background: var(--emerald); color: #04131c; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; align-items: stretch; }
.price-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  position: relative;
}
.price-card.popular {
  border: 2px solid var(--emerald);
  box-shadow: 0 18px 46px rgba(16, 185, 129, 0.2);
}
.popular-ribbon {
  position: absolute; top: -13px; right: 20px;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: #04131c; font-size: 11.5px; font-weight: 900; padding: 4px 12px; border-radius: 999px;
}
.price-name { font-size: 18px; font-weight: 800; margin: 0 0 4px; }
.price-sub { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.price-amount { font-size: 34px; font-weight: 900; color: var(--text); }
.price-note { font-size: 12.5px; color: var(--emerald-lt); font-weight: 600; }
.price-list { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.8px; color: #cbd5e1; }
.price-list li::before { content: '✓ '; color: var(--emerald-lt); font-weight: 900; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; padding: 16px 18px; font-weight: 700; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-a { padding: 0 18px 16px; color: var(--muted); font-size: 14px; display: none; }
.faq-item.open .faq-a { display: block; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(2, 6, 23, 0.78); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 16px; z-index: 100;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  width: 100%; max-width: 460px; background: var(--surface);
  border: 1px solid var(--border-hi); border-radius: 20px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.order-summary {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font-size: 14px;
}

.footer {
  border-top: 1px solid var(--border); padding: 34px 0; text-align: center;
  color: var(--muted); font-size: 13.5px;
}
