:root {
  --bg: #fff2f4;
  --bg-soft: #fff9fb;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #16284a;
  --muted: #5f708f;
  --brand: #2d4f8f;
  --brand-strong: #4e73c9;
  --brand-deep: #102446;
  --accent: #f38ca7;
  --line: rgba(22, 40, 74, 0.1);
  --shadow: 0 22px 70px rgba(26, 40, 77, 0.1);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(243, 140, 167, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(78, 115, 201, 0.14), transparent 26%),
    linear-gradient(180deg, #fff2f4 0%, #fff9fb 56%, #f8f3ff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 245, 248, 0.94);
  border-bottom: 1px solid rgba(23, 33, 44, 0.06);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0 0.55rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-logo {
  display: block;
  width: 174px;
  height: auto;
  max-width: none;
  transform: scale(1.12);
  transform-origin: center;
  filter:
    drop-shadow(0 10px 18px rgba(45, 79, 143, 0.12))
    drop-shadow(0 2px 8px rgba(255, 255, 255, 0.7))
    contrast(1.08)
    saturate(1.08)
    brightness(1.02);
}

.site-nav {
  display: flex;
  gap: 0.35rem;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-deep);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-nav a {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.98rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(15, 123, 108, 0.08);
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 12px 30px rgba(45, 79, 143, 0.22);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid,
.apply-grid,
.section-grid,
.scholarship-block,
.faq-layout {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.hero h1,
.section-heading h2,
.scholarship-block h2,
.apply-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  max-width: 10ch;
}

.hero-text {
  max-width: 58ch;
  margin: 1.35rem 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.4rem;
}

.hero-points {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-card,
.card,
.program-card,
.lead-form,
.contact-card {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 2rem;
}

.flag-chip,
.program-tag {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(243, 140, 167, 0.16);
  color: #b24f73;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero-card h2 {
  margin: 1rem 0 1.25rem;
  font-size: 1.75rem;
}

.info-list {
  display: grid;
  gap: 1rem;
}

.info-list div,
.process-grid article {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 33, 44, 0.07);
}

.info-list span,
.process-grid article span {
  display: block;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.hero-panel {
  margin-top: 1.2rem;
  padding: 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 106, 90, 0.08), rgba(196, 125, 44, 0.12));
}

.hero-panel p {
  margin: 0 0 0.35rem;
  font-weight: 800;
}

.trust-band {
  padding: 0 0 2rem;
}

.trust-grid,
.benefit-cards,
.program-grid,
.process-grid {
  display: grid;
  gap: 1.25rem;
}

.trust-grid {
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid > div {
  padding: 1.25rem 1.35rem;
  border-top: 2px solid rgba(0, 106, 90, 0.18);
}

.trust-grid p,
.card p,
.program-card p,
.process-grid p,
.scholarship-block p,
.faq-list p,
.apply-copy p,
.form-note,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.section {
  padding: 4.75rem 0;
}

.section-tint {
  background: rgba(255, 244, 248, 0.76);
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(16, 36, 70, 0.97), rgba(31, 55, 102, 0.98)),
    #16284a;
  color: #fff7fb;
}

.section-heading {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.scholarship-block h2,
.apply-copy h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.section-heading.light .eyebrow,
.section-heading.light h2,
.section-dark p,
.section-dark h3,
.section-dark span {
  color: inherit;
}

.benefit-cards {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.program-card {
  padding: 1.5rem;
}

.card h3,
.program-card h3,
.contact-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
}

.program-grid {
  grid-template-columns: repeat(4, 1fr);
}

.featured {
  background: linear-gradient(180deg, rgba(0, 106, 90, 0.08), rgba(255, 255, 255, 0.92));
}

.scholarship-block {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-grid article span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  margin-bottom: 1rem;
}

.faq-layout {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

.faq-list details {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.apply-section {
  padding-top: 5.25rem;
}

.apply-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact-card {
  margin-top: 1.5rem;
  padding: 1.4rem;
}

.lead-form {
  padding: 1.7rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.lead-form label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  border: 1px solid rgba(23, 33, 44, 0.12);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.95);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: 2px solid rgba(0, 106, 90, 0.2);
  border-color: rgba(0, 106, 90, 0.4);
}

.full-width,
.button-block {
  grid-column: 1 / -1;
}

.button-block {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(23, 33, 44, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-nav {
    display: none;
  }

  .hero-grid,
  .scholarship-block,
  .faq-layout,
  .apply-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .program-grid,
  .process-grid,
  .benefit-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 3rem;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .nav-cta {
    width: 100%;
  }

  .trust-grid,
  .program-grid,
  .process-grid,
  .benefit-cards,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-card,
  .lead-form {
    padding: 1.25rem;
  }
}

.top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.3rem 0;
  font-size: 0.82rem;
}

.top-strip p {
  margin: 0;
  font-weight: 700;
  color: var(--brand-deep);
}

.live-head {
  display: inline-flex;
  align-items: center;
  margin-right: 0.2rem;
  color: #cf2f2f;
  font-weight: 800;
}

.top-strip a {
  color: var(--brand);
  font-weight: 800;
}

.live-pill,
.mini-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 800;
}

.live-pill {
  margin-bottom: 1rem;
  background: rgba(255, 156, 40, 0.15);
  color: #9a5b0c;
}

.mini-label {
  background: rgba(15, 123, 108, 0.1);
  color: var(--brand);
}

.hero-home .hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.hero-metrics,
.announcement-grid,
.split-highlight,
.country-grid,
.content-grid {
  display: grid;
  gap: 1.25rem;
}

.hero-metrics {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1.25rem;
}

.hero-metrics div,
.announcement-grid article,
.panel-glow,
.content-card,
.legal-shell {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-metrics div {
  padding: 1.1rem;
}

.hero-metrics strong,
.stack-list strong {
  display: block;
  margin-bottom: 0.3rem;
}

.hero-feature-card h2 {
  margin-bottom: 0.75rem;
}

.stack-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.2rem 0 1.5rem;
}

.stack-list div {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 33, 44, 0.08);
}

.stack-list span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--muted);
}

