:root {
  --bg: #03050c;
  --bg-soft: #080a1a;
  --card: rgba(255, 255, 255, 0.04);
  --card-strong: rgba(255, 255, 255, 0.08);
  --text: #f8fbff;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --line: rgba(255, 255, 255, 0.08);
  --brand: #7c3aed; /* Violet */
  --brand-2: #06b6d4; /* Cyan */
  --brand-3: #3b82f6; /* Electric Blue */
  --accent: #4ade80; /* For success/ok */
  --danger: #ef4444;
  --warning: #f59e0b;
  --shadow: 0 30px 80px rgba(0,0,0,0.6);
  --radius: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(124, 58, 237, 0.2), transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(6, 182, 212, 0.15), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05), transparent 50%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 75%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent, rgba(0,0,0,.55));
  z-index: -1;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(22px);
  background: rgba(5,7,18,.68);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.landing-nav-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.landing-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -.04em;
  font-size: 22px;
}

.landing-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.landing-nav-links a {
  text-decoration: none;
  color: inherit;
  transition: color .2s;
}

.landing-nav-links a:hover {
  color: white;
}

.landing-nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.landing-nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
  padding: 5px;
}

.landing-nav-mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all .3s ease;
}

.landing-nav-open .landing-nav-mobile-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.landing-nav-open .landing-nav-mobile-toggle span:nth-child(2) { opacity: 0; }
.landing-nav-open .landing-nav-mobile-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: white;
  height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.1);
}

.btn-primary {
  border: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 18px 50px rgba(0,224,255,.22), 0 12px 30px rgba(124,92,255,.22);
}

.btn-primary:hover {
  box-shadow: 0 22px 70px rgba(0,224,255,.28), 0 16px 42px rgba(124,92,255,.28);
}

.hero {
  padding: 82px 0 64px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: #dbe7ff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand-3);
  box-shadow: 0 0 0 0 rgba(66,255,179,.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(66,255,179,.55); }
  70% { box-shadow: 0 0 0 12px rgba(66,255,179,0); }
  100% { box-shadow: 0 0 0 0 rgba(66,255,179,0); }
}

h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: .92;
  letter-spacing: -.08em;
  max-width: 760px;
  font-weight: 950;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 20%, var(--brand-2) 50%, var(--brand) 80%);
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-copy {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  max-width: 620px;
  margin-top: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-proof {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 700;
}

.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(66,255,179,.13);
  color: var(--brand-3);
  display: grid;
  place-items: center;
  font-size: 12px;
}

.stage {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.75), transparent 8%),
    radial-gradient(circle at 50% 50%, rgba(0,224,255,.35), rgba(124,92,255,.22) 45%, transparent 70%);
  filter: blur(.2px);
  opacity: .8;
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(4deg); }
}

.dashboard {
  position: relative;
  width: min(520px, 100%);
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.055));
  backdrop-filter: blur(28px);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 18px;
  transform: rotateY(-8deg) rotateX(4deg);
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.dots {
  display: flex;
  gap: 7px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
}

