/* Panapayatt — premium marketing site
   Kerala green + gold · fluid layout · zero horizontal drift */

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

:root {
  --green: #1a6b4a;
  --green-light: #e8f5ee;
  --green-dark: #0d4a32;
  --green-glow: rgba(26, 107, 74, 0.35);
  --gold: #d4920a;
  --gold-light: #fef3c7;
  --gold-glow: rgba(212, 146, 10, 0.4);
  --surface: #f7f9f8;
  --card: #ffffff;
  --ink: #111827;
  --ink-soft: #4b5563;
  --ink-muted: #9ca3af;
  --border: rgba(17, 24, 39, 0.08);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 8px rgba(13, 74, 50, 0.06);
  --shadow-md: 0 12px 40px rgba(13, 74, 50, 0.1);
  --shadow-lg: 0 24px 80px rgba(13, 74, 50, 0.14);
  --shadow-glow: 0 0 60px var(--green-glow);
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-ml: "Noto Sans Malayalam", var(--font-sans);
  --container: min(1160px, 100% - 2.5rem);
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ─── Utilities ─── */
.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ─── Scroll progress ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--gold));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ─── Cursor glow (desktop) ─── */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: multiply;
}

body.has-cursor-glow .cursor-glow {
  opacity: 1;
}

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease-out), box-shadow 0.35s, backdrop-filter 0.35s;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: var(--container);
  margin-inline: auto;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--green-dark);
}

.nav__logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.nav__logo-char {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

/* ─── App store badges ─── */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.15rem 0.65rem 0.85rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  border: 1.5px solid transparent;
}

.store-badge:hover {
  transform: translateY(-3px);
}

.store-badge__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.store-badge__label {
  font-size: 0.6rem;
  font-weight: 600;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-badge__name {
  font-size: 0.95rem;
  font-weight: 800;
}

.store-badge--play {
  background: #111827;
  color: #fff;
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.25);
}

.store-badge--play:hover {
  box-shadow: 0 10px 32px rgba(17, 24, 39, 0.35);
}

.store-badge--apple {
  background: var(--card);
  color: var(--ink);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.store-badge--apple:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(17, 24, 39, 0.15);
}

.store-badge--apple-on-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.store-badge--apple-on-dark:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

.cta__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 1.75rem;
  position: relative;
}

.cta__legal a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s;
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}

.nav__links a:hover {
  color: var(--green);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 100px;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s, background 0.25s;
  box-shadow: 0 4px 16px var(--green-glow);
}

.nav__cta:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--green-glow);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.nav__toggle svg {
  width: 24px;
  height: 24px;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(26, 107, 74, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212, 146, 10, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 60% 90%, rgba(26, 107, 74, 0.08) 0%, transparent 50%),
    var(--surface);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orb-float 12s ease-in-out infinite;
  pointer-events: none;
}

.hero__orb--1 {
  width: 420px;
  height: 420px;
  background: rgba(26, 107, 74, 0.18);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(212, 146, 10, 0.15);
  bottom: 10%;
  left: -8%;
  animation-delay: -4s;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(52, 211, 153, 0.12);
  top: 40%;
  left: 30%;
  animation-delay: -8s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: var(--container);
  margin-inline: auto;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 560px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.45rem 1rem 0.45rem 0.55rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  animation: fade-up 0.8s var(--ease-out) both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success, #22c55e);
  animation: pulse-dot 2s ease infinite;
}

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

.hero__title {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  animation: fade-up 0.8s 0.1s var(--ease-out) both;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--green) 0%, #2d9a6a 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.7;
  animation: fade-up 0.8s 0.2s var(--ease-out) both;
}

.hero__ml {
  font-family: var(--font-ml);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--green);
  font-weight: 500;
  animation: fade-up 0.8s 0.25s var(--ease-out) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
  animation: fade-up 0.8s 0.3s var(--ease-out) both;
}

@media (max-width: 1024px) {
  .hero__actions {
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 100px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, background 0.3s;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 24px var(--green-glow);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px var(--green-glow);
}

.btn--ghost {
  background: var(--card);
  color: var(--ink);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero__stats {
  display: flex;
  gap: 2rem;
  padding-top: 0.5rem;
  animation: fade-up 0.8s 0.4s var(--ease-out) both;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: -0.02em;
}

.hero__stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Phone mockup */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-up 1s 0.2s var(--ease-out) both;
}

.phone {
  position: relative;
  width: min(300px, 85vw);
  aspect-ratio: 9 / 19.5;
  background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 80px var(--green-glow);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s var(--ease-out);
}

.phone:hover {
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg) translateY(-8px);
}