.announcement-band {
  padding-bottom: 1rem;
}

.announcement-grid {
  grid-template-columns: repeat(3, 1fr);
}

.announcement-grid article {
  padding: 1.5rem;
}

.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.split-highlight {
  grid-template-columns: 1fr 1fr;
}

.panel-glow {
  padding: 1.6rem;
}

.feature-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.country-grid {
  grid-template-columns: repeat(4, 1fr);
}

.content-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

.content-card,
.legal-shell {
  padding: 1.6rem;
}

.generic-hero {
  padding: 4rem 0 2rem;
}

.generic-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-size: clamp(3rem, 6vw, 5.2rem);
}

.generic-hero p,
.content-grid p,
.content-grid li,
.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-content h2,
.content-grid h2 {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.legal-content ul,
.content-grid ul {
  margin: 0;
  padding-left: 1.2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero-home .hero-grid,
  .split-highlight,
  .content-grid.two-col {
    grid-template-columns: 1fr;
  }

  .announcement-grid,
  .three-col,
  .country-grid,
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .top-strip,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .announcement-grid,
  .three-col,
  .country-grid,
  .hero-metrics,
  .content-grid.two-col {
    grid-template-columns: 1fr;
  }
}

.sales-header {
  background: rgba(255, 248, 239, 0.94);
  transition: box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.sales-header.is-compact .site-nav,
.sales-header.is-compact .nav-actions {
  display: none;
}

.sales-header.is-compact .top-strip {
  display: none;
}

.sales-header.is-compact {
  box-shadow: 0 12px 28px rgba(24, 36, 51, 0.08);
}

.sales-header .nav-wrap {
  flex-wrap: nowrap;
  min-height: 58px;
}

.top-strip-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.top-strip-links a,
.nav-live {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}

.top-strip-links a:first-child,
.nav-live {
  background: rgba(15, 123, 108, 0.1);
  color: var(--brand);
}

.top-strip-links a:first-child {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 123, 108, 0.15);
}

.top-strip-links a:first-child::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.78) 50%, transparent 80%);
  transform: translateX(-140%);
  animation: shine 3.2s linear infinite;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 0.45rem;
  border-radius: 999px;
  background: #cf2f2f;
  box-shadow: 0 0 0 rgba(207, 47, 47, 0.34);
  animation: pulse-dot 1.8s infinite;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  padding: 0.8rem;
  cursor: pointer;
  flex: 0 0 auto;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 1rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  border: 1px solid rgba(24, 36, 51, 0.08);
}

