/* Product pages */
.product-page,
.product-page * {
  min-width: 0;
}

.product-page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
}

.product-intro {
  position: relative;
  padding: 58px 0 40px;
  background:
    radial-gradient(circle at 86% 14%, rgba(18, 163, 168, 0.13), transparent 32%),
    linear-gradient(135deg, #f9fbff 0%, #edf4ff 58%, #f7fafc 100%);
  border-bottom: 1px solid rgba(219, 228, 240, 0.92);
}

.product-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 38px;
  align-items: end;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 24px;
}

.product-breadcrumb a {
  color: var(--primary);
}

.product-breadcrumb span:last-child {
  color: var(--muted-strong);
}

.product-label-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.product-channel-badge,
.product-availability {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 999px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 900;
}

.product-channel-badge {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 22px rgba(18, 60, 105, 0.18);
}

.product-availability {
  background: rgba(255,255,255,0.75);
  color: var(--muted-strong);
  border: 1px solid rgba(219, 228, 240, 0.95);
}

.product-intro h1 {
  max-width: 900px;
  color: var(--primary-strong);
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-bottom: 22px;
  overflow-wrap: anywhere;
}

.product-lead {
  max-width: 790px;
  color: var(--muted-strong);
  font-size: clamp(18px, 2vw, 21px);
  margin-bottom: 28px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.product-summary-card {
  position: relative;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(219, 228, 240, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
  overflow: hidden;
}

.product-summary-card::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: rgba(18, 163, 168, 0.12);
}

.summary-price {
  position: relative;
  display: grid;
  gap: 5px;
  padding-bottom: 22px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.summary-price span,
.summary-price small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.summary-price strong {
  color: var(--primary-strong);
  font-size: 42px;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.summary-list {
  position: relative;
  display: grid;
  gap: 10px;
}

.summary-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
}

.summary-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 4px;
}

.summary-item strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.28;
}

.product-body {
  padding: 44px 0 76px;
}

.product-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.product-side-nav {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 5px;
  padding: 14px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.product-side-nav a {
  display: block;
  padding: 11px 12px;
  border-radius: 15px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 850;
  transition: background 0.2s ease, color 0.2s ease;
}

.product-side-nav a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.product-content-flow {
  display: grid;
  gap: 18px;
}

.product-card-block,
.product-final-panel {
  scroll-margin-top: 110px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 34px;
  overflow: hidden;
}

.product-card-block-featured {
  background:
    radial-gradient(circle at 92% 12%, rgba(18, 163, 168, 0.11), transparent 30%),
    var(--surface);
}

.product-block-head {
  margin-bottom: 24px;
}

.product-block-head-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: 28px;
  align-items: end;
}

.product-kicker {
  display: block;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.product-card-block h2,
.product-final-panel h2 {
  color: var(--primary-strong);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.03;
  letter-spacing: -0.052em;
  margin-bottom: 0;
}

.product-card-block p,
.product-final-panel p,
.product-block-head-row > p {
  color: var(--muted-strong);
  font-size: 16px;
  margin: 0;
}

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

.use-case-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: #f8fbff;
  border: 1px solid var(--line);
}

.use-case-card span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 18px;
}

.use-case-card h3 {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}

.use-case-card p {
  color: var(--muted);
  font-size: 15px;
}

.sms-preview-block {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(280px, 0.62fr);
  gap: 32px;
  align-items: center;
  background:
    radial-gradient(circle at 85% 18%, rgba(116, 240, 235, 0.17), transparent 30%),
    linear-gradient(135deg, #0d335d 0%, #123c69 62%, #0e5a72 100%);
  color: #fff;
}

.sms-preview-block .product-kicker {
  color: #74f0eb;
}

.sms-preview-block h2 {
  color: #fff;
  margin-bottom: 18px;
}

.sms-preview-block p {
  color: rgba(255,255,255,0.76);
  font-size: 17px;
}

.sms-preview-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.sms-preview-notes span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.84);
  font-size: 12px;
  font-weight: 850;
}

.phone-mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 310px);
  border-radius: 42px;
  padding: 12px;
  background: #061728;
  box-shadow: 0 26px 70px rgba(0,0,0,0.38);
}

.phone-top {
  height: 28px;
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  align-items: center;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 850;
  padding: 0 12px;
}

.phone-top span:last-child {
  text-align: right;
}

.phone-speaker {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
}

.phone-screen {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: 18px 14px 14px;
  border-radius: 32px;
  background: #f3f6fb;
  color: var(--ink);
}

.phone-contact {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 11px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(219, 228, 240, 0.9);
}

.phone-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 950;
}

.phone-contact strong,
.phone-contact span {
  display: block;
}

.phone-contact strong {
  color: var(--primary-strong);
  font-size: 15px;
}

