:root {
  --bg: #07111f;
  --bg-soft: #0d1830;
  --panel: rgba(10, 18, 34, 0.78);
  --panel-strong: #0d172b;
  --panel-light: rgba(255, 255, 255, 0.06);
  --text: #f4f7fb;
  --muted: #98a7bf;
  --line: rgba(255, 255, 255, 0.09);
  --brand: #2dd4bf;
  --brand-deep: #14b8a6;
  --accent: #8b5cf6;
  --gold: #f5b942;
  --shadow: 0 28px 80px rgba(2, 8, 20, 0.42);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(45, 212, 191, 0.16), transparent 22%),
    radial-gradient(circle at 84% 10%, rgba(139, 92, 246, 0.18), transparent 22%),
    linear-gradient(180deg, #07111f 0%, #091528 40%, #08111d 100%);
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.page-glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.34;
  z-index: 0;
  pointer-events: none;
}

.page-glow-left {
  top: -8rem;
  left: -8rem;
  background: rgba(45, 212, 191, 0.24);
}

.page-glow-right {
  top: 6rem;
  right: -8rem;
  background: rgba(139, 92, 246, 0.24);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 54px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(9, 16, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(2, 8, 20, 0.28);
  backdrop-filter: blur(16px);
}

.brand,
.topnav,
.topbar-actions,
.hero-actions,
.hero-proof,
.mini-proof-strip,
.demo-controls,
.demo-links,
.contact-links,
.footer-links,
.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.brand img {
  display: block;
  width: 224px;
  max-width: 100%;
  height: auto;
}

.topnav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-button {
  color: #041019;
  background: linear-gradient(135deg, #42f5dd 0%, #7de3ff 100%);
  box-shadow: 0 18px 36px rgba(45, 212, 191, 0.25);
  font-weight: 800;
}

.ghost-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.primary-button:hover,
.ghost-button:hover,
.demo-dot:hover {
  transform: translateY(-1px);
}

.primary-button.large,
.ghost-button.large {
  min-height: 54px;
  padding: 0 22px;
}

.primary-button.full,
.ghost-button.full {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 28px;
  align-items: center;
  padding: 82px 0 46px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #72e8da;
}

.hero h1,
.section-heading h2,
.contact-card h2,
.demo-modal-dialog h2 {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 6rem);
  max-width: 720px;
}

.hero-lead {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions { margin-top: 28px; }
.hero-proof { margin-top: 18px; }
.hero-proof span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #d8e1ef;
  font-size: 0.93rem;
}

.hero-visual { display: flex; justify-content: flex-end; }

.app-frame,
.feature-card,
.demo-stage,
.demo-aside,
.price-card,
.testimonial-grid article,
.contact-card,
.demo-modal-dialog,
.mini-proof-strip {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.app-frame {
  position: relative;
  width: min(100%, 620px);
  padding: 22px;
  border-radius: 34px;
  overflow: hidden;
}

.app-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(125, 227, 255, 0.10), transparent 35%),
    linear-gradient(315deg, rgba(139, 92, 246, 0.12), transparent 35%);
  pointer-events: none;
}

.app-frame-bar,
.conversation-card header,
.pipeline-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-frame-bar {
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
  color: #b9c8dd;
  font-size: 0.92rem;
}

.app-dots {
  display: flex;
  gap: 8px;
}

.app-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
}

.app-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
}

.app-sidebar,
.conversation-card,
.pipeline-card,
.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.app-sidebar {
  border-radius: 24px;
  padding: 18px;
}

.sidebar-brand {
  margin-bottom: 18px;
  color: var(--text);
  font-weight: 700;
}

.sidebar-item {
  padding: 11px 12px;
  border-radius: 14px;
  color: var(--muted);
}

.sidebar-item + .sidebar-item {
  margin-top: 8px;
}

.sidebar-item.active {
  background: rgba(45, 212, 191, 0.14);
  color: #cffff6;
}

.app-main {
  display: grid;
  gap: 16px;
}

.app-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-card,
.aside-card,
.metric-card,
.schedule-card {
  border-radius: 20px;
  padding: 16px;
}

.stat-card span,
.aside-card span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.stat-card strong,
.aside-card strong,
.schedule-card strong {
  display: block;
  margin-top: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
}

.stat-card small { color: var(--muted); }

.stat-card-dark {
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.18), rgba(125, 227, 255, 0.12));
}

.app-panels {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 14px;
}

.conversation-card,
.pipeline-card {
  border-radius: 24px;
  padding: 18px;
}

.conversation-card header span,
.pipeline-card header span {
  color: var(--muted);
  font-size: 0.84rem;
}

.message {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 18px;
  line-height: 1.5;
  font-size: 0.94rem;
  margin-top: 12px;
}

.message.inbound {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 6px;
}

.message.outbound {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.92), rgba(125, 227, 255, 0.88));
  color: #041019;
  border-bottom-right-radius: 6px;
}

.pipeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pipeline-item:last-child {
  border-bottom: none;
}

.pipeline-item b,
.pipeline-item i {
  font-style: normal;
}

.pipeline-item i {
  color: #aaf8ee;
  font-weight: 800;
}

.floating-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(8, 14, 27, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d6e7ff;
  font-size: 0.9rem;
}

.mini-proof-strip {
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 999px;
}

.mini-proof-strip div { display: grid; gap: 3px; }
.mini-proof-strip strong { font-size: 0.96rem; }
.mini-proof-strip span { color: var(--muted); font-size: 0.85rem; }

.section-heading {
  text-align: center;
  margin-bottom: 26px;
}

.section-heading.left { text-align: left; }
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 860px;
}

