﻿/* Robinhood Wallet - Robin Neon / Forest */
:root {
  /* Robin Neon - yellow-lime forest glow */
  --neon: #ccff00;
  --neon-hot: #e8ff5a;
  --neon-deep: #a8d600;
  --neon-soft: rgba(204, 255, 0, 0.14);
  --neon-glow: rgba(204, 255, 0, 0.42);
  --neon-ink: #0a0f00;
  /* Forest night */
  --bg: #050705;
  --bg-elevated: #0a0f08;
  --surface: #10150e;
  --surface-2: #161c12;
  --forest: #1a2e14;
  --forest-mid: #243820;
  --border: rgba(204, 255, 0, 0.08);
  --border-strong: rgba(204, 255, 0, 0.18);
  --text: #f5f7f0;
  --muted: #8a9378;
  --danger: #ff5a1f;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --radius: 12px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

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

/* Ambient */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orb-drift 18s var(--ease) infinite alternate;
}

.ambient-orb--a {
  width: 55vw;
  height: 55vw;
  top: -15%;
  right: -10%;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.2), transparent 70%);
}

.ambient-orb--b {
  width: 42vw;
  height: 42vw;
  bottom: 8%;
  left: -12%;
  background: radial-gradient(circle, rgba(36, 56, 32, 0.85), rgba(204, 255, 0, 0.06) 45%, transparent 70%);
  animation-delay: -6s;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image:
    linear-gradient(rgba(204, 255, 0, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 255, 0, 0.55) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 72%);
}

.ambient-canopy {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background:
    radial-gradient(ellipse 80% 40% at 20% -5%, rgba(204, 255, 0, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 35% at 85% 0%, rgba(36, 56, 32, 0.9), transparent 50%),
    linear-gradient(180deg, rgba(5, 7, 5, 0) 40%, rgba(10, 18, 8, 0.5) 100%);
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-4%, 6%) scale(1.08); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  transition: transform 0.25s var(--ease), background 0.2s, box-shadow 0.25s, border-color 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--neon);
  color: var(--neon-ink);
  box-shadow: 0 0 0 0 transparent, 0 8px 28px rgba(204, 255, 0, 0.22);
}

