/* =========================================================
   Rdelab — Product Pages Stylesheet
   Used by: /ai-receptionist/*, /tools/*
   Base header/nav/footer come from style.css.
   ========================================================= */

/* =========================================================
   1. BRAND MARK — "Rdelab" + subtitle
   ========================================================= */
/* =========================================================
   1. BRAND MARK — inline "Rdelab [TAG]"
   ========================================================= */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}
.brand-mark__top {
  display: inline-flex;
  align-items: baseline;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-mark__r {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-mark__rest {
  color: #FFFFFF;
  margin-left: 1px;
}
.brand-mark__sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 4px 10px;
  border: 1px solid rgba(62,224,208,.35);
  border-radius: 100px;
  background: rgba(62,224,208,.08);
  white-space: nowrap;
}
.brand-mark--footer .brand-mark__top { font-size: 20px; }
.brand-mark--footer .brand-mark__sub { font-size: 9.5px; }
@media (max-width: 560px) {
  .brand-mark__sub { display: none; }
}
.brand-mark__top {
  display: inline-flex;
  align-items: baseline;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-mark__r {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-mark__rest {
  color: #FFFFFF;
  margin-left: 1px;
}
.brand-mark__sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 2px;
  padding-left: 1px;
}
.brand-mark--footer .brand-mark__top { font-size: 20px; }
.brand-mark--footer .brand-mark__sub { font-size: 9.5px; }

/* =========================================================
   2. SERVICES MEGA MENU (4-column grouped)
   ========================================================= */
.has-sub--mega .nav__sub {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  min-width: 820px;
  padding: 28px 32px;
  background: var(--bg-alt, #0D1320);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.has-sub--mega .nav__sub-group { min-width: 0; }
.has-sub--mega .nav__sub-group-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--cyan);
  font-weight: 700;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(62,224,208,.15);
}
.has-sub--mega .nav__sub-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.has-sub--mega .nav__sub-group a {
  display: block;
  padding: 6px 8px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255,255,255,.72);
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.has-sub--mega .nav__sub-group a:hover {
  background: rgba(62,224,208,.08);
  color: #fff;
}

/* =========================================================
   3. PRODUCTS DROPDOWN (icon + label + hint)
   ========================================================= */
.has-sub--products .nav__sub {
  display: block;
  min-width: 300px;
  padding: 12px;
  background: var(--bg-alt, #0D1320);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.has-sub--products .nav__sub ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.has-sub--products .nav__sub a {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s ease;
}
.has-sub--products .nav__sub a:hover {
  background: rgba(62,224,208,.06);
}
.has-sub--products .nav__sub-icon {
  grid-row: 1 / 3;
  grid-column: 1;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(62,224,208,.14), rgba(139,92,246,.1));
  border: 1px solid rgba(62,224,208,.2);
  border-radius: 10px;
  font-size: 20px;
  align-self: center;
}
.has-sub--products .nav__sub-label {
  grid-column: 2;
  grid-row: 1;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  align-self: end;
}
.has-sub--products .nav__sub-label .star {
  color: var(--cyan);
  margin-left: 4px;
}
.has-sub--products .nav__sub-hint {
  grid-column: 2;
  grid-row: 2;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  align-self: start;
}

/* =========================================================
   4. HERO
   ========================================================= */
.rc-hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}
.rc-hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(62,224,208,.12), transparent 70%);
  pointer-events: none;
}
.rc-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.rc-hero__eyebrow {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  font-weight: 600;
}
.rc-hero__title {
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.rc-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rc-hero__sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin-bottom: 32px;
}
.rc-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.rc-hero__bullets {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
}
.rc-hero__bullets li::before {
  content: "✓";
  color: var(--cyan);
  margin-right: 10px;
  font-weight: 700;
}

/* =========================================================
   5. PHONE MOCKUP
   ========================================================= */
.rc-hero__mockup { display: flex; justify-content: center; }
.rc-phone {
  width: 300px;
  background: #0D1320;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 32px;
  padding: 20px 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 8px rgba(62,224,208,.04);
  position: relative;
}
.rc-phone__notch {
  width: 80px; height: 5px;
  background: rgba(255,255,255,.15);
  border-radius: 3px;
  margin: 0 auto 20px;
}
.rc-phone__chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rc-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.45;
  max-width: 88%;
  animation: rc-fade .5s ease both;
}
.rc-bubble--in {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.rc-bubble--out {
  background: linear-gradient(135deg, #3EE0D0, #2B8CF0);
  color: #0A0E17;
  font-weight: 600;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.rc-bubble--confirm {
  background: linear-gradient(135deg, #10B981, #3EE0D0);
}
.rc-bubble:nth-child(1) { animation-delay: .1s; }
.rc-bubble:nth-child(2) { animation-delay: .6s; }
.rc-bubble:nth-child(3) { animation-delay: 1.1s; }
.rc-bubble:nth-child(4) { animation-delay: 1.6s; }
.rc-bubble:nth-child(5) { animation-delay: 2.1s; }
.rc-bubble:nth-child(6) { animation-delay: 2.6s; }
@keyframes rc-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   6. TRUST BAR
   ========================================================= */
.rc-trustbar {
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
  background: rgba(13,19,32,.5);
}
.rc-trustbar__inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
}
.rc-trustbar__inner span::before {
  content: "·";
  color: var(--cyan);
  margin-right: 12px;
  font-weight: 800;
}
.rc-trustbar__inner span:first-child::before { content: none; }

/* =========================================================
   7. SECTION BASE
   ========================================================= */
.rc-section { padding: 90px 0; }
.rc-section__title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 720px;
}
.rc-section__lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,.68);
  max-width: 640px;
  margin-bottom: 48px;
}

/* =========================================================
   8. PROBLEM
   ========================================================= */
