/* ==========================================================================
   Chalkline — Bright School Edition
   Warm paper background, playful color blocks, soft cards
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
  /* base */
  --paper: #fbfaf5;
  --paper-deep: #f3f1e8;
  --surface: #ffffff;

  /* text */
  --ink: #1a2238;
  --ink-soft: #5b6472;
  --ink-faint: #9298a6;

  /* brand accents — bright, friendly, tuned for a school audience */
  --sky: #2f6fed; /* trust / primary */
  --sky-deep: #1e4fc4;
  --marigold: #fdb022; /* warmth / energy */
  --coral: #ff6b6b; /* playful / CTA */
  --mint: #2ec4b6; /* fresh / success */
  --lilac: #8b7cf6; /* variety accent */

  --sunrise: linear-gradient(120deg, var(--marigold) 0%, var(--coral) 100%);
  --sky-grad: linear-gradient(120deg, var(--sky) 0%, var(--lilac) 100%);
  --aurora: linear-gradient(
    120deg,
    var(--sky) 0%,
    var(--lilac) 45%,
    var(--coral) 100%
  );

  --border: rgba(26, 34, 56, 0.08);
  --border-strong: rgba(26, 34, 56, 0.14);
  --shadow-card:
    0 2px 4px rgba(26, 34, 56, 0.04), 0 12px 28px -12px rgba(26, 34, 56, 0.1);
  --shadow-card-hover:
    0 8px 14px rgba(26, 34, 56, 0.05), 0 26px 44px -16px rgba(26, 34, 56, 0.2);

  /* glass surface tuned for a light background */
  --glass-surface: rgba(255, 255, 255, 0.62);
  --glass-surface-hi: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.9);

  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 14px;

  /* ---- unified section rhythm: same gap everywhere ---- */
  --section-space: 50px;

  --font-display: "Plus Jakarta Sans", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink-soft);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

.mono {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
}
::selection {
  background: var(--marigold);
  color: #1a2238;
}

/* ---------- Ambient blobs (soft, layered, not neon) ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ambient span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: driftBlob 18s ease-in-out infinite;
}
.ambient .b1 {
  width: 560px;
  height: 560px;
  top: -200px;
  right: -160px;
  background: radial-gradient(
    circle,
    rgba(253, 176, 34, 0.38),
    transparent 70%
  );
}
.ambient .b2 {
  width: 520px;
  height: 520px;
  top: 38%;
  left: -220px;
  background: radial-gradient(
    circle,
    rgba(47, 111, 237, 0.24),
    transparent 70%
  );
  animation-delay: -4s;
}
.ambient .b3 {
  width: 460px;
  height: 460px;
  bottom: -160px;
  right: 8%;
  background: radial-gradient(
    circle,
    rgba(46, 196, 182, 0.22),
    transparent 70%
  );
  animation-delay: -9s;
}
.ambient .b4 {
  width: 380px;
  height: 380px;
  top: 8%;
  left: 22%;
  background: radial-gradient(
    circle,
    rgba(139, 124, 246, 0.18),
    transparent 70%
  );
  animation-delay: -13s;
}
@keyframes driftBlob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(24px, -18px) scale(1.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ambient span {
    animation: none !important;
  }
}

.container-xl {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ---------- Unified section rhythm ----------
   Every top-level section gets exactly the same
   50px / 50px breathing room, regardless of what
   it used to declare individually. */
section {
  position: relative;
  padding: var(--section-space) 0;
  z-index: 1;
}
.hero {
  padding: var(--section-space) 0;
}
.newsletter-section {
  padding: var(--section-space) 0;
}
.cta-final {
  padding: var(--section-space) 0;
}
@media (max-width: 768px) {
  section,
  .hero,
  .newsletter-section,
  .cta-final {
    padding: var(--section-space) 0;
  }
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}
h1 {
  font-size: clamp(2.5rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
}
h1 em {
  font-style: normal;
  background: var(--sunrise);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 6s ease-in-out infinite;
}
@keyframes shimmerText {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.16;
}
h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}
p {
  margin: 0;
}
.lead {
  font-size: 1.14rem;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 520px;
  padding: 24px 0;
}

.eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky-deep);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(47, 111, 237, 0.09);
  border: 1px solid rgba(47, 111, 237, 0.16);
  margin: 0 0 16px;
}
.eyebrow::before,
.section-eyebrow::before {
  content: "🎓";
  font-size: 0.9em;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head p {
  margin-top: 14px;
  font-size: 1.04rem;
  color: var(--ink-faint);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  cursor: pointer;
}
.btn-marigold {
  background: var(--aurora);
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 12px 26px -8px rgba(139, 124, 246, 0.55);
}
.btn-marigold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -8px rgba(139, 124, 246, 0.65);
  background-position: right center;
  color: #fff;
}

.btn-outline-dark-chalk {
  background: var(--glass-surface);
  border: 1.5px solid var(--glass-border);
  color: var(--ink);
  backdrop-filter: blur(12px);
}
.btn-outline-dark-chalk:hover {
  border-color: var(--sky);
  color: var(--sky-deep);
  background: var(--glass-surface-hi);
  transform: translateY(-2px);
}

.login-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.login-link:hover {
  color: var(--sky-deep);
}

/* ---------- Navbar ---------- */
.navbar-Shiksha {
  background: rgba(251, 250, 245, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  transition: box-shadow 0.3s ease;
}
.navbar-chalkline.scrolled {
  box-shadow: 0 8px 24px -12px rgba(26, 34, 56, 0.18);
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--ink) !important;
}
.nav-link {
  color: var(--ink-soft) !important;
  font-weight: 600;
  font-size: 0.93rem;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--aurora);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-link:hover {
  color: var(--sky-deep) !important;
}
.nav-link:hover::after {
  width: 100%;
}
.navbar-toggler {
  border-color: var(--border-strong);
}

/* ---------- Hero ---------- */
.hero-note {
  font-size: 0.86rem;
  color: var(--ink-faint);
  margin-top: 24px;
}
.hero-note span {
  opacity: 0.6;
  margin: 0 4px;
}

.hero-graphic-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card-hover);
}
.hero-graphic {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-graphic svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.bob {
  animation: bobFloat 3.2s ease-in-out infinite;
}
.bob.d1 {
  animation-delay: 0.2s;
}
.bob.d2 {
  animation-delay: 0.7s;
}
.bob.d3 {
  animation-delay: 1.2s;
}
.bob.d4 {
  animation-delay: 1.7s;
}
@keyframes bobFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.spin-slow {
  animation: spinSlow 22s linear infinite;
  transform-origin: 240px 240px;
}
@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .bob,
  .spin-slow {
    animation: none !important;
  }
}

/* --------- Newsletter Section -------- */
.newsletter-section .newsletter-sec {
  background: linear-gradient(120deg, var(--marigold) 0%, var(--coral) 100%);
  background-repeat: no-repeat;
  padding: 57px 100px 55px;
  border-radius: 40px;
  background-position: 0;
  margin-bottom: -85px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 26px 50px -20px rgba(255, 107, 107, 0.45);
}

.newsletter-section .newsletter-sec:before {
  content: "";
  position: absolute;
  bottom: 46px;
  left: 0;
  width: 59px;
  height: 115px;
  background-image: url(./images/news-bg.png);
  background-repeat: no-repeat;
}

.newsletter-section .newsletter-sec:after {
  content: "";
  position: absolute;
  bottom: 15px;
  right: 0;
  width: 78px;
  height: 100px;
  background-image: url(./images/circle5.png);
  background-repeat: no-repeat;
}

.newsletter-section .newsletter-sec .newsz-ltr-text > h2 {
  color: #2b2b2b;
  font-size: 36.58px;
  line-height: 44.71px;
  margin-bottom: 33px;
  font-weight: 700;
}

