/* Subqura — RA Apps LTD (aligned with streamflex.raapps.site) */
:root {
  --bg: #07070c;
  --bg-elevated: #0e0e16;
  --bg-card: #12121c;
  --bg-card-hover: #181825;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f4f8;
  --text-muted: #9b9bb0;
  --text-dim: #6b6b80;
  --primary: #0060f8;
  --primary-soft: rgba(0, 96, 248, 0.15);
  --primary-glow: rgba(0, 96, 248, 0.45);
  --accent: #3d88ff;
  --accent-2: #6ba8ff;
  --gradient: linear-gradient(135deg, #3d88ff 0%, #0060f8 45%, #004ed4 100%);
  --gradient-soft: linear-gradient(135deg, rgba(0, 96, 248, 0.22), rgba(61, 136, 255, 0.1));
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --font: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --max: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-bg: transparent;
  --control-bg: rgba(255, 255, 255, 0.06);
  --control-border: rgba(0, 96, 248, 0.35);
  --control-hover: rgba(0, 96, 248, 0.12);
  --surface: var(--bg);
  --surface-2: var(--bg-elevated);
  --card: var(--bg-card);
  --ink: var(--text);
  --muted: var(--text-muted);
  --nav-h: var(--header-h);
  --blue-50: rgba(0, 96, 248, 0.12);
  --blue-100: rgba(0, 96, 248, 0.2);
  --blue-200: #a0c8f8;
  --blue-300: #6ba8ff;
  --blue-400: #3d88ff;
  --blue-500: #1a70f8;
  --blue-600: #0060f8;
  --blue-700: #3d88ff;
  --blue-800: #004ed4;
  --blue-900: #a0c8f8;
  --gray-400: var(--text-dim);
  --gray-600: var(--text-muted);
  --gray-700: var(--text);
  --gray-800: var(--text);
  --gray-300: var(--text-muted);
}

/* Light mode (optional — Streamflex family is dark-first) */
html[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f4ff;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --primary-soft: rgba(0, 96, 248, 0.1);
  --primary-glow: rgba(0, 96, 248, 0.28);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  --control-bg: #eef2ff;
  --control-border: rgba(0, 96, 248, 0.25);
  --control-hover: #e0e9ff;
  --nav-bg: rgba(246, 247, 251, 0.88);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  color-scheme: dark;
}
html[data-theme="light"] {
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body > main {
  flex: 1 0 auto;
}
body > .site-footer,
body > .footer {
  flex-shrink: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
ul { list-style: none; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ========== Header ========== */
/* Header bar only — do NOT style .nav as a menu (class is shared in HTML) */
.site-header,
header.nav,
#nav.site-header,
#nav.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
  width: 100%;
  background: transparent;
  margin: 0;
  padding: 0;
}
.site-header.scrolled,
header.nav.scrolled,
#nav.scrolled {
  background: rgba(7, 7, 12, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
html[data-theme="light"] .site-header.scrolled,
html[data-theme="light"] header.nav.scrolled,
html[data-theme="light"] #nav.scrolled {
  background: rgba(246, 247, 251, 0.92);
}

.header-inner,
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  height: 100%;
  gap: 0.75rem;
  position: relative;
}

.logo,
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text) !important;
  flex-shrink: 0;
  z-index: 2;
}
.logo:hover,
.nav__brand:hover {
  color: var(--text) !important;
}
.logo-img,
.logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
}
.logo-mark--lg { width: 72px; height: 72px; border-radius: 16px; }
.logo-text,
.nav__name {
  font-family: var(--font);
  font-weight: 700;
  color: var(--text);
}
.logo-text span,
.nav__name span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Link row only */
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex: 1;
  justify-content: flex-end;
  margin-inline-end: 0.5rem;
  min-width: 0;
}
.nav__links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__links a:not(.btn):hover {
  color: var(--text);
}

.nav__links a.btn--primary,
.nav__links a.btn.btn--sm.btn--primary {
  background: var(--primary-soft) !important;
  color: var(--accent-2) !important;
  padding: 0.45rem 0.95rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 96, 248, 0.4) !important;
  box-shadow: none !important;
  font-weight: 600;
  flex-shrink: 0;
}
.nav__links a.btn--primary:hover {
  background: rgba(0, 96, 248, 0.28) !important;
  color: #fff !important;
}