.rc-problem { background: var(--bg-alt, #0D1320); }
.rc-problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rc-problem__card {
  background: var(--bg-card, rgba(17,23,38,.85));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 32px 28px;
}
.rc-problem__num {
  font-size: 44px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.rc-problem__label {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,.65);
}

/* =========================================================
   9. HOW IT WORKS
   ========================================================= */
.rc-how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.rc-how__step {
  position: relative;
  padding: 28px 22px;
  background: var(--bg-card, rgba(17,23,38,.85));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
}
.rc-how__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--cyan);
  margin-bottom: 14px;
  letter-spacing: .1em;
}
.rc-how__step h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.rc-how__step p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.62); }

/* =========================================================
   10. FEATURES
   ========================================================= */
.rc-features { background: var(--bg-alt, #0D1320); }
.rc-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rc-feature {
  background: var(--bg-card, rgba(17,23,38,.85));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform .25s ease, border-color .25s ease;
}
.rc-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(62,224,208,.25);
}
.rc-feature__icon { font-size: 26px; margin-bottom: 16px; }
.rc-feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.rc-feature p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.62); }

/* =========================================================
   11. AUDIENCE
   ========================================================= */
.rc-audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rc-audience__item {
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17,23,38,.6), rgba(17,23,38,.3));
}
.rc-audience__item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--cyan);
}
.rc-audience__item p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.68);
}

/* =========================================================
   12. PRICING TEASER (index page)
   ========================================================= */
.rc-pricing-teaser,
.rc-pricing-teaser .container,
.rc-pricing-teaser__grid,
.rc-price-card--featured {
  overflow: visible !important;
}
.rc-pricing-teaser__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  padding-top: 24px;
}
.rc-price-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-card, rgba(17,23,38,.85));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
}
.rc-price-card--featured {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), 0 20px 60px rgba(62,224,208,.12);
}
.rc-price-card__badge {
  position: absolute;
  top: -12px; left: 28px;
  background: var(--grad-primary);
  color: #0A0E17;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  z-index: 10;
}
.rc-price-card__tier {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.rc-price-card__amount {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 6px;
}
.rc-price-card__amount span {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.5);
}
.rc-price-card__monthly {
  font-size: 14px;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 18px;
}
.rc-price-card__desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.62);
}
.rc-pricing-teaser__cta { text-align: center; }

/* =========================================================
   13. FAQ
   ========================================================= */
.rc-faq__inner { max-width: 760px; margin: 0 auto; }
.rc-faq__item {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.rc-faq__item summary {
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.rc-faq__item summary::-webkit-details-marker { display: none; }
.rc-faq__item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--cyan);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.rc-faq__item[open] summary::after { content: "−"; }
.rc-faq__item p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.68);
}

/* =========================================================
   14. FINAL CTA
   ========================================================= */
.rc-cta { padding: 100px 0; }
.rc-cta__inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.rc-cta h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.rc-cta p {
  font-size: 17px;
  color: rgba(255,255,255,.68);
  margin-bottom: 32px;
}
.rc-cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.rc-hero .btn--primary,
.rc-cta .btn--primary {
  padding: 14px 28px;
  font-size: 15px;
}

/* =========================================================
   15. PRICING PAGE — Page head
   ========================================================= */
.rc-page-head {
  padding: 70px 0 40px;
  text-align: center;
}
.rc-page-head__eyebrow {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 16px;
}
.rc-page-head__title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.rc-page-head__sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,.7);
  max-width: 620px;
  margin: 0 auto;
}

/* =========================================================
   16. PRICING PAGE — Tier cards
   ========================================================= */
.rc-pricing,
.rc-pricing .container,
.rc-pricing__grid,
.rc-tier--featured {
  overflow: visible !important;
}
.rc-pricing { padding: 70px 0 60px; }
.rc-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 30px;
}
.rc-tier {
  position: relative;
  background: var(--bg-card, rgba(17,23,38,.85));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}
.rc-tier:hover { transform: translateY(-4px); }
.rc-tier--featured {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), 0 24px 60px rgba(62,224,208,.15);
  transform: translateY(-8px);
}
.rc-tier--featured:hover { transform: translateY(-12px); }
.rc-tier__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #0A0E17;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  white-space: nowrap;
  z-index: 100;
}
.rc-tier__head { margin-bottom: 24px; }
.rc-tier__name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.rc-tier__desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.6);
  min-height: 40px;
}
.rc-tier__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.rc-tier__currency {
  font-size: 24px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
}
.rc-tier__amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.rc-tier__period {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  margin-left: 4px;
}
.rc-tier__price--custom .rc-tier__amount {
  font-size: 34px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rc-tier__monthly {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  margin-bottom: 24px;
}
.rc-tier__monthly strong { color: var(--cyan); font-weight: 700; }
.rc-tier__cta {
  width: 100%;
  text-align: center;
  margin-bottom: 28px;
}
.rc-tier__features {
  list-style: none;
  padding: 24px 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.rc-tier__features li {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.72);
  padding-left: 22px;
  position: relative;
}
.rc-tier__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 800;
}
.rc-tier__features li strong { color: #fff; font-weight: 700; }

/* =========================================================
   17. PRICING PAGE — Comparison table
   ========================================================= */
.rc-compare { background: var(--bg-alt, #0D1320); }
.rc-compare__wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  -webkit-overflow-scrolling: touch;
}
.rc-compare__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--bg-card, rgba(17,23,38,.85));
}
.rc-compare__table th,
.rc-compare__table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.rc-compare__table thead th {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.02);
}
.rc-compare__table thead th.is-featured {
  color: var(--cyan);
  background: rgba(62,224,208,.06);
}
.rc-compare__table tbody td:first-child {
  color: rgba(255,255,255,.85);
  font-weight: 500;
}
.rc-compare__table tbody td:not(:first-child) {
  color: rgba(255,255,255,.65);
  text-align: center;
}
.rc-compare__table tbody td.is-featured {
  color: #fff;
  font-weight: 600;
  background: rgba(62,224,208,.04);
}
.rc-compare__table tbody tr:last-child td { border-bottom: none; }

