﻿/* ── Reset & base for landing ── */
.landing {
  width: 100%;
  --ui-color-bg-primary: #ffffff;
  --ui-color-bg-secondary: #f8fafc;
  --ui-color-bg-elevated: #ffffff;
  --ui-color-fg-primary: #101828;
  --ui-color-fg-secondary: #475467;
  --ui-color-fg-tertiary: #667085;
  --ui-color-border-primary: #eaecf0;
  --ui-color-border-focus: #d0d5dd;
  --ui-brand-600: #0d9488;
  --ui-brand-700: #0f766e;
  --ui-brand-50: #f0fdfa;
  --ui-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --ui-shadow-md: 0 8px 16px rgba(16, 24, 40, 0.08);
  min-height: 100vh;
  background: var(--ui-color-bg-primary);
  color: var(--ui-color-fg-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  position: relative;
  isolation: isolate;
}

/* ── Dark mode overrides ── */
[data-theme="dark"] .landing {
  --ui-color-bg-primary: #0c111d;
  --ui-color-bg-secondary: #101828;
  --ui-color-bg-elevated: #162033;
  --ui-color-fg-primary: #f2f4f7;
  --ui-color-fg-secondary: #d0d5dd;
  --ui-color-fg-tertiary: #98a2b3;
  --ui-color-border-primary: #1d2939;
  --ui-color-border-focus: #344054;
  --ui-brand-50: rgba(13, 148, 136, 0.1);
  --ui-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --ui-shadow-md: 0 8px 16px rgba(0, 0, 0, 0.25);
}

/* Sections get stacking context; nav, overlay, and progress stay fixed */
.landing > *:not(.landing-parallax):not(.landing-nav):not(.landing-mobile-overlay):not(.landing-progress) {
  position: relative;
  z-index: 1;
}

.landing-parallax {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transform: translateZ(0);
}

.landing-parallax__layer {
  position: absolute;
  border-radius: 999px;
  will-change: transform;
}

.landing-parallax__layer--1 {
  width: clamp(320px, 38vw, 620px);
  height: clamp(320px, 38vw, 620px);
  left: -8%;
  top: 18%;
  background: radial-gradient(circle at center, rgba(13, 148, 136, 0.24) 0%, rgba(13, 148, 136, 0.06) 42%, transparent 74%);
  filter: blur(8px);
}

.landing-parallax__layer--2 {
  width: clamp(420px, 42vw, 760px);
  height: clamp(420px, 42vw, 760px);
  right: -14%;
  top: 42%;
  background: radial-gradient(circle at center, rgba(15, 118, 110, 0.2) 0%, rgba(15, 118, 110, 0.05) 45%, transparent 78%);
  filter: blur(14px);
}

.landing-parallax__layer--3 {
  width: clamp(380px, 40vw, 700px);
  height: clamp(380px, 40vw, 700px);
  left: 42%;
  top: -18%;
  background: radial-gradient(circle at center, rgba(20, 184, 166, 0.2) 0%, rgba(20, 184, 166, 0.05) 40%, transparent 74%);
  filter: blur(10px);
}

.landing-parallax__layer--4 {
  width: clamp(240px, 24vw, 420px);
  height: clamp(240px, 24vw, 420px);
  right: 8%;
  top: 10%;
  background: radial-gradient(circle at center, rgba(13, 148, 136, 0.16) 0%, rgba(13, 148, 136, 0.04) 38%, transparent 72%);
  filter: blur(4px);
}

.landing-parallax__layer--5 {
  width: clamp(520px, 56vw, 980px);
  height: clamp(520px, 56vw, 980px);
  left: 20%;
  top: 64%;
  background: radial-gradient(circle at center, rgba(52, 64, 84, 0.08) 0%, rgba(52, 64, 84, 0.02) 44%, transparent 80%);
  filter: blur(18px);
}

.landing-parallax::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 148, 136, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.45) 28%, rgba(0, 0, 0, 0.35) 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.45) 28%, rgba(0, 0, 0, 0.35) 72%, transparent 100%);
  opacity: 0.18;
}

/* ── Untitled-style primitives ── */
.landing .ui-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  font-family: inherit;
  box-shadow: var(--ui-shadow-sm);
}

.landing .ui-button--lg {
  padding: 13px 22px;
  font-size: 16px;
  line-height: 24px;
}

.landing .ui-button--primary {
  background: var(--ui-brand-600);
  border-color: var(--ui-brand-600);
  color: #ffffff;
}

