:root {
  --bg: #07140d;
  --bg-soft: #102417;
  --panel: rgba(15, 39, 23, 0.58);
  --panel-strong: rgba(17, 49, 27, 0.82);
  --line: rgba(178, 255, 188, 0.14);
  --text: #f5fff4;
  --muted: #b6d7bb;
  --brand: #7dff87;
  --brand-deep: #12a34f;
  --brand-gold: #f6dd74;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(92, 255, 122, 0.2), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(246, 221, 116, 0.12), transparent 20%),
    linear-gradient(180deg, #06120b 0%, #081710 45%, #06120b 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  --pointer-x: 50%;
  --pointer-y: 30%;
}

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

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

.page-shell {
  position: relative;
  isolation: isolate;
}

.spotlight,
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.spotlight {
  z-index: -4;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(163, 255, 141, 0.14), transparent 16%),
    radial-gradient(circle at calc(var(--pointer-x) + 12%) calc(var(--pointer-y) + 8%), rgba(246, 221, 116, 0.08), transparent 18%);
  transition: background 120ms linear;
}

.noise-overlay {
  z-index: -1;
  opacity: 0.08;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.18) 0.6px, transparent 0.8px);
  background-size: 14px 14px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 88%);
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.7;
  pointer-events: none;
  z-index: -3;
}

.ambient-one {
  width: 18rem;
  height: 18rem;
  top: 5rem;
  left: -4rem;
  background: rgba(66, 255, 104, 0.16);
  animation: drift 14s ease-in-out infinite;
}

.ambient-two {
  width: 24rem;
  height: 24rem;
  top: 22rem;
  right: -6rem;
  background: rgba(246, 221, 116, 0.1);
  animation: drift 18s ease-in-out infinite reverse;
}

.grid-overlay {
  position: fixed;
  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(circle at center, black, transparent 78%);
  pointer-events: none;
  z-index: -2;
}

.topbar,
.section,
.marquee {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.9rem 1.1rem;
  margin-top: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(188, 255, 195, 0.12);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 28%, rgba(255, 255, 255, 0.03) 72%, rgba(255, 255, 255, 0.08)),
    rgba(8, 28, 16, 0.72);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px) saturate(160%);
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
  overflow: visible;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 28%, transparent 72%, rgba(180, 255, 134, 0.12));
  pointer-events: none;
  opacity: 0.9;
}

.topbar.scrolled {
  transform: translateY(-0.15rem) scale(0.995);
  border-color: rgba(188, 255, 195, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 28%, rgba(255, 255, 255, 0.04) 72%, rgba(255, 255, 255, 0.08)),
    rgba(7, 25, 14, 0.82);
  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.brand img {
  width: 2.6rem;
  height: 2.6rem;
}

.logo-badge {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.98), rgba(239, 245, 240, 0.9) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 240, 233, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.logo-badge-small {
  width: 3rem;
  height: 3rem;
}

.logo-badge-small img {
  width: 2.3rem;
  height: 2.3rem;
}

.logo-badge-tiny {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.9rem;
}

.nav {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--muted);
  position: relative;
  z-index: 1;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(188, 255, 195, 0.08);
}

.nav a {
  position: relative;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  transition:
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0.85rem 0.45rem;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  transition: transform 220ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.active::after {
  transform: scaleX(1);
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  color: #f5fff4;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.section {
  padding: 5rem 0;
}

.hero {
  min-height: calc(100vh - 5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
  padding-top: 3rem;
  position: relative;
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: #a2edaa;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.95rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(188, 255, 195, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(10, 34, 19, 0.58);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: #e1f5df;
  font-size: 0.92rem;
  backdrop-filter: blur(16px);
}

.chip-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: radial-gradient(circle, #d7ff9e 0 38%, #6cff8b 40% 100%);
  box-shadow: 0 0 18px rgba(140, 255, 120, 0.5);
  animation: chipPulse 2.6s ease-in-out infinite;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(3.8rem, 8vw, 6.7rem);
  max-width: 10ch;
}

.hero h1 span {
  color: #9dff92;
  display: inline-block;
}

.lede,
.section-heading,
.experience-copy p,
.security-copy p,
.cta-shell p {
  color: var(--muted);
}

.lede {
  max-width: 38rem;
  margin: 1.5rem 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.22), transparent 80%);
  transform: translateX(-140%);
  transition: transform 420ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(140%);
}

