/* Learnify Academy — Platform landing (learnify-academy.in) */

:root {
  --font-sans: "Plus Jakarta Sans", "Noto Sans Devanagari", system-ui, sans-serif;
  --font-deva: "Anek Devanagari", "Noto Sans Devanagari", "Plus Jakarta Sans", sans-serif;
  --font-hind: "Hind", sans-serif;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --primary: #059669;
  --primary-dark: #047857;
  --primary-soft: #ecfdf5;
  --header-h: 4.25rem;
  --radius: .5rem;
  --radius-lg: .75rem;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.platform-page {
  margin: 0;
  font-family: var(--font-hind);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.site-main {
  min-height: calc(100vh - 12rem);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.site-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-brand__logo {
  height: 2.25rem;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.site-brand__logo:hover {
  transform: scale(1.02);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.site-nav__link {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  transition: color 0.15s;
}

.site-nav__link:hover {
  color: var(--primary);
}

.site-menu-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  cursor: pointer;
}

.site-menu-btn span {
  width: 1.1rem;
  height: 2px;
  background: #334155;
  border-radius: 1px;
}

.site-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-mobile-nav a:not(.btn) {
  padding: 0.65rem 0;
  text-decoration: none;
  font-weight: 600;
  color: #334155;
}

.site-mobile-nav__cta {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
  color: #fff !important;
}

.site-mobile-nav[hidden] {
  display: none;
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }

  .site-menu-btn {
    display: none;
  }

  .site-mobile-nav {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.8rem 1.35rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 10px 28px rgba(5, 150, 105, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 14px 32px rgba(5, 150, 105, 0.34);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.75);
  color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.btn--soft {
  background: #f1f5f9;
  color: #334155;
}

.btn--soft:hover {
  background: #e2e8f0;
}

.btn--light {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.btn--disabled,
.btn--disabled:hover {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
}

.btn--lg {
  padding: 0.95rem 1.65rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 1.25rem 4rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(16, 185, 129, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(99, 102, 241, 0.12), #4492f93b 50%),
    linear-gradient(180deg, #eefbf5 0%, var(--bg) 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
  align-items: start;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.55fr);
    gap: 2.5rem;
    align-items: center;
  }
}

.hero__login {
  position: relative;
  scroll-margin-top: 5.5rem;
}

.hero__login::before {
  content: '';
  position: absolute;
  inset: -2.75rem;
  background: radial-gradient(ellipse 70% 70% at 50% 42%, rgba(16, 185, 129, 0.3), transparent 70%);
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.hero-login-card {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.2rem 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px -10px rgba(15, 23, 42, 0.2), 0 10px 28px rgba(16, 185, 129, 0.1);
  backdrop-filter: blur(10px);
}

.hero-login-card__title {
  margin: 0 0 0.2rem;
  font-family: var(--font-deva);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
}

.hero-login-card__desc {
  margin: 0 0 0.95rem;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

.hero-referral-banner {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.76rem;
  line-height: 1.4;
}

.hero-referral-banner__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
}

.hero-login-form {
  display: grid;
  gap: 0.7rem;
}

.hero-login-form__field {
  display: grid;
  gap: 0.28rem;
}

.hero-login-form__label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.01em;
}

.hero-login-form__input {
  width: 100%;
  padding: 0.62rem 0.8rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.6rem;
  font: inherit;
  font-size: 0.88rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hero-login-form__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.hero-login-form__submit {
  margin-top: 0.15rem;
  padding: 0.72rem 1rem;
  font-size: 0.9rem;
}

.hero-login-form__footer {
  margin: 0.95rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px dashed #e2e8f0;
  text-align: center;
}

.hero-login-form__footer-text {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}

.hero-login-form__register {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.62rem 0.9rem;
  border-radius: 0.6rem;
  border: 1px solid #bae6fd;
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);
  color: #0369a1;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.hero-login-form__register:hover {
  transform: translateY(-1px);
  border-color: #7dd3fc;
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.14);
}

.platform-alert {
  margin-bottom: 0.85rem;
  padding: 0.72rem 0.85rem;
  border-radius: 0.65rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

.platform-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.platform-alert--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.hero__eyebrow {
  margin: 0 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.9rem 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  animation: dot-pulse 2.2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.7); }
}

.hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-deva);
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero__title-accent {
  background-image:
    linear-gradient(100deg, transparent 0%, transparent 36%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.9) 52%, transparent 64%, transparent 100%),
    linear-gradient(135deg, #059669, #4f46e5);
  background-size: 220% 100%, 100% 100%;
  background-position: 0% 0, 0 0;
  background-repeat: repeat, no-repeat;
  background-blend-mode: overlay, normal;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hero-title-shine 3.6s linear infinite;
}

@keyframes hero-title-shine {
  from {
    background-position: 0% 0, 0 0;
  }
  to {
    background-position: -220% 0, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title-accent {
    animation: none;
  }
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 40rem;
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  max-width: 36rem;
}

.hero__stats div {
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero__stats dt {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

.hero__stats dd {
  margin: 0.1rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

/* Trust stats band — sits right under the hero */
.stats-band {
  background: linear-gradient(135deg, #059669 0%, #047857 55%, #4f46e5 100%);
  padding: 1.85rem 1.25rem;
}

.stats-band__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .stats-band__inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stats-band__item {
    position: relative;
  }

  .stats-band__item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0.2rem;
    bottom: 0.2rem;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
  }
}

.stats-band__value {
  display: block;
  font-family: var(--font-deva);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.stats-band__label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.35;
}

/* Sections */
.section {
  padding: 4rem 1.25rem;
}

.section--alt {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.section__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.section__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.section__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-deva);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
}

.section__desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section__desc--left {
  text-align: left;
}

/* Product grid */
.product-grid {
  display: grid;
  gap: 1.35rem;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card--emerald {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
}

.product-card--emerald:hover {
  transform: translateY(-4px);
  border-color: #86efac;
  box-shadow: 0 18px 50px rgba(5, 150, 105, 0.14);
}

.product-card--sky {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
}

.product-card--sky:hover {
  transform: translateY(-4px);
  border-color: #7dd3fc;
  box-shadow: 0 18px 50px rgba(2, 132, 199, 0.14);
}

.product-card--violet {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
  border: 1px solid #e9d5ff;
}

.product-card--violet:hover {
  transform: translateY(-4px);
  border-color: #d8b4fe;
  box-shadow: 0 18px 50px rgba(124, 58, 237, 0.14);
}

.product-card--soon {
  opacity: 0.92;
}

.product-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.product-card--sky .product-card__badge {
  background: #e0f2fe;
  color: #0369a1;
}

.product-card--violet .product-card__badge {
  background: #ede9fe;
  color: #6d28d9;
}

.product-card__icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  padding: 0.65rem;
  border-radius: 0.85rem;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.product-card--sky .product-card__icon {
  background: #e0f2fe;
  color: #0284c7;
}

.product-card--violet .product-card__icon {
  background: #ede9fe;
  color: #7c3aed;
}

.product-card--amber {
  background: linear-gradient(135deg, #fffae7 0%, #fbefbe 100%);
  border: 1px solid #f2dc83;
}

.product-card--amber:hover {
  transform: translateY(-4px);
  border-color: #fef3c7;
  box-shadow: 0 18px 50px rgba(255, 214, 10, 0.14);
}

.product-card--amber .product-card__icon {
  background: #fef3c7;
  color: #92400e;
}

.product-card--amber .product-card__badge {
  background: #fef3c7;
  color: #92400e;
}

.product-card__icon svg {
  width: 100%;
  height: 100%;
}

.product-card__media {
  width: calc(100% + 3rem);
  margin: -1.5rem -1.5rem 1rem;
  /* aspect-ratio: 16 / 9; */
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: rgba(255, 255, 255, 0.55);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__image--placeholder {
  object-fit: contain;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.75);
}

.product-card__name-en {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card__name {
  margin: 0 0 0.5rem;
  font-family: var(--font-deva);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
}

.product-card__tagline {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
  flex: 1;
}

.product-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  line-height: 1.15;
  font-family: var(--font-deva);
  color: var(--primary-dark);
}

.product-card__price-amount {
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.01em;
}

.product-card__price-sep,
.product-card__price-period {
  font-weight: 600;
  font-size: 0.82rem;
  color: #64748b;
}

.product-card--sky .product-card__price {
  color: #0284c7;
}

.product-card--sky .product-card__price-period {
  color: #0369a1;
}

.product-card--violet .product-card__price {
  color: #7c3aed;
}

.product-card--violet .product-card__price-period {
  color: #6d28d9;
}

.product-card__soon {
  margin: 0 0 0.85rem;
  font-weight: 700;
  color: #b45309;
  font-size: 0.88rem;
}

.product-card__features {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  color: #64748b;
}

.product-card__features li {
  padding: 0.2rem 0 0.2rem 1.1rem;
  position: relative;
}

.product-card__features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.product-card--sky .product-card__features li::before {
  color: #0ea5e9;
}

.product-card--violet .product-card__features li::before {
  color: #8b5cf6;
}

.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

/* About split */
.platform-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.section__img {
  width: 250px;
  height: auto;
  object-fit: cover;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .platform-split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.value-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.value-list li {
  padding: 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid #0284c7;
}

.value-list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.value-list span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* CTA band */
.cta-band {
  padding: 3rem 1.25rem;
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #047857 0%, #065f46 50%, #134e4a 100%);
  background-size: 200% 200%;
  color: #ecfdf5;
  box-shadow: 0 20px 50px rgba(4, 120, 87, 0.28);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: promoGradient 8s ease infinite;
}

.cta-band__inner:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 60px rgba(4, 120, 87, 0.38);
}

.cta-band__badge {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: badgeFloat 3s ease-in-out infinite;
}

@media (max-width: 767px) {
  .cta-band__inner {
    padding-top: 3.75rem;
  }
}

@media (min-width: 768px) {
  .cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-right: 2.5rem;
  }
}

.cta-band__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-deva);
  font-size: 1.5rem;
  font-weight: 800;
}

.cta-band__text {
  margin: 0;
  opacity: 0.92;
  max-width: 32rem;
  line-height: 1.6;
}

.cta-band__btn {
  animation: btnPulse 2s infinite;
}

/* Animations */
@keyframes promoGradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes badgeFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes btnPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Detail page */
.detail-hero {
  padding: 2.5rem 1.25rem 3rem;
  border-bottom: 1px solid var(--line);
}

.detail-hero--emerald {
  background: radial-gradient(ellipse 80% 60% at 20% 0%, rgba(16, 185, 129, 0.18), transparent 55%), radial-gradient(ellipse 60% 50% at 90% 10%, rgba(99, 102, 241, 0.12), #4492f93b 50%), linear-gradient(180deg, #eefbf5 0%, var(--bg) 70%);
}

.detail-hero--sky {
  background: linear-gradient(180deg, #e0f2fe 0%, #a08dbe 100%);
}

.detail-hero--violet {
  background: linear-gradient(180deg, #e1ddf4 0%, #98d0b0 100%);
}

.detail-hero--amber {
  background: linear-gradient(180deg, #f7e8a9 0%, #dba5a5 100%);
}

.detail-hero--404 {
  text-align: center;
  padding: 5rem 1.25rem;
}

.detail-hero__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.detail-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 2rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.detail-back:hover {
  color: var(--primary);
}

.detail-hero__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.detail-hero__en {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-hero__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-deva);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
}

.detail-hero__lead {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.5;
}

.detail-hero__summary {
  margin: 0 0 1.25rem;
  color: #475569;
  line-height: 1.75;
  font-size: 1.02rem;
}

.detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.detail-pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--line);
  color: #334155;
}

.detail-pill--live {
  background: var(--primary-soft);
  border-color: #a7f3d0;
  color: var(--primary-dark);
}

.detail-pill--soon {
  background: #fef3c7;
  border-color: #fde68a;
  color: #92400e;
}

.detail-pill--muted {
  font-weight: 600;
  color: var(--muted);
}

.detail-pill--price {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  line-height: 1.15;
  font-family: var(--font-deva);
}

.detail-pill--price > span {
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.detail-pill--price-amount {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.detail-pill--price-sep,
.detail-pill--price-period {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.85;
}

.detail-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.detail-hero__redirect-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.detail-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .detail-layout {
    grid-template-columns: 1fr 18rem;
    align-items: start;
  }
}

.detail-block__title {
  margin: 0 0 1rem;
  font-family: var(--font-deva);
  font-size: 1.35rem;
  font-weight: 800;
}

.detail-block__title:not(:first-child) {
  margin-top: 2rem;
}

.feature-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.feature-item__check {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.highlight-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .highlight-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.highlight-card {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.highlight-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
}

.highlight-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.detail-seo-intro {
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.detail-seo-intro p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text, #0f172a);
}

.seo-faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}

.seo-faq-item {
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--radius, 0.75rem);
  background: var(--surface, #fff);
  padding: 0.85rem 1rem;
}

.seo-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text, #0f172a);
  list-style: none;
}

.seo-faq-item summary::-webkit-details-marker {
  display: none;
}

.seo-faq-item summary::after {
  content: "+";
  float: right;
  color: var(--muted, #64748b);
  font-weight: 600;
}

.seo-faq-item[open] summary::after {
  content: "–";
}

.seo-faq-item p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted, #475569);
}

.aside-card {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.aside-card+.aside-card {
  margin-top: 1rem;
}

.aside-card--muted {
  background: #f8fafc;
}

.aside-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 800;
}

.aside-card p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.aside-card__url {
  margin: 0.75rem 0 0 !important;
  font-size: 0.75rem !important;
  word-break: break-all;
  color: #94a3b8 !important;
}

.aside-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aside-links a {
  display: block;
  padding: 0.45rem 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.aside-links a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 1.25rem;
  background: #0f172a;
  color: #cbd5e1;
}

.site-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
}

.site-footer__logo {
  height: 2rem;
  width: auto;
  margin: 0 auto 0.75rem auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer__logo:hover {
  opacity: 1;
  transform: scale(1.02);
}

.site-footer__tagline {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.25rem;
}

.site-footer__links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}

.site-footer__links a:hover {
  color: #6ee7b7;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

/* Contact Section */
.contact-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 42rem;
  margin: 0 auto 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 36px rgba(18, 140, 126, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(18, 140, 126, 0.36);
  color: #fff;
}

.contact-whatsapp__icon {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}

.contact-whatsapp__icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.contact-whatsapp__copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.contact-whatsapp__copy strong {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
}

.contact-whatsapp__copy span {
  font-size: 0.78rem;
  opacity: 0.92;
  line-height: 1.35;
}

.contact-whatsapp__cta {
  flex-shrink: 0;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f766e;
  font-size: 0.78rem;
  font-weight: 800;
}

@media (max-width: 520px) {
  .contact-whatsapp {
    flex-wrap: wrap;
  }

  .contact-whatsapp__cta {
    margin-left: auto;
  }
}

.contact-box {
  display: grid;
  gap: 1rem;
  max-width: 42rem;
  margin: 0 auto;
}

.contact-box--secondary {
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .contact-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.contact-card {
  padding: 1.35rem 1.15rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.contact-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.25rem;
  padding: 0.55rem;
  border-radius: 0.7rem;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card__icon--sky {
  background: #e0f2fe;
  color: #0284c7;
}

.contact-card__icon svg {
  width: 100%;
  height: 100%;
}

.contact-card h3 {
  margin: 0;
  font-family: var(--font-deva);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.contact-card p {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.contact-card .btn {
  word-break: break-all;
}

#software {
  background: #ffffff;
  border-top: 1px solid rgba(16, 185, 129, 0.15);
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  position: relative;
}

/* Courses Section */
#courses {
  background: linear-gradient(135deg, #fafdfb 0%, #f4faf6 100%);
  border-top: 1px solid rgba(16, 185, 129, 0.08);
  border-bottom: 1px solid rgba(16, 185, 129, 0.08);
  position: relative;
}

/* Courses Grid */
.courses-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.course-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.course-card__img-wrap {
  width: 100%;
  /* aspect-ratio: 16 / 9; */
  background: #f1f5f9;
  overflow: hidden;
  position: relative;
}

.course-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.course-card:hover .course-card__img {
  transform: scale(1.05);
}

.course-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-card__en {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.course-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-deva);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
}

.course-card__desc {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  flex: 1;
}

.course-card__btn {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s ease;
}

.course-card:hover .course-card__btn {
  color: var(--primary-dark);
}

/* Plans Grid & Cards */
.plans-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .plans-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.plan-card--popular {
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, #ecfdf5 0%, #ffffff 55%, #f0fdf4 100%) padding-box,
    linear-gradient(135deg, #34d399, #059669, #0d9488) border-box;
  box-shadow: 0 14px 36px rgba(5, 150, 105, 0.18);
  overflow: hidden;
}

.plan-card--popular::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 0.35rem;
  background: linear-gradient(90deg, #34d399, #059669, #0d9488);
}

.plan-card--popular:hover {
  box-shadow: 0 20px 48px rgba(5, 150, 105, 0.24);
  transform: translateY(-5px);
}

.plan-card__badge {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  background: linear-gradient(135deg, #10b981, #047857);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 14px rgba(4, 120, 87, 0.28);
}

.plan-card__name {
  margin: 0 0 0.4rem;
  padding-right: 4.5rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.plan-card__desc {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.55;
  flex: 1;
  white-space: pre-line;
}

.plan-card--popular .plan-card__desc {
  color: #065f46;
}

.plan-card__price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.plan-card--popular .plan-card__price-wrap {
  border-bottom-color: rgba(5, 150, 105, 0.2);
}

.plan-card__price {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.plan-card--popular .plan-card__price {
  color: #047857;
}

.plan-card__period {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.plan-card__features {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.plan-card__features li {
  padding-left: 1.25rem;
  position: relative;
}

.plan-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
}

/* Detail Featured Image */
.detail-featured-img {
  width: 100%;
  max-width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  margin-bottom: 2rem;
  display: block;
  object-fit: cover;
}

.detail-featured-img--placeholder {
  object-fit: contain;
  padding: 2rem;
  background: #f8fafc;
}

/* Coordinator share editor — WhatsApp preview (matches MDM portal) */
.coord-share-editor {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .coord-share-editor {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.coord-share-editor__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.coord-share-editor__preview-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin: 0 0 0.75rem;
}

.wa-share-preview {
  background: linear-gradient(180deg, #e5ddd5 0%, #d9d0c7 100%);
  border-radius: 1rem;
  padding: 0.75rem;
  min-height: 280px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.wa-share-preview__header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem 0.75rem;
  margin: -0.25rem -0.25rem 0.5rem;
  background: #075e54;
  border-radius: 0.65rem 0.65rem 0 0;
  color: #fff;
}

.wa-share-preview__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-share-preview__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
}

.wa-share-preview__subtitle {
  margin: 0.1rem 0 0;
  font-size: 0.7rem;
  opacity: 0.85;
}

.wa-share-preview__chat {
  display: flex;
  justify-content: flex-end;
  padding: 0.5rem 0.25rem 0.25rem;
}

.wa-share-bubble {
  position: relative;
  max-width: 100%;
  background: #dcf8c6;
  border-radius: 0.5rem 0.5rem 0 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.wa-share-bubble::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 0;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-left-color: #dcf8c6;
  border-bottom: 0;
}

.wa-share-bubble__img-wrap {
  line-height: 0;
}

.wa-share-bubble__img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.wa-share-bubble__text {
  margin: 0;
  padding: 0.5rem 0.65rem 0.25rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #111827;
  white-space: pre-wrap;
  word-break: break-word;
}

.wa-share-bubble__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  padding: 0 0.5rem 0.35rem;
  font-size: 0.65rem;
  color: #667781;
}

.wa-share-bubble__ticks {
  color: #53bdeb;
  font-size: 0.7rem;
  letter-spacing: -0.12em;
}

.site-nav__cta {
  flex-shrink: 0;
  margin-left: 0.25rem;
}

/* =====================================================
   Homepage enhancements: hero orbs, feat-strip, why
   ===================================================== */

/* Animated floating orbs in hero background */
.hero__bg::before {
  content: '';
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 65%);
  top: -12rem;
  left: -7rem;
  pointer-events: none;
  animation: orb-float 9s ease-in-out infinite;
}

.hero__bg::after {
  content: '';
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 65%);
  /* bottom: -9rem; */
  right: -5rem;
  pointer-events: none;
  animation: orb-float 12s ease-in-out infinite reverse;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}


/* Feature strip */
.feat-strip {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 1.25rem;
}

.feat-strip__grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem 2rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .feat-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .feat-strip__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.feat-strip__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feat-strip__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
}

.feat-strip__icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.feat-strip__icon--sky {
  background: #e0f2fe;
  color: #0284c7;
}

.feat-strip__icon--violet {
  background: #ede9fe;
  color: #7c3aed;
}

.feat-strip__icon--amber {
  background: #fef3c7;
  color: #b45309;
}

.feat-strip__icon--rose {
  background: #ffe4e6;
  color: #be123c;
}

.feat-strip__text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.feat-strip__text span {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Why Learnify section */
.why-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f0fdf4 100%);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.why-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.why-card {
  text-align: center;
  padding: 1rem 0.85rem 0.9rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #a7f3d0;
}

.why-card:nth-child(2):hover { border-color: #7dd3fc; }
.why-card:nth-child(3):hover { border-color: #d8b4fe; }
.why-card:nth-child(4):hover { border-color: #fde68a; }

.why-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto 0.65rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: grid;
  place-items: center;
}

.why-card__icon svg {
  width: 1rem;
  height: 1rem;
}

.why-card:nth-child(2) .why-card__icon {
  background: #e0f2fe;
  color: #0284c7;
}

.why-card:nth-child(3) .why-card__icon {
  background: #ede9fe;
  color: #7c3aed;
}

.why-card:nth-child(4) .why-card__icon {
  background: #fef3c7;
  color: #b45309;
}

.why-card__title {
  margin: 0 0 0.3rem;
  font-family: var(--font-deva);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}

.why-card__desc {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Tighten why section header */
.why-section .section__head {
  margin-bottom: 1.25rem;
}

/* Value list — alternating accent colors */
.value-list li:nth-child(1) { border-left-color: var(--primary); }
.value-list li:nth-child(2) { border-left-color: #7c3aed; }
.value-list li:nth-child(3) { border-left-color: #d97706; }

/* Testimonials — two counter-scrolling marquee rows (deliberately not a static card grid) */
.testimonials-section {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  overflow: hidden;
}

.testimonials-section .section__head {
  margin-bottom: 2.25rem;
}

@keyframes testimonialMarqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes testimonialMarqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.testimonial-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0.6rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.testimonial-marquee + .testimonial-marquee {
  margin-top: 1.1rem;
}

.testimonial-track {
  display: flex;
  gap: 1.1rem;
  width: max-content;
  animation: testimonialMarqueeLeft 42s linear infinite;
}

.testimonial-track--reverse {
  animation-name: testimonialMarqueeRight;
  animation-duration: 48s;
}

.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
    overflow-x: auto;
  }
}

.testimonial-card {
  flex: 0 0 auto;
  width: min(21rem, 82vw);
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.testimonial-card__top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.testimonial-card__avatar {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.testimonial-card__avatar svg {
  width: 1.5rem;
  height: 1.5rem;
}

.testimonial-card__avatar--sky { background: #e0f2fe; color: #0284c7; }
.testimonial-card__avatar--rose { background: #ffe4e6; color: #be123c; }
.testimonial-card__avatar--amber { background: #fef3c7; color: #b45309; }
.testimonial-card__avatar--violet { background: #ede9fe; color: #7c3aed; }
.testimonial-card__avatar--indigo { background: #e0e7ff; color: #4338ca; }
.testimonial-card__avatar--emerald { background: var(--primary-soft); color: var(--primary-dark); }

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.testimonial-card__meta strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.testimonial-card__meta span {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
}

.testimonial-card__verified {
  flex-shrink: 0;
  margin-left: auto;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
}

.testimonial-card__verified svg {
  width: 0.7rem;
  height: 0.7rem;
}

.testimonial-card__quote {
  position: relative;
  margin: 0;
  padding-left: 0.1rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #334155;
}

.testimonial-card__mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3em;
  font-weight: 700;
  color: var(--primary);
  margin-right: 0.05em;
}

/* About — trust badges */
.about-badges {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.about-badges__item {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid #a7f3d0;
  font-size: 0.78rem;
  font-weight: 700;
}

/* FAQ accordion */
.faq-list {
  max-width: 46rem;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item[open] {
  border-color: #a7f3d0;
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-deva);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--primary-soft);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--primary-dark);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-item__icon::before {
  width: 0.6rem;
  height: 2px;
}

.faq-item__icon::after {
  width: 2px;
  height: 0.6rem;
}

.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.faq-item__a {
  padding: 0 1.25rem 1.15rem;
}

.faq-item__a p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Final CTA — full-width band before contact section (mirrors the Android app band's layered style) */
@keyframes finalCtaGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.final-cta-section {
  padding: 3rem 1.25rem;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 55%, #f8fafc 100%);
}

.final-cta-band {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 1.75rem;
  border-radius: 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 45%, #7c3aed 100%);
  background-size: 200% 200%;
  animation: finalCtaGradientShift 10s ease infinite;
  box-shadow:
    0 24px 60px rgba(67, 56, 202, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .final-cta-band {
    animation: none;
  }
}

.final-cta-band__glow {
  position: absolute;
  inset: -30% -20% auto auto;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.35) 0%, transparent 68%);
  pointer-events: none;
}

.final-cta-band__content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  margin: 0 auto;
}

.final-cta-band__eyebrow {
  margin: 0 0 0.75rem;
  display: inline-flex;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.final-cta-band__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-deva);
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.final-cta-band__lead {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.final-cta-band__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

.final-cta-band__stats strong {
  color: #fff;
  font-weight: 800;
}

.final-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}