/* =====================================================
   mafinX — landing page
   Cream / navy / yellow design language
   ===================================================== */

:root {
  --radius: 1rem;

  --background: #ffffff;
  --cream: #f3efe6;
  --cream-deep: #ece7db;

  --foreground: #21283b;
  --muted-foreground: #767e94;

  --card: #ffffff;

  --primary: #21283b;
  --primary-foreground: #fdfdfd;

  --accent: #fdc340;
  --accent-soft: #fdeec2;

  --success: #3fae73;

  --pastel-green: #e0f3e6;
  --pastel-pink: #fbe3dd;
  --pastel-purple: #e6e1fa;
  --pastel-yellow: #fdeec2;
  --pastel-blue: #ddebfb;

  --ink-green: #3c8f63;
  --ink-pink: #c2604c;
  --ink-purple: #6a5cc4;
  --ink-yellow: #b78414;
  --ink-blue: #3d6fae;

  --border: #e9e5da;

  --shadow-soft: 0 1px 2px 0 rgb(33 40 59 / 0.05), 0 1px 3px 0 rgb(33 40 59 / 0.06);
  --shadow-card: 0 14px 40px -14px rgb(33 40 59 / 0.18), 0 4px 10px -4px rgb(33 40 59 / 0.06);
  --shadow-elevated: 0 30px 70px -25px rgb(33 40 59 / 0.35);
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

.container-narrow { max-width: 56rem; margin: 0 auto; }

.container-wide {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container-wide { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-wide { padding: 0 2rem; } }

.container-faq {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container-faq { padding: 0 1.5rem; } }

.section { padding: 4.5rem 0; }
@media (min-width: 640px) { .section { padding: 6rem 0; } }

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

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Typography ---------- */
.h2 {
  margin-top: 1.25rem;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
}
@media (min-width: 640px) { .h2 { font-size: 2.125rem; } }
@media (min-width: 1024px) { .h2 { font-size: 2.5rem; } }

.lead {
  margin: 0 auto;
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .lead { font-size: 1.0625rem; } }

/* Marker-highlight behind key words (rendr style) */
.text-gradient,
.text-destructive {
  color: inherit;
  background-image: linear-gradient(
    to top,
    rgba(253, 195, 64, 0.65) 0%,
    rgba(253, 195, 64, 0.65) 34%,
    transparent 34%
  );
  background-repeat: no-repeat;
  background-size: 100% 92%;
  background-position: 0 100%;
  padding: 0 0.15em;
}

/* ---------- Eyebrow / badges ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  border-radius: 9999px;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--foreground);
  box-shadow: var(--shadow-soft);
}
.eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--accent);
  flex-shrink: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 0.4rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}
.badge-success { color: var(--foreground); }
.badge-success .icon { color: var(--ink-yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-sm { height: 2.375rem; padding: 0 1.125rem; }
.btn-md { height: 2.875rem; padding: 0 1.5rem; }
.btn-lg { height: 3.25rem; padding: 0 1.75rem; width: 100%; }
@media (min-width: 640px) { .btn-lg { width: auto; } }

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  background-color: #2c3550;
}

.btn-accent {
  background-color: var(--accent);
  color: var(--foreground);
  box-shadow: var(--shadow-soft);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(253, 195, 64, 0.7);
}

.btn-outline {
  border-color: var(--border);
  background-color: var(--card);
  color: var(--foreground);
  box-shadow: var(--shadow-soft);
}
.btn-outline:hover { background-color: var(--cream); }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  background-color: transparent;
  color: var(--primary-foreground);
}
.btn-ghost:hover { background-color: rgba(255, 255, 255, 0.1); }

.group:hover .icon { transform: translateX(2px); }
.btn .icon { transition: transform 0.2s ease; }

/* ---------- Icons ---------- */
.icon { width: 1rem; height: 1rem; }
.icon-sm { width: 0.875rem; height: 0.875rem; }
.icon-xs { width: 0.75rem; height: 0.75rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-success { color: var(--success); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: rgba(243, 239, 230, 0.88);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  height: 4.5rem;
  align-items: center;
  justify-content: space-between;
}

.logo-link { display: flex; align-items: center; }
.logo-img { height: 2rem; width: auto; }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--foreground); }
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-signin {
  display: none;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}
.nav-signin:hover { color: var(--ink-yellow); }
@media (min-width: 640px) { .nav-signin { display: inline; } }

/* ---------- Language switcher ---------- */
.lang-switcher { position: relative; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.375rem;
  padding: 0 0.75rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.lang-toggle:hover { background-color: var(--cream); }

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  display: none;
  flex-direction: column;
  min-width: 9rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  border-radius: 1rem;
  padding: 0.375rem;
  box-shadow: var(--shadow-card);
  z-index: 60;
}
.lang-menu.open { display: flex; }

.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  border-radius: 0.625rem;
  padding: 0.5rem 0.625rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--foreground);
  cursor: pointer;
}
.lang-option:hover { background-color: var(--cream); }
.lang-option.active {
  font-weight: 700;
  background-color: var(--accent-soft);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background-color: var(--cream);
  border-radius: 0 0 50% 50% / 0 0 4rem 4rem;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 3rem;
  padding-top: 3.5rem;
  padding-bottom: 6rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1.05fr 1fr;
    padding-top: 5rem;
    padding-bottom: 8rem;
  }
}