/* =========================================================
   18. PRICING PAGE — Add-ons
   ========================================================= */
.rc-addons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rc-addon {
  padding: 28px 24px;
  background: var(--bg-card, rgba(17,23,38,.85));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  transition: border-color .2s ease;
}
.rc-addon:hover { border-color: rgba(62,224,208,.25); }
.rc-addon h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.rc-addon__price {
  font-size: 18px;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.rc-addon p:last-child {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
}

/* =========================================================
   19. PRICING PAGE — What's included
   ========================================================= */
.rc-included { background: var(--bg-alt, #0D1320); }
.rc-included__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}
.rc-included__item {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.75);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

/* =========================================================
   20. RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .has-sub--mega .nav__sub {
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 16px;
    padding: 16px;
  }
  .has-sub--mega .nav__sub-group-title {
    border-bottom: none;
    margin-bottom: 6px;
    padding-bottom: 0;
  }
}

@media (max-width: 960px) {
  .rc-hero { padding: 60px 0 40px; }
  .rc-hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .rc-hero__mockup { order: -1; }
  .rc-problem__grid,
  .rc-features__grid,
  .rc-audience__grid,
  .rc-pricing-teaser__grid,
  .rc-pricing__grid { grid-template-columns: 1fr; }
  .rc-how__grid { grid-template-columns: repeat(2, 1fr); }
  .rc-tier--featured,
  .rc-tier--featured:hover { transform: none; }
  .rc-addons__grid { grid-template-columns: repeat(2, 1fr); }
  .rc-included__grid { grid-template-columns: 1fr; }
  .rc-section { padding: 64px 0; }
  .rc-cta { padding: 72px 0; }
  .rc-page-head { padding: 50px 0 30px; }
}

@media (max-width: 560px) {
  .rc-how__grid { grid-template-columns: 1fr; }
  .rc-trustbar__inner { gap: 16px; font-size: 11px; }
  .rc-trustbar__inner span::before { margin-right: 6px; }
  .rc-hero__actions,
  .rc-cta__actions { flex-direction: column; }
  .rc-hero__actions .btn,
  .rc-cta__actions .btn { width: 100%; text-align: center; }
  .rc-phone { width: 260px; }
  .rc-addons__grid { grid-template-columns: 1fr; }
  .rc-tier { padding: 30px 22px; }
  .rc-tier__amount { font-size: 34px; }
  .rc-tier__price--custom .rc-tier__amount { font-size: 28px; }
  .brand-mark__sub { font-size: 9px; }
}
/* =========================================================
   21. FOOTER (scaffolding)
   ========================================================= */
.footer {
  padding: 60px 0 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: var(--bg-alt, #0D1320);
  margin-top: 60px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: start;
}
.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  margin: 0 0 16px;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col ul a {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s ease;
}
.footer__col ul a:hover { color: var(--cyan); }
.footer__col--brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
  margin: 16px 0 20px;
  max-width: 320px;
}
.footer__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__certs span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 5px 10px;
  border: 1px solid rgba(62,224,208,.3);
  border-radius: 100px;
  color: var(--cyan);
  text-transform: uppercase;
}
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
  text-align: center;
}
.footer__bottom a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s ease;
}
.footer__bottom a:hover { color: var(--cyan); }

@media (max-width: 860px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* =========================================================
   22. TOOLS PAGE
   ========================================================= */
.tools-hero {
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
  text-align: center;
}
.tools-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(62,224,208,.14), transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(139,92,246,.1), transparent 60%);
  pointer-events: none;
}
.tools-hero__inner { position: relative; z-index: 1; }
.tools-hero__eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 20px;
}
.tools-hero__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.tools-hero__sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.7);
  max-width: 640px;
  margin: 0 auto 48px;
}
.tools-hero__stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.tools-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tools-hero__stat-num {
  font-size: 32px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.tools-hero__stat-label {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  font-weight: 600;
}

/* Section headings */
.tools-section__title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.tools-section__lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,.68);
  margin: 0 0 48px;
  max-width: 620px;
}

/* Sections */
.tools-live { padding: 60px 0 40px; }
.tools-coming { padding: 60px 0 90px; background: var(--bg-alt, #0D1320); }
.tools-why { padding: 80px 0; }

/* Grids */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.tools-grid--ghost {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Tool card */
.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--bg-card, rgba(17,23,38,.85));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(62,224,208,.4);
  box-shadow: 0 24px 60px rgba(62,224,208,.12);
}
.tool-card__glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(62,224,208,.22), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}
.tool-card:hover .tool-card__glow { opacity: 1; }

.tool-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.tool-card__icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(62,224,208,.14), rgba(139,92,246,.1));
  border: 1px solid rgba(62,224,208,.2);
  font-size: 26px;
}
.tool-card__icon-emoji { line-height: 1; }
.tool-card__badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(16,185,129,.14);
  color: #10B981;
  border: 1px solid rgba(16,185,129,.3);
}
.tool-card__badge--soon {
  background: rgba(139,92,246,.14);
  color: #A78BFA;
  border-color: rgba(139,92,246,.3);
}

.tool-card__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: #fff;
}
.tool-card__sub {
  font-size: 13px;
  color: var(--cyan);
  font-weight: 600;
  margin: 0 0 14px;
}
.tool-card__desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.68);
  margin: 0 0 20px;
}
.tool-card__features {
  list-style: none;
  padding: 20px 0 0;
  margin: 0 0 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tool-card__features li {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  padding-left: 20px;
  position: relative;
}
.tool-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 800;
}
.tool-card__cta {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--cyan);
}
.tool-card__cta--disabled {
  color: rgba(255,255,255,.4);
}