.dot:nth-child(1) { background: #ff5c93; }
.dot:nth-child(2) { background: #ffd166; }
.dot:nth-child(3) { background: #42ffb3; }

.chat-window {
  background: rgba(5,7,18,.72);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  overflow: hidden;
}

.chat-header {
  padding: 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  font-weight: 950;
  box-shadow: 0 0 30px rgba(0,224,255,.25);
}

.chat-header strong {
  display: block;
  font-size: 15px;
}

.chat-header span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-2);
  font-size: 12px;
  margin-top: 4px;
}

.chat-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.bubble {
  width: fit-content;
  max-width: 88%;
  padding: 13px 15px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.45;
  color: #eaf1ff;
  animation: rise .6s ease both;
}

.bubble.user {
  margin-left: auto;
  background: rgba(255,255,255,.1);
  border-top-right-radius: 6px;
}

.bubble.agent {
  background: linear-gradient(135deg, rgba(124,92,255,.28), rgba(0,224,255,.13));
  border: 1px solid rgba(255,255,255,.1);
  border-top-left-radius: 6px;
}

.bubble:nth-child(2) { animation-delay: .2s; }
.bubble:nth-child(3) { animation-delay: .4s; }
.bubble:nth-child(4) { animation-delay: .6s; }

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

.lead-card {
  margin-top: 8px;
  border-radius: 20px;
  padding: 16px;
  background: rgba(66,255,179,.1);
  border: 1px solid rgba(66,255,179,.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  animation: rise .6s .8s ease both;
}

.lead-card small {
  color: var(--muted);
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.lead-card strong {
  color: #dfffee;
  font-size: 14px;
}

.lead-badge {
  border-radius: 999px;
  background: rgba(66,255,179,.16);
  color: var(--brand-3);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.floating-chip {
  position: absolute;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
  color: #eaf1ff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  gap: 10px;
  align-items: center;
}

.chip-1 { top: 82px; left: 2px; animation: float 6s ease-in-out infinite; }
.chip-2 { bottom: 92px; right: 0; animation: float 7s ease-in-out infinite reverse; }
.chip-3 { bottom: 32px; left: 48px; animation: float 8s ease-in-out infinite; }

section {
  padding: 92px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-kicker {
  color: var(--brand-3);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.06em;
  font-weight: 950;
}

.section-text {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.bento {
  display: grid;
  grid-template-columns: 1.3fr .85fr .85fr;
  gap: 18px;
}

.card {
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.045));
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 50px rgba(0,0,0,.16);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(6, 182, 212, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card > * {
  position: relative;
}

.card.large {
  grid-row: span 2;
  min-height: 430px;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.1);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 22px;
}

.card h3 {
  font-size: 24px;
  letter-spacing: -.04em;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.mini-mock {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  border-radius: 22px;
  background: rgba(5,7,18,.58);
  border: 1px solid rgba(255,255,255,.11);
  padding: 16px;
}

.mini-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.mini-row:last-child {
  border-bottom: 0;
}

.mini-row span:last-child {
  color: white;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.before, .after {
  min-height: 420px;
}

.before {
  background: linear-gradient(180deg, rgba(255,92,147,.12), rgba(255,255,255,.04));
}

.after {
  background: linear-gradient(180deg, rgba(66,255,179,.13), rgba(255,255,255,.04));
}

.list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 15px;
}

.x, .ok {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 950;
}

.x {
  background: rgba(255,92,147,.14);
  color: var(--danger);
}

.ok {
  background: rgba(66,255,179,.14);
  color: var(--brand-3);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  min-height: 260px;
}

.step::after {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 52px;
  font-weight: 950;
  letter-spacing: -.08em;
  color: rgba(255,255,255,.08);
}

.pricing-wrap {
  display: grid;
  grid-template-columns: .9fr 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}

.price-card {
  padding: 30px;
}

.price-card.featured {
  border-color: var(--brand);
  background: rgba(124, 58, 237, 0.04);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.15), var(--shadow);
  transform: translateY(-16px);
  position: relative;
  z-index: 2;
  overflow: visible;
}

.price-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
  white-space: nowrap;
}

.plan-label {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  margin-bottom: 14px;
}

.price {
  font-size: 52px;
  font-weight: 950;
  letter-spacing: -.07em;
  margin: 18px 0 10px;
}

.price span {
  color: var(--muted-2);
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 700;
}

.price-card .btn {
  width: 100%;
  margin: 24px 0;
}

.final-cta {
  text-align: center;
  padding: 84px 30px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 20% 20%, rgba(124,92,255,.25), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(0,224,255,.2), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.045));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.final-cta h2 {
  max-width: 760px;
  margin: 0 auto;
}

.final-cta p {
  max-width: 620px;
  margin: 20px auto 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

footer {
  padding: 44px 0;
  color: var(--muted-2);
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 700;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .pricing-wrap {
    grid-template-columns: 1fr;
  }

  .stage {
    min-height: 560px;
  }

  .dashboard {
    transform: none;
  }

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

  .card.large {
    grid-column: 1 / -1;
  }

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

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 1024px) {
  .orb,
  .floating-chip {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .landing-nav-inner {
    height: 70px;
  }

  .landing-nav-mobile-toggle {
    display: flex;
  }

  .landing-nav-links,
  .landing-nav-actions {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(-20px);
  }

  .landing-nav-open .landing-nav-links,
  .landing-nav-open .landing-nav-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .landing-nav-actions {
    background: transparent;
    height: auto;
    top: 70%;
    transform: translateY(20px);
  }

  .landing-nav-open .landing-nav-actions {
    transform: translateY(0);
  }

  .landing-nav-actions .btn {
    width: min(280px, 80%);
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 68px);
  }

  .hero-copy,
  .section-text,
  .final-cta p {
    font-size: 16px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stage {
    min-height: auto;
    padding: 36px 0 0;
  }

  .orb,
  .floating-chip {
    display: none;
  }

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

  .card.large {
    min-height: 440px;
  }

  section {
    padding: 64px 0;
  }
}