.newsletter-section .newsletter-sec .newsletter-form {
  padding-left: 62px;
}

.newsletter-section .newsletter-sec .newsletter-form .row {
  margin: 0 -10px;
}

.newsletter-section .newsletter-sec .newsletter-form .row .col-md-4,
.newsletter-section .newsletter-sec .newsletter-form .row .col-md-12 {
  padding: 0 10px;
}

.newsletter-section .newsletter-sec .newsletter-form .form-group {
  margin-bottom: 20px;
}

.newsletter-section .newsletter-sec .newsletter-form .form-group input,
.newsletter-section .newsletter-sec .newsletter-form .form-group select {
  width: 100%;
  background-color: #fddead;
  height: 40px;
  line-height: 40px;
  color: #575757;
  font-size: 14.23px;
  padding: 0 16px;
  border-radius: 20px;
  border: 0;
  font-style: italic;
  transition: box-shadow 0.2s ease;
}
.newsletter-section .newsletter-sec .newsletter-form .form-group input:focus,
.newsletter-section .newsletter-sec .newsletter-form .form-group select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.65);
}

.newsletter-section .newsletter-sec .newsletter-form .form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: "";
}

.newsletter-section .newsletter-sec .newsletter-form .form-group textarea {
  color: #575757;
  font-size: 14.23px;
  background-color: #fddead;
  height: 70px;
  width: 100%;
  border-radius: 20px;
  border: 0;
  resize: none;
  padding: 10px 15px;
}

.newsletter-section .newsletter-sec .newsletter-form .form-group.select-tg {
  position: relative;
}

.btn-default {
  display: inline-block;
  color: #fff;
  font-size: 18.29px;
  font-weight: 500;
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--ink);
  height: 40px;
  line-height: 40px;
  padding: 0 60px;
  position: relative;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
}
.btn-default:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(0, 0, 0, 0.4);
}

.btn-default i {
  background-color: #fff;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50px;
  color: #155799;
  position: absolute;
  top: 50%;
  transition: all 0.4s ease-in-out;
  left: 6px;
  transform: translateY(-50%);
}