.nav__end {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  z-index: 2;
}
.site-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.ctrl-btn,
.lang-select {
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--control-border);
  background: var(--control-bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.ctrl-btn {
  width: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  flex-shrink: 0;
}
.ctrl-btn:hover,
.lang-select:hover {
  border-color: rgba(0, 96, 248, 0.6);
  background: var(--control-hover);
}
.ctrl-btn svg { width: 18px; height: 18px; }
/* Moon = dark mode available / currently light; Sun = light mode available / currently dark */
.ctrl-btn .icon-sun { display: none; }
.ctrl-btn .icon-moon { display: block; }
html[data-theme="dark"] .ctrl-btn .icon-sun { display: block; }
html[data-theme="dark"] .ctrl-btn .icon-moon { display: none; }

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0 1.75rem 0 0.75rem;
  min-width: 6.5rem;
  max-width: 8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236ba8ff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-color: var(--control-bg);
}
.lang-select option {
  background: #12121c;
  color: #f4f4f8;
}
html[data-theme="light"] .lang-select option {
  background: #fff;
  color: #0f172a;
}

.menu-toggle,
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.menu-toggle span,
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn--lg { padding: 0.95rem 1.5rem; }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.875rem; }
.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 28px var(--primary-glow);
}
.btn--primary:hover {
  box-shadow: 0 12px 36px var(--primary-glow);
  transform: translateY(-1px);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}
html[data-theme="light"] .btn--ghost {
  background: rgba(15, 23, 42, 0.04);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}
html[data-theme="light"] .btn--ghost:hover {
  background: rgba(0, 96, 248, 0.08);
  border-color: rgba(0, 96, 248, 0.3);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  overflow: hidden;
}
.hero__glow,
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-gradient,
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0, 96, 248, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(61, 136, 255, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 30% at 70% 80%, rgba(0, 60, 180, 0.12), transparent 50%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}
html[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(0, 96, 248, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 96, 248, 0.06) 1px, transparent 1px);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: float 12s ease-in-out infinite;
}
.orb-1 { width: 280px; height: 280px; background: var(--primary); top: 15%; left: 10%; }
.orb-2 { width: 200px; height: 200px; background: #3d88ff; top: 50%; right: 15%; animation-delay: -4s; }
.orb-3 { width: 160px; height: 160px; background: #004ed4; bottom: 10%; left: 40%; animation-delay: -7s; opacity: 0.3; }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -24px); }
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.badge,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid rgba(0, 96, 248, 0.4);
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font);
  margin-bottom: 1.25rem;
}
.badge__dot,
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  animation: pulse 1.8s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.text-gradient,
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead,
.hero-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}
.hero__actions,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border: none;
  padding: 0;
}
.hero__stats strong {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
}
.hero__stats span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Phone mockup */
.hero__phone {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0 2rem;
  overflow: visible;
  z-index: 2;
}
.hero__phone::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 96, 248, 0.35), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.phone {
  width: 280px;
  background: #0a0a12;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255,255,255,0.06) inset;
  position: relative;
  z-index: 2;
  animation: phoneIn 1s var(--ease) both;
}
@keyframes phoneIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.phone__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
}
.phone__screen {
  background: #0b1220;
  border-radius: 26px;
  overflow: hidden;
  min-height: 540px;
}
.app-ui {
  padding: 2.4rem 1rem 0.75rem;
  color: #e2e8f0;
  font-size: 0.8rem;
}
.app-ui__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}
.app-ui__greet { color: #94a3b8; font-size: 0.72rem; }
.app-ui__header h2 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.app-ui__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
}
.app-ui__safe {
  background: linear-gradient(145deg, #003fb0, #0060f8 50%, #004ed4);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 96, 248, 0.3);
}
.app-ui__currency {
  display: block;
  font-size: 0.7rem;
  color: #a0c8f8;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.app-ui__amount {
  display: block;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  font-family: ui-monospace, monospace;
}
.app-ui__safe p {
  margin-top: 0.25rem;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.7);
}
.app-ui__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.mini-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 0.65rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.mini-card--accent {
  background: rgba(0, 96, 248, 0.15);
  border-color: rgba(61, 136, 255, 0.25);
}
.mini-card__label {
  font-size: 0.62rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mini-card__val { font-size: 0.72rem; color: #cbd5e1; }
.mini-card__amt {
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  font-family: ui-monospace, monospace;
}
.app-ui__list { display: flex; flex-direction: column; gap: 0.35rem; }
.app-row {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.5rem 0.45rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
}
.app-row__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--c) 22%, transparent);
  color: var(--c);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
}
.app-row strong { display: block; font-size: 0.78rem; color: #f1f5f9; }
.app-row small { color: #94a3b8; font-size: 0.65rem; }
.app-row__amt {
  font-weight: 600;
  font-size: 0.75rem;
  font-family: ui-monospace, monospace;
  color: #e2e8f0;
}
.app-ui__tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  margin-top: 0.9rem;
  padding: 0.45rem 0.25rem;
  background: rgba(0,0,0,0.35);
  border-radius: 14px;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 600;
  color: #94a3b8;
}
.app-ui__tabbar .active {
  color: #a0c8f8;
  background: rgba(0, 96, 248, 0.2);
  border-radius: 10px;
  padding: 0.35rem 0;
}
.phone-float {
  position: absolute;
  z-index: 3;
  background: var(--bg-card);
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 0.7rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  animation: float 5s ease-in-out infinite;
  color: var(--text);
}
.phone-float strong { display: block; font-size: 0.78rem; }
.phone-float p { color: var(--text-muted); font-size: 0.7rem; }
.phone-float--1 { top: 8%; left: -8%; max-width: 180px; }
.phone-float--2 { bottom: 14%; right: -6%; animation-delay: -2s; }
@media (max-width: 1200px) {
  .phone-float--1 { left: 0; }
  .phone-float--2 { right: 0; }
}
.notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--primary-soft);
  display: grid;
  place-items: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.chip.active, .chip--accent, .chip--teal {
  background: var(--primary-soft);
  color: var(--accent-2);
  border-color: rgba(0, 96, 248, 0.35);
}
.chip--ok { background: rgba(61, 214, 140, 0.15); color: #3dd68c; }

/* ========== Trust strip ========== */
.trust {
  border-block: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 1.5rem 0;
}
.trust__inner { text-align: center; }
.trust__inner > p {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.trust__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.trust__pills span {
  padding: 0.45rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* ========== Sections ========== */
.section {
  padding: 5.5rem 0;
  position: relative;
}
.section--alt,
.section--elevated {
  background: var(--bg-elevated);
}
.section--dark {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 96, 248, 0.12), transparent),
    var(--bg);
}
.section__head,
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.eyebrow {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  display: inline-block;
}
.eyebrow--light { color: var(--accent-2); }
.section__head h2,
.section-head h2 {
  font-family: var(--font);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: var(--text);
}
.section__sub,
.section-sub {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 96, 248, 0.4);
  background: var(--bg-card-hover);
}
.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  color: var(--accent-2);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card h3 {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.55;
}

