:root {
  /* Reference brochure palette — forest green + soft mint */
  --green: #0d5c45;
  --green-deep: #063b2a;
  --green-mid: #1a7a5c;
  --green-soft: #e6f2eb;
  --green-mist: #f0f7f2;
  --gold: #e8b923;
  --gold-soft: #f7e7a8;
  --ink: #14241c;
  --muted: #5b6b62;
  --paper: #f5f8f4;
  --white: #ffffff;
  --card: #ffffff;
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Back-compat aliases used across the stylesheet */
  --teal: var(--green-mid);
  --teal-deep: var(--green);
  --cyan: var(--green-mid);
  --blue: var(--green);
  --blue-deep: var(--green-deep);
  --amber: var(--gold);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
  transition: opacity 0.25s ease;
}

html[lang="zh"] body {
  font-family: "Noto Sans SC", var(--font-body);
}

body.is-lang-switching {
  opacity: 0.55;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 100;
  background: transparent;
  pointer-events: none;
}

.scroll-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform-origin: left;
  box-shadow: 0 0 10px rgba(232, 185, 35, 0.35);
}

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(26, 122, 92, 0.12), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
}

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

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

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

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 18s ease-in-out infinite;
}

.orb-a {
  width: 420px;
  height: 420px;
  top: -8%;
  right: -6%;
  background: radial-gradient(circle, rgba(26, 122, 92, 0.22), transparent 70%);
}

.orb-b {
  width: 360px;
  height: 360px;
  bottom: 10%;
  left: -8%;
  background: radial-gradient(circle, rgba(232, 185, 35, 0.14), transparent 70%);
  animation-delay: -6s;
}

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 55% 45% at 95% 5%, rgba(26, 122, 92, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 40% at 2% 90%, rgba(232, 185, 35, 0.1), transparent 50%),
    linear-gradient(165deg, #f8fbf7 0%, #eef6f0 42%, #f5f8f4 100%);
  color: var(--ink);
  overflow: hidden;
  z-index: 1;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.55;
}

/* Botanical corner washes (similar to brochure leaves) */
.hero::before {
  width: min(42vw, 340px);
  height: min(42vw, 340px);
  top: -4%;
  right: -4%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%231a7a5c' opacity='0.35'%3E%3Cellipse cx='150' cy='40' rx='42' ry='18' transform='rotate(35 150 40)'/%3E%3Cellipse cx='120' cy='70' rx='36' ry='15' transform='rotate(-15 120 70)'/%3E%3Cellipse cx='165' cy='90' rx='30' ry='12' transform='rotate(55 165 90)'/%3E%3Cellipse cx='95' cy='35' rx='28' ry='11' transform='rotate(10 95 35)'/%3E%3C/g%3E%3C/svg%3E");
}

.hero::after {
  width: min(48vw, 380px);
  height: min(48vw, 380px);
  bottom: -8%;
  left: -6%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='%230d5c45' opacity='0.28'%3E%3Cellipse cx='40' cy='150' rx='48' ry='20' transform='rotate(-30 40 150)'/%3E%3Cellipse cx='70' cy='120' rx='38' ry='16' transform='rotate(20 70 120)'/%3E%3Cellipse cx='30' cy='100' rx='32' ry='13' transform='rotate(-50 30 100)'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-floor {
  position: absolute;
  inset: auto 0 0 0;
  height: 22%;
  background: linear-gradient(to top, rgba(13, 92, 69, 0.06), transparent);
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.75rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.nav-brand {
  color: var(--green-deep);
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(6, 59, 42, 0.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid rgba(13, 92, 69, 0.12);
}

.lang-btn {
  min-width: 2.1rem;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.lang-btn:hover {
  color: var(--green-deep);
}

.lang-btn.is-active {
  background: var(--green);
  color: #fff;
  transform: scale(1.04);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.nav-links a:not(.nav-cta) {
  color: var(--ink);
  opacity: 0.78;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:not(.nav-cta):hover {
  opacity: 1;
  color: var(--green);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--green);
  border: 1px solid transparent;
  color: #fff !important;
  opacity: 1 !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(6, 59, 42, 0.2);
}

.hero-stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1.75rem 4rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow:
    0 12px 28px rgba(6, 59, 42, 0.16),
    0 0 0 1px rgba(13, 92, 69, 0.08);
  animation: logo-shine 5s ease-in-out infinite;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--green-deep);
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 16ch;
  margin-bottom: 1rem;
  color: var(--green-deep);
}

.hero-lead {
  font-size: 1.05rem;
  max-width: 38ch;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.35rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease-out), background 0.2s, border-color 0.2s,
    box-shadow 0.25s;
}

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

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 28px rgba(6, 59, 42, 0.18);
}

.btn-primary:hover {
  background: var(--green-deep);
  box-shadow: 0 14px 36px rgba(6, 59, 42, 0.24);
}

.btn-ghost {
  border: 1.5px solid rgba(13, 92, 69, 0.28);
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  border-color: var(--green);
  background: var(--green-soft);
}

.btn-lg {
  padding: 1rem 1.6rem;
  font-size: 1.02rem;
}

/* Device mock */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.visual-glow {
  position: absolute;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 122, 92, 0.22), transparent 70%);
  animation: pulse-glow 6s ease-in-out infinite;
}