.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 700;
}

.mobile-menu.is-open {
  display: block;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  padding: 1rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #11a15d, #16c66b);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 35px rgba(17, 161, 93, 0.28);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 142px;
  height: 56px;
  overflow: visible;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 239, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(24, 36, 51, 0.05);
}

.brand-logo {
  position: relative;
  z-index: 1;
}

.hero-grid-sales {
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  align-items: start;
}

.hero-visual-stack,
.logo-track,
.photo-option-grid,
.university-grid,
.funnel-steps {
  display: grid;
  gap: 1.25rem;
}

.hero-visual-stack {
  align-items: start;
}

.sales-hero {
  padding-top: 3.4rem;
}

.hero-copy {
  padding-top: 1.25rem;
}

.media-slot,
.university-card,
.closing-shell {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.media-slot {
  min-height: 220px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 156, 40, 0.12), rgba(15, 123, 108, 0.12)),
    rgba(255, 255, 255, 0.86);
}

.media-slot img,
.inline-hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.image-caption {
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.hero-media-slot {
  padding: 0.9rem;
  overflow: hidden;
  min-height: 0;
}

.hero-media-slot .image-caption {
  padding: 0 0.6rem 0.5rem;
}

.media-slot strong,
.university-card h3 {
  font-size: 1.15rem;
}

.media-slot span,
.media-slot small {
  color: var(--muted);
}

.logo-track {
  overflow: hidden;
}

.logo-marquee {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.logo-marquee span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(24, 36, 51, 0.08);
  box-shadow: var(--shadow);
  font-weight: 800;
  white-space: nowrap;
}

.funnel-steps {
  grid-template-columns: repeat(3, 1fr);
}

.funnel-steps article {
  padding: 1.4rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(24, 36, 51, 0.08);
  box-shadow: var(--shadow);
  color: var(--text);
}

.funnel-steps article span {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(15, 123, 108, 0.1);
  color: var(--brand);
  font-weight: 800;
}

.funnel-steps article h3,
.funnel-steps article p {
  color: var(--text);
}

.funnel-steps article p {
  opacity: 0.82;
}

.funnel-steps article h3,
.closing-shell h2 {
  margin: 1rem 0 0.7rem;
}

.funnel-finale {
  background: linear-gradient(135deg, rgba(15, 123, 108, 0.12), rgba(255, 156, 40, 0.12));
}

.center-cta,
.center-actions {
  justify-content: center;
  text-align: center;
}

.center-cta {
  margin-top: 2rem;
}

.university-grid {
  grid-template-columns: repeat(2, 1fr);
}

.university-card {
  padding: 1.4rem;
}

.university-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.dark-slot {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.dark-slot span,
.dark-slot small,
.dark-slot .image-caption {
  color: rgba(255, 255, 255, 0.76);
}

.photo-option-grid {
  grid-template-columns: repeat(3, 1fr);
}

.closing-funnel {
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.closing-shell {
  padding: 2rem;
  text-align: center;
}

.hero-apply-card {
  max-width: 960px;
}

.inline-hero-media {
  margin: 1.5rem 0 0;
}

.quick-query-card {
  padding: 1.35rem;
}

.quick-query-card h2 {
  margin: 0.9rem 0 0.7rem;
  font-size: 1.9rem;
}

.neet-hero-grid {
  align-items: start;
}

.seat-form-card {
  padding: 1.5rem;
}

.seat-form-card h2 {
  margin: 0.9rem 0 0.75rem;
  font-size: 2rem;
}

.chance-master-section {
  padding: 2.4rem 0 3rem;
}

.chance-master-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.4rem;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}

.chance-master-card,
.chance-results-card {
  padding: 1.6rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(24, 36, 51, 0.08);
  box-shadow: 0 18px 50px rgba(20, 40, 60, 0.1);
}

.meter-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.meter-head p,
.chance-intro {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
}

.chance-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 123, 108, 0.16), rgba(255, 156, 40, 0.22));
  color: var(--brand-deep);
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 14px 30px rgba(15, 123, 108, 0.12);
}