.button-primary {
  color: #06220f;
  background: linear-gradient(135deg, #b4ff86 0%, #61ff80 45%, #f6dd74 100%);
  box-shadow: 0 18px 40px rgba(128, 255, 143, 0.24);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  border: 1px solid rgba(180, 255, 186, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.button-ghost {
  z-index: 1;
  min-width: 13.5rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 32px rgba(0, 0, 0, 0.16);
}

.mobile-menu-toggle,
.mobile-menu {
  display: none;
}

.mobile-menu-toggle {
  position: relative;
  z-index: 2;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(188, 255, 195, 0.14);
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 32px rgba(0, 0, 0, 0.18);
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  border-radius: 999px;
  background: #f5fff4;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0;
  right: 0;
  z-index: 25;
  padding: 0.75rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(188, 255, 195, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(8, 28, 16, 0.92);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px) saturate(160%);
}

.mobile-menu.is-open {
  display: grid;
  gap: 0.55rem;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  color: #f1fff0;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(188, 255, 195, 0.08);
  font-weight: 700;
}

.mobile-menu-cta {
  background: linear-gradient(135deg, #b4ff86 0%, #61ff80 45%, #f6dd74 100%) !important;
  color: #06220f !important;
  border-color: transparent !important;
}

.glass {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(188, 255, 195, 0.18);
}

.stat-value {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.stat-label {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-stage {
  position: relative;
  width: min(100%, 30rem);
  perspective: 1200px;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(188, 255, 195, 0.1);
  pointer-events: none;
  animation: spinSlow 18s linear infinite;
}

.orbit-one {
  width: 23rem;
  height: 23rem;
  top: 1rem;
  left: 1rem;
}

.orbit-two {
  width: 29rem;
  height: 29rem;
  top: -2rem;
  left: -2rem;
  border-style: dashed;
  border-color: rgba(246, 221, 116, 0.12);
  animation-duration: 26s;
  animation-direction: reverse;
}

.phone-shadow {
  position: absolute;
  inset: auto 8% -2rem;
  height: 4rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  filter: blur(30px);
}

.phone-frame {
  position: relative;
  overflow: hidden;
  border-radius: 2.4rem;
  padding: 1.1rem;
  transform: rotateY(-13deg) rotateX(8deg);
  animation: frameFloat 7s ease-in-out infinite;
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 30%),
    linear-gradient(180deg, rgba(144, 255, 159, 0.18), transparent 60%);
  pointer-events: none;
}

.phone-header,
.phone-brand {
  display: flex;
  align-items: center;
}

.phone-header {
  justify-content: space-between;
  margin-bottom: 1rem;
}

.phone-brand {
  gap: 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.phone-brand img {
  width: 1.7rem;
  height: 1.7rem;
}

.sync-pill,
.trend-up,
.stack-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(173, 255, 173, 0.1);
  color: #b8ffc5;
  font-size: 0.8rem;
}

.floating-card p,
.stack-card small,
.stack-card span,
.security-card p,
.feature-card p {
  margin: 0;
  color: var(--muted);
}

.balance-card {
  padding: 1.3rem;
  border-radius: 1.6rem;
  background: linear-gradient(160deg, rgba(126, 255, 137, 0.22), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(187, 255, 192, 0.16);
}

.balance-card p,
.floating-card p,
.stack-card small,
.stack-card span,
.security-card p,
.feature-card p {
  margin: 0;
  color: var(--muted);
}

.balance-card h2 {
  margin: 0.35rem 0 0.8rem;
  font-size: 2.35rem;
  font-family: "Space Grotesk", sans-serif;
}

.floating-card {
  position: absolute;
  right: -2rem;
  width: 13rem;
  padding: 1rem;
  border-radius: 1.15rem;
  background: rgba(7, 18, 11, 0.88);
  border: 1px solid rgba(179, 255, 196, 0.12);
  animation: bob 5s ease-in-out infinite;
}

.floating-card strong,
.stack-card strong {
  display: block;
  margin: 0.35rem 0;
}

.nudge-card {
  top: 6.5rem;
}

.voice-card {
  top: 13.5rem;
  animation-delay: 1.3s;
}

.mini-chart {
  margin-top: 7rem;
  padding: 1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(190, 255, 196, 0.08);
}

.chart-line {
  height: 5rem;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(127, 255, 140, 0.15), transparent),
    linear-gradient(135deg, transparent 0 15%, rgba(127, 255, 140, 0.85) 15% 18%, transparent 18% 28%, rgba(127, 255, 140, 0.85) 28% 31%, transparent 31% 44%, rgba(246, 221, 116, 0.88) 44% 47%, transparent 47% 100%);
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
  margin-top: 1rem;
  align-items: end;
  height: 4rem;
}

.chart-bars span {
  display: block;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #85ff8d, #159949);
}

.chart-bars span:nth-child(1) { height: 35%; }
.chart-bars span:nth-child(2) { height: 55%; }
.chart-bars span:nth-child(3) { height: 48%; }
.chart-bars span:nth-child(4) { height: 76%; }
.chart-bars span:nth-child(5) { height: 68%; }
.chart-bars span:nth-child(6) { height: 92%; }

.expense-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.expense-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.04);
}

.expense-list article div {
  flex: 1;
}

.expense-list article small {
  color: var(--muted);
}

.expense-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
}

.dining {
  background: #f6dd74;
}

.bills {
  background: #70ff8a;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  min-width: max-content;
  animation: marquee 20s linear infinite;
  color: #c7efcb;
  font-family: "Space Grotesk", sans-serif;
}

.marquee-track span::before {
  content: "•";
  margin-right: 2rem;
  color: var(--brand-gold);
}

.story-block {
  padding-top: 6rem;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 14ch;
}

.feature-grid,
.security-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-showcase {
  padding-top: 3.5rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.showcase-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 1rem;
  min-height: 20rem;
  padding: 1.2rem 1.25rem;
  border-radius: calc(var(--radius-lg) + 0.2rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(180, 255, 134, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(10, 29, 17, 0.82);
  border: 1px solid rgba(182, 255, 189, 0.12);
  box-shadow:
    0 24px 44px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
  transform-style: preserve-3d;
}

.showcase-card:hover,
.feature-story:hover,
.security-card:hover,
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(188, 255, 195, 0.18);
  box-shadow:
    0 30px 55px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.showcase-copy {
  width: 100%;
  align-self: start;
}

.showcase-copy h3 {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

.showcase-copy p:last-child {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.showcase-card img,
.feature-story-media img {
  width: auto !important;
  max-width: 100% !important;
  height: auto;
  display: block;
  margin-inline: auto;
}

.showcase-card img {
  width: min(100%, 210px) !important;
  max-width: 210px !important;
  max-height: 290px !important;
  object-fit: contain;
  object-position: center bottom;
  justify-self: center;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.22));
}

.feature-card,
.security-card {
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
  transform-style: preserve-3d;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(180, 255, 134, 0.22), rgba(246, 221, 116, 0.1));
  font-family: "Space Grotesk", sans-serif;
  color: #b8ffc5;
  margin-bottom: 1rem;
}

.feature-card h3,
.security-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.2rem;
}

.feature-stories {
  display: grid;
  gap: 1.2rem;
}

.feature-story {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.25rem;
  border-radius: calc(var(--radius-xl) + 0.3rem);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(20, 48, 29, 0.94), rgba(8, 24, 14, 0.92));
  border: 1px solid rgba(182, 255, 189, 0.12);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
  transform-style: preserve-3d;
}

.feature-story-reverse {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.feature-story-reverse .feature-story-media {
  order: 2;
}

.feature-story-reverse .feature-story-copy {
  order: 1;
}

.feature-story-media {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 24rem;
  padding: 1.2rem;
  border-radius: calc(var(--radius-lg) + 0.35rem);
  background:
    radial-gradient(circle at 50% 18%, rgba(180, 255, 134, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(11, 30, 18, 0.9);
  border: 1px solid rgba(190, 255, 196, 0.1);
  overflow: hidden;
}

.feature-story-media img {
  width: min(100%, 280px) !important;
  max-width: 280px !important;
  max-height: 380px !important;
  object-fit: contain;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.24));
}

.feature-story-copy h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 0.35rem;
}

.feature-story-copy p {
  color: var(--muted);
  line-height: 1.72;
  max-width: 40rem;
  font-size: 1.02rem;
}

.story-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: #d7f2da;
  font-size: 0.98rem;
  line-height: 1.7;
}