.device {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 4 / 3.15;
  will-change: transform;
  transition: transform 0.35s var(--ease-out);
}

.device-bezel {
  height: 100%;
  border-radius: 22px;
  padding: 14px;
  background: linear-gradient(145deg, #ffffff, #eef6f0);
  border: 1px solid rgba(13, 92, 69, 0.12);
  box-shadow:
    0 28px 60px rgba(6, 59, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: float-device 7s ease-in-out infinite;
}

.screen {
  position: relative;
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f7f2 100%);
  color: var(--ink);
  padding: 0.95rem 1.05rem 0.85rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.screen-chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.chrome-dots {
  display: flex;
  gap: 4px;
}

.chrome-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}

.chrome-dots i:first-child {
  background: #f87171;
}
.chrome-dots i:nth-child(2) {
  background: #fbbf24;
}
.chrome-dots i:nth-child(3) {
  background: #34d399;
}

.chrome-title {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.pill {
  background: var(--green-soft);
  color: var(--green-deep);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.pill.live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 0.3rem;
  vertical-align: middle;
  animation: blink 1.6s ease-in-out infinite;
}

.screen-panel {
  display: none;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
  animation: panel-in 0.45s var(--ease-out);
}

.screen-panel.is-active {
  display: flex;
}

.kpi-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0.55rem;
}

.kpi {
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.kpi.soft {
  background: rgba(230, 242, 235, 0.85);
}

.kpi strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
}

.kpi span {
  font-size: 0.72rem;
  color: var(--muted);
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feed-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.78rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.feed-row em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.7rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.dot.amber {
  background: var(--amber);
}

.pos-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.78rem;
}

.pos-head strong {
  font-size: 0.95rem;
  color: var(--blue-deep);
}

.pos-head span {
  color: var(--muted);
}

.cart-lines {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.75);
}

.cart-line em {
  font-style: normal;
  font-weight: 600;
  color: var(--teal-deep);
}

.cart-line.total {
  background: rgba(13, 92, 69, 0.1);
  font-weight: 700;
}

.pay-row {
  display: flex;
  gap: 0.4rem;
  margin-top: auto;
}

.pay-chip {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.45rem 0.2rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  border: 1px solid transparent;
}

.pay-chip.active {
  background: var(--green-soft);
  color: var(--green-deep);
  border-color: rgba(13, 92, 69, 0.28);
}

.member-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: white;
  background: linear-gradient(145deg, var(--green-mid), var(--green-deep));
}

.member-card strong {
  display: block;
  font-size: 0.9rem;
}

.member-card span {
  font-size: 0.72rem;
  color: var(--muted);
}