.chance-master-form,
.chance-lead-form {
  margin-top: 1.15rem;
}

.chance-master-form label,
.chance-lead-form label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
}

.chance-master-form input,
.chance-master-form select,
.chance-master-form textarea,
.chance-lead-form input,
.chance-lead-form select,
.chance-lead-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  border: 1px solid rgba(23, 33, 44, 0.12);
  border-radius: 16px;
  padding: 0.92rem 1rem;
  font: inherit;
  font-size: 0.96rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 2px rgba(24, 36, 51, 0.03);
}

.chance-master-form input:focus,
.chance-master-form select:focus,
.chance-master-form textarea:focus,
.chance-lead-form input:focus,
.chance-lead-form select:focus,
.chance-lead-form textarea:focus {
  outline: 2px solid rgba(0, 106, 90, 0.18);
  border-color: rgba(0, 106, 90, 0.38);
}

.chance-bars {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.chance-bar-card {
  padding: 1rem 1rem 0.95rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(24, 36, 51, 0.08);
}

.chance-bar-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.7rem;
}

.chance-percent {
  font-weight: 800;
  color: var(--brand-deep);
}

.chance-track {
  position: relative;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(24, 36, 51, 0.08);
}

.chance-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #10b981, #17c964);
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.28);
  transition: width 1s cubic-bezier(.22,1,.36,1);
}

.chance-bar-card[data-level="medium"] .chance-fill {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.28);
}

.chance-bar-card[data-level="low"] .chance-fill {
  background: linear-gradient(90deg, #f97316, #fb923c);
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.24);
}

.chance-bar-card[data-level="alert"] .chance-fill {
  background: linear-gradient(90deg, #ef4444, #f87171);
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.24);
}

.chance-copy {
  margin: 0.72rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.chance-summary-shell {
  margin-top: 1.35rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 156, 40, 0.1), rgba(15, 123, 108, 0.08));
  border: 1px solid rgba(24, 36, 51, 0.08);
}

.chance-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.chance-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.chance-badge-hot { background: rgba(16, 185, 129, 0.14); color: #0e7d59; }
.chance-badge-warm { background: rgba(245, 158, 11, 0.14); color: #a16207; }
.chance-badge-cool { background: rgba(59, 130, 246, 0.14); color: #1d4ed8; }
.chance-badge-soft { background: rgba(168, 85, 247, 0.14); color: #7c3aed; }

.chance-summary {
  margin: 0;
  font-weight: 700;
  line-height: 1.7;
}

.chance-colleges {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

.chance-modal {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: none;
}

.chance-modal.is-open {
  display: block;
}

.chance-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 20, 27, 0.58);
  backdrop-filter: blur(8px);
}

.chance-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 2rem));
  margin: 6vh auto 0;
  padding: 1.6rem;
  border-radius: 28px;
  background: #fffdf9;
  box-shadow: 0 28px 80px rgba(20, 40, 60, 0.22);
  border: 1px solid rgba(24, 36, 51, 0.08);
}

