:root {
  --bg: #0a0d14;
  --bg-2: #070911;
  --card-bg: #12151f;
  --card-bg-2: #161a26;
  --card-border: #22262f;
  --blue: #2aabee;
  --blue-2: #30b8f5;
  --green: #35c98f;
  --ink: #f5f7fa;
  --gray: #94a3b8;
  --gray-dim: #5b6779;
  --max-w: 1160px;
  --radius: 16px;
  --shadow-btn: 0 8px 20px rgba(42, 171, 238, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; color-scheme: dark; background: var(--bg); }

body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; color: var(--gray); line-height: 1.6; }

.accent { color: var(--blue); }

.section__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .8rem 1.5rem; border-radius: 100px; font-weight: 700; font-size: .95rem;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #04121c; box-shadow: var(--shadow-btn); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--card-border); }
.btn--outline { background: rgba(255,255,255,0.04); color: var(--ink); border-color: var(--card-border); }
.btn--lg { padding: 1rem 2rem; font-size: 1.02rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,13,20,0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto; padding: .9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav__brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; }
.nav__brand-badge {
  width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--blue), #135a86); color: #04121c; font-weight: 800; font-size: .85rem;
}
.nav__links { display: flex; gap: 1.8rem; font-size: .92rem; color: var(--gray); font-weight: 600; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; gap: .7rem; align-items: center; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav__mobile { display: none; flex-direction: column; gap: 1rem; padding: 1rem 1.5rem 1.5rem; border-top: 1px solid var(--card-border); }
.nav__mobile a { font-weight: 600; color: var(--gray); padding: .3rem 0; }
.nav__mobile.open { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 0; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(700px 460px at 12% 8%, rgba(42,171,238,0.16), transparent 60%),
    radial-gradient(600px 420px at 92% 30%, rgba(53,201,143,0.10), transparent 55%);
}
.hero__inner {
  position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 3rem; align-items: center; padding-bottom: 3.5rem;
}
.badge-pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem;
  border-radius: 100px; background: var(--card-bg); border: 1px solid var(--card-border);
  font-size: .82rem; color: var(--gray); font-weight: 600; margin-bottom: 1.3rem;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }
.dot--live { box-shadow: 0 0 0 3px rgba(53,201,143,0.2); }
.hero__copy h1 { font-size: 3rem; font-weight: 800; letter-spacing: -1px; margin-bottom: 1.2rem; }
.hero__sub { font-size: 1.08rem; max-width: 540px; margin-bottom: 1.8rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero__trust { display: flex; align-items: center; gap: .9rem; font-size: .85rem; color: var(--gray-dim); }
.hero__trust-icons { display: flex; gap: .5rem; font-size: 1.1rem; }

.hero__visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 320px; background: var(--card-bg); border: 1px solid var(--card-border);
  border-radius: 26px; padding: 1rem; box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.phone__head { display: flex; align-items: center; gap: .7rem; padding-bottom: .9rem; border-bottom: 1px solid var(--card-border); margin-bottom: 1rem; }
.phone__avatar {
  width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(145deg, var(--blue), #135a86);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; color: #04121c;
}
.phone__name { font-weight: 700; font-size: .92rem; }
.phone__status { font-size: .75rem; color: var(--gray-dim); display: flex; align-items: center; gap: .35rem; }
.phone__body { display: flex; flex-direction: column; gap: .6rem; min-height: 260px; justify-content: flex-end; }
.bubble { padding: .6rem .85rem; border-radius: 14px; font-size: .85rem; line-height: 1.45; max-width: 85%; }
.bubble--in { background: var(--card-bg-2); border: 1px solid var(--card-border); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble--out { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #04121c; align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 600; }
.bubble--typing { align-self: flex-start; display: flex; gap: 4px; padding: .6rem .85rem; background: var(--card-bg-2); border-radius: 14px; border-bottom-left-radius: 4px; width: fit-content; }
.bubble--typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--gray-dim); animation: blink 1.2s infinite; }
.bubble--typing span:nth-child(2) { animation-delay: .2s; }
.bubble--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: .6rem;
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 14px;
  padding: .6rem .9rem; box-shadow: 0 20px 40px rgba(0,0,0,0.4); font-size: .78rem;
}
.float-card__icon { font-size: 1.1rem; }
.float-card__t { font-weight: 700; }
.float-card__s { color: var(--gray-dim); font-size: .72rem; }
.float-card--1 { top: 8%; left: -8%; }
.float-card--2 { bottom: 10%; right: -10%; }

.ticker {
  border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border);
  background: var(--bg-2); overflow: hidden; padding: .9rem 0;
}
.ticker__track { display: flex; gap: 1.2rem; white-space: nowrap; width: max-content; animation: scroll 22s linear infinite; font-size: .85rem; color: var(--gray-dim); font-weight: 600; }
.ticker .sep { color: var(--card-border); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section--alt { background: var(--bg-2); }
.section__head { max-width: 640px; margin-bottom: 3rem; }
.kicker { color: var(--blue); font-weight: 700; font-size: .82rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: .8rem; }
.section__head h2 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: .7rem; }
.section__sub { font-size: 1.02rem; }