.member-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.member-meta div {
  padding: 0.45rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.member-meta label {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.member-meta span {
  font-size: 0.75rem;
  font-weight: 600;
}

.member-cta {
  margin-top: auto;
  text-align: center;
  padding: 0.65rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(120deg, var(--green), var(--green-deep));
}

.screen-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.screen-tabs-4 {
  grid-template-columns: repeat(4, 1fr);
}

.tab {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.45rem 0.2rem;
  border-radius: 8px;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.screen-tabs-4 .tab {
  font-size: 0.65rem;
  padding: 0.4rem 0.1rem;
}

.tab:hover {
  background: rgba(13, 92, 69, 0.08);
}

.tab.is-active {
  background: rgba(13, 92, 69, 0.12);
  color: var(--green-deep);
}

/* ── Sections ───────────────────────────────────────────────── */

.section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5.5rem 1.75rem;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--blue-deep);
  margin-bottom: 0.85rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head.light h2 {
  color: var(--white);
}

.section-head.light p {
  color: rgba(248, 251, 253, 0.78);
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.75rem;
}

.feature {
  position: relative;
  padding: 1.35rem 1.2rem;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid rgba(13, 92, 69, 0.08);
  box-shadow: 0 10px 28px rgba(6, 59, 42, 0.05);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(6, 59, 42, 0.1);
}

.feature-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.55rem;
  letter-spacing: 0.04em;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.96rem;
}

.flow {
  max-width: none;
  background:
    radial-gradient(ellipse 50% 60% at 100% 30%, rgba(232, 185, 35, 0.12), transparent),
    radial-gradient(ellipse 45% 55% at 0% 70%, rgba(26, 122, 92, 0.2), transparent),
    linear-gradient(145deg, #063b2a 0%, #0d5c45 48%, #145a42 100%);
  color: var(--white);
  padding-left: 0;
  padding-right: 0;
}

.flow .section-head,
.flow .steps {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-soft);
  margin-bottom: 0.5rem;
}

.steps strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.steps p {
  color: rgba(248, 251, 253, 0.75);
  font-size: 0.95rem;
}

.steps li {
  position: relative;
  padding: 1.25rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.35s var(--ease-out), background 0.35s, border-color 0.35s;
}

.steps li:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(232, 185, 35, 0.45);
}

/* Digital / go green */

.digital {
  max-width: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 10% 20%, rgba(13, 92, 69, 0.1), transparent),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(232, 185, 35, 0.08), transparent),
    linear-gradient(180deg, #f0f7f2 0%, #f5f8f4 100%);
  padding-left: 0;
  padding-right: 0;
}

.digital .section-head,
.digital .digital-grid {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}

.digital-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.leaf {
  position: absolute;
  width: 18px;
  height: 28px;
  border-radius: 0 70% 0 70%;
  background: linear-gradient(145deg, #1a7a5c, #063b2a);
  opacity: 0.35;
  animation: leaf-fall 14s linear infinite;
}

.leaf-1 {
  left: 12%;
  top: -10%;
  animation-duration: 16s;
}
.leaf-2 {
  left: 55%;
  top: -20%;
  animation-duration: 12s;
  animation-delay: -4s;
  width: 14px;
  height: 22px;
}
.leaf-3 {
  left: 82%;
  top: -15%;
  animation-duration: 18s;
  animation-delay: -8s;
}

.eyebrow.dark {
  color: var(--teal-deep);
}

.digital-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.digital-card {
  padding: 1.5rem 1.35rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 118, 110, 0.1);
  backdrop-filter: blur(8px);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
}

.digital-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(6, 59, 42, 0.1);
  border-color: rgba(13, 92, 69, 0.28);
}

.digital-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--teal-deep);
  transition: transform 0.4s var(--ease-out);
}

.digital-card:hover .digital-icon {
  transform: scale(1.12) rotate(-4deg);
}

.digital-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--blue-deep);
  margin-bottom: 0.45rem;
}

.digital-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Download stores */

