/* MERIDIAN Landing Page — theme-aware styles */

/* ---- Theme tokens ---- */
:root,
[data-theme="dark"] {
  --bg: #020617;
  --text: #ffffff;
  --text-muted: rgba(148, 163, 184, 0.95);
  --text-subtle: rgba(100, 116, 139, 0.9);
  --text-overline: #64748b;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.15);
  --nav-link: rgba(148, 163, 184, 0.9);
  --nav-link-hover: #ffffff;
  --glow-center: rgba(124, 58, 237, 0.25);
  --glow-left: rgba(59, 130, 246, 0.15);
  --glow-right: rgba(139, 92, 246, 0.12);
  --chart-opacity: 0.85;
  --ticker-bg: rgba(15, 23, 42, 0.6);
  --ticker-border: rgba(96, 165, 250, 0.2);
  --ticker-text: rgba(148, 163, 184, 0.95);
  --ticker-status: rgba(226, 232, 240, 0.9);
  --ticker-divider: rgba(255, 255, 255, 0.1);
  --btn-secondary-text: rgba(226, 232, 240, 0.95);
  --btn-secondary-bg: rgba(255, 255, 255, 0.02);
  --btn-secondary-bg-hover: rgba(255, 255, 255, 0.06);
  --asset-tag-bg: rgba(15, 23, 42, 0.4);
  --particle-purple: rgba(167, 139, 250, 0.6);
  --particle-blue: rgba(96, 165, 250, 0.5);
  --accent: #a78bfa;
  --gradient-word: linear-gradient(135deg, #c084fc 0%, #a78bfa 35%, #818cf8 65%, #60a5fa 100%);
  --overline-line: rgba(148, 163, 184, 0.4);
  --menu-bar: rgba(255, 255, 255, 0.8);
  --transition-theme: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  --section-elevated: #f0f4f8;
  --section-on-dark-title: #ffffff;
  --card-bg: rgba(15, 23, 42, 0.85);
  --card-bg-solid: #0f172a;
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #3b82f6 100%);
  --accent-bar-text: #ffffff;
  --ring: rgba(255, 255, 255, 0.06);
  --featured-card-text: #ffffff;
}

[data-theme="light"] {
  --bg: #f8fafc;
  --text: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-overline: #94a3b8;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.15);
  --nav-link: #64748b;
  --nav-link-hover: #0f172a;
  --glow-center: rgba(124, 58, 237, 0.12);
  --glow-left: rgba(59, 130, 246, 0.1);
  --glow-right: rgba(139, 92, 246, 0.08);
  --chart-opacity: 0.7;
  --ticker-bg: rgba(255, 255, 255, 0.85);
  --ticker-border: rgba(99, 102, 241, 0.25);
  --ticker-text: #64748b;
  --ticker-status: #334155;
  --ticker-divider: rgba(15, 23, 42, 0.12);
  --btn-secondary-text: #334155;
  --btn-secondary-bg: rgba(255, 255, 255, 0.8);
  --btn-secondary-bg-hover: #ffffff;
  --asset-tag-bg: rgba(255, 255, 255, 0.9);
  --particle-purple: rgba(124, 58, 237, 0.35);
  --particle-blue: rgba(37, 99, 235, 0.3);
  --accent: #7c3aed;
  --gradient-word: linear-gradient(135deg, #7c3aed 0%, #6366f1 45%, #2563eb 100%);
  --overline-line: rgba(100, 116, 139, 0.35);
  --menu-bar: rgba(15, 23, 42, 0.7);
  --section-elevated: #f1f5f9;
  --section-on-dark-title: #0f172a;
  --card-bg: #0f172a;
  --card-bg-solid: #0f172a;
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #2563eb 100%);
  --accent-bar-text: #ffffff;
  --ring: rgba(15, 23, 42, 0.06);
  --featured-card-text: #ffffff;
}

/* ---- Page base ---- */
.page {
  background-color: var(--bg);
  color: var(--text);
  transition: var(--transition-theme);
}

.logo-text,
.headline {
  color: var(--text);
  transition: color 0.3s ease;
}

.subheadline {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.overline-text {
  color: var(--text-overline);
}

.footer-text {
  color: var(--text-subtle);
}

.accent-highlight {
  color: var(--accent);
}

.page-footer {
  border-top: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

/* ---- Background glows ---- */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  transition: opacity 0.3s ease;
}

[data-theme="dark"] .glow { opacity: 0.5; }
[data-theme="light"] .glow { opacity: 0.65; }

.glow--center {
  width: 600px;
  height: 400px;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, var(--glow-center) 0%, transparent 70%);
}

.glow--left {
  width: 400px;
  height: 400px;
  bottom: 10%;
  left: -5%;
  background: radial-gradient(ellipse, var(--glow-left) 0%, transparent 70%);
}

.glow--right {
  width: 350px;
  height: 350px;
  top: 20%;
  right: -5%;
  background: radial-gradient(ellipse, var(--glow-right) 0%, transparent 70%);
}

[data-theme="light"] .glow--center {
  background: radial-gradient(ellipse, rgba(167, 139, 250, 0.2) 0%, transparent 70%);
}

/* ---- Chart line SVG ---- */
.chart-line {
  position: absolute;
  bottom: 22%;
  left: 0;
  width: 100%;
  height: 280px;
  opacity: var(--chart-opacity);
  transition: opacity 0.3s ease;
}

/* ---- Particles ---- */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.particle--sm { width: 3px; height: 3px; }
.particle--md { width: 5px; height: 5px; }

.particle--purple {
  background: var(--particle-purple);
  box-shadow: 0 0 8px var(--particle-purple);
}

.particle--blue {
  background: var(--particle-blue);
  box-shadow: 0 0 10px var(--particle-blue);
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.4; }
  50% { transform: translateY(-12px) translateX(4px); opacity: 0.9; }
}

/* ---- Navigation ---- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .nav-actions .sign-in-btn {
    display: none;
  }
}

.nav-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nav-link);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--nav-link-hover);
}

.theme-toggle,
.sign-in-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0.375rem;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--btn-secondary-text);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}

.theme-toggle:hover,
.sign-in-btn:hover {
  border-color: var(--border-strong);
  background: var(--btn-secondary-bg-hover);
}

.sign-in-btn {
  padding: 0.5rem 1.25rem;
  letter-spacing: 0.15em;
  cursor: pointer;
}

.theme-toggle__icon {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--sun,
[data-theme="light"] .theme-toggle__icon--moon {
  display: block;
}

.menu-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--menu-bar);
  transition: background 0.3s ease;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0 0;
  max-width: 80rem;
  margin: 0 auto;
}

.mobile-menu.hidden {
  display: none;
}

.mobile-menu .sign-in-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ---- Overline ---- */
.overline__line {
  display: block;
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--overline-line), transparent);
}

