:root {
  --blue: #1b67fa;
  --blue-deep: #0d4ae6;
  --blue-soft: #eaf2ff;
  --cyan: #37daf2;
  --aqua: #7aecf8;
  --navy: #071433;
  --ink: #0f172a;
  --muted: #5b6b82;
  --line: #dce8f6;
  --bg: #f6fbff;
  --white: #ffffff;
  --yellow: #ffd56a;
  --grad: linear-gradient(135deg, #37daf2 0%, #1b67fa 58%, #0d4ae6 100%);
  --grad-btn: linear-gradient(180deg, #3d8cff 0%, #1b67fa 52%, #1454e3 100%);
  --grad-btn-hover: linear-gradient(180deg, #3378f7 0%, #1558e0 52%, #0d4ae6 100%);
  --grad-soft: linear-gradient(180deg, #f4fbff 0%, #eaf3ff 100%);
  --shadow: 0 22px 50px rgba(27, 103, 250, 0.12);
  --shadow-lg: 0 40px 80px rgba(7, 20, 51, 0.18);
  --radius: 22px;
  --container: 1180px;
  --header: 78px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(27, 103, 250, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .lead {
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 80;
  background: #fff;
  padding: 8px 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

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

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 46px;
  width: auto;
}

.site-footer .brand-logo {
  height: 56px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

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

.btn-primary {
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 10px 22px rgba(27, 103, 250, 0.22);
}

.btn-primary:hover {
  background: var(--grad-btn-hover);
  box-shadow: 0 12px 26px rgba(27, 103, 250, 0.28);
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(27, 103, 250, 0.14);
}

.btn-secondary:hover {
  box-shadow: inset 0 0 0 1px rgba(27, 103, 250, 0.22), 0 8px 18px rgba(27, 103, 250, 0.08);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.btn-light {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 22px rgba(7, 20, 51, 0.12);
}

.btn-light:hover {
  box-shadow: 0 12px 26px rgba(7, 20, 51, 0.16);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 40px;
  background:
    radial-gradient(circle at 12% 18%, rgba(55, 218, 242, 0.22), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(27, 103, 250, 0.16), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  right: -80px;
  top: 40px;
  background: radial-gradient(circle, rgba(55, 218, 242, 0.18), transparent 70%);
}

.hero::after {
  width: 180px;
  height: 180px;
  left: 8%;
  bottom: 8%;
  border: 18px solid rgba(27, 103, 250, 0.08);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .lead {
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-1 {
  width: 220px;
  height: 220px;
  background: rgba(55, 218, 242, 0.28);
  right: -20px;
  top: -30px;
}

.orb-2 {
  width: 140px;
  height: 140px;
  background: rgba(27, 103, 250, 0.18);
  left: -20px;
  bottom: 40px;
}

/* Browser mock */
.browser {
  position: relative;
  background: #fff;
  border: 1px solid #d7e6f7;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-8deg) rotateX(4deg) translateY(-10px); }
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #f4f7fb;
  border-bottom: 1px solid var(--line);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5deea;
}

.dot:nth-child(1) { background: #ff6b6b; }
.dot:nth-child(2) { background: #ffd166; }
.dot:nth-child(3) { background: #06d6a0; }

.browser-url {
  flex: 1;
  height: 26px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.app-shell {
  display: grid;
  grid-template-columns: 188px 1fr;
  min-height: 390px;
}

.sidebar {
  background: #071a3a;
  color: #d7e6ff;
  padding: 18px 12px;
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 700;
}

.side-brand img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 12px;
  color: #9db4d8;
}

.side-link.active {
  background: rgba(55, 218, 242, 0.16);
  color: #fff;
}

.workspace {
  padding: 18px;
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
}

.workspace-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.workspace-top h3 {
  font-size: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e7f0ff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.metric {
  background: #fff;
  border: 1px solid #e4eef9;
  border-radius: 14px;
  padding: 10px;
}

.metric b {
  display: block;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.metric span {
  color: var(--muted);
  font-size: 10px;
}

.live-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  color: #fff;
  background: var(--grad);
}

.live-card small {
  opacity: 0.85;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-card strong {
  display: block;
  font-size: 15px;
  margin: 4px 0 8px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 10px;
}

.avatars {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.avatars span {
  width: 28px;
  height: 28px;
  margin-left: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #9ad8ff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  color: #07305f;
}

.avatars span:nth-child(2) { background: #ffe08a; }
.avatars span:nth-child(3) { background: #c9f3d3; }
.avatars span:nth-child(4) { background: #d8ccff; }

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid #e4eef9;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px 14px;
  width: 180px;
  animation: floaty 5.5s ease-in-out infinite;
}

.float-card.one {
  left: -28px;
  top: 84px;
}

.float-card.two {
  right: -18px;
  bottom: 36px;
  animation-delay: -1.4s;
}

.float-card b {
  display: block;
  font-size: 12px;
}

.float-card span {
  color: var(--muted);
  font-size: 11px;
}

.status {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.status.green { background: #e4f8ec; color: #147a3f; }
.status.amber { background: #fff4d6; color: #8a6400; }

/* Problem */
.problem {
  background: var(--bg);
  padding: 72px 0;
}

.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.85fr);
  gap: 36px;
  align-items: center;
}

.problem-intro {
  position: sticky;
  top: calc(var(--header) + 20px);
}

.problem-intro .section-head {
  margin-bottom: 0;
}

.problem-intro .lead {
  margin-inline: 0;
}

.pain-mosaic-wrap,
.feature-mosaic-wrap,
.who-mosaic-wrap {
  position: relative;
  min-width: 0;
}

.pain-mosaic,
.feature-mosaic,
.who-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pain-mosaic-hint,
.feature-mosaic-hint,
.who-mosaic-hint {
  display: none;
}

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

.pain {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 150px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pain-featured {
  grid-column: span 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  aspect-ratio: 1.08 / 1;
  min-height: 0;
  overflow: hidden;
  background: #fff;
}

.pain-mosaic .pain,
.pain-mosaic .pain-featured {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.pain-mosaic .pain-featured {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: visible;
}

.pain-mosaic .pain-featured::after {
  display: none;
}

.pain-mosaic .pain-illustration {
  position: relative;
  grid-row: 1;
  align-self: end;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: left bottom;
}

.pain-mosaic .pain-body {
  grid-row: 2;
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 10px 0 0;
}

.pain-mosaic .pain-body h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.pain-mosaic .pain-body p {
  font-size: 12px;
  line-height: 1.4;
}

.feature-mosaic .feature-featured {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  aspect-ratio: 1.08 / 1;
  overflow: visible;
}

.feature-mosaic .feature-visual {
  grid-row: 1;
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  max-height: 100%;
}

.feature-mosaic .feature-visual svg {
  width: min(72px, 52%);
  height: auto;
  display: block;
}

.feature-mosaic .feature-body {
  grid-row: 2;
  padding: 10px 0 0;
}

.feature-mosaic .feature-body h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.feature-mosaic .feature-body p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  margin: 0;
}

.who-mosaic .who-featured {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  aspect-ratio: 1.08 / 1;
  overflow: visible;
}

.who-mosaic .who-visual {
  grid-row: 1;
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  max-height: 100%;
}

.who-mosaic .who-visual svg {
  width: min(72px, 52%);
  height: auto;
  display: block;
}

.who-mosaic .who-card-body {
  grid-row: 2;
  align-self: end;
  padding: 10px 0 0;
}

.who-mosaic .who-card-body h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.who-mosaic .who-card-body p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  margin: 0;
}

.pain-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  animation: search-time 4.5s ease-in-out infinite;
  transform-origin: center center;
}

.pain-illustration--invite {
  animation: invite-wave 4.8s ease-in-out infinite;
}

.pain-featured::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.45) 28%, rgba(255, 255, 255, 0.92) 70%, #fff 100%);
  pointer-events: none;
  z-index: 1;
}

.pain-featured--light {
  background: #fff;
}

.pain-mosaic .pain-featured--light {
  background: transparent;
}

.pain-illustration--clash {
  animation: clash-wobble 4.2s ease-in-out infinite;
}

.pain-illustration--scatter {
  animation: scatter-drift 5s ease-in-out infinite;
}

.pain-illustration--path {
  animation: path-float 4.6s ease-in-out infinite;
}

.pain-illustration--booking {
  animation: booking-pulse 4.4s ease-in-out infinite;
}

.pain-featured--light:hover .pain-illustration--invite {
  animation-duration: 3.4s;
}

.pain-featured--light:hover .pain-illustration--clash {
  animation-duration: 3s;
}

.pain-featured--light:hover .pain-illustration--path {
  animation-duration: 3.2s;
}

.pain-featured--light:hover .pain-illustration--booking {
  animation-duration: 3.1s;
}

.pain-featured--light:hover .pain-illustration--scatter {
  animation-duration: 3.6s;
}

@keyframes invite-wave {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.02) translateY(-6px);
  }
}

@keyframes clash-wobble {
  0%, 100% {
    transform: scale(1) translateY(0) rotate(0deg);
  }
  25% {
    transform: scale(1.01) translateY(-4px) rotate(-0.4deg);
  }
  75% {
    transform: scale(1.01) translateY(-4px) rotate(0.4deg);
  }
}

@keyframes scatter-drift {
  0%, 100% {
    transform: scale(1) translateY(0) translateX(0);
  }
  33% {
    transform: scale(1.015) translateY(-5px) translateX(3px);
  }
  66% {
    transform: scale(1.015) translateY(-3px) translateX(-3px);
  }
}

@keyframes path-float {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.02) translateY(-6px);
  }
}

@keyframes booking-pulse {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.018) translateY(-5px);
  }
}

.pain-featured .pain-body {
  position: relative;
  z-index: 2;
  padding: 20px 22px 22px;
}

.pain-mosaic .pain-featured .pain-body {
  padding: 10px 0 0;
}

.pain-mosaic .pain:hover {
  transform: none;
  box-shadow: none;
}

.pain-featured:hover .pain-illustration {
  animation-duration: 3.2s;
}

@keyframes search-time {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.02) translateY(-5px);
  }
}

@keyframes pain-scroll-hint {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

.pain:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon-blob {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: var(--blue-soft);
  color: var(--blue);
}

.pain h3 {
  margin-bottom: 6px;
}

.pain p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.value-card {
  padding: 26px 22px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  min-height: 230px;
}

.value-card:nth-child(1) { background: linear-gradient(180deg, #eef9ff, #fff); }
.value-card:nth-child(2) { background: linear-gradient(180deg, #eef2ff, #fff); }
.value-card:nth-child(3) { background: linear-gradient(180deg, #e9fbff, #fff); }
.value-card:nth-child(4) { background: linear-gradient(180deg, #f3f0ff, #fff); }

.value-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.1em;
}

.value-card h3 {
  font-size: 1.6rem;
  margin: 10px 0 8px;
}

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

/* Product */
.product {
  background: var(--bg);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: stretch;
}

.product-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.product-nav .section-head {
  margin-bottom: 0;
}

.product-nav .lead {
  margin-inline: 0;
}

.product-showcase {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product-showcase .stage.is-active {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
}

.tabs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
  margin-top: 28px;
}

.tab {
  border: none;
  background: transparent;
  color: var(--muted);
  border-radius: 0;
  padding: 11px 0 11px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.tab:hover {
  color: var(--ink);
}

.tab.is-active {
  background: transparent;
  color: var(--ink);
  border-left-color: var(--blue);
}

.stage {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(27, 103, 250, 0.07);
}

.stage.is-active {
  display: block;
}

.stage--bare {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.stage--bare .stage-media--phone {
  background: transparent;
  min-height: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage--bare .stage-media--phone img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  display: block;
}

.stage--bare .stage-caption {
  padding: 16px 0 0;
  border-top: none;
}

.stage-media {
  background: linear-gradient(180deg, #fbfdff 0%, #f3f8ff 100%);
}

.stage-media--phone {
  min-height: 520px;
  padding: 0;
  background: var(--bg);
}

.stage-media--phone img {
  width: 100%;
  min-height: 520px;
  max-height: none;
  object-fit: cover;
  object-position: center top;
  background: transparent;
  mix-blend-mode: multiply;
}

.stage img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: transparent;
}

.stage-caption {
  margin: 0;
  padding: 18px 22px 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  border-top: 1px solid var(--line);
}

.ui-panel {
  padding: 20px;
  background: transparent;
}

.book-sub {
  color: var(--muted);
  font-size: 13px;
}

.calendar-ui,
.booking-ui,
.notes-ui {
  background: #f7fbff;
  color: var(--ink);
  border-radius: 18px;
  padding: 18px;
}

.cal-head,
.book-head,
.notes-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.week {
  display: grid;
  grid-template-columns: 70px repeat(5, 1fr);
  gap: 8px;
}

.hour,
.slot {
  border-radius: 10px;
  min-height: 42px;
  font-size: 11px;
  padding: 6px;
}

.hour {
  color: var(--muted);
  display: grid;
  place-items: center;
}

.slot {
  background: #eef4ff;
}

.slot.busy {
  background: #d9e4f2;
  color: #61748d;
}

.slot.free {
  background: #d9f8ef;
  color: #0f7a5c;
  font-weight: 700;
}

.slot.meet {
  background: var(--grad);
  color: #fff;
  font-weight: 700;
}

.book-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.day-cell {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.day-cell b,
.day-cell button {
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 12px;
  border: 0;
  background: #eef4ff;
}

.day-cell b {
  background: transparent;
  color: var(--muted);
  font-weight: 600;
}

.day-cell button.ok {
  background: #d8f5ff;
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.times {
  display: grid;
  gap: 8px;
}

.times button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  min-height: 40px;
  cursor: pointer;
}

.times button.pick {
  background: var(--grad-btn);
  color: #fff;
  border-color: transparent;
}

.topic {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 8px;
}

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

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

.steps-wrap::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue), transparent);
}

.step {
  text-align: center;
  padding: 8px 16px 0;
  position: relative;
}

.step-n {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  background: var(--grad);
  box-shadow: 0 12px 24px rgba(27, 103, 250, 0.25);
}

.step p {
  color: var(--muted);
  margin: 10px 0 0;
}

/* Features */
.features {
  background: var(--bg);
  padding: 72px 0;
}

.features-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.45fr);
  gap: 36px;
  align-items: center;
  margin-top: 56px;
}

.features-intro .section-head {
  margin-bottom: 0;
}

.features-intro .lead {
  margin-inline: 0;
}

.who-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.85fr);
  gap: 36px;
  align-items: center;
}

.who-intro .section-head {
  margin-bottom: 0;
}

.who-intro .lead {
  margin-inline: 0;
}

.features-audience {
  padding-top: 0;
  border-top: none;
}

/* Integrations */
.integrations {
  background: var(--bg);
}

.integrate-panel {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(27, 103, 250, 0.1);
}

.integrate-panel__image {
  width: 100%;
  height: auto;
  display: block;
}

.integrate-panel__copy {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(46%, 460px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 56px) clamp(24px, 4vw, 48px);
}

.integrate-panel__copy h2 {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}

.integrate-panel__copy h2 span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.integrate-panel__copy .lead + .lead {
  margin-top: 12px;
}

.integrate-icon {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(27, 103, 250, 0.08);
  color: var(--blue);
  margin-bottom: 18px;
}

.integrate-icon svg {
  width: 28px;
  height: 28px;
}

.integrate-icon-badge {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #22c55e;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.28);
}

.integrate-icon-badge svg {
  width: 12px;
  height: 12px;
}

/* CTA */
.final-cta {
  padding: 28px 0 100px;
}

.cta-band {
  border-radius: 36px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(55, 218, 242, 0.28), transparent 28%),
    radial-gradient(circle at 88% 80%, rgba(27, 103, 250, 0.35), transparent 30%),
    linear-gradient(135deg, #071433, #12316d 55%, #1b67fa);
}

.cta-band .lead {
  margin-inline: auto;
  color: #d5e4ff;
}

.cta-band .hero-actions {
  justify-content: center;
}

/* Footer */
.site-footer {
  background: #071018;
  color: #c9d4e5;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 12px;
}

.site-footer p {
  margin: 0;
  max-width: 32ch;
  font-size: 14px;
}

.site-footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  font-size: 13px;
}

/* Inner pages */
.page-hero {
  padding: 64px 0 28px;
  background: var(--grad-soft);
}

.prose {
  max-width: 720px;
  margin: 0 auto 80px;
}

.prose h2 {
  margin: 32px 0 12px;
  font-size: 1.4rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose a {
  color: var(--blue);
  font-weight: 600;
}

.form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.form label {
  font-size: 13px;
  font-weight: 700;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}

.form-success {
  display: none;
  padding: 16px;
  border-radius: 14px;
  background: #e8f8ef;
  color: #147a3f;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.7s ease forwards;
}

.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.24s; }
.d4 { animation-delay: 0.32s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .browser,
  .float-card,
  .pain-illustration,
  .pain-illustration--invite,
  .pain-illustration--clash,
  .pain-illustration--scatter,
  .pain-illustration--path,
  .pain-illustration--booking {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .app-shell,
  .book-grid,
  .live-card {
    grid-template-columns: 1fr;
  }

  .browser {
    transform: none;
    animation: none;
  }

  .float-card {
    display: none;
  }

  .value-grid,
  .footer-grid,
  .steps-wrap,
  .metric-row {
    grid-template-columns: 1fr 1fr;
  }

  .problem-layout,
  .features-layout,
  .who-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .product-nav {
    justify-content: flex-start;
    min-height: 0;
  }

  .product-nav .section-head {
    margin-bottom: 0;
  }

  .product-showcase {
    min-width: 0;
    margin-top: 0;
  }

  .product-showcase .stage.is-active {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: none;
  }

  .stage--bare .stage-media--phone {
    justify-content: center;
    padding: 0;
  }

  .stage--bare .stage-media--phone img {
    max-height: 440px;
    width: auto;
    max-width: 100%;
  }

  .stage--bare .stage-caption {
    text-align: center;
  }

  .tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 24px;
    overflow-x: auto;
    padding-bottom: 0;
    scrollbar-width: none;
    border-bottom: 1px solid var(--line);
    border-left: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-left: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
  }

  .tab.is-active {
    border-left-color: transparent;
    border-bottom-color: var(--blue);
  }

  .pain-mosaic,
  .feature-mosaic,
  .who-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-wrap::before {
    display: none;
  }

  .nav,
  .header-cta .btn-secondary {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section {
    padding: 72px 0;
  }

  .features {
    padding: 48px 0;
  }

  .features-layout {
    margin-top: 12px;
    gap: 12px;
  }

  .who-layout {
    gap: 12px;
  }

  .who-intro {
    order: -1;
  }

  .features-audience {
    margin-top: 32px;
  }

  .product-layout {
    gap: 0;
  }

  .product-nav .section-head h2 {
    font-size: 1.5rem;
  }

  .stage--bare .stage-media--phone img {
    max-height: 360px;
  }

  .stage--bare .stage-caption {
    font-size: 13px;
    padding: 12px 0 0;
  }

  .value-grid,
  .footer-grid,
  .steps-wrap,
  .week {
    grid-template-columns: 1fr;
  }

  .integrate-panel__copy {
    width: 100%;
    max-width: 100%;
    padding: 24px 20px;
    justify-content: flex-start;
    padding-top: 28px;
  }

  .integrate-panel__copy h2 {
    font-size: 1.65rem;
  }

  .integrate-panel__copy .lead {
    font-size: 15px;
  }

  .problem {
    padding: 56px 0;
  }

  .problem-intro {
    position: static;
  }

  .pain-mosaic-wrap::after,
  .feature-mosaic-wrap::after,
  .who-mosaic-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 52px;
    background: linear-gradient(90deg, transparent, var(--bg) 75%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.2s ease;
  }

  .pain-mosaic-wrap.is-scrolled-end::after,
  .feature-mosaic-wrap.is-scrolled-end::after,
  .who-mosaic-wrap.is-scrolled-end::after,
  .pain-mosaic-wrap:not(.has-overflow) .pain-mosaic-hint,
  .feature-mosaic-wrap:not(.has-overflow) .feature-mosaic-hint,
  .who-mosaic-wrap:not(.has-overflow) .who-mosaic-hint,
  .pain-mosaic-wrap:not(.has-overflow)::after,
  .feature-mosaic-wrap:not(.has-overflow)::after,
  .who-mosaic-wrap:not(.has-overflow)::after {
    opacity: 0;
    visibility: hidden;
  }

  .pain-mosaic-hint,
  .feature-mosaic-hint,
  .who-mosaic-hint {
    display: grid;
    place-items: center;
    position: absolute;
    right: 10px;
    top: 42%;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--blue);
    box-shadow: 0 10px 24px rgba(27, 103, 250, 0.14);
    z-index: 3;
    cursor: pointer;
    padding: 0;
    font: inherit;
    animation: pain-scroll-hint 1.8s ease-in-out infinite;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  }

  .pain-mosaic-hint:hover,
  .feature-mosaic-hint:hover,
  .who-mosaic-hint:hover {
    transform: translateX(2px);
    box-shadow: 0 12px 28px rgba(27, 103, 250, 0.18);
  }

  .pain-mosaic-hint:active,
  .feature-mosaic-hint:active,
  .who-mosaic-hint:active {
    transform: translateX(4px) scale(0.96);
  }

  .pain-mosaic-hint svg,
  .feature-mosaic-hint svg,
  .who-mosaic-hint svg {
    width: 20px;
    height: 20px;
  }

  .pain-mosaic-wrap.is-scrolled-end .pain-mosaic-hint,
  .feature-mosaic-wrap.is-scrolled-end .feature-mosaic-hint,
  .who-mosaic-wrap.is-scrolled-end .who-mosaic-hint {
    opacity: 0;
    visibility: hidden;
    animation: none;
  }

  .pain-mosaic,
  .feature-mosaic,
  .who-mosaic {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pain-mosaic::-webkit-scrollbar,
  .feature-mosaic::-webkit-scrollbar,
  .who-mosaic::-webkit-scrollbar {
    display: none;
  }

  .pain-mosaic .pain-featured,
  .feature-mosaic .feature-featured,
  .who-mosaic .who-featured {
    flex: 0 0 min(74vw, 270px);
    scroll-snap-align: start;
    aspect-ratio: 0.94 / 1;
  }

  .cta-band {
    padding: 36px 20px;
    border-radius: 24px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
  }
}