/* ---------- Bento grid ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 18px;
}
.bento-grid .feature-card.b-lg {
  grid-column: span 2;
  grid-row: span 2;
}
.bento-grid .feature-card.b-wide {
  grid-column: span 2;
  grid-row: span 1;
}
@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 170px;
  }
}
@media (max-width: 576px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-grid .feature-card,
  .bento-grid .feature-card.b-lg,
  .bento-grid .feature-card.b-wide {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 180px;
  }
}

#features{
  margin-top: 50px;
}

.feature-card {
  position: relative;
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -70px;
  right: -70px;
  border-radius: 50%;
  filter: blur(46px);
  opacity: 0.5;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  background: var(--glass-surface-hi);
}
.feature-card:hover::before {
  opacity: 0.75;
  transform: scale(1.12);
}
.feature-card .icn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 14px -6px rgba(26, 34, 56, 0.28);
  transition: transform 0.3s ease;
}
.feature-card:hover .icn {
  transform: rotate(-6deg) scale(1.08);
}
.feature-card .icn svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}
.feature-card.c-marigold .icn {
  background: linear-gradient(135deg, #fdb022, #ff8a3d);
}
.feature-card.c-marigold::before {
  background: radial-gradient(
    circle,
    rgba(253, 176, 34, 0.55),
    transparent 70%
  );
}
.feature-card.c-coral .icn {
  background: linear-gradient(135deg, #ff6b6b, #ef476f);
}
.feature-card.c-coral::before {
  background: radial-gradient(
    circle,
    rgba(255, 107, 107, 0.5),
    transparent 70%
  );
}
.feature-card.c-sky .icn {
  background: linear-gradient(135deg, #2f6fed, #3fa9f5);
}
.feature-card.c-sky::before {
  background: radial-gradient(circle, rgba(47, 111, 237, 0.5), transparent 70%);
}
.feature-card.c-mint .icn {
  background: linear-gradient(135deg, #2ec4b6, #5ee2c6);
}
.feature-card.c-mint::before {
  background: radial-gradient(circle, rgba(46, 196, 182, 0.5), transparent 70%);
}
.feature-card.c-lilac .icn {
  background: linear-gradient(135deg, #8b7cf6, #b49bfa);
}
.feature-card.c-lilac::before {
  background: radial-gradient(
    circle,
    rgba(139, 124, 246, 0.5),
    transparent 70%
  );
}
.feature-card h3 {
  position: relative;
  margin-bottom: 8px;
}
.feature-card p {
  position: relative;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.feature-card.b-lg h3 {
  font-size: 1.45rem;
}
.feature-card.b-lg p {
  font-size: 1rem;
  max-width: 340px;
}

/* ---------- App cards ---------- */
.app-card {
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.app-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  background: var(--glass-surface-hi);
}
.app-card .badge {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 8px 16px -6px rgba(26, 34, 56, 0.32);
  transition: transform 0.3s ease;
}
.app-card:hover .badge {
  transform: rotate(-6deg) scale(1.08);
}
.app-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.app-card p {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* ---------- How it works ---------- */
.step {
  position: relative;
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.step-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--aurora);
  margin-bottom: 16px;
}
.step h3 {
  margin-bottom: 10px;
}
.step p {
  font-size: 0.92rem;
  color: var(--ink-faint);
}

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item {
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease;
}
.faq-accordion .accordion-item:hover {
  box-shadow: var(--shadow-card-hover);
}
.faq-accordion .accordion-button {
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 20px 24px;
  box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--sky-deep);
  background: rgba(47, 111, 237, 0.08);
}
.faq-accordion .accordion-body {
  color: var(--ink-faint);
  font-size: 0.92rem;
  padding: 4px 24px 22px;
}