/* ---- Gradient headline word ---- */
.gradient-text {
  background: var(--gradient-word);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Ticker pill ---- */
.ticker-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid var(--ticker-border);
  background: var(--ticker-bg);
  backdrop-filter: blur(12px);
  font-size: 12px;
  color: var(--ticker-text);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

[data-theme="light"] .ticker-pill {
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.06);
}

.ticker-pill__status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ticker-status);
}

.ticker-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.ticker-pill__divider {
  width: 1px;
  height: 14px;
  background: var(--ticker-divider);
}

.ticker-pill__item {
  white-space: nowrap;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #3b82f6 100%);
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.45);
}

[data-theme="light"] .btn-primary {
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--btn-secondary-text);
  border-radius: 0.5rem;
  border: 1px solid var(--border-strong);
  background: var(--btn-secondary-bg);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.3s ease;
}

.btn-secondary:hover {
  background: var(--btn-secondary-bg-hover);
}

[data-theme="light"] .btn-secondary {
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .btn-secondary:hover {
  border-color: rgba(15, 23, 42, 0.22);
}

/* ---- Stats bar ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

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

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  border-right: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.stats-bar__item:last-child {
  border-right: none;
}

@media (max-width: 767px) {
  .stats-bar__item:nth-child(2) { border-right: none; }
  .stats-bar__item:nth-child(1),
  .stats-bar__item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

.stats-bar__value {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  transition: color 0.3s ease;
}

@media (min-width: 1024px) {
  .stats-bar__value { font-size: 2.25rem; }
}

.stats-bar__label {
  margin-top: 0.5rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

/* ---- Asset tags ---- */
.asset-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  border-radius: 9999px;
  background: var(--asset-tag-bg);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

[data-theme="light"] .asset-tag {
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.asset-tag__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* ---- Fade-in on load ---- */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in--delay-1 { animation-delay: 0.1s; }
.fade-in--delay-2 { animation-delay: 0.2s; }
.fade-in--delay-3 { animation-delay: 0.35s; }
.fade-in--delay-4 { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.brand-logo {
  width: 40px;
}

/* ---- Merged sections (v2 layout, Affilytic theme) ---- */
.highlight-pill {
  display: inline-block;
  background: var(--accent-gradient);
  color: #fff;
  padding: 0.12em 0.45em;
  border-radius: 0.35em;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--text);
}

.section-title--on-dark { color: var(--section-on-dark-title); }

.section-subtitle {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.feature-bar {
  padding: 0 1.5rem;
  margin-top: -0.5rem;
  position: relative;
  z-index: 10;
}

.feature-bar__inner {
  max-width: 80rem;
  margin: 0 auto;
  background: var(--accent-gradient);
  color: var(--accent-bar-text);
  border-radius: 1rem;
  padding: 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.25);
}

@media (min-width: 768px) {
  .feature-bar__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.feature-bar__text { font-size: 0.95rem; font-weight: 600; max-width: 420px; line-height: 1.5; }
.feature-bar__items { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; }
.feature-bar__item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600; }
.feature-bar__icon {
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 50%; background: rgba(255, 255, 255, 0.15);
}

.section-banking, .section-benefits {
  position: relative;
  background: var(--section-elevated);
  padding: 5rem 1.5rem 6rem;
  overflow: hidden;
  transition: background 0.35s ease;
}
.section-banking__rings {
  top: -270px;
  right: -350px;
}
.section-benefits__rings {
  top: -260px;
  left: -380px;
}
.section-banking__rings, .section-benefits__rings {
  position: absolute;
  pointer-events: none;
}
.section-banking__rings svg, .section-benefits__rings svg {
  stroke: #566ff3;
  width: 100rem;
  height: 80rem;
  opacity: .1;
}
.section-banking__inner { position: relative; z-index: 2; max-width: 80rem; margin: 0 auto; }
.section-banking .section-title, .section-pricing .section-title, .section-benefits .section-title { color: #0f172a; }
.section-banking .section-subtitle { color: #64748b; }
.section-pricing .pricing-toggle__label.is-active { color: #0f172a; }

.features-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .features-grid { grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: auto auto; }
  .fcard--large { grid-row: span 2; }
}

.fcard {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 1.25rem;
  padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem;
}
.fcard--large { min-height: 300px; justify-content: space-between; }
.fcard--featured { background: var(--accent-gradient); border-color: transparent; color: var(--featured-card-text); }
.fcard__icon { color: var(--accent); margin-bottom: 0.25rem; }
.fcard--featured .fcard__icon--light { color: #fff; }
.fcard__title { font-size: 1.1rem; font-weight: 800; line-height: 1.3; color: var(--text); }
.fcard--featured .fcard__title { color: #fff; }
.fcard__title--accent { color: var(--accent); }
.fcard--large .fcard__title { font-size: 1.4rem; }
.fcard__body { font-size: 0.85rem; line-height: 1.6; color: var(--text-muted); flex: 1; }
.fcard--featured .fcard__body { color: rgba(255, 255, 255, 0.88); }
[data-theme="light"] .fcard:not(.fcard--featured) .fcard__title { color: #fff; }
[data-theme="light"] .fcard:not(.fcard--featured) .fcard__body { color: rgba(226, 232, 240, 0.85); }

.section-works { padding: 5rem 1.5rem; }
.section-works__inner { max-width: 80rem; margin: 0 auto; }
.works-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 992px) { .works-grid { grid-template-columns: 1fr 1fr; } }
.works-list { display: flex; flex-direction: column; gap: 0.75rem; }
.works-item {
  text-align: left; padding: 1.25rem 1.5rem; border-radius: 0.75rem;
  border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--text-muted);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.works-item:hover, .works-item.is-active {
  background: rgba(124, 58, 237, 0.08); border-color: rgba(124, 58, 237, 0.2);
}
.works-item.is-active .works-item__title { color: var(--accent); }
.works-item__title { display: block; font-size: 1.05rem; font-weight: 800; color: var(--text); margin-bottom: 0.5rem; }
.works-item__desc { display: block; font-size: 0.85rem; line-height: 1.6; }
.works-visual { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.works-visual__glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%); filter: blur(20px);
}
.phone-mock {
  position: absolute; width: 228px; height: 380px; border-radius: 28px;
  border: 3px solid var(--border-strong); background: var(--card-bg-solid); padding: 10px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.phone-mock--back { transform: rotate(-8deg) translateX(-36px); opacity: 0.55; z-index: 1; }
.phone-mock--front { transform: rotate(4deg) translateX(28px); z-index: 2; }
.phone-mock__screen {
  height: 100%; border-radius: 20px;
  background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%); padding: 1.25rem 1rem;
}
.phone-mock__brand { font-size: 0.7rem; font-weight: 700; color: var(--accent); margin-bottom: 1rem; }
.phone-mock__balance { font-size: 1.4rem; font-weight: 800; color: #fff; }
.phone-mock__label { font-size: 0.65rem; color: #94a3b8; margin-bottom: 1rem; }
.phone-mock__actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; margin-bottom: 1rem; }
.phone-mock__actions span { height: 32px; border-radius: 8px; background: rgba(124, 58, 237, 0.25); }
.phone-mock__row, .phone-mock__line { height: 36px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); margin-bottom: 0.5rem; }
.phone-mock__line { height: 6px; }
.phone-mock__line--short { width: 55%; }
.phone-mock__bar { height: 8px; width: 40%; border-radius: 4px; background: rgba(255, 255, 255, 0.1); margin-bottom: 1rem; }
.phone-mock__chart { margin-top: 1rem; height: 72px; border-radius: 8px; background: linear-gradient(180deg, rgba(99, 102, 241, 0.35) 0%, transparent 100%); }

.section-benefits { padding: 5rem 1.5rem; }
.section-benefits__inner { max-width: 80rem; margin: 0 auto; }
.benefits-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(4, 1fr); } }
.benefit-card { border: 1px solid var(--border); border-radius: 1rem; overflow: hidden; background: var(--card-bg); }
.benefit-card__img { height: 150px; background-size: cover; background-position: center; }
.benefit-card__img--1 { background-image: linear-gradient(135deg, #4c1d95 0%, #1e1b4b 100%); }
.benefit-card__img--2 { background-image: linear-gradient(135deg, #312e81 0%, #0f172a 100%); }
.benefit-card__img--3 { background-image: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%); }
.benefit-card__img--4 { background-image: linear-gradient(135deg, #4338ca 0%, #1e1b4b 100%); }
.benefit-card__title { font-size: 0.95rem; font-weight: 800; color: var(--text); padding: 1rem 1rem 0.25rem; }
.benefit-card__text { font-size: 0.8rem; line-height: 1.5; padding: 0 1rem 1.25rem; }

.section-testimonials { padding: 5rem 1.5rem; }
.section-testimonials__inner { max-width: 56rem; margin: 0 auto; }
.section-testimonials__header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-testimonials__header .section-title { margin-bottom: 0; text-align: left; flex: 1; min-width: 220px; }
.testimonial-nav { display: flex; gap: 0.5rem; }
.arrow-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--border-strong);
  background: transparent; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.arrow-btn:hover { background: var(--btn-secondary-bg-hover); }
.testimonial-card {
  background: var(--accent-gradient); color: #fff; border-radius: 1.25rem; padding: 2.5rem 2rem;
  text-align: center; box-shadow: 0 16px 48px rgba(124, 58, 237, 0.3); transition: opacity 0.3s ease;
}
.testimonial-card.is-fading { opacity: 0.6; }
.testimonial-card__quote { font-size: 4rem; line-height: 1; font-weight: 900; opacity: 0.3; display: block; margin-bottom: -1rem; }
.testimonial-card__text { font-size: clamp(1rem, 2.5vw, 1.2rem); font-weight: 700; line-height: 1.5; margin: 0 0 2rem; }
.testimonial-card__author { display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.testimonial-card__avatar {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.2);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 800;
}
.testimonial-card__name { font-weight: 800; text-align: left; }
.testimonial-card__role { font-size: 0.8rem; opacity: 0.85; text-align: left; }

.section-pricing { padding: 5rem 1.5rem; background: var(--section-elevated); transition: background 0.35s ease; }
.section-pricing__inner { max-width: 68rem; margin: 0 auto; }
.pricing-toggle { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 3rem; }
.pricing-toggle__label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.pricing-toggle__label.is-active { color: var(--text); font-weight: 800; }
.pricing-toggle__switch { width: 52px; height: 28px; border-radius: 9999px; border: none; background: var(--card-bg-solid); padding: 3px; cursor: pointer; }
.pricing-toggle__switch.is-yearly .pricing-toggle__knob { transform: translateX(24px); }
.pricing-toggle__knob { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-gradient); transition: transform 0.2s ease; }
.pricing-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: center; } }
.price-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 1.25rem;
  padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 1rem; position: relative;
}
.price-card--featured {
  background: var(--accent-gradient); border-color: transparent; color: #fff;
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.35);
}
@media (min-width: 768px) { .price-card--featured { transform: scale(1.03); } }
.price-card__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  background: #fff; color: #7c3aed; padding: 0.35rem 0.75rem; border-radius: 9999px;
}
.price-card__name { font-size: 1.1rem; font-weight: 800; }
.price-card__amount { font-size: 2.5rem; font-weight: 900; }
.price-card__period { font-size: 0.9rem; opacity: 0.75; }
.price-card__features { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.price-card__features li { font-size: 0.85rem; padding-left: 1.4rem; position: relative; opacity: 0.92; }
.price-card__features li::before { content: '✓'; position: absolute; left: 0; font-weight: 800; color: var(--accent); }
.price-card--featured .price-card__features li::before { color: #fff; }
.price-card:not(.price-card--featured) .price-card__name,
.price-card:not(.price-card--featured) .price-card__amount { color: var(--text); }
[data-theme="light"] .price-card:not(.price-card--featured) { background: #fff; box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06); }
.price-card__btn { width: 100%; justify-content: center; }
.price-card--featured .btn-primary { background: #fff; color: #7c3aed; box-shadow: none; }
.price-card--featured .btn-primary:hover { background: #f8fafc; }

.section-cta { position: relative; padding: 5rem 1.5rem; overflow: hidden; }
.section-cta__shape { position: absolute; border-radius: 50%; pointer-events: none; }
.section-cta__shape--left { width: 100px; height: 100px; left: 6%; top: 28%; background: radial-gradient(circle, rgba(124, 58, 237, 0.5) 0%, transparent 70%); }
.section-cta__shape--right { width: 72px; height: 72px; right: 8%; bottom: 22%; background: radial-gradient(circle, rgba(59, 130, 246, 0.45) 0%, transparent 70%); }
.section-cta__inner { position: relative; z-index: 2; max-width: 44rem; margin: 0 auto; text-align: center; }
.section-cta__title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: var(--text); line-height: 1.2; margin-bottom: 2rem; }

.section-partners { padding: 2.5rem 1.5rem; background: var(--section-elevated); border-top: 1px solid var(--border); }
.section-partners__inner { max-width: 80rem; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem 3rem; }
.partner-logo { font-size: 1.05rem; font-weight: 700; color: var(--text-subtle); opacity: 0.55; filter: grayscale(1); text-transform: capitalize; }

.site-footer { padding: 4rem 1.5rem 2rem; border-top: 1px solid var(--border); }
.site-footer__inner { max-width: 80rem; margin: 0 auto; }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; margin-bottom: 3rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } .feature-bar__inner{max-width:55rem;} }
.site-footer__about { font-size: 0.85rem; line-height: 1.65; color: var(--text-muted); margin-top: 1rem; max-width: 280px; }
.site-footer__heading { font-size: 0.85rem; font-weight: 800; color: var(--text); margin-bottom: 1rem; }
.site-footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__col a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s ease; }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border); }
.site-footer__legal { display: flex; gap: 0.5rem; font-size: 0.8rem; }
.site-footer__legal a { color: var(--text-muted); text-decoration: none; }
.site-footer__legal a:hover { color: var(--accent); }
.feature-bar {
  position: relative;
  top: 30px;
}
.align-custom-large.fcard--large {
  justify-content: center;
  align-items: start;
}
.align-custom-large .fcard__body {
  flex: none
}
.section-benefits, .benefit-card {
  background-color: var(--bg);
}
.section-benefits__inner .section-title {
  color: var(--text);
}
.section-partners__inner img {
  max-width: 130px;
}