.landing .ui-button--primary:hover {
  background: var(--ui-brand-700);
  border-color: var(--ui-brand-700);
  transform: translateY(-1px);
}

.landing .ui-button--secondary {
  background: var(--ui-color-bg-elevated);
  border-color: var(--ui-color-border-primary);
  color: var(--ui-color-fg-secondary);
}

.landing .ui-button--secondary:hover {
  background: var(--ui-color-bg-secondary);
  border-color: var(--ui-color-border-focus);
  color: var(--ui-color-fg-primary);
}

.landing .ui-button--ghost {
  background: transparent;
  border-color: var(--ui-color-border-primary);
  color: var(--ui-color-fg-secondary);
  box-shadow: none;
}

.landing .ui-button--ghost:hover {
  background: var(--ui-color-bg-secondary);
  border-color: var(--ui-color-border-focus);
  color: var(--ui-color-fg-primary);
}

.landing .ui-button--inverse {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--ui-brand-700);
}

.landing .ui-button--inverse:hover {
  background: #f9fafb;
  border-color: #f9fafb;
}

.landing .ui-button--ghost-inverse {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
  box-shadow: none;
}

.landing .ui-button--ghost-inverse:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.56);
}

.landing .ui-icon-button {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 10px;
}

.landing .ui-icon-button.ui-button--lg {
  width: 42px;
  height: 42px;
}

.landing .ui-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 12px;
  background: var(--ui-brand-50);
  border: 1px solid #ccfbf1;
  color: var(--ui-brand-700);
  font-size: 13px;
  font-weight: 600;
}

/* Account for fixed nav when scrolling to section IDs */
.landing section[id] {
  scroll-margin-top: 96px;
}

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

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Navigation ── */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

@media (max-width: 768px) {
  .landing-parallax__layer--1,
  .landing-parallax__layer--2,
  .landing-parallax__layer--3,
  .landing-parallax__layer--4,
  .landing-parallax__layer--5 {
    opacity: 0.72;
  }

  .landing-parallax::after {
    opacity: 0.1;
  }
}

.landing-nav--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Enhanced Nav (stronger glass on scroll) */
.landing-nav--scrolled {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.landing-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.landing-nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.landing-nav__logo-img {
  height: 36px;
  width: auto;
  filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.12)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.08));
  transition: filter 0.3s;
}

.landing-nav--scrolled .landing-nav__logo-img {
  filter: none;
}

.landing-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.landing-nav__link {
  background: none;
  border: none;
  color: var(--ui-color-fg-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  font-family: inherit;
}

.landing-nav__link:hover {
  color: var(--ui-color-fg-primary);
  background: var(--ui-color-bg-secondary);
}

.landing-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-nav__spacer {
  width: 40px;
  flex: 0 0 40px;
}

.landing-nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #334155;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.landing-nav__burger svg {
  width: 22px;
  height: 22px;
}

/* ── Buttons ── */
.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

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

/* ── Hero ── */
.landing-hero {
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landing-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--ui-color-bg-secondary));
  pointer-events: none;
  z-index: 3;
}

.landing-hero--full {
  min-height: 100svh;
}