/* Ghost (coming soon) cards */
.tool-card--ghost {
  opacity: .85;
  padding: 24px 22px;
  background: linear-gradient(180deg, rgba(17,23,38,.7), rgba(17,23,38,.4));
}
.tool-card--ghost:hover {
  opacity: 1;
  border-color: rgba(139,92,246,.3);
  box-shadow: 0 20px 50px rgba(139,92,246,.1);
}
.tool-card--ghost .tool-card__title { font-size: 17px; }
.tool-card--ghost .tool-card__icon { width: 44px; height: 44px; font-size: 22px; }
.tool-card--ghost .tool-card__desc { font-size: 13.5px; margin-bottom: 16px; }

/* Why grid */
.tools-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.tools-why__item {
  padding: 28px 26px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17,23,38,.5), transparent);
}
.tools-why__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.tools-why__item h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}
.tools-why__item p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.62);
  margin: 0;
}

/* Tools responsive */
@media (max-width: 960px) {
  .tools-grid { grid-template-columns: 1fr; }
  .tools-grid--ghost { grid-template-columns: repeat(2, 1fr); }
  .tools-why__grid { grid-template-columns: 1fr; }
  .tools-hero__stats { gap: 40px; }
}
@media (max-width: 560px) {
  .tools-grid--ghost { grid-template-columns: 1fr; }
  .tools-hero { padding: 70px 0 40px; }
  .tools-hero__stats { gap: 28px; }
  .tools-hero__stat-num { font-size: 26px; }
}
/* =========================================================
   23. NAV DROPDOWN BASE — hover + positioning + Blog
   ========================================================= */

/* Parent item needs relative positioning */
.nav__list > li.has-sub {
  position: relative;
}

/* Chevron indicator on any dropdown parent */
.nav__list > li.has-sub > a::after {
  content: "▾";
  font-size: 10px;
  margin-left: 6px;
  opacity: .6;
  display: inline-block;
  transition: transform .2s ease;
}
.nav__list > li.has-sub:hover > a::after {
  transform: rotate(180deg);
  opacity: 1;
}

/* Base dropdown panel — hidden by default, shown on hover */
.nav__sub {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-alt, #0D1320);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  padding: 10px;
  min-width: 220px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 1000;
}
.nav__list > li.has-sub:hover .nav__sub,
.nav__list > li.has-sub:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Simple dropdown items (Blog, Products default) */
.nav__sub > li,
.nav__sub > ul > li {
  list-style: none;
}
.nav__sub a {
  display: block;
  padding: 8px 12px;
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.nav__sub a:hover {
  background: rgba(62,224,208,.08);
  color: #fff;
}

/* =========================================================
   24. PRODUCTS DROPDOWN (icon + label + hint) — refine
   ========================================================= */
.has-sub--products .nav__sub {
  display: block;
  min-width: 320px;
  padding: 10px;
}
.has-sub--products .nav__sub > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.has-sub--products .nav__sub a {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 10px 12px;
  border-radius: 10px;
  white-space: normal;
}
.has-sub--products .nav__sub-icon {
  grid-row: 1 / 3;
  grid-column: 1;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(62,224,208,.14), rgba(139,92,246,.1));
  border: 1px solid rgba(62,224,208,.2);
  border-radius: 10px;
  font-size: 20px;
  align-self: center;
}
.has-sub--products .nav__sub-label {
  grid-column: 2;
  grid-row: 1;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  align-self: end;
}
.has-sub--products .nav__sub-label .star {
  color: var(--cyan);
  margin-left: 4px;
}
.has-sub--products .nav__sub-hint {
  grid-column: 2;
  grid-row: 2;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  align-self: start;
}

/* =========================================================
   25. BLOG DROPDOWN
   ========================================================= */
.has-sub--blog .nav__sub {
  min-width: 200px;
  padding: 8px;
}

/* =========================================================
   26. MOBILE — collapse all dropdowns
   ========================================================= */
@media (max-width: 1100px) {
  .nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 4px 0 4px 16px;
    min-width: 0;
  }
  .has-sub--mega .nav__sub {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
    background: var(--bg-alt, #0D1320);
    border-radius: 12px;
  }
  .nav__list > li.has-sub > a::after { display: none; }
}
/* =========================================================
   27. NAV — CLEAN SLATE
   Remove any conflicting rules from earlier sections
   ========================================================= */

/* Make header container the positioning context */
.header__inner { position: relative; }

/* Nav list */
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list > li { position: relative; }
.nav__list > li > a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  font-size: 14px;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .15s ease, background .15s ease;
}
.nav__list > li > a:hover { color: #fff; }
.nav__list > li > a.is-active { color: var(--cyan); }

/* Chevron for items with submenu */
.nav__list > li.has-sub > a::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  margin-top: -3px;
  transition: transform .2s ease;
  opacity: .7;
}
.nav__list > li.has-sub:hover > a::after {
  transform: rotate(-135deg);
  margin-top: 3px;
  opacity: 1;
}

/* =========================================================
   28. MEGA MENU — Services & Blog
   Absolute-positioned under header container, centered
   ========================================================= */
.has-sub--mega { position: static !important; }

.has-sub--mega .nav__sub {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(1080px, calc(100vw - 40px));
  background: #0D1320;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.02);
  padding: 32px 36px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 2000;
}
.has-sub--mega:hover .nav__sub,
.has-sub--mega:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Grid inside mega menu */
.nav__sub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 28px;
}

