:root {
  --bg: #f6f8ff;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --border: #e2e8f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.logo {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.menu-btn {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
}

.hero {
  padding: 5.2rem 0 3.5rem;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(79, 70, 229, 0.14), transparent 28%),
    radial-gradient(circle at 10% 80%, rgba(56, 189, 248, 0.1), transparent 25%);
  pointer-events: none;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.tag {
  display: inline-block;
  background: #e0e7ff;
  color: var(--primary-dark);
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-copy {
  color: var(--muted);
  max-width: 58ch;
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.75rem 1.1rem;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.hero-card h2 {
  margin: 0.5rem 0 0.8rem;
  font-size: 1.2rem;
}

.hero-stats {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.3rem;
  flex-wrap: wrap;
}

.stat-pill {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem 0.65rem;
  min-width: 130px;
}

.stat-pill strong {
  display: block;
  line-height: 1.1;
  color: var(--primary-dark);
}

.stat-pill span {
  font-size: 0.8rem;
  color: var(--muted);
}

.visual-top {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
}

.mini-chart {
  margin: 0.75rem 0;
  height: 130px;
  background: linear-gradient(180deg, #eef2ff, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  padding: 0.7rem;
}

.bar {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #6366f1, #4338ca);
}

.bar-1 {
  height: 46%;
}

.bar-2 {
  height: 68%;
}

.bar-3 {
  height: 39%;
}

.bar-4 {
  height: 83%;
}

.bar-5 {
  height: 58%;
}

.insight-list p {
  margin: 0.3rem 0;
  color: var(--muted);
}

.insight-list span {
  color: var(--text);
  font-weight: 600;
}

.phone-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.phone-mock {
  border: 5px solid #0f172a;
  border-radius: 24px;
  padding: 0.5rem 0.55rem 0.7rem;
  background:
    linear-gradient(160deg, rgba(14, 116, 144, 0.24), rgba(79, 70, 229, 0.24)),
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.3), transparent 34%),
    #0f172a;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  min-height: 190px;
}

.phone-notch {
  width: 52px;
  height: 6px;
  border-radius: 999px;
  background: #020617;
  margin: 0 auto 0.55rem;
}

.phone-state {
  margin: 0.45rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.62rem;
  color: #cbd5e1;
}

.phone-mock h3 {
  margin: 0.34rem 0 0.2rem;
  font-size: 0.84rem;
  line-height: 1.2;
  color: #ffffff;
}

.phone-sub {
  margin: 0;
  font-size: 0.7rem;
  color: #cbd5e1;
}

.phone-actions {
  margin-top: 0.48rem;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.action {
  font-size: 0.62rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}

.action.accept {
  background: #22c55e;
  color: #052e16;
}

.action.reject {
  background: #ef4444;
  color: #450a0a;
}

.action.muted {
  background: #64748b;
  color: #f8fafc;
}

.brand-call {
  border-color: #312e81;
  background:
    linear-gradient(165deg, rgba(99, 102, 241, 0.52), rgba(30, 41, 59, 0.66)),
    radial-gradient(circle at 75% 15%, rgba(165, 180, 252, 0.35), transparent 34%),
    #0f172a;
}

.threepl-call {
  background:
    linear-gradient(165deg, rgba(71, 85, 105, 0.62), rgba(15, 23, 42, 0.84)),
    radial-gradient(circle at 75% 15%, rgba(148, 163, 184, 0.2), transparent 34%),
    #020617;
  opacity: 0.95;
}

.vs-chip {
  font-size: 0.68rem;
  color: #475569;
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem 0.35rem;
  background: #fff;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.58rem;
  font-weight: 700;
  color: #e2e8f0;
  opacity: 0.95;
}

.call-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.73rem;
  font-weight: 700;
  margin-top: 0.24rem;
}

.call-avatar.unknown {
  background: rgba(71, 85, 105, 0.55);
}

.section {
  padding: 4rem 0;
}

.section-label {
  margin: 0;
  color: var(--primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}

.section-title {
  margin: 0.45rem 0 1.4rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.alt {
  background: #eef2ff;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.icon-badge {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0e7ff;
  border-radius: 10px;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.visual-section {
  background: #f8faff;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: center;
}

.check-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.check-list li {
  margin-bottom: 0.45rem;
}

.dashboard-shot {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.25);
}

.shot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #334155;
  padding-bottom: 0.6rem;
  margin-bottom: 0.7rem;
}

.shot-content {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.reason-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1e293b;
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
}

.reason-row b {
  color: #a5b4fc;
}

.solution-grid .solution-card {
  min-height: 260px;
  position: relative;
  overflow: hidden;
  padding: 1.1rem 1.05rem;
  border: 1px solid #d9e1f2;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  border-top: 4px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.solution-card h3,
.solution-card p {
  position: relative;
  z-index: 1;
}

.solution-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.solutions-copy {
  margin: -0.2rem 0 1rem;
  max-width: 65ch;
  color: var(--muted);
}

.solution-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
}

.solution-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.solution-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #334155;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 0.18rem 0.45rem;
}

.solution-card p {
  margin-bottom: 0.65rem;
}

.solution-card ul {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-left: 1rem;
  color: #334155;
}

.solution-card li {
  margin-bottom: 0.24rem;
  font-size: 0.89rem;
}

.solution-card.s1 {
  background: #ffffff;
  border-top-color: #6366f1;
}

.solution-card.s2 {
  background: #ffffff;
  border-top-color: #06b6d4;
}

.solution-card.s3 {
  background: #ffffff;
  border-top-color: #f59e0b;
}

.solution-card.s4 {
  background: #ffffff;
  border-top-color: #ec4899;
}

.cta-band {
  background: linear-gradient(120deg, #1e1b4b, #4338ca);
  color: #fff;
  text-align: center;
  border-radius: 18px;
  padding: 2rem;
}

.cta-band h2 {
  margin-top: 0;
}

.cta-band p {
  margin: 0 auto 1rem;
  max-width: 62ch;
  color: #e2e8f0;
}

.footer {
  background: #0b1020;
  color: #cbd5e1;
  padding: 2.3rem 0 1rem;
}

.footer .logo {
  color: #fff;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-block {
  display: flex;
  flex-direction: column;
}

.contact-block h3 {
  margin: 0 0 0.45rem;
  color: #fff;
}

.contact-block a,
.contact-block span {
  color: #cbd5e1;
  text-decoration: none;
}

.copyright {
  text-align: center;
  margin: 1.2rem 0 0;
  border-top: 1px solid #1e293b;
  padding-top: 1rem;
}

@media (max-width: 900px) {
  .hero-wrap,
  .visual-grid,
  .grid.three,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .phone-compare {
    grid-template-columns: 1fr;
  }

  .vs-chip {
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .menu-btn {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--border);
  }

  .nav-links a {
    padding: 0.8rem 4%;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }
}