.btn-primary:hover {
  background: var(--neon-hot);
  transform: translateY(-2px);
  box-shadow: 0 0 36px var(--neon-glow), 0 12px 32px rgba(204, 255, 0, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

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

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 0.95rem;
}

.text-link {
  display: inline-flex;
  margin-top: 1.25rem;
  color: var(--neon);
  font-weight: 600;
  transition: opacity 0.2s;
}

.text-link:hover {
  opacity: 0.8;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s, height 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.shrink {
  height: 64px;
  background: rgba(5, 7, 5, 0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-brand-text strong {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-brand-text small {
  font-size: 0.7rem;
  color: var(--neon);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

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

.nav-x {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-x:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: calc(var(--nav-h) + 2.5rem) clamp(1.25rem, 4vw, 3rem) 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.55;
  animation: hero- ken 28s ease-in-out infinite alternate;
}

@keyframes hero-ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero-bg-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 7, 5, 0.97) 0%, rgba(10, 18, 8, 0.82) 45%, rgba(5, 7, 5, 0.55) 100%),
    linear-gradient(180deg, rgba(204, 255, 0, 0.04) 0%, rgba(5, 7, 5, 0.2) 40%, rgba(5, 7, 5, 0.96) 100%);
}

.hero-content,
.phone {
  position: relative;
  z-index: 1;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 1.1rem;
  background: linear-gradient(115deg, #fff 12%, var(--neon) 78%, var(--neon-hot) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brand-in 1s var(--ease) both;
  text-shadow: 0 0 60px rgba(204, 255, 0, 0.15);
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 1rem;
  max-width: 20ch;
  animation: brand-in 1s var(--ease) 0.1s both;
}

.hero-title span {
  color: var(--muted);
  font-weight: 600;
}

.hero-lead {
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  animation: brand-in 1s var(--ease) 0.18s both;
}

.hero-lead strong {
  color: var(--neon);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  animation: brand-in 1s var(--ease) 0.26s both;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 420px;
  animation: brand-in 1s var(--ease) 0.34s both;
}

.hero-meta > div {
  padding: 0.85rem 0.9rem;
  border-top: 1px solid var(--border-strong);
}

.hero-meta dt {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.hero-meta dd {
  font-weight: 700;
  font-size: 0.88rem;
}

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

/* Phone / Wallet UI */
.phone {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: phone-in 1.1s var(--ease) 0.2s both;
}

@keyframes phone-in {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.phone-chrome {
  position: relative;
  width: min(100%, 340px);
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(160deg, #243820, #0a0f08);
  border: 1px solid var(--border-strong);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(204, 255, 0, 0.12),
    0 0 48px rgba(204, 255, 0, 0.08),
    inset 0 1px 0 rgba(204, 255, 0, 0.1);
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease);
}

.phone-notch {
  width: 96px;
  height: 22px;
  margin: 6px auto 10px;
  background: #050605;
  border-radius: 20px;
}

.wallet-app {
  background: linear-gradient(180deg, #101310 0%, #0a0c0a 100%);
  border-radius: 28px;
  padding: 1rem 1.1rem 1.25rem;
  min-height: 560px;
}

.wallet-top {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

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

.wallet-app-name {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 700;
}

.wallet-scan {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--muted);
}

.wallet-balance-label {
  font-size: 0.75rem;
  color: var(--muted);
}

.wallet-balance-value {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.2rem 0;
  color: var(--neon);
}

.wallet-balance-change {
  font-size: 0.8rem;
  color: var(--muted);
}

.wallet-balance-change span {
  color: var(--neon);
  font-weight: 700;
}

.wallet-chart {
  margin: 1rem -0.25rem 1.15rem;
  height: 72px;
}

.wallet-chart svg {
  width: 100%;
  height: 100%;
}

.chart-line {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw-line 2s var(--ease) 0.6s forwards;
}

.chart-area {
  opacity: 0;
  animation: fade-area 1.2s ease 1.2s forwards;
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

@keyframes fade-area {
  to { opacity: 1; }
}

.wallet-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.wallet-actions button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.55rem 0.2rem;
  border-radius: 14px;
  transition: background 0.2s, color 0.2s;
}

.wallet-actions button:hover {
  background: var(--surface-2);
  color: var(--text);
}

.wa-ico {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--neon);
  color: var(--neon-ink);
  font-size: 1rem;
  font-weight: 700;
}

.wallet-assets {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.asset-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.asset-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.asset-row--featured {
  border-color: rgba(204, 255, 0, 0.35);
  background: linear-gradient(135deg, rgba(204, 255, 0, 0.12), rgba(204, 255, 0, 0.03));
  animation: pulse-border 3.5s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204, 255, 0, 0); }
  50% { box-shadow: 0 0 24px rgba(204, 255, 0, 0.18); }
}

.asset-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--surface-2);
}

.asset-icon--wallet {
  background: #0a1a0a;
  overflow: hidden;
}

.asset-icon--wallet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.asset-icon--eth {
  color: #8eb4ff;
}

.asset-icon--btc {
  color: #f7931a;
}

.asset-info strong,
.asset-val strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.2;
}

.asset-info span,
.asset-val span {
  font-size: 0.72rem;
  color: var(--muted);
}

.asset-val {
  text-align: right;
}

.asset-val .up {
  color: var(--neon);
}

.asset-val .down {
  color: var(--danger);
}

.phone-glow {
  position: absolute;
  width: 70%;
  height: 40%;
  bottom: -5%;
  left: 15%;
  background: radial-gradient(ellipse, rgba(204, 255, 0, 0.35), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

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

/* Marquee */
.marquee {
  border-block: 1px solid var(--border);
  background: rgba(204, 255, 0, 0.04);
  overflow: hidden;
  padding: 0.9rem 0;
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee-track span:nth-child(odd) {
  color: var(--neon);
}

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

/* Sections */
.section {
  padding: clamp(4.5rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
  max-width: 1120px;
  margin: 0 auto;
}

.section-intro {
  max-width: 560px;
  margin-bottom: 2.75rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 0.75rem;
}

.section-intro h2,
.about-copy h2,
.join-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 0.85rem;
}

.section-intro p,
.about-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-intro strong,
.about-copy strong {
  color: var(--text);
}

/* Features */
.feature-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s var(--ease), background 0.25s;
}

.feature:hover {
  border-color: rgba(204, 255, 0, 0.4);
  transform: translateY(-4px);
  background: var(--surface-2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--neon-soft);
  color: var(--neon);
  margin-bottom: 1.1rem;
}

.feature h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

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

/* About */
.section--about {
  max-width: none;
  padding-inline: 0;
  background:
    radial-gradient(800px 400px at 80% 50%, rgba(204, 255, 0, 0.08), transparent 70%),
    var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.about-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.stat {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  font-style: italic;
  color: var(--neon);
  margin-bottom: 0.3rem;
}

.stat span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Steps */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s;
}

.step:hover {
  border-color: rgba(204, 255, 0, 0.35);
}

.step-num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  font-style: italic;
  color: var(--neon);
  line-height: 1;
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

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

.ca-panel {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(204, 255, 0, 0.25);
  margin-bottom: 1.5rem;
}

.ca-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.ca-chain {
  color: var(--neon);
  font-weight: 700;
}

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

.ca-row code {
  flex: 1;
  min-width: 0;
  font-size: clamp(0.7rem, 2vw, 0.9rem);
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--text);
}

.buy-cta {
  text-align: center;
}

/* Chart */
.chart-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a0c0a;
  min-height: 420px;
}

.chart-frame iframe {
  width: 100%;
  height: 480px;
  border: 0;
  display: block;
}

/* Join */
.join {
  max-width: 1120px;
}

.join-panel {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
}

.join-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.join-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 5, 0.25), rgba(5, 7, 5, 0.92));
}

.join-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 420px;
}

.join-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin: 0 auto 1rem;
  object-fit: cover;
  box-shadow: 0 0 40px rgba(204, 255, 0, 0.35);
}

.join-copy p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.join-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

.join-copy .btn {
  margin-inline: 0;
}

/* Footer */
.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
}

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

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

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.footer-brand span {
  font-size: 0.75rem;
  color: var(--neon);
  font-weight: 600;
}

.footer-note {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 420px;
}

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

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--neon);
  color: var(--neon-ink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  z-index: 200;
  transition: transform 0.35s var(--ease);
  box-shadow: 0 12px 40px rgba(204, 255, 0, 0.35);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: calc(var(--nav-h) + 1.5rem);
    text-align: center;
  }

  .hero-title,
  .hero-lead {
    max-width: none;
    margin-inline: auto;
  }

  .hero-cta,
  .hero-meta {
    justify-content: center;
    margin-inline: auto;
  }

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

  .phone {
    order: -1;
    margin-bottom: 0.5rem;
  }

  .phone-chrome {
    width: min(100%, 300px);
  }

  .wallet-app {
    min-height: 500px;
  }

  .feature-rail {
    grid-template-columns: 1fr 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 7, 5, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.9rem 1.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-buy {
    display: none;
  }
}

@media (max-width: 560px) {
  .feature-rail {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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