.chance-modal-panel h2 {
  margin: 0.2rem 0 0.7rem;
  font-size: 2rem;
}

.chance-modal-panel p {
  color: var(--muted);
  line-height: 1.75;
}

.chance-master-section .section-heading {
  max-width: 760px;
  margin: 0 auto 1.7rem;
}

.chance-master-section .section-heading h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.02;
}

.chance-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 36, 51, 0.08);
  color: var(--text);
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

.data-note {
  margin-top: 0.9rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.seat-stat {
  margin: 0.45rem 0 0.35rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--brand-deep);
}

.score-grid {
  grid-template-columns: repeat(3, 1fr);
}

.state-opportunity-grid {
  grid-template-columns: repeat(4, 1fr);
}

.state-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.state-directory-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.85;
}

.state-directory-card li + li {
  margin-top: 0.55rem;
}

.compact-form {
  padding: 0;
  margin-top: 1rem;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.single-grid {
  grid-template-columns: 1fr;
}

.single-grid label {
  font-size: 0.9rem;
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.program-card .button {
  margin-top: auto;
}

.university-card .button {
  margin-top: 1.1rem;
}

.chance-master-promo-section {
  padding-top: 0.5rem;
}

.chance-master-promo {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.4rem;
  padding: 1.6rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(243, 140, 167, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 244, 248, 0.96));
  border: 1px solid rgba(45, 79, 143, 0.1);
  box-shadow: 0 20px 52px rgba(34, 49, 84, 0.12);
}

.chance-master-copy,
.chance-master-actions {
  padding: 1.45rem;
  border-radius: 24px;
}

.chance-master-copy {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(45, 79, 143, 0.08);
}

.chance-master-copy h2,
.chance-master-actions h3 {
  margin: 0.3rem 0 0.9rem;
}

.chance-master-copy p,
.chance-master-actions p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.chance-master-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.chance-master-points span {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(45, 79, 143, 0.08);
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

.chance-master-actions {
  background: linear-gradient(135deg, rgba(22, 40, 74, 0.96), rgba(45, 79, 143, 0.96));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.chance-master-actions p {
  color: rgba(255, 247, 251, 0.82);
}

.chance-master-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffd4df;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reveal-pulse {
  animation: chancePromoFloat 5s ease-in-out infinite;
}

.chance-master-cta {
  position: relative;
  box-shadow: 0 14px 34px rgba(243, 140, 167, 0.28);
  animation: chanceMasterGlow 1.8s ease-in-out infinite;
}

.chance-master-cta::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(243, 140, 167, 0.35);
  opacity: 0.7;
  animation: chanceMasterRing 1.8s ease-out infinite;
}

@keyframes chancePromoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes chanceMasterGlow {
  0%, 100% { box-shadow: 0 14px 34px rgba(243, 140, 167, 0.22); }
  50% { box-shadow: 0 18px 40px rgba(243, 140, 167, 0.38); }
}

@keyframes chanceMasterRing {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.06);
    opacity: 0;
  }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 108, 0.42); }
  70% { box-shadow: 0 0 0 11px rgba(16, 185, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 108, 0); }
}

@keyframes shine {
  0% { transform: translateX(-140%); }
  100% { transform: translateX(140%); }
}