.benefits-section,
.demo-section,
.pricing-section,
.proof-section {
  padding-top: 96px;
}

.contact-section { padding-top: 84px; }

.benefits-grid,
.pricing-grid,
.testimonial-grid,
.contact-section {
  display: grid;
  gap: 18px;
}

.benefits-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
}

.feature-card,
.price-card,
.testimonial-grid article,
.contact-card,
.demo-stage,
.demo-aside {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.feature-card h3,
.demo-step h3,
.price-card h3,
.modal-panel h3 {
  margin: 0 0 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.feature-card p,
.demo-step p,
.price-card p,
.pricing-note,
.testimonial-grid p,
.contact-card p,
.modal-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.accent-card {
  background: linear-gradient(160deg, rgba(45, 212, 191, 0.12), rgba(139, 92, 246, 0.10));
}

.feature-tag {
  margin: 0 0 10px;
  color: #78ece0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.icon-chip,
.step-tag,
.plan-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.icon-chip,
.step-tag {
  background: rgba(255, 255, 255, 0.08);
  color: #c8fff7;
}

.icon-card {
  min-height: 220px;
}

.signal-bars {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.signal-bars i {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.92) 0%, rgba(125, 227, 255, 0.18) 100%);
}

.demo-layout {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 18px;
}

.demo-screen {
  position: relative;
  min-height: 270px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12), rgba(139, 92, 246, 0.14));
  padding: 24px;
}

.demo-step,
.modal-panel {
  position: absolute;
  inset: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.demo-step.active,
.modal-panel.active {
  opacity: 1;
  transform: translateY(0);
}

.step-tag {
  margin-bottom: 16px;
}

.demo-controls {
  margin-top: 16px;
  justify-content: center;
}

.demo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
}

.demo-dot.active { background: var(--brand); }

.premium-aside {
  display: grid;
  align-content: space-between;
  gap: 14px;
}

.aside-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.aside-card-dark {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.22), rgba(45, 212, 191, 0.18));
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card h3 {
  font-size: 2.3rem;
}

.price-card h3 small {
  font-family: 'Manrope', sans-serif;
  font-size: 0.98rem;
  color: var(--muted);
}

.plan-tag {
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #dffef9;
}

.price-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.price-card li {
  position: relative;
  padding-left: 18px;
  color: #dfebfb;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.price-card.featured {
  transform: translateY(-8px);
  background: linear-gradient(165deg, rgba(45, 212, 191, 0.16), rgba(125, 227, 255, 0.14));
  border-color: rgba(125, 227, 255, 0.24);
}

.pricing-note {
  margin: 22px auto 0;
  max-width: 760px;
  text-align: center;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid article {
  min-height: 180px;
  display: grid;
  gap: 12px;
}

.testimonial-grid strong { color: #ffffff; }

.contact-section {
  grid-template-columns: 0.92fr 1.08fr;
}

.premium-contact-copy {
  background: linear-gradient(160deg, rgba(139, 92, 246, 0.14), rgba(45, 212, 191, 0.12));
}

.contact-links {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.contact-links a {
  color: #9bf8ee;
  font-weight: 700;
}

.form-card {
  background: rgba(8, 15, 28, 0.86);
}

.form-card form {
  display: grid;
  gap: 16px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: #d8e1ef;
  font-size: 0.96rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 14px 15px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: #8090a9;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(45, 212, 191, 0.18);
  border-color: rgba(45, 212, 191, 0.36);
}

.form-feedback { min-height: 22px; font-size: 0.94rem; }
.form-feedback.success { color: #7df1da; }
.form-feedback.error { color: #ff9f9f; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 54px 0 8px;
  color: var(--muted);
}

.demo-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}

.demo-modal.is-visible { display: flex; }

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 20, 0.72);
  backdrop-filter: blur(10px);
}

.demo-modal-dialog {
  position: relative;
  width: min(820px, 100%);
  border-radius: 30px;
  padding: 30px;
  background: rgba(8, 15, 28, 0.96);
}

.demo-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.6rem;
}

.modal-showcase {
  margin-top: 22px;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(45, 212, 191, 0.08), rgba(139, 92, 246, 0.10));
}

.modal-timeline {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.timeline-bar {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #7de3ff);
  transition: width 260ms ease;
}

.modal-panels {
  position: relative;
  min-height: 170px;
  margin-top: 18px;
}

.modal-actions { margin-top: 24px; }

@media (max-width: 1080px) {
  .hero,
  .benefits-grid,
  .demo-layout,
  .pricing-grid,
  .testimonial-grid,
  .contact-section,
  .app-grid,
  .app-panels,
  .app-stats {
    grid-template-columns: 1fr;
  }

  .price-card.featured { transform: none; }
  .hero-visual { justify-content: stretch; }
}

@media (max-width: 780px) {
  .site-shell {
    width: min(100% - 18px, 1240px);
    padding-top: 14px;
  }

  .topbar {
    position: static;
    border-radius: 28px;
    flex-direction: column;
    align-items: stretch;
  }

  .topnav,
  .topbar-actions { justify-content: center; }

  .hero { padding-top: 36px; }
  .mini-proof-strip { border-radius: 30px; }
  .field-row { grid-template-columns: 1fr; }

  .feature-card,
  .price-card,
  .testimonial-grid article,
  .contact-card,
  .demo-stage,
  .demo-aside,
  .demo-modal-dialog,
  .app-frame {
    padding: 22px;
  }

  .demo-screen { min-height: 300px; }
  .footer { flex-direction: column; }
  .brand img { width: 210px; }
  .floating-note {
    position: static;
    margin-top: 16px;
    display: inline-flex;
  }
}