.grid { display: grid; gap: 1.4rem; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.feature-card, .channel-card, .example-card {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 1.7rem;
}
.feature-card__icon { font-size: 1.6rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.feature-card p { font-size: .9rem; }

.stats-row { display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--card-border); flex-wrap: wrap; }
.stat__n { font-size: 2rem; font-weight: 800; color: var(--blue); }
.stat__l { font-size: .85rem; color: var(--gray-dim); margin-top: .3rem; }

.channel-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.channel-card__icon { font-size: 1.6rem; }
.channel-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.channel-card p { font-size: .88rem; margin-bottom: 1.2rem; }
.channel-card--live { border-color: rgba(53,201,143,0.4); background: linear-gradient(180deg, rgba(53,201,143,0.06), var(--card-bg) 40%); }
.status-badge { font-size: .72rem; font-weight: 700; padding: .3rem .7rem; border-radius: 100px; background: var(--card-bg-2); color: var(--gray); border: 1px solid var(--card-border); }
.status-badge--live { background: rgba(53,201,143,0.15); color: var(--green); border-color: rgba(53,201,143,0.3); }

.example-card__tag { font-size: .85rem; font-weight: 700; margin-bottom: 1rem; }
.mini-bubble { padding: .65rem .85rem; border-radius: 12px; font-size: .82rem; line-height: 1.5; margin-bottom: .6rem; }
.mini-bubble--in { background: var(--card-bg-2); border: 1px solid var(--card-border); }
.mini-bubble--out { background: rgba(42,171,238,0.1); border: 1px solid rgba(42,171,238,0.3); color: var(--ink); }

.integrations { display: flex; flex-direction: column; gap: 1.8rem; }
.integrations__label { font-size: .85rem; font-weight: 700; color: var(--gray); margin-bottom: .8rem; }
.pill-row { display: flex; gap: .7rem; flex-wrap: wrap; }
.pill { padding: .55rem 1.1rem; border-radius: 100px; background: var(--card-bg); border: 1px solid var(--card-border); font-size: .85rem; font-weight: 600; color: var(--gray); }
.pill--live { background: rgba(53,201,143,0.12); border-color: rgba(53,201,143,0.3); color: var(--green); }

.cta-section { text-align: center; }
.cta-section__inner { max-width: 620px; }
.cta-section h2 { font-size: 2rem; margin-bottom: .8rem; }
.cta-section p { margin-bottom: 1.8rem; }
.cta-section__note { margin-top: 1.2rem; font-size: .85rem; color: var(--gray-dim); }
.cta-section__note a { color: var(--blue); font-weight: 600; }

.footer { border-top: 1px solid var(--card-border); padding: 3rem 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; }
.footer__brand { display: flex; flex-direction: column; gap: .8rem; max-width: 340px; }
.footer__brand-name { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.05rem; }
.footer__brand p { font-weight: 400; font-size: .85rem; }
.footer__links { display: flex; gap: 1.5rem; font-size: .88rem; color: var(--gray); font-weight: 600; }
.footer__links a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; margin-bottom: 1rem; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .float-card { display: none; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero__copy h1 { font-size: 2.1rem; }
  .grid--4 { grid-template-columns: 1fr; }
  .stats-row { gap: 1.5rem; }
  .section { padding: 3.5rem 0; }
}