@media (max-width: 980px) {
  .site-nav,
  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }

  .sales-header .top-strip-links {
    display: none;
  }

  .sales-header .top-strip {
    padding: 0.35rem 0 0.1rem;
  }

  .sales-header .top-strip p {
    font-size: 0.82rem;
  }

  .hero-grid-sales,
  .university-grid,
  .state-directory-grid,
  .chance-master-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 0;
  }

  .funnel-steps,
  .photo-option-grid,
  .state-opportunity-grid,
  .score-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chance-master-section {
    padding: 2rem 0 2.5rem;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .sales-header .top-strip {
    padding: 0.45rem 0 0.12rem;
  }

  .sales-header .top-strip p {
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .sales-header .nav-wrap {
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.3rem 0 0.38rem;
  }

  .sales-header.is-compact .nav-wrap {
    padding: 0.26rem 0 0.32rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 144px;
    transform: scale(1.08);
  }

  .brand-wrap {
    width: 116px;
    height: 44px;
  }

  .nav-toggle {
    margin-left: auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .mobile-menu {
    margin-top: 0;
    border-radius: 0 0 22px 22px;
  }

  .floating-whatsapp {
    left: 1rem;
    right: 1rem;
    min-width: 0;
  }

  .funnel-steps,
  .photo-option-grid,
  .state-opportunity-grid,
  .score-grid {
    grid-template-columns: 1fr;
  }

  .chance-master-card,
  .chance-results-card,
  .chance-modal-panel {
    padding: 1.25rem;
  }

  .chance-master-section .section-heading {
    margin-bottom: 1.2rem;
  }

  .chance-master-section .section-heading h2 {
    font-size: 2rem;
  }

  .chance-bars {
    gap: 0.8rem;
  }

  .chance-bar-card {
    padding: 0.9rem;
  }

.chance-modal-panel h2 {
    font-size: 1.7rem;
  }

  .closing-shell {
    padding: 1.4rem;
  }
}

.cmx-page {
  background:
    radial-gradient(circle at top left, rgba(243, 140, 167, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(78, 115, 201, 0.15), transparent 26%),
    linear-gradient(180deg, #fff6f8 0%, #fffdfd 48%, #f5f7ff 100%);
}

.cmx-hero {
  padding: 2.4rem 0 3.3rem;
}

.cmx-hero-copy {
  max-width: 760px;
  margin: 0 auto 1.4rem;
  text-align: center;
}

.cmx-hero-copy h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.cmx-subtext {
  max-width: 64ch;
  margin: 1rem auto 0;
  color: var(--muted);
  line-height: 1.8;
}

.cmx-hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.cmx-hero-points span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(22, 40, 74, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.cmx-workspace {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 1.3rem;
  align-items: start;
}

.cmx-calculator-card,
.cmx-result-card,
.cmx-testimonial-card {
  padding: 1.45rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 40, 74, 0.08);
  box-shadow: 0 20px 55px rgba(26, 40, 77, 0.09);
}

.cmx-card-head,
.cmx-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cmx-card-head h2,
.cmx-result-top h2 {
  margin: 0.15rem 0 0;
  font-size: 2rem;
}

.cmx-card-head h1 {
  margin: 0.15rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.cmx-card-copy {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.cmx-live-chip,
.cmx-accuracy-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(243, 140, 167, 0.14);
  color: #b24f73;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.cmx-form,
.cmx-lead-form {
  margin-top: 0.6rem;
}

.cmx-form label,
.cmx-lead-form label {
  display: block;
  font-weight: 700;
  font-size: 0.93rem;
}

.cmx-form input,
.cmx-form select,
.cmx-form textarea,
.cmx-lead-form input,
.cmx-lead-form select,
.cmx-lead-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  border: 1px solid rgba(22, 40, 74, 0.12);
  border-radius: 16px;
  padding: 0.92rem 1rem;
  font: inherit;
  font-size: 0.96rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 2px rgba(22, 40, 74, 0.03);
}

.cmx-form input:focus,
.cmx-form select:focus,
.cmx-form textarea:focus,
.cmx-lead-form input:focus,
.cmx-lead-form select:focus,
.cmx-lead-form textarea:focus {
  outline: 2px solid rgba(45, 79, 143, 0.16);
  border-color: rgba(45, 79, 143, 0.38);
}

.cmx-small-note {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.cmx-meter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.cmx-meter-box {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(248, 250, 255, 0.84);
  border: 1px solid rgba(22, 40, 74, 0.08);
}

.cmx-meter-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.cmx-meter-head strong {
  line-height: 1.35;
}

.cmx-meter-percent {
  font-weight: 800;
  color: var(--brand-deep);
}

.cmx-meter-track {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(22, 40, 74, 0.08);
}

.cmx-meter-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2d4f8f, #6d86d8);
  box-shadow: 0 0 18px rgba(78, 115, 201, 0.24);
  transition: width 0.9s cubic-bezier(.22,1,.36,1);
}

.cmx-meter-box[data-cmx-level="medium"] .cmx-meter-fill {
  background: linear-gradient(90deg, #f38ca7, #f7b0c3);
}

.cmx-meter-box[data-cmx-level="low"] .cmx-meter-fill {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.cmx-meter-box[data-cmx-level="alert"] .cmx-meter-fill {
  background: linear-gradient(90deg, #ef4444, #fb7185);
}

.cmx-meter-copy,
.cmx-summary {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.cmx-route-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.cmx-route-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  background: rgba(45, 79, 143, 0.1);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
}

.cmx-plan-shell {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 40, 74, 0.08);
}

.cmx-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.cmx-plan-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.cmx-plan-head span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.cmx-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.cmx-plan-card {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(248, 250, 255, 0.9);
  border: 1px solid rgba(22, 40, 74, 0.08);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(22, 40, 74, 0.06);
}

.cmx-plan-card strong {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
  color: var(--brand-deep);
}

.cmx-plan-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.cmx-plan-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #fff;
}

.cmx-plan-round1 {
  background: linear-gradient(135deg, rgba(78, 115, 201, 0.13), rgba(255, 255, 255, 0.94));
  border-color: rgba(78, 115, 201, 0.2);
}

.cmx-plan-round1 .cmx-plan-badge {
  background: linear-gradient(135deg, #2d4f8f, #5d79c9);
}

.cmx-plan-round2 {
  background: linear-gradient(135deg, rgba(243, 140, 167, 0.14), rgba(255, 255, 255, 0.94));
  border-color: rgba(243, 140, 167, 0.22);
}

.cmx-plan-round2 .cmx-plan-badge {
  background: linear-gradient(135deg, #d86186, #f38ca7);
}

.cmx-plan-mopup {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(255, 255, 255, 0.94));
  border-color: rgba(245, 158, 11, 0.24);
}

.cmx-plan-mopup .cmx-plan-badge {
  background: linear-gradient(135deg, #d08700, #f59e0b);
}

.cmx-plan-stray {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(255, 255, 255, 0.94));
  border-color: rgba(239, 68, 68, 0.18);
}

.cmx-plan-stray .cmx-plan-badge {
  background: linear-gradient(135deg, #d73d56, #ef4444);
}

.cmx-college-shell {
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(243, 140, 167, 0.08), rgba(78, 115, 201, 0.08));
  border: 1px solid rgba(22, 40, 74, 0.08);
}

.cmx-college-shell h3 {
  margin: 0 0 0.8rem;
  font-size: 1.1rem;
}

.cmx-college-list {
  display: grid;
  gap: 0.8rem;
}

.cmx-college-card {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(22, 40, 74, 0.08);
}

.cmx-college-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.cmx-college-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(45, 79, 143, 0.1);
  color: var(--brand-deep);
  font-size: 0.76rem;
  font-weight: 800;
}

.cmx-blur-shell {
  margin-top: 0.95rem;
}

.cmx-blur-list {
  position: relative;
  display: grid;
  gap: 0.55rem;
  padding: 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(22, 40, 74, 0.14);
  overflow: hidden;
}

.cmx-blur-list::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(5px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.42));
}

.cmx-blur-row {
  padding: 0.72rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: rgba(22, 40, 74, 0.7);
}

.cmx-blur-shell .button {
  margin-top: 0.9rem;
}

.cmx-explain-section .section-heading,
.cmx-testimonial-section .section-heading {
  max-width: 760px;
  margin-inline: auto;
}

.cmx-testimonial-marquee {
  overflow: hidden;
}

.cmx-testimonial-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: cmx-marquee 48s linear infinite;
}

.cmx-testimonial-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 1rem;
  background: rgba(45, 79, 143, 0.06);
}

.cmx-testimonial-card {
  width: min(320px, 82vw);
}

.cmx-testimonial-card h3 {
  margin: 0 0 0.6rem;
}

.cmx-testimonial-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.cmx-modal {
  position: fixed;
  inset: 0;
  z-index: 48;
  display: none;
  overflow-y: auto;
  padding: 1.2rem 0;
}

.cmx-modal.is-open {
  display: block;
}

.cmx-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 23, 42, 0.58);
  backdrop-filter: blur(8px);
}