.phone__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--green-light);
  position: relative;
}

.phone__slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s var(--ease-out);
}

.phone__slide {
  flex: 0 0 100%;
  height: 100%;
  padding: 2.5rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.phone__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone__greeting {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green-dark);
}

.phone__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
}

.phone__balance-card {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: 16px;
  padding: 1rem;
  color: #fff;
  box-shadow: 0 8px 24px var(--green-glow);
}

.phone__balance-label {
  font-size: 0.55rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone__balance-amount {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.2rem;
}

.phone__mini-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.phone__mini-card {
  background: var(--card);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-sm);
  animation: slide-in-card 0.5s var(--ease-out) both;
}

.phone__mini-card:nth-child(2) { animation-delay: 0.1s; }
.phone__mini-card:nth-child(3) { animation-delay: 0.2s; }

@keyframes slide-in-card {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.phone__mini-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.phone__mini-icon--green { background: var(--green-light); }
.phone__mini-icon--gold { background: var(--gold-light); }
.phone__mini-icon--blue { background: #dbeafe; }

.phone__mini-text {
  flex: 1;
  min-width: 0;
}

.phone__mini-title {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone__mini-sub {
  font-size: 0.5rem;
  color: var(--ink-muted);
}

.phone__mini-amount {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--green);
}

.phone__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding-top: 0.5rem;
}

.phone__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-muted);
  opacity: 0.35;
  transition: all 0.3s;
  cursor: pointer;
}

.phone__dot.is-active {
  width: 20px;
  border-radius: 3px;
  background: var(--green);
  opacity: 1;
}

/* Floating cards around phone */
.float-card {
  position: absolute;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: float-bob 4s ease-in-out infinite;
  z-index: 2;
}

.float-card--1 {
  top: 8%;
  left: -12%;
  animation-delay: 0s;
}

.float-card--2 {
  bottom: 18%;
  right: -10%;
  animation-delay: -1.5s;
}

.float-card--3 {
  top: 55%;
  left: -18%;
  animation-delay: -3s;
}

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

.float-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.float-card__text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.float-card__sub {
  font-size: 0.65rem;
  color: var(--ink-muted);
  font-weight: 500;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Marquee ─── */
.marquee {
  padding: 1.25rem 0;
  background: var(--green-dark);
  overflow: hidden;
  position: relative;
}

.marquee__track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.marquee__item span {
  color: var(--gold);
}

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

/* ─── Section shared ─── */
.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  position: relative;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 1rem;
}

.section__eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 540px;
  line-height: 1.7;
}

.section__header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

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

.section__header--center .section__desc {
  margin-inline: auto;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Bento features ─── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.bento__card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
  position: relative;
  overflow: hidden;
}

.bento__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(26, 107, 74, 0.04) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.bento__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 107, 74, 0.15);
}

.bento__card:hover::before {
  opacity: 1;
}

.bento__card--lg { grid-column: span 7; }
.bento__card--md { grid-column: span 5; }
.bento__card--sm { grid-column: span 4; }
.bento__card--wide { grid-column: span 8; }
.bento__card--tall { grid-column: span 4; }

.bento__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.bento__icon--green { background: var(--green-light); }
.bento__icon--gold { background: var(--gold-light); }
.bento__icon--blue { background: #dbeafe; }
.bento__icon--rose { background: #fce7f3; }

.bento__card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.bento__card p {
  font-size: 0.925rem;
  color: var(--ink-soft);
  line-height: 1.65;
  flex: 1;
}

.bento__visual {
  margin-top: auto;
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 1rem;
  min-height: 100px;
}

.bento__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bento__chip {
  padding: 0.35rem 0.75rem;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
}

.bento__progress {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bento__progress-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bento__progress-bar {
  flex: 1;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.bento__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), #34d399);
  border-radius: 4px;
  width: 0%;
  transition: width 1.2s var(--ease-out);
}

.bento__progress-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-soft);
  min-width: 80px;
}

/* ─── How it works ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--green));
  opacity: 0.25;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  gap: 1.25rem;
}

.step__num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--green-light);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease-spring), border-color 0.4s, box-shadow 0.4s;
}

.step:hover .step__num {
  transform: scale(1.08);
  border-color: var(--green);
  box-shadow: var(--shadow-glow);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.step p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 280px;
}

/* ─── Interactive tabs ─── */
.experience {
  background: linear-gradient(180deg, var(--surface) 0%, var(--green-light) 100%);
}