/* Column */
.nav__sub-col { min-width: 0; }
.nav__sub-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__sub-title .star { color: var(--cyan); }
.nav__sub-desc {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-weight: 500;
  letter-spacing: .01em;
}
.nav__sub-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav__sub-col ul a {
  display: block;
  padding: 7px 10px;
  font-size: 13.5px;
  line-height: 1.4;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  border-radius: 6px;
  transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.nav__sub-col ul a:hover {
  background: rgba(62,224,208,.08);
  color: #fff;
  padding-left: 14px;
}

/* Extra "Opinions →" link below column */
.nav__sub-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan) !important;
  text-decoration: none;
  padding: 6px 10px;
}
.nav__sub-more:hover { text-decoration: underline; }

/* Footer row of mega menu */
.nav__sub-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 0;
}
.nav__sub-footer > span,
.nav__sub-footer > a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .15s ease;
}
.nav__sub-footer > a:hover { color: var(--cyan); }
.nav__sub-footer-cta {
  padding: 8px 18px !important;
  background: linear-gradient(135deg, #3EE0D0, #2B8CF0);
  color: #0A0E17 !important;
  border-radius: 100px;
  font-weight: 700 !important;
}
.nav__sub-footer-cta:hover { color: #0A0E17 !important; opacity: .9; }

/* =========================================================
   29. PRODUCTS DROPDOWN — smaller, anchored
   ========================================================= */
.has-sub--products { position: relative !important; }

.has-sub--products .nav__sub {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 320px;
  background: #0D1320;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 2000;
}
.has-sub--products:hover .nav__sub,
.has-sub--products:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.has-sub--products .nav__sub ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.has-sub--products .nav__sub a {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s ease;
}
.has-sub--products .nav__sub a:hover { background: rgba(62,224,208,.06); }
.has-sub--products .nav__sub-icon {
  grid-row: 1 / 3;
  grid-column: 1;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(62,224,208,.14), rgba(139,92,246,.1));
  border: 1px solid rgba(62,224,208,.2);
  border-radius: 10px;
  font-size: 20px;
  align-self: center;
}
.has-sub--products .nav__sub-label {
  grid-column: 2;
  grid-row: 1;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  align-self: end;
}
.has-sub--products .nav__sub-label .star { color: var(--cyan); margin-left: 4px; }
.has-sub--products .nav__sub-hint {
  grid-column: 2;
  grid-row: 2;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  align-self: start;
}

/* =========================================================
   30. MOBILE — collapse dropdowns
   ========================================================= */
@media (max-width: 1100px) {
  .has-sub--mega .nav__sub,
  .has-sub--products .nav__sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    width: auto;
    box-shadow: none;
    border-radius: 12px;
    padding: 16px;
    margin: 8px 0;
  }
  .nav__sub-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 12px; }
  .nav__sub-footer { flex-direction: column; align-items: flex-start; }
}
/* =========================================================
   NAV + BRAND — FINAL (overrides everything above)
   ========================================================= */

/* --- Brand mark: icon + name + tiny tag --- */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2B8CF0, #3EE0D0);
  border-radius: 9px;
  color: #FFFFFF;
  font-size: 19px;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand-mark__text {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}
.brand-mark__name {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}
.brand-mark__tag {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #3EE0D0;
  line-height: 1;
}
@media (max-width: 560px) {
  .brand-mark__tag { display: none; }
  .brand-mark__icon { width: 32px; height: 32px; font-size: 17px; }
  .brand-mark__name { font-size: 18px; }
}

/* --- Nav positioning --- */
.header__inner { position: relative; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list > li { position: relative; }
.nav__list > li > a {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .15s ease;
}
.nav__list > li > a:hover { color: #fff; }
.nav__list > li > a.is-active { color: #3EE0D0; }

/* Chevron */
.nav__list > li.has-sub > a::after {
  content: "";
  width: 5px; height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  margin-top: -3px;
  opacity: .55;
  transition: transform .2s ease;
}
.nav__list > li.has-sub:hover > a::after {
  transform: rotate(-135deg);
  margin-top: 3px;
  opacity: 1;
}

/* --- Mega menu (Services + Blog) --- */
.has-sub--mega { position: static !important; }
.has-sub--mega .nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(1040px, calc(100vw - 40px));
  background: #0D1320;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  padding: 32px 36px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 2000;
}
.has-sub--mega:hover .nav__sub,
.has-sub--mega:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__sub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  padding-bottom: 28px;
}
.nav__sub-col { min-width: 0; }
.nav__sub-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__sub-title .star { color: #3EE0D0; }
.nav__sub-desc {
  font-size: 11.5px;
  color: rgba(255,255,255,.42);
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-weight: 500;
}
.nav__sub-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav__sub-col ul a {
  display: block;
  padding: 6px 8px;
  font-size: 13.5px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  border-radius: 6px;
  transition: background .15s ease, color .15s ease;
}
.nav__sub-col ul a:hover {
  background: rgba(62,224,208,.08);
  color: #fff;
}
.nav__sub-more {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #3EE0D0 !important;
  text-decoration: none;
}
.nav__sub-more:hover { text-decoration: underline; }

.nav__sub-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.nav__sub-footer > span,
.nav__sub-footer > a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .15s ease;
}
.nav__sub-footer > a:hover { color: #3EE0D0; }
.nav__sub-footer-cta {
  padding: 8px 18px !important;
  background: linear-gradient(135deg, #3EE0D0, #2B8CF0);
  color: #0A0E17 !important;
  border-radius: 100px;
  font-weight: 700 !important;
}
.nav__sub-footer-cta:hover { color: #0A0E17 !important; opacity: .9; }

/* --- Products dropdown (narrow) --- */
.has-sub--products { position: relative !important; }
.has-sub--products .nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 320px;
  background: #0D1320;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 2000;
}
.has-sub--products:hover .nav__sub,
.has-sub--products:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.has-sub--products .nav__sub ul { list-style: none; padding: 0; margin: 0; }
.has-sub--products .nav__sub a {
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s ease;
}
.has-sub--products .nav__sub a:hover { background: rgba(62,224,208,.06); }
.has-sub--products .nav__sub-icon {
  grid-row: 1 / 3;
  grid-column: 1;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(62,224,208,.14), rgba(139,92,246,.1));
  border: 1px solid rgba(62,224,208,.2);
  border-radius: 10px;
  font-size: 20px;
  align-self: center;
}
.has-sub--products .nav__sub-label {
  grid-column: 2;
  grid-row: 1;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  align-self: end;
}
.has-sub--products .nav__sub-label .star { color: #3EE0D0; margin-left: 4px; }
.has-sub--products .nav__sub-hint {
  grid-column: 2;
  grid-row: 2;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  align-self: start;
}

/* --- Mobile collapse --- */
@media (max-width: 1100px) {
  .has-sub--mega .nav__sub,
  .has-sub--products .nav__sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    width: auto;
    box-shadow: none;
    padding: 16px;
    margin: 8px 0;
  }
  .nav__sub-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 12px; }
  .nav__sub-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}
/* FIX — force mega menu grid layout */
.has-sub--mega {
  position: static !important;
}
.has-sub--mega .nav__sub {
  display: block !important;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(1040px, calc(100vw - 40px)) !important;
  padding: 32px 36px 0 !important;
}
.has-sub--mega .nav__sub-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 36px !important;
}
.has-sub--mega .nav__sub-col {
  position: static !important;
  display: block !important;
  float: none !important;
}
.has-sub--mega .nav__sub-col ul {
  position: static !important;
  display: block !important;
}
.has-sub--mega .nav__sub-col ul li {
  position: static !important;
  display: block !important;
  float: none !important;
}
/* =========================================================
   TOPBAR — inline row layout
   ========================================================= */