.cmx-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 2rem));
  margin: 6vh auto 0;
  padding: 1.5rem;
  border-radius: 28px;
  background: #fffdfd;
  border: 1px solid rgba(22, 40, 74, 0.08);
  box-shadow: 0 28px 80px rgba(26, 40, 77, 0.22);
  max-height: calc(100vh - 2.4rem);
  overflow-y: auto;
}

.cmx-modal-panel h2 {
  margin: 0.2rem 0 0.7rem;
  font-size: 2rem;
}

.cmx-modal-panel p {
  color: var(--muted);
  line-height: 1.75;
}

.cmx-modal-notes {
  display: grid;
  gap: 0.7rem;
  margin: 0.95rem 0 1.1rem;
}

.cmx-modal-note {
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.6;
  font-weight: 600;
}

.cmx-modal-trust {
  background: rgba(78, 115, 201, 0.1);
  border: 1px solid rgba(78, 115, 201, 0.16);
  color: var(--brand-deep);
}

.cmx-modal-benefit {
  background: rgba(243, 140, 167, 0.12);
  border: 1px solid rgba(243, 140, 167, 0.18);
  color: #9d4566;
}

.cmx-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(22, 40, 74, 0.08);
  color: var(--text);
  cursor: pointer;
}

.cmx-toast {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 42;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 340px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(16, 36, 70, 0.92);
  color: #fff;
  box-shadow: 0 18px 45px rgba(16, 36, 70, 0.25);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cmx-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cmx-toast-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 0.42rem 0.55rem;
  border-radius: 999px;
  background: rgba(243, 140, 167, 0.2);
  color: #ffd4df;
  font-size: 0.78rem;
  font-weight: 800;
}