.hero-title {
  margin-top: 1.5rem;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.12;
}
@media (min-width: 640px) { .hero-title { font-size: 2.875rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.25rem; } }

.hero-subtitle {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .hero-subtitle { font-size: 1.0625rem; } }

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; align-items: center; gap: 1.5rem; }
}

.hero-note {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

/* Hero art — floating cards */
.hero-art {
  position: relative;
  height: 26rem;
  max-width: 30rem;
  margin: 0 auto;
  width: 100%;
  transform: translate(calc(var(--mx, 0) * 10px), calc(var(--my, 0) * 10px));
  transition: transform 0.3s ease-out;
}
@media (min-width: 1024px) { .hero-art { margin: 0; } }

.hero-blob {
  position: absolute;
  inset: 10% 5% 10% 5%;
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(253, 195, 64, 0.25));
  filter: blur(4px);
}

.hero-card {
  position: absolute;
  background-color: var(--card);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
  animation: float-bob 6s ease-in-out infinite;
}

.hero-card-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}

.hero-card-line {
  top: 0;
  right: 0;
  width: 15rem;
  padding: 1rem 1.125rem 0.75rem;
  animation-delay: -1.5s;
}
.hero-card-line svg { width: 100%; margin-top: 0.5rem; }

.hero-card-dark {
  top: 5.5rem;
  left: 0;
  width: 17.5rem;
  padding: 1.375rem 1.5rem;
  background: linear-gradient(135deg, #262e45, #1b2233);
  color: #fdfdfd;
  z-index: 2;
  animation-delay: 0s;
}
.hero-card-dark-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.dark-brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.dark-brand b { color: var(--accent); }
.dark-chip {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: radial-gradient(circle at 35% 35%, #ffdd85, var(--accent));
}
.dark-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(253, 253, 253, 0.55);
}
.dark-value {
  display: block;
  margin-top: 0.375rem;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.dark-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.dark-row span {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(253, 253, 253, 0.5);
}
.dark-row b {
  display: block;
  margin-top: 0.125rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.dark-row div:last-child b { color: var(--accent); }

.hero-card-bars {
  bottom: 0;
  right: 1rem;
  width: 13.5rem;
  padding: 1rem 1.125rem 1.125rem;
  animation-delay: -3s;
}
.hero-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 5.5rem;
  margin-top: 0.75rem;
}
.hero-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 0.375rem;
  background-color: var(--pastel-yellow);
  transform-origin: bottom;
  animation: bar-grow 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-bars span:nth-child(odd) { background-color: var(--primary); }
.hero-bars span:nth-child(6) { background-color: var(--accent); }
.hero-bars span:nth-child(1) { animation-delay: 0.05s; }
.hero-bars span:nth-child(2) { animation-delay: 0.12s; }
.hero-bars span:nth-child(3) { animation-delay: 0.19s; }
.hero-bars span:nth-child(4) { animation-delay: 0.26s; }
.hero-bars span:nth-child(5) { animation-delay: 0.33s; }
.hero-bars span:nth-child(6) { animation-delay: 0.4s; }
.hero-bars span:nth-child(7) { animation-delay: 0.47s; }

.hero-bubble {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  box-shadow: var(--shadow-card);
  animation: float-bob 5s ease-in-out infinite;
  z-index: 3;
}
.hero-bubble-1 {
  top: 3.25rem;
  left: 55%;
  background-color: var(--accent);
  color: var(--foreground);
  animation-delay: -2s;
}
.hero-bubble-2 {
  bottom: 4.5rem;
  left: 8%;
  background-color: var(--card);
  color: var(--ink-purple);
  animation-delay: -4s;
}

@media (max-width: 420px) {
  .hero-art { height: 24rem; }
  .hero-card-dark { width: 15.5rem; }
  .hero-card-line { width: 12.5rem; }
  .hero-card-bars { width: 11.5rem; right: 0; }
}

/* ---------- Statement ---------- */
.statement-section { padding-bottom: 2rem; }
@media (min-width: 640px) { .statement-section { padding-bottom: 3rem; } }

.statement-title { margin-top: 0; }

.statement-sub {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

/* ---------- Features ---------- */
.features-grid {
  margin-top: 3.5rem;
  gap: 2.5rem 2rem;
}
.feature-card { text-align: left; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  transition: transform 0.25s ease;
}
.feature-card:hover .feature-icon { transform: translateY(-4px) rotate(-4deg); }

.features-grid .feature-card:nth-child(6n + 1) .feature-icon { background-color: var(--pastel-green); color: var(--ink-green); }
.features-grid .feature-card:nth-child(6n + 2) .feature-icon { background-color: var(--pastel-pink); color: var(--ink-pink); }
.features-grid .feature-card:nth-child(6n + 3) .feature-icon { background-color: var(--pastel-purple); color: var(--ink-purple); }
.features-grid .feature-card:nth-child(6n + 4) .feature-icon { background-color: var(--pastel-yellow); color: var(--ink-yellow); }
.features-grid .feature-card:nth-child(6n + 5) .feature-icon { background-color: var(--pastel-blue); color: var(--ink-blue); }
.features-grid .feature-card:nth-child(6n + 6) .feature-icon { background-color: var(--pastel-green); color: var(--ink-green); }

.feature-card h3 {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  font-weight: 700;
}
.feature-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }

.benefits-grid .lead { margin-left: 0; }
.benefits-grid .btn { margin-top: 2.25rem; }

.skill-bars {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
  max-width: 26rem;
}
.skill-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.skill-bar-value {
  background-color: var(--accent);
  border-radius: 0.375rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
}
.skill-bar-track {
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--cream-deep);
  overflow: hidden;
}
.skill-bar-fill {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 9999px;
  background-color: var(--primary);
  transform-origin: left;
  animation: fill-grow 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.benefits-items { gap: 2rem 1.5rem; }

.benefit-card { text-align: left; }
.benefit-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
}
.benefits-items .benefit-card:nth-child(4n + 1) .benefit-icon { background-color: var(--pastel-green); color: var(--ink-green); }
.benefits-items .benefit-card:nth-child(4n + 2) .benefit-icon { background-color: var(--pastel-pink); color: var(--ink-pink); }
.benefits-items .benefit-card:nth-child(4n + 3) .benefit-icon { background-color: var(--pastel-purple); color: var(--ink-purple); }
.benefits-items .benefit-card:nth-child(4n + 4) .benefit-icon { background-color: var(--pastel-yellow); color: var(--ink-yellow); }

.benefit-title {
  margin-top: 0.875rem;
  font-size: 0.9375rem;
  font-weight: 700;
}
.benefit-desc {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ---------- Free access ---------- */
.free-access-card {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
  background-color: var(--cream);
  padding: 2rem;
}
@media (min-width: 640px) { .free-access-card { padding: 3rem; } }
@media (min-width: 1024px) { .free-access-card { padding: 4rem; } }

.free-access-grid {
  position: relative;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .free-access-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}

.free-access-grid .lead { margin-left: 0; }

.free-access-sub {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .free-access-sub { font-size: 0.9375rem; } }

.free-access-grid .btn { margin-top: 1.75rem; }

.free-access-panel {
  background-color: var(--card);
  border-radius: 1.75rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}
@media (min-width: 640px) { .free-access-panel { padding: 2.25rem; } }

.free-access-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.price {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.price-sub {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
}

.free-access-includes-label {
  display: inline-block;
  margin-top: 0.5rem;
  background-color: var(--accent);
  border-radius: 0.375rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.free-access-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.free-access-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.check-circle {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 0.05rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background-color: var(--accent);
  color: var(--foreground);
}

/* ---------- FAQ ---------- */
.faq-list {
  margin-top: 2.75rem;
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
@media (min-width: 640px) { .faq-item summary { font-size: 1.0625rem; } }

.faq-plus {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  background-color: var(--accent);
  color: var(--foreground);
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.faq-answer {
  padding: 0 0.25rem 1.375rem 3rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  animation: fade-in 0.4s ease-out both;
}

/* ---------- Final CTA ---------- */
.final-cta-section {
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) { .final-cta-section { padding-left: 1.5rem; padding-right: 1.5rem; } }

.final-cta {
  position: relative;
  overflow: hidden;
  max-width: 64rem;
  margin: 0 auto;
  border-radius: 2.5rem;
  background: linear-gradient(135deg, #262e45, #1b2233);
  padding: 4rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 640px) { .final-cta { padding: 5rem 3rem; } }

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  border-radius: 9999px;
  background-color: rgba(253, 195, 64, 0.14);
}
.final-cta::before {
  width: 16rem;
  height: 16rem;
  top: -6rem;
  right: -5rem;
}
.final-cta::after {
  width: 12rem;
  height: 12rem;
  bottom: -5rem;
  left: -4rem;
}

.final-cta-content { position: relative; z-index: 1; }

.final-cta-title {
  color: var(--primary-foreground);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
}
@media (min-width: 640px) { .final-cta-title { font-size: 2.25rem; } }

.final-cta-text {
  margin: 0 auto;
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(253, 253, 253, 0.75);
}
@media (min-width: 640px) { .final-cta-text { font-size: 1.0625rem; } }

.final-cta-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
@media (min-width: 640px) { .final-cta-actions { flex-direction: row; } }

/* ---------- Footer ---------- */
.footer {
  background-color: var(--cream);
  border-radius: 3rem 3rem 0 0;
}
.footer .container {
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer-desc {
  margin-top: 1rem;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
}
.footer-link {
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}
.footer-link:hover { color: var(--foreground); }

.footer-sponsor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-sponsor-logo {
  width: 3rem;
  height: auto;
  flex-shrink: 0;
}
.footer-sponsor-text {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.footer-bottom {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.footer-legal {
  display: flex;
  gap: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
}
.footer-legal a:hover { color: var(--foreground); }

/* ---------- Animations ---------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-fade-up {
  animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes bar-grow {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes fill-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .animate-fade-up,
  .hero-card,
  .hero-bubble,
  .hero-bars span,
  .skill-bar-fill {
    animation: none !important;
  }
}

.features-grid.reveal-group > *:nth-child(1) { transition-delay: 0ms; }
.features-grid.reveal-group > *:nth-child(2) { transition-delay: 70ms; }
.features-grid.reveal-group > *:nth-child(3) { transition-delay: 140ms; }
.features-grid.reveal-group > *:nth-child(4) { transition-delay: 210ms; }
.features-grid.reveal-group > *:nth-child(5) { transition-delay: 280ms; }
.features-grid.reveal-group > *:nth-child(6) { transition-delay: 350ms; }

.benefits-items.reveal-group > *:nth-child(1) { transition-delay: 0ms; }
.benefits-items.reveal-group > *:nth-child(2) { transition-delay: 80ms; }
.benefits-items.reveal-group > *:nth-child(3) { transition-delay: 160ms; }
.benefits-items.reveal-group > *:nth-child(4) { transition-delay: 240ms; }

.faq-list.reveal-group > *:nth-child(1) { transition-delay: 0ms; }
.faq-list.reveal-group > *:nth-child(2) { transition-delay: 70ms; }
.faq-list.reveal-group > *:nth-child(3) { transition-delay: 140ms; }
.faq-list.reveal-group > *:nth-child(4) { transition-delay: 210ms; }