/* ---------- Final CTA ---------- */
.cta-final {
  text-align: center;
  position: relative;
}
.cta-final .glow-panel {
  position: relative;
  padding: 72px 32px;
  border-radius: var(--radius-lg);
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
}
.cta-final .glow-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(253, 176, 34, 0.22),
      transparent 55%
    ),
    radial-gradient(
      circle at 85% 100%,
      rgba(47, 111, 237, 0.2),
      transparent 55%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(139, 124, 246, 0.12),
      transparent 60%
    );
  pointer-events: none;
}
.cta-final h2 {
  margin-bottom: 14px;
}
.cta-final p {
  color: var(--ink-faint);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Footer ---------- */
footer {
  padding: 72px 0 28px;
  border-top: 1px solid var(--border);
}
.foot-brand p {
  color: var(--ink-faint);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 320px;
}
.foot-col h4 {
  font-size: 0.82rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  font-weight: 800;
}
.foot-col ul li {
  margin-bottom: 10px;
}
.foot-col ul li a {
  color: var(--ink-faint);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.foot-col ul li a:hover {
  color: var(--sky-deep);
}
.foot-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  font-size: 0.82rem;
  color: var(--ink-faint);
}
.foot-bottom a {
  color: var(--ink-faint);
  margin-left: 18px;
}
.foot-bottom a:hover {
  color: var(--sky-deep);
}

/* ---------- Focus states ---------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Scroll-reveal animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-zoom {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-zoom.is-visible {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-zoom {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Back-to-top button
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--aurora);
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 14px 28px -10px rgba(139, 124, 246, 0.6);
  cursor: pointer;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease,
    box-shadow 0.3s ease,
    background-position 0.4s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  box-shadow: 0 18px 34px -8px rgba(139, 124, 246, 0.75);
  background-position: right center;
  transform: translateY(-3px) scale(1.04);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}
@media (max-width: 576px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}





















/* Partner Page Csss ===================================== */


/* ---------------- Hero ---------------- */
      .partner-hero {
        position: relative;
        padding: 64px 0 40px;
        overflow: hidden;
      }
      .partner-hero::before {
        content: "";
        position: absolute;
        top: -160px;
        right: -120px;
        width: 520px;
        height: 520px;
        background: var(--sky);
        opacity: 0.08;
        filter: blur(90px);
        border-radius: 50%;
        z-index: 0;
      }
      .partner-hero::after {
        content: "";
        position: absolute;
        bottom: -180px;
        left: -140px;
        width: 460px;
        height: 460px;
        background: var(--coral);
        opacity: 0.08;
        filter: blur(90px);
        border-radius: 50%;
        z-index: 0;
      }
      .partner-hero .row {
        position: relative;
        z-index: 1;
      }

      .partner-hero h1 {
        font-size: clamp(2.2rem, 4vw, 3.2rem);
        font-weight: 800;
        letter-spacing: -0.02em;
        line-height: 1.14;
        margin-bottom: 18px;
      }
      .partner-hero .lead-copy {
        color: var(--ink-soft);
        font-size: 1.12rem;
        max-width: 92%;
        margin-bottom: 28px;
      }

      .stat-strip {
        display: flex;
        gap: 28px;
        flex-wrap: wrap;
        margin-top: 8px;
      }
      .stat-strip .stat b {
        display: block;
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--ink);
      }
      .stat-strip .stat span {
        font-size: 0.82rem;
        color: var(--ink-faint);
      }

      /* ---- Signup card ---- */
      .signup-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-card);
        padding: 34px 32px;
        position: relative;
      }
      .signup-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: var(--radius-lg);
        padding: 1.5px;
        background: var(--aurora);
        opacity: 0.35;
        -webkit-mask:
          linear-gradient(#fff 0 0) content-box,
          linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
      }
      .signup-card h3 {
        font-size: 1.3rem;
        font-weight: 800;
        margin-bottom: 4px;
      }
      .signup-card .sub {
        color: var(--ink-faint);
        font-size: 0.88rem;
        margin-bottom: 22px;
      }
      .signup-card .form-control,
      .signup-card .form-select {
        background: var(--paper-deep);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 12px 15px;
        font-size: 0.95rem;
        color: var(--ink);
      }
      .signup-card .form-control:focus,
      .signup-card .form-select:focus {
        background: var(--surface);
        border-color: var(--sky);
        box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.12);
      }
      .signup-card .form-label {
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--ink-soft);
        margin-bottom: 6px;
      }

      /* ---------------- Section shell ---------------- */
      .section {
        padding: var(--section-space) 0;
      }
      .section-alt {
        background: var(--paper-deep);
      }

      .section-head {
        text-align: center;
        max-width: 640px;
        margin: 0 auto 44px;
      }
      .section-head h2 {
        font-size: clamp(1.7rem, 3vw, 2.4rem);
        font-weight: 800;
        letter-spacing: -0.01em;
        margin: 14px 0 12px;
      }
      .section-head p {
        color: var(--ink-soft);
        font-size: 1.02rem;
      }

      /* ---------------- Persona cards ---------------- */
      .persona-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 32px 28px;
        height: 100%;
        box-shadow: var(--shadow-card);
        transition:
          transform 0.3s ease,
          box-shadow 0.3s ease,
          border-color 0.3s ease;
      }
      .persona-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-card-hover);
        border-color: var(--border-strong);
      }
      .persona-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-bottom: 18px;
      }
      .persona-card h4 {
        font-size: 1.15rem;
        font-weight: 800;
        margin-bottom: 10px;
      }
      .persona-card p {
        color: var(--ink-soft);
        font-size: 0.94rem;
        margin-bottom: 0;
      }

      .ic-sky {
        background: rgba(47, 111, 237, 0.1);
        color: var(--sky-deep);
      }
      .ic-coral {
        background: rgba(255, 107, 107, 0.12);
        color: #c8443f;
      }
      .ic-mint {
        background: rgba(46, 196, 182, 0.13);
        color: #1c8d82;
      }
      .ic-lilac {
        background: rgba(139, 124, 246, 0.13);
        color: #6a58e0;
      }

      /* ---------------- Why partner ---------------- */
      .why-item {
        display: flex;
        gap: 18px;
        margin-bottom: 30px;
      }
      .why-num {
        flex: none;
        width: 46px;
        height: 46px;
        border-radius: 14px;
        background: var(--surface);
        border: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-display);
        font-weight: 800;
        color: var(--sky-deep);
      }
      .why-item h4 {
        font-size: 1.08rem;
        font-weight: 700;
        margin-bottom: 6px;
      }
      .why-item p {
        color: var(--ink-soft);
        font-size: 0.94rem;
        margin: 0;
      }

      /* ---------------- Steps ---------------- */
      .step-track {
        position: relative;
      }
      .step-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 30px 26px;
        height: 100%;
        text-align: left;
      }
      .step-badge {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: var(--sky-grad);
        color: #fff;
        font-family: var(--font-display);
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 18px;
        font-size: 1rem;
      }
      .step-card h4 {
        font-size: 1.1rem;
        font-weight: 800;
        margin-bottom: 8px;
      }
      .step-card p {
        color: var(--ink-soft);
        font-size: 0.93rem;
        margin: 0;
      }

      /* ---------------- Tier report-cards (signature element) ---------------- */
      .tier-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 26px;
      }

      .tier-card {
        position: relative;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 34px 28px 28px;
        box-shadow: var(--shadow-card);
        overflow: hidden;
      }
      .tier-card.is-featured {
        border-color: transparent;
        box-shadow: var(--shadow-card-hover);
        transform: translateY(-10px);
      }
      .tier-card.is-featured::before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 2px;
        border-radius: var(--radius-lg);
        background: var(--aurora);
        -webkit-mask:
          linear-gradient(#fff 0 0) content-box,
          linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
      }
      .tier-ribbon {
        position: absolute;
        top: 18px;
        right: -34px;
        transform: rotate(40deg);
        background: var(--sunrise);
        color: #2b1300;
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        padding: 5px 40px;
      }
      .tier-grade {
        font-family: var(--font-display);
        font-weight: 800;
        font-size: 2.1rem;
        line-height: 1;
        margin-bottom: 6px;
      }
      .tier-card.g-a .tier-grade {
        color: var(--coral);
      }
      .tier-card.g-b .tier-grade {
        color: var(--sky-deep);
      }
      .tier-card.g-c .tier-grade {
        color: var(--mint);
      }
      .tier-name {
        font-weight: 800;
        font-size: 1.05rem;
        margin-bottom: 4px;
      }
      .tier-req {
        color: var(--ink-faint);
        font-size: 0.82rem;
        margin-bottom: 20px;
      }
      .tier-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
      }
      .tier-card li {
        display: flex;
        gap: 10px;
        align-items: flex-start;
        font-size: 0.9rem;
        color: var(--ink-soft);
        margin-bottom: 11px;
      }
      .tier-card li::before {
        content: "✓";
        flex: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: rgba(46, 196, 182, 0.15);
        color: #1c8d82;
        font-size: 0.7rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      /* ---------------- Closing CTA band ---------------- */
      .cta-band {
        background: var(--ink);
        border-radius: var(--radius-lg);
        padding: 56px 44px;
        text-align: center;
        position: relative;
        overflow: hidden;
        color: #fff;
      }
      .cta-band::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--aurora);
        opacity: 0.16;
      }
      .cta-band * {
        position: relative;
        z-index: 1;
      }
      .cta-band h2 {
        color: #fff;
        font-weight: 800;
        font-size: clamp(1.6rem, 3vw, 2.1rem);
        margin-bottom: 12px;
      }
      .cta-band p {
        color: rgba(255, 255, 255, 0.72);
        margin-bottom: 26px;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
      }