.topbar {
  background: rgba(10,14,23,.6);
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 12.5px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
}
.topbar__left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar__left a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .15s ease;
  white-space: nowrap;
}
.topbar__left a:hover { color: #3EE0D0; }

.topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar__tagline {
  color: rgba(255,255,255,.5);
  white-space: nowrap;
}
.topbar__social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar__social a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-weight: 700;
  font-size: 11px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  transition: color .15s ease, border-color .15s ease;
}
.topbar__social a:hover {
  color: #3EE0D0;
  border-color: rgba(62,224,208,.4);
}

/* Hide topbar on small screens */
@media (max-width: 860px) {
  .topbar { display: none; }
}
/* =========================================================
   TOPBAR — two-row (trust bar + contact bar)
   ========================================================= */

/* Row 1 — Trust badges */
.topbar__trust {
  background: rgba(10,14,23,.6);
  border-bottom: 1px solid rgba(255,255,255,.04);
  padding: 8px 0;
}
.topbar__trust-inner {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.topbar__trust-inner span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar__trust-inner span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3EE0D0;
  box-shadow: 0 0 8px rgba(62,224,208,.6);
}

/* Row 2 — Contact + social */
.topbar__main {
  background: rgba(10,14,23,.4);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 10px 0;
}
.topbar__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar__contact {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .15s ease;
  white-space: nowrap;
}
.topbar__link:hover { color: #3EE0D0; }
.topbar__link svg { opacity: .7; flex-shrink: 0; }
.topbar__link:hover svg { opacity: 1; }

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar__tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
}
.topbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3EE0D0;
  box-shadow: 0 0 8px rgba(62,224,208,.6);
}
.topbar__social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar__social a {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
}
.topbar__social a:hover {
  color: #3EE0D0;
  background: rgba(62,224,208,.08);
  border-color: rgba(62,224,208,.3);
}

/* Responsive */
@media (max-width: 960px) {
  .topbar__main-inner {
    flex-direction: column;
    gap: 12px;
  }
  .topbar__contact { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .topbar__meta { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 600px) {
  .topbar__trust-inner { gap: 16px; }
  .topbar__trust-inner span { font-size: 10.5px; }
  .topbar__trust-inner span:nth-child(n+3) { display: none; }
  .topbar__contact a:nth-child(2) { display: none; }
  .topbar__tagline { display: none; }
}
/* =========================================================
   HEADER — logo | nav | CTA in one row
   ========================================================= */
.header {
  background: rgba(10,14,23,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between;
  gap: 32px;
  padding: 16px 0;
  flex-wrap: nowrap;
}

/* Logo — never shrink */
.header__inner > .brand-mark {
  flex-shrink: 0;
}

/* Nav takes the middle space */
.header__inner > .nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* CTA stays at the far right */
.header__inner > .header__cta {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Burger — hidden on desktop, visible on mobile */
.header__inner > .burger {
  display: none;
  flex-shrink: 0;
  margin-left: auto;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.header__inner > .burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* Responsive — collapse nav on tablet/mobile */
@media (max-width: 1100px) {
  .header__inner > .nav {
    display: none;
  }
  .header__inner > .nav.is-open {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    background: #0D1320;
    padding: 80px 20px 20px;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 999;
    overflow-y: auto;
  }
  .header__inner > .nav.is-open .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .header__inner > .nav.is-open .nav__list > li > a {
    padding: 12px 14px;
    font-size: 15px;
  }
  .header__inner > .header__cta {
    display: none;
  }
  .header__inner > .burger {
    display: flex;
  }
}
/* =========================================================
   BRAND — icon + name + tag on ONE line
   ========================================================= */
.brand-link {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}

.brand-link__svg {
  height: 34px !important;
  width: auto;
  display: block;
}

/* Tag as a small pill to the right of the logo */
.brand-mark__sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 8.5px !important;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #3EE0D0;
  line-height: 1;
  padding: 4px 10px !important;          /* pill padding */
  border: 1px solid rgba(62,224,208,.35);
  border-radius: 100px;
  background: rgba(62,224,208,.08);
  white-space: nowrap;
}

/* Footer — same treatment, slightly smaller */
.footer__col--brand .brand-link__svg { height: 30px !important; }
.footer__col--brand .brand-mark__sub {
  font-size: 8px !important;
  padding: 3px 8px !important;
}

/* Mobile — shrink everything */
@media (max-width: 860px) {
  .brand-link__svg { height: 30px !important; }
  .brand-mark__sub { font-size: 7.5px !important; padding: 3px 8px !important; }
}
@media (max-width: 560px) {
  .brand-mark__sub { display: none; } /* hide pill on tiny screens */
}
/* =========================================================
   HOW IT WORKS PAGE
   ========================================================= */

/* --- Step rows (alternating layout) --- */
.rc-steps { padding: 60px 0; }
.rc-steps__list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.rc-step-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 60px;
  align-items: start;
}
.rc-step-row--reverse {
  grid-template-columns: 1fr 180px;
}
.rc-step-row--reverse .rc-step-row__num { order: 2; text-align: right; }
.rc-step-row--reverse .rc-step-row__content { order: 1; }

.rc-step-row__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .9;
}
.rc-step-row__content { max-width: 640px; }
.rc-step-row__title {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.15;
}
.rc-step-row__desc {
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(255,255,255,.72);
  margin: 0 0 24px;
}
.rc-step-row__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rc-step-row__list li {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255,255,255,.68);
  padding-left: 22px;
  position: relative;
}
.rc-step-row__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 800;
}