.landing-hero__bg {
  position: absolute;
  inset: -40% 0 0 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(15,118,110,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(249,115,22,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
  pointer-events: none;
  will-change: transform;
  z-index: 0;
}

.landing-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.landing-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.landing-hero__badge {
  margin-bottom: 24px;
}

.landing-hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 24px;
}

.landing-hero__title-accent {
  background: linear-gradient(135deg, var(--ui-brand-600) 20%, #5eead4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 36px;
  max-width: 520px;
}

.landing-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.landing-hero__trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

.landing-hero__trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #cbd5e1;
  flex-shrink: 0;
}

.landing-hero__visual {
  display: flex;
  justify-content: center;
  overflow: visible;
}

/* ── Hero Shapes ── */
.landing-hero__shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.landing-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
  will-change: transform;
}
.landing-shape--1 {
  width: 340px;
  height: 340px;
  top: -60px;
  left: -80px;
  background: radial-gradient(circle, var(--primary, #0d9488) 0%, transparent 70%);
}
.landing-shape--2 {
  width: 220px;
  height: 220px;
  top: 20%;
  right: 8%;
  background: radial-gradient(circle, #0d9488 0%, transparent 70%);
  border-radius: 40%;
}
.landing-shape--3 {
  width: 160px;
  height: 160px;
  bottom: 15%;
  left: 12%;
  background: radial-gradient(circle, #2dd4bf 0%, transparent 70%);
}
.landing-shape--4 {
  width: 280px;
  height: 280px;
  bottom: -100px;
  right: -60px;
  background: radial-gradient(circle, var(--primary, #0d9488) 0%, transparent 70%);
  border-radius: 35%;
}
.landing-shape--5 {
  width: 100px;
  height: 100px;
  top: 35%;
  left: 40%;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
}

/* ── Hero Scroll Cue ── */
.landing-hero__scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-sans, 'Figtree', sans-serif);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s;
  animation: bounce-cue 2.4s ease-in-out infinite;
}
.landing-hero__scroll-cue:hover {
  color: var(--primary, #0d9488);
}
.landing-hero__scroll-cue svg {
  opacity: 0.6;
}

@keyframes bounce-cue {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* ── Phone Mockup (Hero) ── */
.phone-mockup-duo {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  padding-bottom: 28px;
}

.phone-mockup {
  width: 236px;
  background: linear-gradient(145deg, #16181d, #0f1115);
  border-radius: 34px;
  padding: 10px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.08),
    0 20px 60px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.4s cubic-bezier(.22,1,.36,1);
}

.phone-mockup--left {
  transform: rotate(-6deg) translateY(18px);
  z-index: 1;
}

.phone-mockup--right {
  transform: rotate(5deg);
  z-index: 2;
}

.phone-mockup--ios {
  background: linear-gradient(145deg, #1f1f1f, #121212);
}

.phone-mockup__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 20px;
  background: #171717;
  border-radius: 0 0 12px 12px;
  z-index: 2;
}

.phone-mockup--android::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.phone-mockup__camera {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 40% 35%, #2f3642 0%, #0b0e13 75%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.phone-mockup__screen {
  border-radius: 26px;
  overflow: hidden;
  background: #fefdfb;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  aspect-ratio: 9 / 19.5;
}

/* ── Native Mobile App inside the phone ── */
.phone-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 260px;
  font-family: var(--font-sans);
  font-size: 10px;
  color: #1e293b;
  user-select: none;
  background: #fefdfb;
}

.phone-app__statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px 4px;
  font-size: 10px;
  font-weight: 600;
  color: #1e293b;
}

.phone-app__time { font-weight: 700; font-size: 11px; }

.phone-app__signals {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #1e293b;
}

.phone-app__battery-wrap { display: flex; align-items: center; }

.phone-app__battery {
  width: 18px;
  height: 9px;
  border: 1.5px solid #1e293b;
  border-radius: 2px;
  position: relative;
  padding: 1px;
}

.phone-app__battery::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 2px;
  width: 2px;
  height: 4px;
  background: #1e293b;
  border-radius: 0 1px 1px 0;
}

.phone-app__battery-fill {
  width: 80%;
  height: 100%;
  background: #0d9488;
  border-radius: 1px;
}

.phone-app__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
}

.phone-app__logo { height: 14px; width: auto; }
.phone-app__header-right { color: #64748b; }

.phone-app__hero { padding: 12px 14px 8px; }
.phone-app__greeting { font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 2px; }
.phone-app__balance-label { font-size: 9px; color: #94a3b8; font-weight: 500; margin-top: 6px; }
.phone-app__balance {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.phone-app__nfc-card {
  margin: 8px 14px;
  padding: 16px;
  background: linear-gradient(135deg, #f0fdfa, #ecfdf5);
  border: 1px solid #ccfbf1;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.phone-app__nfc-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.08);
  animation: phone-nfc-pulse 2s ease-in-out infinite;
}

@keyframes phone-nfc-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

.phone-app__nfc-pulse--active {
  animation: phone-nfc-active 0.6s ease-in-out infinite !important;
  background: rgba(15, 118, 110, 0.15) !important;
}

.phone-app__nfc-icon { color: var(--primary); z-index: 1; }
.phone-app__nfc-text { font-size: 11px; font-weight: 700; color: var(--primary-dark); z-index: 1; }
.phone-app__nfc-sub { font-size: 9px; color: #64748b; z-index: 1; }

.phone-app__methods { display: flex; gap: 6px; padding: 6px 14px; }
.phone-app__method {
  flex: 1;
  padding: 6px 4px;
  background: #ffffff;
  border: 1px solid #e5e2db;
  border-radius: 8px;
  font-size: 8px;
  font-weight: 600;
  color: #334155;
  text-align: center;
  cursor: default;
}

.phone-app__method--twint { border-color: rgba(0, 0, 0, 0.12); color: #000; }

.phone-app__nav {
  display: flex;
  margin-top: auto;
  padding: 6px 0 8px;
  border-top: 1px solid #f1f0ed;
  background: #fff;
}

.phone-app__nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 8px;
  font-weight: 500;
  color: #94a3b8;
  cursor: default;
  background: none;
  border: none;
  font-family: inherit;
  padding: 4px 0;
}

.phone-app__nav-item--active { color: var(--primary); }

.phone-mockup__badge {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3);
}

/* Phone App Extra Screens */
.phone-app__page { flex: 1; padding: 8px 14px; overflow-y: auto; }
.phone-app__page-title { font-size: 13px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.phone-app__mini-stats { display: flex; gap: 8px; margin-bottom: 10px; }
.phone-app__mini-stat {
  flex: 1;
  padding: 8px;
  background: #f8f7f4;
  border: 1px solid #e5e2db;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.phone-app__mini-val { font-size: 12px; font-weight: 800; color: #0f172a; font-family: var(--font-display); }
.phone-app__mini-label { font-size: 7px; color: #94a3b8; }
.phone-app__mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 50px; padding: 4px 0; margin-bottom: 8px; }
.phone-app__mini-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  border-radius: 3px 3px 0 0;
  min-height: 4px;
}
.phone-app__mini-sales { display: flex; flex-direction: column; gap: 4px; }
.phone-app__mini-sale {
  display: flex;
  justify-content: space-between;
  padding: 5px 8px;
  background: #f8f7f4;
  border-radius: 6px;
  font-size: 9px;
  color: #334155;
  font-weight: 600;
}
.phone-app__pay-amount {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  font-family: var(--font-display);
  margin-bottom: 10px;
}
.phone-app__pay-numpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 10px; }
.phone-app__pay-key {
  padding: 8px;
  background: #f8f7f4;
  border: 1px solid #e5e2db;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}
.phone-app__pay-key:active { background: #f1f0ed; }
.phone-app__pay-btn {
  width: 100%;
  padding: 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.phone-app__menu-items { display: flex; flex-direction: column; gap: 2px; }
.phone-app__menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  color: #334155;
}
.phone-app__menu-item:active { background: #f1f0ed; }
.phone-app__menu-item--danger { color: #ef4444; }

/* ── Mobile Overlay ── */
.landing-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}
.landing-mobile-overlay.open {
  pointer-events: auto;
}
.landing-mobile-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.landing-mobile-overlay.open .landing-mobile-overlay__backdrop {
  opacity: 1;
}
.landing-mobile-overlay__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(380px, 88vw);
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.landing-mobile-overlay.open .landing-mobile-overlay__panel {
  transform: translateX(0);
}
.landing-mobile-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
  flex-shrink: 0;
}
.landing-mobile-overlay__logo {
  height: 28px;
}
.landing-mobile-overlay__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.landing-mobile-overlay__close:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.landing-mobile-overlay__close svg {
  width: 20px;
  height: 20px;
}
.landing-mobile-overlay__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 4px;
  overflow-y: auto;
}
.landing-mobile-overlay__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  border: none;
  background: transparent;
  color: #334155;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-sans, 'Figtree', sans-serif);
  cursor: pointer;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
}
.landing-mobile-overlay.open .landing-mobile-overlay__link {
  opacity: 1;
  transform: translateX(0);
}
.landing-mobile-overlay__link:hover {
  background: #f1f5f9;
  color: var(--primary, #0d9488);
}
.landing-mobile-overlay__link:active {
  background: #e2e8f0;
}
.landing-mobile-overlay__link svg {
  margin-left: auto;
  color: #cbd5e1;
  flex-shrink: 0;
}
.landing-mobile-overlay__link:hover svg {
  color: var(--primary, #0d9488);
}
.landing-mobile-overlay__link-icon {
  font-size: 22px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}
.landing-mobile-overlay__link-text {
  flex: 1;
  text-align: left;
}
.landing-mobile-overlay__footer {
  padding: 20px 24px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.landing-mobile-overlay__footer .landing-btn svg {
  margin-left: 6px;
}

/* ── Legal Pages ── */
.landing-legal {
  min-height: 100vh;
  padding: 120px 0 64px;
}

.landing-legal__header {
  text-align: center;
  margin-bottom: 28px;
}

.landing-legal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.landing-legal__subtitle {
  margin: 10px auto 0;
  max-width: 760px;
  font-size: 15px;
  color: var(--text-secondary);
}

.landing-legal__content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.landing-legal__section {
  background: var(--surface-elevated);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.landing-legal__section h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.landing-legal__section p {
  margin: 0 0 10px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.landing-legal__section p:last-child {
  margin-bottom: 0;
}

.landing-legal__bottom {
  max-width: 900px;
  margin: 22px auto 0;
  text-align: center;
}

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

/* ── Media Queries (Base/Hero) ── */
@media (max-width: 1024px) {
  .landing-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .landing-hero__content { align-items: center; }
  .landing-hero__subtitle { margin: 0 auto 36px; }
  .landing-hero__actions { justify-content: center; }
  .landing-hero__trust { justify-content: center; }
  .landing-hero__visual { order: -1; }
  .landing-hero__shapes { display: none; }
  .landing-hero__scroll-cue { display: none; }
  .phone-mockup-duo { gap: 12px; }
  .phone-mockup { width: 200px; }
}

@media (max-width: 768px) {
  .landing-nav__links,
  .landing-nav__actions { display: none; }
  .landing-nav__burger { display: flex; }
  .landing-nav__spacer { display: none; }

  .landing-hero { padding: 80px 0 60px; }
  .landing-hero--full { min-height: 100svh; }
  .landing-hero__title { font-size: 32px; }
  .landing-hero__subtitle { font-size: 16px; }
  .landing-hero__trust { flex-wrap: wrap; font-size: 12px; gap: 8px; }
  .phone-mockup-duo { gap: 8px; }
  .phone-mockup { width: 174px; }
  .phone-mockup--left { transform: rotate(-5deg) translateY(14px); }
  .phone-mockup--right { transform: rotate(4deg); }
  .landing-hero__actions { flex-direction: column; align-items: center; width: 100%; }

  .landing-legal {
    padding: 96px 0 48px;
  }

  .landing-legal__section {
    padding: 16px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .landing-container { padding: 0 16px; }
  .landing-hero { padding: 70px 0 50px; }
  .landing-hero__title { font-size: 28px; }
  .landing-hero__badge { font-size: 11px; padding: 5px 12px; }
  .phone-mockup-duo { gap: 5px; padding-bottom: 24px; }
  .phone-mockup { width: 148px; }
  .phone-mockup--left { transform: rotate(-4deg) translateY(10px); }
  .phone-mockup--right { transform: rotate(3deg); }
  .phone-mockup__badge { font-size: 9px; }
}

@media (max-width: 360px) {
  .landing-hero__title { font-size: 24px; }
  .landing-hero__subtitle { font-size: 14px; }
  .phone-mockup { width: 134px; }
}

/* ── Untitled Interaction Harmonization (Landing) ── */
.landing {
  --landing-focus: 0 0 0 3px rgba(13, 148, 136, 0.3);
}

.landing-nav__link,
.landing-nav__burger,
.landing-mobile-overlay__close,
.landing-hero__scroll-cue,
.landing-btn,
.ui-button,
.phone-app__pay-key,
.phone-app__pay-btn,
.phone-app__menu-item,
.phone-app__nfc-card {
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.landing-nav__link:hover,
.landing-btn:hover,
.ui-button:hover,
.phone-app__pay-key:hover,
.phone-app__pay-btn:hover,
.phone-app__menu-item:hover,
.phone-app__nfc-card:hover,
.landing-mobile-overlay__close:hover,
.landing-mobile-overlay__link:hover {
  transform: translateY(-1px);
}

.landing-nav__link:focus-visible,
.landing-nav__burger:focus-visible,
.landing-mobile-overlay__close:focus-visible,
.landing-mobile-overlay__link:focus-visible,
.landing-hero__scroll-cue:focus-visible,
.landing-btn:focus-visible,
.ui-button:focus-visible,
.phone-app__pay-key:focus-visible,
.phone-app__pay-btn:focus-visible,
.phone-app__menu-item:focus-visible,
.phone-app__nfc-card:focus-visible {
  outline: none;
  box-shadow: var(--landing-focus);
}

.landing-nav__link.ui-button,
.landing-nav__burger.ui-button,
.landing-mobile-overlay__close.ui-button,
.landing-mobile-overlay__link.ui-button {
  box-shadow: none;
  min-height: 0;
}

.landing-shape--1,
.landing-shape--4 {
  background: radial-gradient(circle, rgba(13, 148, 136, 0.9) 0%, transparent 70%);
}

.landing-shape--3 {
  background: radial-gradient(circle, rgba(20, 184, 166, 0.9) 0%, transparent 70%);
}

.phone-app__nfc-pulse,
.phone-app__nfc-pulse--active {
  background: rgba(13, 148, 136, 0.14) !important;
}

.phone-mockup__badge,
.phone-app__pay-btn {
  background: var(--ui-brand-600);
}

.phone-app__pay-btn:hover,
.phone-mockup__badge:hover {
  background: var(--ui-brand-700);
}

.phone-app__menu-item--danger {
  color: #d92d20;
}

/* ═══════════════════════════════════════════════════════════════
   DARK MODE OVERRIDES
   ═══════════════════════════════════════════════════════════════ */

/* ── Nav ── */
[data-theme="dark"] .landing-nav--scrolled {
  background: rgba(12, 17, 29, 0.88);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .landing-nav__burger {
  border-color: #344054;
  color: #d0d5dd;
}

/* ── Hero ── */
[data-theme="dark"] .landing-hero__bg {
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(15, 118, 110, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(13, 148, 136, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #0c111d 0%, #101828 100%);
}

[data-theme="dark"] .landing-hero__title {
  color: #f2f4f7;
}

[data-theme="dark"] .landing-hero__subtitle {
  color: #98a2b3;
}

[data-theme="dark"] .landing-hero__trust {
  color: #667085;
}

[data-theme="dark"] .landing-hero__trust-dot {
  background: #475467;
}

[data-theme="dark"] .landing-hero__scroll-cue {
  color: #98a2b3;
}

/* ── Mobile Overlay ── */
[data-theme="dark"] .landing-mobile-overlay__panel {
  background: #101828;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .landing-mobile-overlay__header {
  border-bottom-color: #1d2939;
}

[data-theme="dark"] .landing-mobile-overlay__link {
  color: #d0d5dd;
  border-color: #1d2939;
}

[data-theme="dark"] .landing-mobile-overlay__link:hover {
  background: #1d2939;
  color: #f2f4f7;
}

[data-theme="dark"] .landing-mobile-overlay__link-icon {
  background: #1d2939;
}

[data-theme="dark"] .landing-mobile-overlay__footer {
  border-top-color: #1d2939;
}

[data-theme="dark"] .landing-mobile-overlay__close {
  background: #162033;
  border-color: #344054;
  color: #98a2b3;
}

[data-theme="dark"] .landing-mobile-overlay__close:hover {
  background: #1d2939;
  color: #f2f4f7;
}

/* ── Badges ── */
[data-theme="dark"] .ui-badge {
  background: rgba(13, 148, 136, 0.12);
  border-color: rgba(13, 148, 136, 0.25);
  color: #99f6e4;
}

[data-theme="dark"] .landing-section-badge {
  background: rgba(13, 148, 136, 0.12);
  border-color: rgba(13, 148, 136, 0.25);
  color: #99f6e4;
}

/* ── Legal pages ── */
[data-theme="dark"] .landing-legal {
  background: var(--ui-color-bg-primary);
}

[data-theme="dark"] .landing-legal__content {
  color: var(--ui-color-fg-secondary);
}

[data-theme="dark"] .landing-legal__content h2 {
  color: var(--ui-color-fg-primary);
}

[data-theme="dark"] .landing-legal__content a {
  color: #99f6e4;
}

/* ── Theme toggle on landing ── */
.landing-theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--ui-color-border-primary);
  background: var(--ui-color-bg-elevated);
  color: var(--ui-color-fg-secondary);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  padding: 0;
  font-family: inherit;
}

.landing-theme-toggle:hover {
  background: var(--ui-color-bg-secondary);
  border-color: var(--ui-color-border-focus);
  color: var(--ui-color-fg-primary);
}

.landing-theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* ── Dark mode nav scrolled ── */
[data-theme="dark"] .landing-nav--scrolled {
  background: rgba(12, 17, 29, 0.95);
  border-bottom: 1px solid rgba(29, 41, 57, 0.8);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

/* ── Scroll Progress Bar ── */
.landing-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ui-brand-600) 0%, #5eead4 100%);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 2001;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(13, 148, 136, 0.6);
}

/* ── Scroll Snap HTML class ── */
html.landing-snap-active {
  scroll-snap-type: y mandatory;
}

/* ── Section Scroll Snap ── */
.landing section[id] {
  scroll-snap-align: start;
}