.experience__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.experience__tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.experience__tab {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  text-align: left;
  background: transparent;
  border: 1.5px solid transparent;
  transition: all 0.3s var(--ease-out);
}

.experience__tab:hover {
  background: rgba(255, 255, 255, 0.6);
}

.experience__tab.is-active {
  background: var(--card);
  border-color: var(--green);
  box-shadow: var(--shadow-md);
}

.experience__tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: var(--green-light);
  flex-shrink: 0;
  transition: background 0.3s;
}

.experience__tab.is-active .experience__tab-icon {
  background: var(--green);
}

.experience__tab.is-active .experience__tab-icon span {
  filter: brightness(10);
}

.experience__tab-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}

.experience__tab-text p {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 0.15rem;
}

.experience__panel {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.experience__panel-content {
  display: none;
  animation: panel-in 0.5s var(--ease-out) both;
}

.experience__panel-content.is-active {
  display: block;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.experience__panel h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.experience__panel > .experience__panel-content > p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.experience__mock {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.mock-row__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mock-row__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--gold-light));
}

.mock-row__name {
  font-weight: 700;
  font-size: 0.9rem;
}

.mock-row__id {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.mock-row__badge {
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
}

.mock-row__badge--pending {
  background: var(--gold-light);
  color: var(--gold);
}

.mock-row__badge--approved {
  background: var(--green-light);
  color: var(--green);
}

/* ─── Stats band ─── */
.stats-band {
  background: var(--green-dark);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(212, 146, 10, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(52, 211, 153, 0.1) 0%, transparent 50%);
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-item__value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item__value span {
  color: var(--gold);
}

.stat-item__label {
  font-size: 0.85rem;
  opacity: 0.75;
  font-weight: 600;
}

/* ─── Testimonials ─── */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

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

.testimonial__stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial__quote {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.7;
  flex: 1;
}

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

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--gold));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}

.testimonial__name {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial__role {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* ─── CTA ─── */
.cta {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.cta__box {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 60%, #0a3525 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 80px var(--green-glow);
}

.cta__box::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  top: -50%;
  right: -10%;
  pointer-events: none;
}

.cta__box h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  position: relative;
}

.cta__box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  position: relative;
}

.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  position: relative;
}

.cta__buttons .btn--primary {
  background: #fff;
  color: var(--green-dark);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta__buttons .btn--primary:hover {
  background: var(--gold-light);
  color: var(--green-dark);
}

.cta__buttons .btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cta__buttons .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* ─── Footer ─── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__brand-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}

.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 1rem;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--gold);
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer__ml {
  font-family: var(--font-ml);
  color: rgba(255, 255, 255, 0.5);
}

/* ─── Legal pages ─── */
.legal-page {
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  min-height: 80vh;
}

.legal-page__inner {
  max-width: 720px;
}

.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.legal-page__updated {
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 2rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
}

.legal-page ul {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

.legal-page a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page a:hover {
  color: var(--green-dark);
}

/* ─── Mobile nav drawer ─── */
.nav__drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(17, 24, 39, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.nav__drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav__drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
  box-shadow: var(--shadow-lg);
}

.nav__drawer.is-open .nav__drawer-panel {
  transform: translateX(0);
}

.nav__drawer-panel a {
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.nav__drawer-panel a:hover {
  background: var(--green-light);
  color: var(--green);
}

.nav__drawer-cta {
  margin-top: auto;
  text-align: center;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
    align-items: center;
  }

  .hero__badge {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .float-card--1 { left: 0; }
  .float-card--3 { left: -5%; }
  .float-card--2 { right: 0; }

  .bento__card--lg,
  .bento__card--md,
  .bento__card--sm,
  .bento__card--wide,
  .bento__card--tall {
    grid-column: span 12;
  }

  .experience__grid {
    grid-template-columns: 1fr;
  }

  .experience__tabs {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .experience__tabs::-webkit-scrollbar {
    display: none;
  }

  .experience__tab {
    flex: 0 0 auto;
    min-width: 200px;
  }

  .stats-band__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__drawer {
    display: block;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .steps::before {
    display: none;
  }

  .stats-band__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .phone {
    transform: none;
  }

  .phone:hover {
    transform: translateY(-4px);
  }

  .float-card {
    display: none;
  }
}

@media (max-width: 380px) {
  :root {
    --container: min(1160px, 100% - 1.25rem);
  }

  .hero__stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