/* --- Architecture cards --- */
.rc-arch { background: var(--bg-alt, #0D1320); }
.rc-arch__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rc-arch__card {
  padding: 28px 24px;
  background: var(--bg-card, rgba(17,23,38,.85));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  transition: transform .25s ease, border-color .25s ease;
}
.rc-arch__card:hover {
  transform: translateY(-3px);
  border-color: rgba(62,224,208,.25);
}
.rc-arch__icon {
  font-size: 26px;
  margin-bottom: 16px;
}
.rc-arch__card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}
.rc-arch__card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.62);
  margin: 0;
}

/* --- Timeline --- */
.rc-timeline__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid rgba(62,224,208,.2);
  padding-left: 32px;
  margin-left: 8px;
}
.rc-timeline__item {
  position: relative;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.rc-timeline__item:last-child { border-bottom: none; }
.rc-timeline__item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 34px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad-primary);
  box-shadow: 0 0 0 4px rgba(62,224,208,.15);
}
.rc-timeline__day {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.rc-timeline__content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.rc-timeline__content p {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,.65);
  margin: 0;
  max-width: 680px;
}

/* --- Boundaries --- */
.rc-boundaries { background: var(--bg-alt, #0D1320); }
.rc-boundaries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.rc-boundaries__item {
  padding: 26px 22px;
  background: var(--bg-card, rgba(17,23,38,.85));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
}
.rc-boundaries__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,143,177,.1);
  border: 1px solid rgba(255,143,177,.25);
  color: #FF8FB1;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 16px;
}
.rc-boundaries__item h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
}
.rc-boundaries__item p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.62);
  margin: 0;
}

/* --- Integrations --- */
.rc-integrations__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.rc-integrations__item {
  padding: 20px;
  text-align: center;
  background: var(--bg-card, rgba(17,23,38,.85));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  transition: border-color .2s ease, color .2s ease;
}
.rc-integrations__item:hover {
  border-color: rgba(62,224,208,.3);
  color: var(--cyan);
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .rc-step-row,
  .rc-step-row--reverse {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .rc-step-row--reverse .rc-step-row__num { order: 0; text-align: left; }
  .rc-step-row__num { font-size: 52px; }
  .rc-steps__list { gap: 56px; }

  .rc-arch__grid { grid-template-columns: 1fr; }
  .rc-boundaries__grid { grid-template-columns: repeat(2, 1fr); }
  .rc-integrations__grid { grid-template-columns: repeat(2, 1fr); }
  .rc-timeline__list { padding-left: 24px; }
  .rc-timeline__item::before { left: -32px; width: 10px; height: 10px; }
}
@media (max-width: 560px) {
  .rc-boundaries__grid { grid-template-columns: 1fr; }
  .rc-integrations__grid { grid-template-columns: 1fr; }
  .rc-step-row__num { font-size: 42px; }
}
/* =========================================================
   FAQ PAGE — grouped sections
   ========================================================= */
.rc-faq-page { padding: 40px 0 80px; }

.rc-faq-group { margin-bottom: 56px; }
.rc-faq-group:last-child { margin-bottom: 0; }

.rc-faq-group__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(62,224,208,.15);
  display: flex;
  align-items: center;
  gap: 10px;
}
.rc-faq-group__title::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--grad-primary);
}

/* Reuse existing .rc-faq__item styles */
.rc-faq-page .rc-faq__item {
  padding: 18px 0;
}

/* "Still have questions" band */
.rc-still-q {
  background: var(--bg-alt, #0D1320);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* =========================================================
   DEMO PAGE
   ========================================================= */
.rc-demo { padding: 40px 0 80px; }

.rc-demo__layout {
  display: grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 32px;
  align-items: start;
}

/* Scenarios */
.rc-demo__scenarios-title,
.rc-demo__notes-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 16px;
}

.rc-demo__scenario {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 14px;
  margin-bottom: 8px;
  background: var(--bg-card, rgba(17,23,38,.85));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
}
.rc-demo__scenario:hover {
  border-color: rgba(62,224,208,.3);
  transform: translateX(2px);
}
.rc-demo__scenario.is-active {
  border-color: var(--cyan);
  background: rgba(62,224,208,.06);
  box-shadow: 0 0 0 1px var(--cyan), 0 8px 24px rgba(62,224,208,.1);
}
.rc-demo__scenario-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.rc-demo__scenario-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.rc-demo__scenario-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}
.rc-demo__scenario-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,.5);
}