.download {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.download-panel,
.custom-panel {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(13, 92, 69, 0.12);
}

.download-panel {
  background:
    linear-gradient(160deg, #0d5c45, #063b2a),
    radial-gradient(circle at 20% 20%, rgba(232, 185, 35, 0.18), transparent 50%);
  color: var(--white);
}

.download-panel .eyebrow {
  color: var(--gold-soft);
}

.download-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin-bottom: 0.75rem;
}

.download-panel > p:not(.eyebrow) {
  max-width: 34rem;
  margin: 0 auto 1.75rem;
  color: rgba(248, 251, 253, 0.78);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 180px;
  padding: 0.75rem 1.15rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  text-align: left;
  transition: transform 0.3s var(--ease-out), background 0.3s, box-shadow 0.3s;
}

.store-badge:hover {
  transform: translateY(-4px) scale(1.03);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

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

.store-badge small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.8;
  line-height: 1.2;
}

.store-badge strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Custom business */

.custom {
  padding-top: 2rem;
}

.custom-panel {
  background:
    linear-gradient(160deg, #ffffff, #f0f7f2),
    radial-gradient(circle at 80% 20%, rgba(26, 122, 92, 0.1), transparent 45%);
  border: 1px solid rgba(13, 92, 69, 0.1);
}

.custom-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.custom-panel > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
}

.custom-panel .btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(6, 59, 42, 0.18);
}

.contact {
  padding-bottom: 4rem;
}

.contact-panel {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background:
    linear-gradient(160deg, #ffffff 0%, #eef6f0 100%),
    radial-gradient(circle at 25% 15%, rgba(232, 185, 35, 0.14), transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(13, 92, 69, 0.1), transparent 45%);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(13, 92, 69, 0.12);
  box-shadow: 0 24px 60px rgba(6, 59, 42, 0.06);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
}

.contact-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--blue-deep);
  margin-bottom: 0.75rem;
}

.contact-panel > p:not(.eyebrow):not(.contact-note) {
  color: var(--muted);
  max-width: 34rem;
  margin: 0 auto 1.5rem;
}

.contact-panel .btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(6, 59, 42, 0.2);
}

.contact-panel .btn-primary:hover {
  background: var(--green-deep);
  box-shadow: 0 16px 40px rgba(6, 59, 42, 0.28);
}

.contact-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-note a {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-deep);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.footer-links a {
  color: var(--teal-deep);
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green-deep);
}

.footer {
  border-top: 1px solid rgba(13, 92, 69, 0.08);
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

/* ── Motion ─────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise-in 0.9s var(--ease-out) forwards;
}

.reveal.delay-1 {
  animation-delay: 0.12s;
}
.reveal.delay-2 {
  animation-delay: 0.24s;
}
.reveal.delay-3 {
  animation-delay: 0.36s;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

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

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-device {
  0%,
  100% {
    transform: translateY(0) rotate(-1.2deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.8deg);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.08);
  }
}

@keyframes logo-shine {
  0%,
  100% {
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.08);
    transform: scale(1.03);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

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

@keyframes orb-drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -24px);
  }
}

@keyframes leaf-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(110vh) rotate(320deg);
    opacity: 0;
  }
}

@keyframes lang-flash {
  0% {
    filter: blur(0);
  }
  40% {
    filter: blur(2px);
  }
  100% {
    filter: blur(0);
  }
}

body.is-lang-switching .hero-copy,
body.is-lang-switching .section {
  animation: lang-flash 0.35s ease;
}

[data-reveal].is-visible.digital-card,
[data-reveal].is-visible.feature {
  transition-timing-function: var(--ease-out);
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hero-stage {
    grid-template-columns: 1fr;
    padding-top: 1.25rem;
    padding-bottom: 3rem;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-visual {
    order: -1;
    min-height: 300px;
  }

  .device {
    width: min(100%, 360px);
  }

  .feature-rail,
  .steps,
  .digital-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 520px) {
  .nav {
    padding: 1rem 1.15rem;
  }

  .hero-stage,
  .section,
  .flow .section-head,
  .flow .steps,
  .digital .section-head,
  .digital .digital-grid,
  .footer {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .brand-mark {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .lang-switch {
    order: -1;
  }

  .nav-links {
    gap: 0.55rem;
  }

  .nav-cta {
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .device-bezel,
  .visual-glow,
  .brand-logo,
  .orb,
  .pill.live::before,
  .leaf {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-progress,
  .cursor-glow {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }
}