.story-list li + li {
  margin-top: 0.55rem;
}

.experience-panel {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 1.5rem;
  padding: 1.4rem;
  border-radius: calc(var(--radius-xl) + 0.5rem);
}

.experience-copy {
  padding: 1rem;
}

.experience-copy h2 {
  max-width: 10ch;
}

.experience-points {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.experience-points strong,
.expense-list article strong {
  display: block;
  margin-bottom: 0.2rem;
}

.experience-points span {
  color: var(--muted);
}

.experience-stack {
  position: relative;
  min-height: 26rem;
}

.stack-card {
  position: absolute;
  width: min(100%, 22rem);
  right: 0;
  padding: 1.2rem;
  border-radius: 1.4rem;
  background: var(--panel-strong);
  border: 1px solid rgba(195, 255, 196, 0.14);
  box-shadow: var(--shadow);
}

.stack-card.top {
  top: 0;
  transform: rotate(-4deg);
}

.stack-card.middle {
  top: 8rem;
  transform: rotate(3deg);
}

.stack-card.bottom {
  top: 15.4rem;
  transform: rotate(-2deg);
}

.progress-bar {
  height: 0.8rem;
  margin: 0.8rem 0 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #85ff8d, #f6dd74);
}

.security {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.4rem;
  align-items: start;
}

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

.cta-section {
  padding-bottom: 6rem;
}

.cta-shell {
  padding: 2rem;
  border-radius: calc(var(--radius-xl) + 0.4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-shell::before {
  content: "";
  position: absolute;
  inset: -20% 25% auto;
  height: 8rem;
  background: radial-gradient(circle, rgba(180, 255, 134, 0.18), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.showcase-card,
.feature-card,
.feature-story,
.security-card,
.cta-shell {
  position: relative;
}

.showcase-card::after,
.feature-story::after,
.feature-card::after,
.security-card::after,
.cta-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.1), transparent 24%, transparent 72%, rgba(180, 255, 134, 0.08));
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.showcase-card:hover::after,
.feature-story:hover::after,
.feature-card:hover::after,
.security-card:hover::after,
.cta-shell:hover::after {
  opacity: 1;
}

.contact-line {
  margin-top: 1rem;
  font-weight: 600;
}

.contact-line a {
  color: #dffff0;
  border-bottom: 1px solid rgba(223, 255, 240, 0.35);
}

.cta-shell h2 {
  max-width: none;
}

.cta-shell .hero-actions {
  justify-content: center;
}

.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto 3rem;
  padding: 1.25rem 1rem 0;
  text-align: center;
  color: var(--muted);
}

.site-footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
}

.site-footer-links a {
  color: #dfffe2;
  font-weight: 700;
  border-bottom: 1px solid rgba(223, 255, 226, 0.2);
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

@keyframes drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(1.5rem, -1rem, 0) scale(1.08);
  }
}

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