.cmx-toast-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

@keyframes cmx-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .cmx-workspace,
  .cmx-meter-grid {
    grid-template-columns: 1fr;
  }

  .chance-master-promo {
    grid-template-columns: 1fr;
  }

  .cmx-plan-grid {
    grid-template-columns: 1fr;
  }

  .cmx-toast {
    max-width: 300px;
  }
}

@media (max-width: 680px) {
  .chance-master-promo {
    padding: 1rem;
    border-radius: 24px;
  }

  .chance-master-copy,
  .chance-master-actions {
    padding: 1.1rem;
    border-radius: 20px;
  }

  .chance-master-points span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .cmx-hero {
    padding: 1.6rem 0 2.2rem;
  }

  .cmx-hero-copy {
    text-align: left;
    margin-bottom: 1rem;
  }

  .cmx-hero-copy h1 {
    font-size: 2.45rem;
  }

  .cmx-hero-points {
    justify-content: flex-start;
  }

  .cmx-card-head,
  .cmx-result-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .cmx-calculator-card,
  .cmx-result-card,
  .cmx-testimonial-card,
  .cmx-modal-panel {
    padding: 1.15rem;
    border-radius: 22px;
  }

  .cmx-modal {
    padding: 0.8rem 0;
  }

  .cmx-modal-panel {
    width: min(100% - 1rem, 560px);
    margin: 0 auto;
    max-height: calc(100vh - 1.6rem);
  }

  .cmx-card-head h2,
  .cmx-result-top h2,
  .cmx-modal-panel h2 {
    font-size: 1.55rem;
  }

  .cmx-toast {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 5.9rem;
    max-width: none;
  }
}