/* Tour */
.tour {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.tour__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tour__tab {
  padding: 1.1rem 0.75rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
}
.tour__tab:hover { color: var(--text); background: var(--bg-card); }
.tour__tab.active {
  color: var(--accent-2);
  background: var(--bg-card);
  border-bottom-color: var(--primary);
}
.tour__num {
  font-size: 0.7rem;
  font-family: ui-monospace, monospace;
  color: var(--text-dim);
  font-weight: 500;
}
.tour__tab.active .tour__num { color: var(--primary); }
.tour__panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.25rem;
  align-items: center;
  animation: fadeUp 0.4s var(--ease);
}
.tour__panel.active {
  display: grid;
}
.tour__panel[hidden] {
  display: none !important;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tour__content h3 {
  font-family: var(--font);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--accent-2);
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.check-list--light li { color: var(--text-muted); }

/* Mock panels */
.mock-panel {
  background: linear-gradient(180deg, #0a0a14, #12121c);
  border-radius: 20px;
  padding: 1.15rem;
  color: #e2e8f0;
  min-height: 380px;
  position: relative;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 100%;
}
.mock-panel__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.9rem;
  color: #fff;
}
.mock-plus {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.mock-search {
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}
.mock-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.mock-sub, .mock-expense {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mock-sub__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}
.mock-sub__icon.red { background: #ef4444; }
.mock-sub__icon.blue { background: #3b82f6; }
.mock-sub__icon.green { background: #10b981; }
.mock-sub__icon.accent, .mock-sub__icon.teal { background: #0060f8; }
.mock-sub strong, .mock-expense strong { display: block; font-size: 0.88rem; color: #f8fafc; }
.mock-sub small, .mock-expense small { color: #94a3b8; font-size: 0.72rem; }
.mock-sub__right { text-align: right; }
.mock-sub__right strong { font-family: ui-monospace, monospace; font-size: 0.82rem; }
.mock-sub__right .warn { color: #fbbf24; }
.mock-expense__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.mock-amt { font-family: ui-monospace, monospace; font-size: 0.85rem; color: #f1f5f9; }
.mock-date { font-size: 0.8rem; font-weight: 500; color: #94a3b8; }
.mock-fab {
  position: absolute;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px var(--primary-glow);
  border: none;
  cursor: default;
  line-height: 1;
}
.mock-safe-banner {
  background: var(--gradient);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1.1rem;
}
.mock-safe-banner small {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-safe-banner strong {
  font-size: 1.5rem;
  font-family: ui-monospace, monospace;
  color: #fff;
}
.budget-row { margin-bottom: 1rem; }
.budget-row__top {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
  color: #cbd5e1;
}
.budget-row__top .over { color: #f87171; font-weight: 600; }
.bar {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: var(--gradient);
  border-radius: 99px;
}
.bar--over i { background: linear-gradient(90deg, #f87171, #ef4444); }
.bar--accent i, .bar--teal i { background: var(--gradient); }
.goal-card {
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(0, 96, 248, 0.12);
  border: 1px solid rgba(0, 96, 248, 0.25);
  border-radius: 14px;
}
.goal-card small {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a0c8f8;
}
.goal-card strong {
  display: block;
  font-size: 1rem;
  color: #fff;
  margin: 0.2rem 0 0.6rem;
}
.goal-card > span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: #94a3b8;
}
.chart-pie {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0.5rem auto 1.25rem;
}
.chart-pie__ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(
    #0060f8 0 28%,
    #6366f1 28% 50%,
    #f59e0b 50% 68%,
    #ec4899 68% 100%
  );
  mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 21px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 22px), #000 calc(100% - 21px));
}
.chart-pie__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.chart-pie__center small { color: #94a3b8; font-size: 0.7rem; }
.chart-pie__center strong {
  font-family: ui-monospace, monospace;
  font-size: 1rem;
  color: #fff;
}
.chart-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.75rem;
  font-size: 0.75rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}
.chart-legend i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.35rem;
}
.mom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.9rem;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  font-size: 0.85rem;
}
.mom .down { color: #34d399; font-weight: 600; }

/* More grid */
.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.more-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, background 0.2s;
}
.more-card:hover {
  border-color: rgba(0, 96, 248, 0.4);
  background: var(--bg-card-hover);
}
.more-card h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text);
}
.more-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Privacy / daily */
.privacy {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.privacy__copy h2 {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.privacy__copy > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  max-width: 36rem;
}
.privacy__copy strong { color: var(--accent-2); }
.lock-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  max-width: 320px;
  margin-inline: auto;
}
.lock-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 20px;
  background: var(--gradient);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px var(--primary-glow);
}
.lock-card__icon svg { width: 28px; height: 28px; }
.lock-card > p {
  font-family: var(--font);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.lock-card__blur {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  filter: blur(3px);
  user-select: none;
  font-family: ui-monospace, monospace;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.daily {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.daily-card {
  background: linear-gradient(160deg, rgba(0, 96, 248, 0.25), var(--bg-card) 50%, #0a0a14);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(0, 96, 248, 0.3);
  box-shadow: var(--shadow);
}
.daily-card__icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 1rem;
}
.daily-card h3 {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.daily-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.daily-card li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.daily-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
}
.daily__copy h2 {
  font-family: var(--font);
  font-size: clamp(1.6rem, 2.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--text);
}
.daily__copy > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 36rem;
}
.daily-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.daily-highlights div {
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.daily-highlights strong {
  display: block;
  color: var(--accent-2);
  font-family: var(--font);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}
.daily-highlights span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Swatches */
.swatches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.swatch {
  border-radius: var(--radius);
  padding: 2rem 1.25rem 1.25rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.swatch span {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.swatch code {
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  opacity: 0.85;
}
.swatch--blue { background: #0060f8; color: #fff; }
.swatch--blue-light { background: #a0c8f8; color: #002f85; }
.swatch--gray { background: #1f2937; color: #fff; }
.swatch--ink { background: #07070c; color: #fff; border-color: rgba(255,255,255,0.1); }

/* CTA */
.cta {
  padding: 5rem 0 6rem;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(0, 96, 248, 0.14), transparent 70%),
    var(--bg);
}
.cta__inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.cta__badge {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.cta h2 {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.cta__inner > p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
}
.cta__inner .hero__actions {
  justify-content: center;
  flex-wrap: wrap;
}
.cta__note {
  margin-top: 1.25rem !important;
  font-size: 0.875rem !important;
  color: var(--text-dim) !important;
}

/* ========== Footer (RA Apps family) ========== */
.site-footer,
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}
.footer-inner,
.footer__inner {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(0, 2fr);
  gap: 2.5rem;
  align-items: start;
}
.footer-brand,
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}
.footer-brand p,
.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  min-width: 0;
}
.footer-links h4 {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}
.footer-links a,
.footer-links p {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-company {
  font-family: var(--font);
  font-weight: 700 !important;
  color: var(--text) !important;
  font-size: 1rem !important;
}
.footer-meta {
  font-size: 0.8rem !important;
  color: var(--text-dim) !important;
  line-height: 1.45;
}
.footer-bottom,
.footer__copy {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}
/* compact footer fallback */
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer__links a:hover { color: var(--accent-2); }

/* ========== Legal / support pages ========== */
.page-body {
  background: var(--bg);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.page-main {
  flex: 1;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  width: 100%;
}
.page-main > .container {
  width: min(100% - 2.5rem, var(--max));
}
.page-hero {
  padding: 0.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  max-width: 720px;
  margin-inline: auto;
}
.page-hero h1 {
  font-family: var(--font);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.65rem;
  color: var(--text);
}
.page-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.page-meta a {
  color: var(--accent-2);
  font-weight: 600;
}
.page-meta a:hover { text-decoration: underline; }

.legal {
  max-width: 720px;
  margin: 0 auto;
}
.legal h2 {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}
.legal h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.35rem 0 0.5rem;
  color: var(--text);
}
.legal p, .legal li {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}
.legal ul, .legal ol {
  margin: 0 0 1rem 1.35rem;
  padding-left: 0.25rem;
  list-style: disc;
}
.legal ol { list-style: decimal; }
.legal li {
  margin-bottom: 0.45rem;
  display: list-item;
  list-style: inherit;
}
.legal a {
  color: var(--accent-2);
  font-weight: 600;
}
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--text); }
.legal .callout,
.legal-lang-note {
  background: var(--primary-soft);
  border: 1px solid rgba(0, 96, 248, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  margin: 0 auto 1.5rem;
  max-width: 720px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: block;
}
.legal-lang-note.legal {
  /* avoid double .legal box model quirks */
  margin-left: auto;
  margin-right: auto;
}
.legal .callout p { margin-bottom: 0; color: var(--text-muted); }

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.support-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--bg-card);
  transition: border-color 0.2s, background 0.2s;
}
.support-card:hover {
  border-color: rgba(0, 96, 248, 0.4);
  background: var(--bg-card-hover);
}
.support-card h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--text);
}
.support-card p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.support-card a.btn {
  width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  min-height: 2.5rem;
}

.faq details,
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 1.1rem;
  margin-bottom: 0.65rem;
  background: var(--bg-card);
}
.faq summary,
.faq-item summary {
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
}
.faq summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker { display: none; }
.faq summary::after,
.faq-item summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.faq details[open] summary::after,
.faq-item[open] summary::after { content: "−"; }
.faq details p,
.faq-item p {
  margin: 0;
  padding: 0 0 1.15rem;
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Disclaimer strip */
.disclaimer-strip {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.disclaimer-strip .container {
  width: min(100% - 2.5rem, var(--max));
}
.disclaimer-strip p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
  text-align: center;
  padding: 0 0.25rem;
}
.disclaimer-strip a {
  color: var(--accent-2);
  font-weight: 600;
}

/* RTL */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .check-list li {
  padding-left: 0;
  padding-right: 1.75rem;
}
html[dir="rtl"] .check-list li::before {
  left: auto;
  right: 0;
}
html[dir="rtl"] .lang-select {
  background-position: left 0.7rem center;
  padding: 0 0.85rem 0 1.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__phone { order: -1; }
  .phone-float { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .tour__panel { grid-template-columns: 1fr; }
  .privacy, .daily { grid-template-columns: 1fr; gap: 2rem; }
  .daily__visual { order: -1; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .footer-inner, .footer__inner { grid-template-columns: 1fr; }
}

/* Tablet: hide long nav labels, keep essentials in menu earlier */
@media (max-width: 1100px) {
  .nav__links a[href="#privacy"],
  .nav__links a[href="#daily"],
  .nav__links a[href="#tabs"] {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav__toggle,
  .menu-toggle {
    display: flex;
  }
  /* Only the link list becomes a drawer — never the header itself */
  .nav__links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    flex: none;
    background: rgba(7, 7, 12, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0.35rem 1rem 1rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s var(--ease), opacity 0.28s, visibility 0.28s;
    margin: 0;
    height: auto;
    max-height: min(70vh, 480px);
    overflow-y: auto;
    width: 100%;
    z-index: 99;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }
  html[data-theme="light"] .nav__links {
    background: rgba(246, 247, 251, 0.98);
  }
  .nav__links a[href="#privacy"],
  .nav__links a[href="#daily"],
  .nav__links a[href="#tabs"] {
    display: block; /* restore hidden links inside mobile menu */
  }
  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav__links a {
    padding: 0.9rem 0.35rem;
    border-bottom: 1px solid var(--border);
    white-space: normal;
  }
  .nav__links a.btn,
  .nav__links a.btn--primary {
    margin-top: 0.65rem;
    text-align: center;
    justify-content: center;
    border-bottom: none !important;
    width: 100%;
  }
  header.nav.open .nav__toggle span:nth-child(1),
  #nav.open .nav__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  header.nav.open .nav__toggle span:nth-child(2),
  #nav.open .nav__toggle span:nth-child(2) {
    opacity: 0;
  }
  header.nav.open .nav__toggle span:nth-child(3),
  #nav.open .nav__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .tour__tabs { grid-template-columns: 1fr 1fr; }
  .tour__panel { padding: 1.25rem; }
  .feature-grid,
  .more-grid,
  .support-grid,
  .footer-links,
  .daily-highlights {
    grid-template-columns: 1fr;
  }
  .phone-float { display: none; }
  .section { padding: 3.5rem 0; }
  .lang-select {
    max-width: 7.25rem;
    min-width: 0;
    font-size: 0.75rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero__stats {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .phone {
    width: 100%;
    max-width: 280px;
  }
  .cta__inner .hero__actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

::selection {
  background: rgba(0, 96, 248, 0.35);
  color: #fff;
}

/* ========== About page (Streamflex-aligned) ========== */
.about-page {
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
  background:
    radial-gradient(ellipse 55% 35% at 50% 0%, rgba(0, 96, 248, 0.12), transparent 55%),
    var(--bg);
  flex: 1;
}
.about-wrap {
  max-width: 40rem;
  margin: 0 auto;
}
.about-intro {
  text-align: center;
  margin-bottom: 3rem;
}
.about-logo-simple {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 16px;
  margin: 0 auto 1.25rem;
  display: block;
  box-shadow: 0 10px 32px rgba(0, 96, 248, 0.28);
}
.about-intro .eyebrow { margin-bottom: 0.5rem; }
.about-intro h1 {
  font-family: var(--font);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text);
}
.about-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 34rem;
  margin: 0 auto;
}
.about-block { margin-bottom: 2.75rem; }
.about-block h2 {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.about-steps {
  list-style: none;
  display: grid;
  gap: 1.15rem;
}
.about-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.about-step-n {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 4px 14px rgba(0, 96, 248, 0.3);
}
.about-steps h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.about-steps p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}
.about-features {
  list-style: none;
  display: grid;
  gap: 1rem;
}
.about-features li {
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.about-features strong {
  display: block;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.about-features span {
  display: block;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.about-truth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-truth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.about-truth-card.yes { border-color: rgba(61, 214, 140, 0.3); }
.about-truth-card.no { border-color: rgba(0, 96, 248, 0.35); }
.about-truth-card h3 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text);
}
.about-truth-card h3 em {
  font-style: normal;
  color: var(--primary);
}
.about-truth-card.yes h3 em { color: #3dd68c; }
.about-truth-card ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.about-truth-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
  padding-left: 1.1rem;
  position: relative;
}
.about-truth-card.yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3dd68c;
  font-weight: 700;
}
.about-truth-card.no li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
}
.about-footnote {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.about-company .about-body {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.about-company .about-body a {
  color: var(--accent-2);
  font-weight: 600;
}
.about-company .about-body a:hover { text-decoration: underline; }
.about-dl {
  display: grid;
  gap: 1rem;
}
.about-dl dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
  font-family: var(--font);
}
.about-dl dd {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.4;
}
.about-dl a {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
}
.about-dl a:hover { text-decoration: underline; }
.about-app-cta {
  text-align: center;
  margin: 0 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.about-links a {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.about-links a:hover { color: var(--accent-2); }
@media (max-width: 640px) {
  .about-truth { grid-template-columns: 1fr; }
}
