:root {
  --bg: #070d18;
  --bg-alt: #0b1324;
  --surface: rgba(17, 27, 48, 0.78);
  --surface-strong: #111c32;
  --border: rgba(148, 163, 184, 0.16);
  --border-accent: rgba(14, 165, 233, 0.45);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --cyan: #0ea5e9;
  --cyan-light: #38bdf8;
  --emerald: #10b981;
  --emerald-light: #34d399;
  --danger: #f87171;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 13, 24, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--cyan), var(--emerald));
  color: #04101c;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
  color: #03121c;
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(14, 165, 233, 0.38);
  filter: brightness(1.06);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 163, 184, 0.35);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 15px 24px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  padding: 76px 0 64px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  pointer-events: none;
}

.hero-glow-cyan {
  top: -160px;
  left: -120px;
  background: var(--cyan);
}

.hero-glow-emerald {
  bottom: -180px;
  right: -120px;
  background: var(--emerald);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--emerald-light);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 4.3vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.gradient-text {
  background: linear-gradient(120deg, var(--cyan-light), var(--emerald-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 580px;
}

.hero-subtitle strong {
  color: var(--text);
  font-weight: 600;
}

.offer-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.28);
  font-size: 0.93rem;
  margin-bottom: 26px;
}

.offer-tag {
  background: var(--cyan);
  color: #03121c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Interactive Phone Demo */
.phone-card {
  background: linear-gradient(180deg, rgba(17, 28, 50, 0.96), rgba(9, 16, 30, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.bot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #04101c;
  background: linear-gradient(135deg, var(--cyan), var(--emerald));
}

.bot-title {
  font-weight: 700;
  font-size: 0.96rem;
}

.bot-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--emerald-light);
}

.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
}

.demo-chip {
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.chat-window {
  height: 255px;
  overflow-y: auto;
  padding: 16px 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.msg {
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  animation: popIn 0.22s ease;
}

.msg-bot {
  align-self: flex-start;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg-lead-badge {
  align-self: flex-start;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: var(--emerald-light);
  font-weight: 600;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.demo-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.demo-btn {
  flex: 1 1 auto;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(14, 165, 233, 0.1);
  color: var(--cyan-light);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.demo-btn:hover {
  background: var(--cyan);
  color: #03121c;
}

/* Metrics */
.metrics {
  padding: 12px 0 48px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-value.cyan {
  color: var(--cyan-light);
}

.metric-value.emerald {
  color: var(--emerald-light);
}

.metric-label {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan-light);
  margin-bottom: 10px;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Platform Cards */
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.glass-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.icon-tg {
  background: rgba(14, 165, 233, 0.16);
  color: #38bdf8;
}

.icon-wa {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
}

.icon-ig {
  background: rgba(236, 72, 153, 0.16);
  color: #f472b6;
}

.icon-web {
  background: rgba(139, 92, 246, 0.18);
  color: #a78bfa;
}

.glass-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.glass-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-num {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--cyan-light);
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.feature-item h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.feature-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.step-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-light);
  background: rgba(16, 185, 129, 0.14);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.14rem;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* Lead Form Section */
.form-section {
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 45%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.12), transparent 45%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
}

.lead-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.lead-desc {
  color: var(--text-muted);
  margin: 0 0 26px;
  font-size: 1rem;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.benefit-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(16, 185, 129, 0.18);
  color: var(--emerald-light);
  font-weight: 800;
  font-size: 0.88rem;
  margin-top: 2px;
}

.benefit-list strong {
  display: block;
  margin-bottom: 2px;
}

.benefit-list span {
  color: var(--text-muted);
  font-size: 0.91rem;
}

.direct-contact {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.direct-contact a {
  color: var(--cyan-light);
  text-decoration: underline;
}

.lead-form-card {
  background: var(--surface-strong);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.group-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 9px;
}

.req {
  color: var(--emerald-light);
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
}

/* Interactive Qualification Chips */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: inherit;
  font-size: 0.87rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(14, 165, 233, 0.08);
}

.chip.selected {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--emerald);
  color: var(--emerald-light);
  font-weight: 600;
}

.text-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(7, 13, 24, 0.75);
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.text-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.text-input.invalid {
  border-color: var(--danger);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 18px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 4px 0 16px;
  cursor: pointer;
}

.consent-row input {
  margin-top: 4px;
  accent-color: var(--emerald);
}

.consent-row a {
  color: var(--cyan-light);
  text-decoration: underline;
}

.field-error {
  display: block;
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 5px;
  min-height: 0;
}

.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 12px 0 0;
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 20px 8px;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #03121c;
  background: linear-gradient(135deg, var(--emerald), var(--cyan));
}

.form-success h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.form-success p {
  color: var(--text-muted);
  margin: 0 0 20px;
}

.success-summary {
  text-align: left;
  background: rgba(7, 13, 24, 0.7);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.7;
}

.success-summary strong {
  color: var(--text);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--text);
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
  display: none;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .lead-wrapper {
    grid-template-columns: 1fr;
  }

  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 76px;
  }

  .nav {
    display: none;
  }

  .hero {
    padding: 42px 0 40px;
  }

  .cards-4,
  .features-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .lead-form-card {
    padding: 22px 18px;
  }

  .mobile-sticky-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 12px 16px;
    background: rgba(7, 13, 24, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
  }
}