@keyframes chipPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(140, 255, 120, 0.38);
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 24px rgba(140, 255, 120, 0.56);
  }
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes frameFloat {
  0%, 100% {
    transform: rotateY(-13deg) rotateX(8deg) translateY(0);
  }
  50% {
    transform: rotateY(-10deg) rotateX(7deg) translateY(-10px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow:
      0 0 0 rgba(127, 255, 140, 0),
      0 20px 40px rgba(0, 0, 0, 0.14);
  }
  50% {
    box-shadow:
      0 0 32px rgba(127, 255, 140, 0.16),
      0 20px 40px rgba(0, 0, 0, 0.18);
  }
}

.logo-badge-small {
  animation: pulseGlow 4.8s ease-in-out infinite;
}

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

@media (max-width: 1080px) {
  .topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .nav,
  .button-ghost {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
    justify-self: end;
    align-self: center;
    flex-shrink: 0;
    visibility: visible;
    opacity: 1;
    appearance: none;
    -webkit-appearance: none;
  }

  .hero,
  .experience-panel,
  .security {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .feature-grid,
  .showcase-grid,
  .hero-stats,
  .security-grid {
    grid-template-columns: 1fr 1fr;
  }

  .showcase-card {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .feature-story,
  .feature-story-reverse {
    grid-template-columns: 1fr;
  }

  .feature-story-reverse .feature-story-media,
  .feature-story-reverse .feature-story-copy {
    order: initial;
  }

  .experience-stack {
    min-height: unset;
    display: grid;
    gap: 1rem;
  }

  .stack-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    transform: none !important;
  }
}

@media (max-width: 760px) {
  .topbar {
    top: 0.75rem;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 1.25rem;
  }

  .brand {
    justify-content: flex-start;
    font-size: 1rem;
    gap: 0.7rem;
    min-width: 0;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav {
    display: none;
  }

  .button-ghost {
    display: none;
  }

  .mobile-menu-toggle {
    justify-self: end;
    align-self: center;
    flex-shrink: 0;
  }

  .section {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .feature-grid,
  .showcase-grid,
  .hero-stats,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .experience-panel {
    overflow: hidden;
  }

  .experience-stack {
    display: none;
  }

  .experience-copy {
    padding: 0.4rem 0.2rem;
  }

  .section h2,
  .feature-story-copy h2,
  .security-copy h2,
  .cta-shell h2 {
    font-size: clamp(2rem, 11vw, 3rem);
    max-width: 100%;
  }

  .security {
    gap: 1rem;
  }

  .security-copy {
    position: relative;
    z-index: 2;
    padding-top: 0.25rem;
  }

  .showcase-card img,
  .feature-story-media img {
    max-width: 13rem;
    max-height: 19rem;
  }

  .showcase-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .feature-story-media {
    min-height: 20rem;
  }

  .phone-frame {
    transform: none;
    padding-bottom: 1.2rem;
    animation: none;
  }

  .floating-card {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    margin-top: 0.8rem;
    animation: none;
  }

  .mini-chart {
    margin-top: 1rem;
  }

  .experience-stack {
    gap: 0.85rem;
  }

  .hero-orbit {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
