:root {
  --spx-green: #16aa4c;
  --spx-green-dark: #0f5a32;
  --spx-green-deep: #0b4327;
  --spx-green-soft: #eafaf1;
  --spx-green-mist: #dff8e9;
  --spx-ink: #10251a;
  --spx-muted: #5f766b;
  --spx-line: #dbeee4;
  --spx-warning: #ffb21d;
  --bs-primary: var(--spx-green);
  --bs-primary-rgb: 22, 170, 76;
  --bs-link-color: var(--spx-green);
  --bs-link-hover-color: var(--spx-green-dark);
}

* {
  letter-spacing: 0;
}

body {
  color: var(--spx-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.text-spx {
  color: var(--spx-green) !important;
}

.text-muted-spx {
  color: var(--spx-muted);
}

.fw-black {
  font-weight: 950 !important;
}

.bg-spx {
  background: var(--spx-green) !important;
}

.bg-spx-soft {
  background: var(--spx-green-soft);
}

.top-strip {
  background: var(--spx-green-dark);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  padding: .55rem 1rem;
  text-align: center;
}

.site-navbar {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(16, 37, 26, .08);
}

.navbar-brand {
  color: var(--spx-ink);
  font-size: 1.35rem;
  font-weight: 900;
}

.brand-mark {
  align-items: center;
  background: var(--spx-green);
  border-radius: .8rem;
  color: #fff;
  display: inline-flex;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.nav-link {
  color: var(--spx-muted);
  font-weight: 750;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--spx-green) !important;
}

.nav-link.active::after {
  background: var(--spx-green);
  border-radius: 999px;
  bottom: .25rem;
  content: "";
  height: 3px;
  left: .5rem;
  position: absolute;
  right: .5rem;
}

.btn {
  border-radius: 999px;
  font-weight: 800;
  min-height: 2.75rem;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

.btn-spx {
  --bs-btn-bg: var(--spx-green);
  --bs-btn-border-color: var(--spx-green);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: #119041;
  --bs-btn-hover-border-color: #119041;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--spx-green-dark);
  --bs-btn-active-border-color: var(--spx-green-dark);
  box-shadow: 0 12px 24px rgba(22, 170, 76, .2);
}

.btn-outline-spx {
  --bs-btn-border-color: var(--spx-green);
  --bs-btn-color: var(--spx-green);
  --bs-btn-hover-bg: var(--spx-green);
  --bs-btn-hover-border-color: var(--spx-green);
  --bs-btn-hover-color: #fff;
}

.badge-soft {
  align-items: center;
  background: #f1fff7;
  border: 1px solid var(--spx-line);
  border-radius: 999px;
  color: var(--spx-green-dark);
  display: inline-flex;
  font-size: .72rem;
  font-weight: 900;
  gap: .45rem;
  letter-spacing: .08em;
  padding: .55rem .85rem;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--spx-green);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-section {
  background: var(--spx-green-soft);
  overflow: hidden;
  padding: clamp(3.25rem, 6vw, 5.5rem) 0;
}

.page-hero {
  background: var(--spx-green-soft);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.hero-title,
.page-title {
  color: var(--spx-ink);
  font-weight: 950;
  letter-spacing: 0;
  line-height: .98;
}

.hero-title {
  font-size: clamp(2.85rem, 5.1vw, 4.65rem);
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.hero-copy,
.page-copy {
  color: var(--spx-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  max-width: 46rem;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

.store-button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--spx-line);
  border-radius: .65rem;
  color: var(--spx-ink);
  display: inline-flex;
  gap: .65rem;
  min-height: 3.25rem;
  min-width: 10.5rem;
  padding: .55rem 1rem;
}

.store-button.dark {
  background: #071b12;
  border-color: #071b12;
  color: #fff;
}

.store-button i {
  color: var(--spx-green);
  font-size: 1.55rem;
  line-height: 1;
}

.store-button.dark i {
  color: #fff;
}

.store-button span {
  display: block;
  font-size: .62rem;
  font-weight: 750;
  line-height: 1;
  opacity: .75;
  text-transform: uppercase;
}

.store-button strong {
  display: block;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.15;
}

.rating-row {
  align-items: center;
  color: var(--spx-muted);
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  font-weight: 750;
}

.rating-row .stars {
  color: var(--spx-warning);
  letter-spacing: .08em;
}

.phone-stage {
  min-height: 35rem;
  position: relative;
}

.phone-frame {
  background: #0d2418;
  border-radius: 2.6rem;
  box-shadow: 0 28px 70px rgba(11, 67, 39, .22);
  margin: 0 auto;
  max-width: 21.5rem;
  padding: .72rem;
  position: relative;
  width: min(82vw, 21.5rem);
}

.phone-screen {
  background: #f8fffb;
  border-radius: 1.95rem;
  min-height: 39rem;
  overflow: hidden;
  padding: 2.9rem 1rem 1.1rem;
  position: relative;
}

.phone-notch {
  background: #071b12;
  border-radius: 999px;
  height: 1.05rem;
  left: 50%;
  position: absolute;
  top: .75rem;
  transform: translateX(-50%);
  width: 5.4rem;
  z-index: 4;
}

.phone-time {
  color: var(--spx-ink);
  font-size: .75rem;
  font-weight: 850;
  left: 1.25rem;
  position: absolute;
  top: .95rem;
  z-index: 4;
}

.phone-icons {
  color: var(--spx-ink);
  font-size: .78rem;
  position: absolute;
  right: 1.15rem;
  top: .9rem;
  z-index: 4;
}

.app-card {
  background: #fff;
  border: 1px solid var(--spx-line);
  border-radius: 1.1rem;
  box-shadow: 0 10px 28px rgba(16, 37, 26, .08);
  padding: 1rem;
}

.app-card.soft {
  background: #effbf4;
}

.app-card.green {
  background: var(--spx-green-dark);
  border-color: var(--spx-green-dark);
  color: #fff;
}

.progress {
  --bs-progress-bg: #dff2e7;
  --bs-progress-bar-bg: var(--spx-green);
  border-radius: 999px;
  height: .55rem;
}

.subject-tile {
  align-items: center;
  background: #fff;
  border: 1px solid var(--spx-line);
  border-radius: 1rem;
  display: flex;
  gap: .75rem;
  padding: .85rem;
}

.ring-stat {
  align-items: center;
  border: 5px solid #b8f2ce;
  border-top-color: var(--spx-green);
  border-radius: 50%;
  color: var(--spx-green-dark);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 950;
  height: 3.3rem;
  justify-content: center;
  width: 3.3rem;
}

.floating-chip {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(219, 238, 228, .9);
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(16, 37, 26, .12);
  display: flex;
  gap: .75rem;
  padding: .8rem 1rem;
  position: absolute;
  z-index: 3;
}

.floating-chip .icon-dot {
  align-items: center;
  background: #e5f8ed;
  border-radius: 50%;
  color: var(--spx-green);
  display: inline-flex;
  flex: 0 0 2.1rem;
  height: 2.1rem;
  justify-content: center;
  width: 2.1rem;
}

.chip-one {
  left: 0;
  top: 7rem;
}

.chip-two {
  right: 0;
  top: 14rem;
}

.chip-three {
  bottom: 7rem;
  left: .5rem;
}

.stats-band {
  background: var(--spx-green-dark);
  color: #fff;
}

.stat-item {
  padding: 2rem 1rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 950;
  line-height: 1;
}

.stat-item span {
  color: rgba(255, 255, 255, .82);
  display: block;
  font-weight: 750;
  margin-top: .55rem;
}

.section-pad {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-title {
  color: var(--spx-ink);
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 950;
  line-height: 1.06;
}

.section-copy {
  color: var(--spx-muted);
  font-size: 1.05rem;
  max-width: 46rem;
}

.feature-card {
  background: var(--spx-green-soft);
  border: 1px solid transparent;
  border-radius: 1.1rem;
  height: 100%;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover {
  border-color: var(--spx-line);
  box-shadow: 0 18px 40px rgba(16, 37, 26, .08);
  transform: translateY(-3px);
}

.feature-card.featured {
  background: var(--spx-green-dark);
  color: #fff;
}

.feature-card.featured p {
  color: rgba(255, 255, 255, .78);
}

.icon-box {
  align-items: center;
  background: var(--spx-green);
  border-radius: .85rem;
  color: #fff;
  display: inline-flex;
  font-size: 1.35rem;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.feature-card h3,
.feature-card h4 {
  font-weight: 950;
}

.feature-card p {
  color: var(--spx-muted);
  margin-bottom: 0;
}

.device-strip {
  background: var(--spx-green-mist);
}

.mini-phone {
  background: #0d2418;
  border-radius: 2.15rem;
  box-shadow: 0 22px 50px rgba(11, 67, 39, .18);
  margin: 0 auto;
  max-width: 15rem;
  padding: .55rem;
  width: 80%;
}

.mini-screen {
  background: #f9fffb;
  border-radius: 1.6rem;
  min-height: 25rem;
  overflow: hidden;
  padding: 2.5rem .8rem 1rem;
  position: relative;
}

.mini-screen::before {
  background: #071b12;
  border-radius: 999px;
  content: "";
  height: .8rem;
  left: 50%;
  position: absolute;
  top: .8rem;
  transform: translateX(-50%);
  width: 4.3rem;
}

.option-row {
  align-items: center;
  background: #fff;
  border: 1px solid var(--spx-line);
  border-radius: .75rem;
  display: flex;
  gap: .6rem;
  margin-bottom: .65rem;
  padding: .8rem;
}

.option-row.active {
  background: #dff8e9;
  border-color: var(--spx-green);
  color: var(--spx-green-dark);
  font-weight: 900;
}

.caption-pill {
  background: #fff;
  border: 1px solid var(--spx-line);
  border-radius: 999px;
  color: var(--spx-green-dark);
  display: inline-flex;
  font-size: .88rem;
  font-weight: 850;
  margin-top: 1rem;
  padding: .35rem .9rem;
}

.cta-panel {
  background: var(--spx-green-dark);
  border-radius: 1.6rem;
  color: #fff;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem);
  position: relative;
}

.cta-panel p {
  color: rgba(255, 255, 255, .78);
}

.footer {
  background: var(--spx-green-deep);
  color: #fff;
  padding: 4rem 0 2rem;
}

.footer a,
.footer p,
.footer small {
  color: rgba(255, 255, 255, .68);
}

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

.footer h6 {
  color: #fff;
  font-weight: 900;
  margin-bottom: 1rem;
}

.footer-link-list {
  display: grid;
  gap: .6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 3rem;
  padding-top: 1.5rem;
}

.feature-story {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.feature-story:nth-child(even) {
  background: #f2fbf6;
}

.feature-number {
  color: var(--spx-green);
  font-size: .9rem;
  font-weight: 950;
}

.check-list {
  display: grid;
  gap: .7rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.check-list li {
  color: var(--spx-muted);
  display: flex;
  gap: .65rem;
}

.check-list i {
  color: var(--spx-green);
  flex: 0 0 auto;
  margin-top: .12rem;
}

.mock-panel {
  background: #fff;
  border: 1px solid var(--spx-line);
  border-radius: 1.25rem;
  box-shadow: 0 22px 50px rgba(16, 37, 26, .08);
  padding: clamp(1.2rem, 2vw, 1.8rem);
}

.mock-panel.green {
  background: var(--spx-green-dark);
  border-color: var(--spx-green-dark);
}

.syllabus-row,
.history-row,
.paper-row,
.notification-row {
  align-items: center;
  background: #f1fff7;
  border: 1px solid var(--spx-line);
  border-radius: .9rem;
  display: flex;
  gap: .8rem;
  justify-content: space-between;
  margin-bottom: .75rem;
  padding: .8rem 1rem;
}

.pill-label {
  background: #d9f8e6;
  border-radius: 999px;
  color: var(--spx-green-dark);
  display: inline-flex;
  font-size: .75rem;
  font-weight: 900;
  padding: .3rem .65rem;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--spx-line);
  border-radius: 1.35rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  position: relative;
}

.pricing-card.popular {
  background: var(--spx-green-dark);
  border-color: var(--spx-green-dark);
  color: #fff;
  transform: translateY(-1.5rem);
}

.pricing-card.popular p,
.pricing-card.popular li,
.pricing-card.popular .price small {
  color: rgba(255, 255, 255, .78);
}

.pricing-card .ribbon {
  background: #b5f4c8;
  border-radius: 999px;
  color: var(--spx-green-dark);
  font-size: .72rem;
  font-weight: 950;
  left: 50%;
  letter-spacing: .08em;
  padding: .45rem 1rem;
  position: absolute;
  text-transform: uppercase;
  top: -1rem;
  transform: translateX(-50%);
  white-space: nowrap;
}

.price {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  font-weight: 950;
  line-height: 1;
}

.price small {
  color: var(--spx-muted);
  font-size: 1rem;
  font-weight: 800;
}

.plan-list {
  display: grid;
  gap: .8rem;
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(95, 118, 107, .22);
}

.plan-list li {
  color: var(--spx-muted);
  display: flex;
  gap: .65rem;
}

.pricing-card.popular .plan-list {
  border-color: rgba(255, 255, 255, .18);
}

.plan-list i {
  color: var(--spx-green);
  flex: 0 0 auto;
}

.pricing-card.popular .plan-list i {
  color: #b5f4c8;
}

.plan-list .muted {
  opacity: .38;
}

.bank-panel {
  background: var(--spx-green-dark);
  border-radius: 1.6rem;
  color: #fff;
  padding: clamp(2rem, 5vw, 4rem);
}

.payment-step {
  position: relative;
}

.payment-step .icon-box {
  background: var(--spx-green);
  border-radius: 50%;
}

.payment-step p {
  color: rgba(255, 255, 255, .72);
}

.faq-accordion .accordion-item {
  border: 1px solid var(--spx-line);
  border-radius: 1rem !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  color: var(--spx-ink);
  font-weight: 900;
  padding: 1.35rem 1.5rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #fff;
  box-shadow: none;
  color: var(--spx-ink);
}

.faq-accordion .accordion-button:focus {
  border-color: var(--spx-green);
  box-shadow: 0 0 0 .25rem rgba(22, 170, 76, .15);
}

.faq-accordion .accordion-body {
  color: var(--spx-muted);
  padding: 0 1.5rem 1.5rem;
}

.support-card {
  background: #fff;
  border: 1px solid var(--spx-line);
  border-radius: 1.4rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.support-info-card {
  background: var(--spx-green-soft);
  border: 1px solid var(--spx-line);
  border-radius: 1.25rem;
  padding: 1.6rem;
}

.support-email-card {
  background: var(--spx-green-dark);
  border-radius: 1.25rem;
  color: #fff;
  padding: 1.6rem;
}

.form-control,
.form-select {
  background-color: #f1fff7;
  border-color: var(--spx-line);
  border-radius: .8rem;
  color: var(--spx-ink);
  font-weight: 700;
  min-height: 3.2rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--spx-green);
  box-shadow: 0 0 0 .25rem rgba(22, 170, 76, .15);
}

.form-label {
  color: var(--spx-muted);
  font-size: .9rem;
  font-weight: 850;
}

@media (max-width: 991.98px) {
  .nav-link.active::after {
    display: none;
  }

  .hero-section {
    min-height: auto;
  }

  .phone-stage {
    min-height: auto;
    padding-top: 2rem;
  }

  .floating-chip {
    display: none;
  }

  .pricing-card.popular {
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .top-strip {
    font-size: .78rem;
    line-height: 1.25;
    padding: .45rem .75rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 10.3vw, 2.8rem);
    line-height: 1.04;
  }

  .page-title {
    font-size: clamp(2.2rem, 10.5vw, 3rem);
  }

  .hero-copy,
  .page-copy {
    font-size: 1rem;
  }

  .store-button {
    flex: 1 1 100%;
    justify-content: center;
    min-width: 0;
    width: 100%;
  }

  .rating-row {
    font-size: .95rem;
    gap: .4rem;
  }

  .rating-row span:last-child {
    flex-basis: 100%;
  }

  .phone-frame {
    width: min(88vw, 21.5rem);
  }

  .phone-screen {
    min-height: 36rem;
  }

  .section-pad {
    padding: 3.5rem 0;
  }

  .cta-panel,
  .bank-panel {
    border-radius: 1.1rem;
  }
}