.phone-contact span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.sms-bubble {
  width: 88%;
  margin-top: 26px;
  padding: 15px;
  border-radius: 20px 20px 20px 7px;
  background: #fff;
  border: 1px solid rgba(219, 228, 240, 0.9);
  box-shadow: 0 10px 22px rgba(15, 27, 45, 0.08);
}

.sms-bubble p {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.38;
  margin-bottom: 10px;
}

.sms-bubble p:last-of-type {
  margin-bottom: 12px;
}

.sms-bubble small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.phone-action-bar {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 38px;
  gap: 9px;
  align-items: center;
}

.phone-action-bar span {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.phone-action-bar button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

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

.targeting-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: #f8fbff;
  border: 1px solid var(--line);
}

.targeting-card strong,
.targeting-card span {
  display: block;
}

.targeting-card strong {
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -0.025em;
  margin-bottom: 7px;
}

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

.product-volume-block {
  background: var(--primary-strong);
  color: #fff;
}

.product-volume-block .product-kicker {
  color: #74f0eb;
}

.product-volume-block h2 {
  color: #fff;
}

.volume-country-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.volume-country-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
}

.volume-country-card span,
.volume-country-card strong,
.volume-country-card small {
  display: block;
}

.volume-country-card span {
  color: rgba(255,255,255,0.74);
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 12px;
}

.volume-country-card strong {
  color: #fff;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  margin-bottom: 8px;
}

.volume-country-card small {
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  font-weight: 750;
}

.product-timeline {
  display: grid;
  gap: 12px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  align-items: start;
  padding: 18px;
  border-radius: var(--radius-md);
  background: #f8fbff;
  border: 1px solid var(--line);
}

.timeline-step > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
}

.timeline-step h3 {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.timeline-step p {
  color: var(--muted);
  font-size: 15px;
}

.compliance-product-block {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: 26px;
  align-items: center;
  background:
    radial-gradient(circle at 92% 10%, rgba(22, 132, 91, 0.12), transparent 30%),
    var(--surface-green);
}

.compliance-product-content h2 {
  margin-bottom: 16px;
}

.compliance-check-list {
  display: grid;
  gap: 10px;
}

.compliance-check-list div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(219, 228, 240, 0.9);
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 800;
}

.compliance-check-list span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #e8f8f1;
  color: var(--success);
  font-weight: 950;
}

.pricing-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.38fr);
  gap: 16px;
  align-items: center;
  padding: 17px 20px;
  background: #fff;
}

.pricing-row + .pricing-row {
  border-top: 1px solid var(--line);
}

.pricing-row-head {
  background: #f8fbff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pricing-row span {
  color: var(--muted-strong);
  font-weight: 750;
}

.pricing-row strong {
  color: var(--primary-strong);
  font-size: 17px;
  text-align: right;
}

.pricing-product-block p.pricing-sms-segment-note {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
}

.product-final-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, #123c69, #0e5a72);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.product-final-panel .product-kicker {
  color: #74f0eb;
}

.product-final-panel h2 {
  color: #fff;
  margin-bottom: 12px;
}

.product-final-panel p {
  color: rgba(255,255,255,0.76);
  max-width: 720px;
}

@media (max-width: 1120px) {
  .product-intro-grid,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-summary-card {
    max-width: 720px;
  }

  .product-side-nav {
    position: relative;
    top: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .product-intro {
    padding: 46px 0 34px;
  }

  .product-body {
    padding: 34px 0 64px;
  }

  .product-block-head-row,
  .sms-preview-block,
  .compliance-product-block,
  .product-final-panel {
    grid-template-columns: 1fr;
  }

  .use-case-grid,
  .volume-country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-final-panel .btn {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .product-intro h1 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .product-actions,
  .product-final-panel .btn {
    display: grid;
    width: 100%;
  }

  .product-summary-card,
  .product-card-block,
  .product-final-panel {
    border-radius: 24px;
    padding: 24px 20px;
  }

  .summary-price strong {
    font-size: 38px;
  }

  .product-side-nav,
  .use-case-grid,
  .targeting-grid,
  .volume-country-grid {
    grid-template-columns: 1fr;
  }

  .product-side-nav {
    padding: 12px;
  }

  .phone-frame {
    width: min(100%, 292px);
  }

  .phone-screen {
    min-height: 460px;
  }

  .pricing-row,
  .pricing-row-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .pricing-row strong {
    text-align: left;
  }

  .timeline-step {
    grid-template-columns: 40px 1fr;
    padding: 15px;
  }

  .timeline-step > span {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 420px) {
  .product-summary-card,
  .product-card-block,
  .product-final-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .product-availability {
    align-items: flex-start;
    height: auto;
    min-height: 36px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 18px;
  }
}

.product-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.product-final-panel .btn-soft {
  background: rgba(255,255,255,0.12);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
}

.product-final-panel .btn-soft:hover {
  background: rgba(255,255,255,0.18);
}

@media (max-width: 940px) {
  .product-final-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .product-final-actions {
    display: grid;
    width: 100%;
  }
}
