/* ── Mobile App Cost Calculator — mcc- prefix ── */

.mcc-container { width: min(1120px, calc(100% - 40px)); margin: 0 auto }

/* ── Hero ── */
.mcc-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 18% 8%, rgba(36,169,223,.13), transparent 32%),
              radial-gradient(circle at 88% 14%, rgba(8,42,70,.08), transparent 26%),
              linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  padding: 76px 0 110px;
}
.mcc-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 70px; background: #fff; clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%)
}
.mcc-hero-inner { position: relative; z-index: 2; max-width: 800px }
.mcc-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: #12629b; font-size: 12.5px; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 900; margin-bottom: 18px
}
.mcc-kicker i {
  width: 9px; height: 9px; border-radius: 99px; background: #24a9df;
  box-shadow: 0 0 0 6px rgba(36,169,223,.13); display: inline-block; flex-shrink: 0
}
.mcc-h1 {
  margin: 0; color: #0a2540; font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04; letter-spacing: -.05em; font-weight: 900
}
.mcc-lead { margin: 20px 0 0; color: #4f6177; font-size: 18px; line-height: 1.7; max-width: 680px }

/* ── Trust strip ── */
.mcc-trust-wrap { background: #fff }
.mcc-trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  transform: translateY(-40px)
}
.mcc-trust-card {
  background: #fff; border: 1px solid #e6edf5; border-radius: 20px;
  padding: 18px 20px; box-shadow: 0 8px 28px rgba(8,42,70,.06)
}
.mcc-trust-card strong { display: block; color: #0a2540; font-size: 16px; font-weight: 900; margin-bottom: 4px }
.mcc-trust-card span { color: #6b7c93; font-size: 13px; line-height: 1.45 }

/* ── Calculator body ── */
.mcc-calc-body { padding: 0 0 80px }
.mcc-calc-layout {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 24px; align-items: start
}
.mcc-sections-col { display: flex; flex-direction: column; gap: 14px }

/* ── Section card ── */
.mcc-section {
  background: #fff; border: 1px solid #e6edf5;
  border-radius: 24px; padding: 22px 24px;
  box-shadow: 0 4px 24px rgba(8,42,70,.055)
}
.mcc-section-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px }
.mcc-section-num {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: #12629b; color: #fff; font-size: 12px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; margin-top: 2px
}
.mcc-section-title { margin: 0; color: #0a2540; font-size: 15px; font-weight: 800; letter-spacing: -.02em }
.mcc-section-sub { color: #6b7c93; font-size: 12px; margin-top: 3px }

/* ── Option chips ── */
.mcc-opts { display: flex; flex-wrap: wrap; gap: 7px }
.mcc-opt {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid #e6edf5; border-radius: 10px;
  padding: 8px 12px; cursor: pointer;
  transition: border-color .14s, background .14s, box-shadow .14s;
  background: #fafcff; user-select: none
}
.mcc-opt:hover { border-color: #24a9df; background: rgba(36,169,223,.045) }
.mcc-opt input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0 }
.mcc-opt-mark {
  width: 16px; height: 16px; flex-shrink: 0; border-radius: 4px;
  border: 2px solid #c8d5e4; background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .14s, background .14s
}
.mcc-opt[data-rtype="radio"] .mcc-opt-mark { border-radius: 50% }
.mcc-opt-text { color: #0a2540; font-size: 13px; font-weight: 600; line-height: 1.3 }
.mcc-opt-days {
  color: #8a9db5; font-size: 11px; font-weight: 700;
  background: #f0f5fa; border-radius: 5px; padding: 2px 6px; white-space: nowrap
}

/* Selected */
.mcc-opt.is-on {
  border-color: #24a9df; background: rgba(36,169,223,.07);
  box-shadow: 0 2px 10px rgba(36,169,223,.14)
}
.mcc-opt.is-on .mcc-opt-mark { border-color: #24a9df; background: #24a9df }
.mcc-opt.is-on .mcc-opt-mark::after {
  content: ""; display: block;
  width: 8px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-47deg) translate(0px, -1px)
}
.mcc-opt[data-rtype="radio"].is-on .mcc-opt-mark::after {
  border: none; width: 6px; height: 6px; border-radius: 50%; background: #fff
}
.mcc-opt.is-on .mcc-opt-text { color: #12629b; font-weight: 700 }
.mcc-opt.is-on .mcc-opt-days { background: rgba(36,169,223,.13); color: #12629b }

/* ── Result card (sticky) ── */
.mcc-result-card {
  position: sticky; top: 100px;
  background: #fff; border: 1px solid #e6edf5;
  border-radius: 26px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(8,42,70,.1)
}
.mcc-result-head {
  background: linear-gradient(135deg, #082a46 0%, #12629b 100%);
  padding: 20px 22px
}
.mcc-result-head h2 {
  margin: 0; color: #fff; font-size: 12.5px;
  font-weight: 900; letter-spacing: .1em; text-transform: uppercase
}
.mcc-result-head p { margin: 6px 0 0; color: rgba(255,255,255,.55); font-size: 12px }
.mcc-result-metrics { padding: 18px 22px; display: flex; flex-direction: column; gap: 14px }
.mcc-metric { display: flex; flex-direction: column; gap: 1px }
.mcc-metric-lbl {
  color: #8a9db5; font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em
}
.mcc-metric-val {
  color: #0a2540; font-size: 22px; font-weight: 900;
  letter-spacing: -.04em; line-height: 1.15
}
.mcc-metric-val.is-ph { color: #d0dce9; font-size: 16px; font-style: italic; font-weight: 600 }
.mcc-metric-sub { color: #6b7c93; font-size: 11.5px; margin-top: 2px }
.mcc-result-div { border: none; border-top: 1px solid #e6edf5; margin: 2px 0 }
.mcc-scope-bar {
  padding: 10px 22px; border-top: 1px solid #e6edf5;
  color: #6b7c93; font-size: 11.5px; line-height: 1.5
}
.mcc-scope-bar strong { color: #12629b }
.mcc-result-note {
  padding: 0 22px 14px; color: #8a9db5;
  font-size: 11.5px; line-height: 1.6
}
.mcc-result-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #24a9df; color: #fff; padding: 16px 22px;
  font-weight: 900; font-size: 14px; text-decoration: none;
  transition: background .15s
}
.mcc-result-cta:hover { background: #12629b; color: #fff }
.mcc-result-cta svg { flex-shrink: 0 }

/* ── SEO content ── */
.mcc-seo { background: #f6f9fc; padding: 72px 0 80px }
.mcc-seo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px }
.mcc-seo h2 { font-size: 26px; letter-spacing: -.04em; color: #0a2540; margin: 0 0 14px; font-weight: 900 }
.mcc-seo h3 { font-size: 18px; letter-spacing: -.03em; color: #0a2540; margin: 26px 0 10px; font-weight: 800 }
.mcc-seo p { color: #4f6177; line-height: 1.78; margin: 0 0 13px; font-size: 15px }
.mcc-seo ul { color: #4f6177; line-height: 1.78; margin: 0 0 14px; padding-left: 20px }
.mcc-seo li { margin: 5px 0; font-size: 15px }
.mcc-guide-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px }
.mcc-guide-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: #12629b; font-size: 14px; font-weight: 700; text-decoration: none;
  padding: 12px 16px; background: #fff; border: 1px solid #e6edf5;
  border-radius: 12px; transition: border-color .14s, box-shadow .14s
}
.mcc-guide-link:hover { border-color: #24a9df; box-shadow: 0 4px 16px rgba(36,169,223,.12) }
.mcc-guide-link span { color: #24a9df; font-size: 16px; flex-shrink: 0 }

/* ── Final CTA ── */
.mcc-footer-cta {
  position: relative; overflow: hidden;
  background: #082a46; color: #fff; padding: 70px 0 94px
}
.mcc-footer-cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: url('/assets/img/cubes-pattern.svg');
  background-size: 420px; opacity: .16
}
.mcc-footer-cta::after {
  content: ""; position: absolute; left: -5%; right: -5%;
  bottom: -60px; height: 100px; background: #fff;
  transform: rotate(-2.5deg); transform-origin: left top
}
.mcc-footer-cta .mcc-container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto;
  gap: 28px; align-items: center
}
.mcc-footer-cta h2 { margin: 0; font-size: 30px; letter-spacing: -.05em; line-height: 1.1; color: #fff }
.mcc-footer-cta p { margin: 12px 0 0; color: rgba(255,255,255,.7); line-height: 1.65 }
.mcc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; min-height: 52px; padding: 0 28px;
  font-weight: 900; cursor: pointer; transition: .18s ease;
  white-space: nowrap; font-size: 15px; text-decoration: none
}
.mcc-btn-primary {
  background: #24a9df; color: #fff;
  box-shadow: 0 16px 36px rgba(36,169,223,.3)
}
.mcc-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 22px 44px rgba(36,169,223,.38); color: #fff }

/* ── Responsive ── */
@media (max-width: 1060px) {
  .mcc-calc-layout { grid-template-columns: 1fr }
  .mcc-result-col { order: -1 }
  .mcc-result-card { position: relative; top: 0; border-radius: 20px }
  .mcc-trust-grid { grid-template-columns: repeat(2, 1fr) }
  .mcc-seo-inner { grid-template-columns: 1fr }
  .mcc-footer-cta .mcc-container { grid-template-columns: 1fr }
}

@media (max-width: 640px) {
  .mcc-container { width: min(100% - 28px, 1120px) }
  .mcc-hero { padding: 52px 0 90px }
  .mcc-lead { font-size: 16px }
  .mcc-h1 { font-size: clamp(28px, 8vw, 44px) }
  .mcc-trust-grid { gap: 10px }
  .mcc-trust-card { padding: 14px 16px }
  .mcc-section { padding: 16px 18px }
  .mcc-result-metrics { padding: 16px 18px }
  .mcc-result-head { padding: 16px 18px }
  .mcc-result-cta { padding: 14px 18px; font-size: 13px }
  .mcc-footer-cta h2 { font-size: 24px }
  .mcc-footer-cta { padding: 56px 0 80px }
  .mcc-seo { padding: 52px 0 60px }
}