/* Phone */
.rc-demo__phone-wrap {
  display: flex;
  justify-content: center;
}
.rc-demo__phone {
  width: 100%;
  max-width: 380px;
  background: #0D1320;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 8px rgba(62,224,208,.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 520px;
}
.rc-demo__phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(62,224,208,.1), rgba(139,92,246,.06));
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.rc-demo__phone-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3EE0D0, #2B8CF0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0A0E17;
  font-size: 14px;
  flex-shrink: 0;
}
.rc-demo__phone-meta { display: flex; flex-direction: column; gap: 2px; }
.rc-demo__phone-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}
.rc-demo__phone-status {
  font-size: 11.5px;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: 5px;
}
.rc-demo__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
}
.rc-demo__phone-body {
  flex: 1;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  max-height: 440px;
  scroll-behavior: smooth;
}
.rc-demo__phone-body::-webkit-scrollbar { width: 6px; }
.rc-demo__phone-body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.1);
  border-radius: 3px;
}
.rc-demo__phone-footer {
  padding: 12px 18px;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(10,14,23,.6);
  text-align: center;
}
.rc-demo__typing-hint {
  font-size: 11.5px;
  color: rgba(255,255,255,.45);
  font-style: italic;
}

/* Chat bubbles */
.rc-demo__bubble {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  word-wrap: break-word;
  animation: rc-demo-pop .3s ease both;
}
.rc-demo__bubble--patient {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.rc-demo__bubble--bot {
  background: linear-gradient(135deg, #3EE0D0, #2B8CF0);
  color: #0A0E17;
  font-weight: 600;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.rc-demo__bubble--typing {
  align-self: flex-end;
  background: rgba(62,224,208,.15);
  padding: 12px 16px;
  border-bottom-right-radius: 4px;
  display: flex;
  gap: 4px;
}
.rc-demo__bubble--typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #3EE0D0;
  animation: rc-demo-bounce 1.2s infinite;
}
.rc-demo__bubble--typing span:nth-child(2) { animation-delay: .15s; }
.rc-demo__bubble--typing span:nth-child(3) { animation-delay: .3s; }

@keyframes rc-demo-pop {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes rc-demo-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* Notes */
.rc-demo__notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rc-demo__notes-list li {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,.7);
  padding-left: 22px;
  position: relative;
}
.rc-demo__notes-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 800;
}

/* Why band */
.rc-demo-why {
  background: var(--bg-alt, #0D1320);
  border-top: 1px solid rgba(255,255,255,.06);
}
.rc-demo-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.rc-demo-why__item {
  padding: 32px 24px;
  background: var(--bg-card, rgba(17,23,38,.85));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  text-align: center;
}
.rc-demo-why__num {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
  line-height: 1;
}
.rc-demo-why__label {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  letter-spacing: .04em;
}

/* Demo responsive */
@media (max-width: 1100px) {
  .rc-demo__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .rc-demo__scenarios,
  .rc-demo__notes { display: contents; }
  .rc-demo__scenarios-title { order: 1; }
  .rc-demo__scenarios { order: 2; }
}
@media (max-width: 960px) {
  .rc-demo-why__grid { grid-template-columns: repeat(2, 1fr); }
  .rc-demo__scenario { padding: 12px; }
  .rc-demo__scenario-title { font-size: 13px; }
}
@media (max-width: 560px) {
  .rc-demo-why__grid { grid-template-columns: 1fr; }
  .rc-demo__phone { min-height: 460px; }
  .rc-demo__phone-body { max-height: 380px; }
  .rc-demo__bubble { font-size: 12.5px; }
}
/* =========================================================
   PRODUCT SUB-NAV (sticky section nav for product pages)
   ========================================================= */
.product-nav {
  position: sticky;
  top: 72px;                            /* sticks below main header */
  z-index: 90;
  background: rgba(13,19,32,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.product-nav__inner {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 48px;
  padding: 0;
}

/* Label (left side) */
.product-nav__label {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid rgba(255,255,255,.1);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #3EE0D0;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Links (right side) */
.product-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.product-nav__links::-webkit-scrollbar { display: none; }

.product-nav__links a {
  display: inline-flex;
  align-items: center;
  padding: 14px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,.62);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color .15s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;                  /* overlap the border-bottom of container */
}

.product-nav__links a:hover {
  color: #fff;
}

.product-nav__links a.is-active {
  color: #3EE0D0;
  font-weight: 700;
  border-bottom-color: #3EE0D0;
}

/* Mobile — horizontal scroll, static (not sticky) */
@media (max-width: 860px) {
  .product-nav {
    position: static;                   /* avoids double-sticky stacking */
  }
  .product-nav__inner {
    padding: 0 16px;
  }
  .product-nav__label {
    font-size: 10px;
    padding-right: 14px;
    margin-right: 14px;
  }
  .product-nav__links a {
    padding: 12px 12px;
    font-size: 13px;
  }
}

/* Small phones — hide label, maximize link space */
@media (max-width: 560px) {
  .product-nav__label {
    display: none;
  }
  .product-nav__inner {
    padding: 0;
  }
}
/* Center the product sub-nav (override previous left-align) */
.product-nav__inner {
  justify-content: center !important;
}
.product-nav__label {
  padding-right: 20px;
  margin-right: 20px;
  border-right: 1px solid rgba(255,255,255,.1);
  border-left: none;
}
.product-nav__links {
  flex: 0 1 auto !important;   /* don't stretch, size to content */
}

/* Mobile — back to left-aligned scroll */
@media (max-width: 860px) {
  .product-nav__inner {
    justify-content: flex-start !important;
  }
}