﻿:root {
  --bg-1: #04100d;
  --bg-2: #0a1a15;
  --bg-3: #123126;
  --card: rgba(9, 24, 18, 0.84);
  --card-strong: rgba(7, 18, 14, 0.94);
  --card-border: rgba(212, 230, 198, 0.12);
  --text: #f8fbf7;
  --muted: rgba(248, 251, 247, 0.7);
  --muted-soft: rgba(248, 251, 247, 0.5);
  --cyan: #74e5c0;
  --blue: #9fd9ff;
  --gold: #d4b86b;
  --rose: #ff8bc8;
  --success: #6ed5a4;
  --danger: #ff8f8f;
  --info: #9fd9ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(212, 184, 107, 0.12), transparent 20%),
    radial-gradient(circle at left bottom, rgba(110, 213, 164, 0.12), transparent 24%),
    linear-gradient(180deg, #173129 0%, var(--bg-2) 42%, var(--bg-1) 100%);
  overflow-x: hidden;
  position: relative;
}

body.modal-open {
  overflow: hidden;
}

.money-layer,
.vignette,
.bg-orb,
.bg-grid,
.bg-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.money-layer {
  overflow: hidden;
  z-index: 0;
  opacity: 1;
}

body.performance-mode .money-layer {
  opacity: 0.92;
}

.vignette {
  z-index: 1;
  background: radial-gradient(circle, transparent 56%, rgba(0, 0, 0, 0.24) 100%);
}

.bg-orb {
  border-radius: 50%;
  filter: blur(76px);
  opacity: 0.14;
}

.bg-orb-1 {
  inset: auto;
  width: 420px;
  height: 420px;
  top: -120px;
  right: -120px;
  background: rgba(100, 225, 255, 0.24);
  animation: floatOrb 12s ease-in-out infinite;
}

.bg-orb-2 {
  inset: auto;
  width: 360px;
  height: 360px;
  bottom: -80px;
  left: -120px;
  background: rgba(130, 174, 255, 0.18);
  animation: floatOrb 14s ease-in-out infinite reverse;
}

.bg-grid {
  z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.035;
}

.bg-lines {
  z-index: 1;
  background:
    radial-gradient(circle at 22% 36%, rgba(100,225,255,0.16) 0 2px, transparent 3px),
    linear-gradient(120deg, transparent 0 48%, rgba(100,225,255,0.07) 50%, transparent 52%),
    linear-gradient(60deg, transparent 0 56%, rgba(130,174,255,0.05) 58%, transparent 60%);
  opacity: 0.28;
}

body.performance-mode .bg-grid,
body.performance-mode .bg-lines {
  display: none;
}

body.performance-mode .bg-orb {
  filter: blur(48px);
  opacity: 0.08;
}

.bill {
  position: absolute;
  top: -12vh;
  left: var(--x, 50vw);
  font-size: var(--s, 48px);
  opacity: var(--o, 0.34);
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.26));
  text-shadow:
    0 0 24px rgba(100, 225, 255, 0.24),
    0 0 34px rgba(217, 187, 102, 0.28);
  transform: translateX(0) rotate(var(--r, 0deg));
  user-select: none;
  animation: fallMoney var(--d, 12s) linear infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

body.performance-mode .bill {
  text-shadow: none;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.12));
}

@keyframes fallMoney {
  0% {
    transform: translate3d(0, -10vh, 0) rotate(var(--r, 0deg));
    opacity: 0;
  }
  8% {
    opacity: var(--o, 0.42);
  }
  25% {
    transform: translate3d(var(--dx25, 16px), 25vh, 0) rotate(calc(var(--r, 0deg) + 18deg));
  }
  55% {
    transform: translate3d(var(--dx55, 40px), 55vh, 0) rotate(calc(var(--r, 0deg) - 14deg));
  }
  80% {
    transform: translate3d(var(--dx80, 64px), 82vh, 0) rotate(calc(var(--r, 0deg) + 12deg));
    opacity: calc(var(--o, 0.42) - 0.08);
  }
  100% {
    transform: translate3d(var(--dx, 80px), 114vh, 0) rotate(calc(var(--r, 0deg) + 22deg));
    opacity: 0;
  }
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-24px) translateX(18px); }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softButtonShift {
  0%, 100% {
    background-position: 0% 50%;
    box-shadow: 0 18px 34px rgba(100,225,255,0.14);
  }
  50% {
    background-position: 100% 50%;
    box-shadow: 0 20px 38px rgba(100,225,255,0.18);
  }
}

@keyframes sweep {
  0% {
    transform: translateX(-160%) rotate(18deg);
    opacity: 0;
  }
  18% {
    opacity: 0.5;
  }
  100% {
    transform: translateX(320%) rotate(18deg);
    opacity: 0;
  }
}

.startup-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0;
  position: relative;
  z-index: 2;
}

.startup-hero {
  width: min(980px, 100%);
  padding: 38px 38px 34px;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(18, 35, 54, 0.82), rgba(9, 18, 31, 0.86)),
    var(--card);
  border: 1px solid rgba(159, 228, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 26px 52px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255,255,255,0.06);
  animation: riseIn 0.7s ease both;
}

body.performance-mode .startup-hero {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
}

.startup-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(100,225,255,0.14), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.04), transparent 55%);
  pointer-events: none;
}

.hero-chip-row,
.hero-benefits {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-chip,
.hero-status,
.benefit-pill,
.visual-label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(100,225,255,0.12), rgba(130,174,255,0.08));
  color: #dff8ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-status {
  color: rgba(244,248,252,0.76);
  background: rgba(255,255,255,0.04);
}

.hero-core {
  max-width: 720px;
  margin: 24px auto 0;
}

.hero-kicker {
  margin: 0 0 12px;
  color: rgba(244,248,252,0.6);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.6rem, 5.2vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.hero-copy {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 14px;
  margin-top: 28px;
}

.visual-card {
  position: relative;
  padding: 18px 18px 16px;
  border-radius: 24px;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)),
    rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 24px rgba(0,0,0,0.14), inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
}

body.performance-mode .visual-card {
  box-shadow: 0 8px 18px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.03);
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100,225,255,0.18), transparent 70%);
}

.visual-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1rem;
}

.visual-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.58;
}

.visual-card-accent {
  background: linear-gradient(180deg, rgba(255,147,170,0.14), rgba(255,255,255,0.03));
}

.visual-card-mini {
  background: linear-gradient(180deg, rgba(217,187,102,0.14), rgba(255,255,255,0.03));
}

.hero-benefits {
  margin-top: 16px;
}

.benefit-pill {
  min-height: 42px;
  padding: 0 16px;
  gap: 10px;
  color: rgba(244,248,252,0.88);
  letter-spacing: normal;
  text-transform: none;
  font-size: 0.88rem;
  font-weight: 600;
}

.benefit-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 14px rgba(100,225,255,0.3);
}

.hero-cta-block {
  margin-top: 28px;
}

.enter-app-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  position: relative;
  min-height: 68px;
  padding: 0 34px;
  border-radius: 22px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #082338;
  background: linear-gradient(135deg, #7deeff 0%, #9bc1ff 58%, #dabb69 100%);
  background-size: 160% 160%;
  box-shadow: 0 18px 34px rgba(100,225,255,0.16);
  overflow: hidden;
  transition: transform 180ms ease, filter 180ms ease;
  animation: softButtonShift 8s ease-in-out infinite;
}

.enter-app-btn:hover {
  transform: translateY(-3px) scale(1.01);
  filter: saturate(1.08);
}

.enter-app-glow,
.btn-glow {
  position: absolute;
  inset: -40% auto auto -10%;
  width: 34%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.34), transparent);
  transform: rotate(18deg);
  animation: sweep 7.6s ease-in-out infinite;
}

.hero-cta-note {
  margin: 14px 0 0;
  color: var(--muted-soft);
  font-size: 0.84rem;
}

.auth-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.auth-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.performance-mode .auth-backdrop {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(4, 10, 18, 0.72);
}

.auth-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  padding: 16px;
  transform: translateY(22px) scale(0.97);
  transition: transform 220ms ease;
}

.auth-modal.is-open .auth-dialog {
  transform: translateY(0) scale(1);
}

.auth-close {
  appearance: none;
  position: absolute;
  top: 26px;
  right: 30px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  z-index: 2;
  font-size: 1.4rem;
  color: rgba(244,248,252,0.86);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 10px 20px rgba(0,0,0,0.16);
}

.auth-card {
  width: 100%;
  padding: 30px 26px 24px;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(18, 35, 54, 0.96), rgba(10, 22, 36, 0.96)),
    var(--card-strong);
  border: 1px solid var(--card-border);
  box-shadow:
    0 32px 56px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255,255,255,0.02),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

body.performance-mode .auth-card {
  box-shadow:
    0 18px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(100,225,255,0.16), transparent 22%),
    radial-gradient(circle at left bottom, rgba(130,174,255,0.1), transparent 18%);
  pointer-events: none;
}

.auth-header {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  display: grid;
  justify-items: center;
}

.logo {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.22), transparent 42%),
    linear-gradient(135deg, rgba(125, 238, 255, 0.18), rgba(155, 193, 255, 0.14));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 18px 34px rgba(87,216,255,0.16);
}

.crest-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.crest-ring,
.crest-shield,
.crest-crown,
.crest-base,
.crest-monogram {
  position: absolute;
}

.crest-ring {
  inset: 8% 8%;
  border-radius: 50%;
}

.crest-ring-gold {
  border: 1.6px solid rgba(212, 184, 107, 0.28);
}

.crest-ring-light {
  inset: 16% 16%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.crest-shield {
  left: 50%;
  transform: translateX(-50%);
  clip-path: polygon(50% 0%, 84% 16%, 84% 49%, 50% 100%, 16% 49%, 16% 16%);
}

.crest-shield-outer {
  top: 18%;
  width: 48%;
  height: 56%;
  background: linear-gradient(180deg, #f6e8bf, #be9135);
}

.crest-shield-inner {
  top: 23%;
  width: 38%;
  height: 43%;
  background: linear-gradient(180deg, #214237, #0b1814);
}

.crest-crown {
  top: 12%;
  left: 50%;
  width: 32%;
  height: 12%;
  transform: translateX(-50%);
}

.crest-crown::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(0% 100%, 18% 20%, 50% 62%, 82% 20%, 100% 100%);
  border: 1.4px solid rgba(246, 232, 191, 0.92);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.crest-monogram {
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  color: #f8fbf7;
  font-weight: 900;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.08em;
  line-height: 1;
}

.crest-base {
  bottom: 14%;
  left: 50%;
  width: 26%;
  height: 2.5%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(212, 184, 107, 0.78);
}

.eyebrow {
  color: #baeefe;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.title {
  margin: 10px 0 8px;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  line-height: 1.02;
}

.subtitle,
.auth-note p,
.auth-message,
.field span,
.meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.subtitle {
  max-width: 31ch;
}

.form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
  text-align: left;
}

.field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  color: var(--text);
  background: rgba(4, 13, 24, 0.82);
  border: 1px solid rgba(173, 225, 255, 0.09);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.field input::placeholder {
  color: rgba(244,248,252,0.3);
}

.field input:focus {
  border-color: rgba(108,224,255,0.56);
  box-shadow: 0 0 0 4px rgba(87,216,255,0.14);
  transform: translateY(-1px);
}

.btn,
.register-btn,
.link {
  appearance: none;
  border: 0;
  cursor: pointer;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn-primary {
  min-height: 54px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #082338;
  background: linear-gradient(135deg, #7cecff, #94bcff 60%, #d4b86b 100%);
  box-shadow: 0 20px 38px rgba(87,216,255,0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(87,216,255,0.26);
  filter: saturate(1.05);
}

.meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.register-btn,
.link {
  background: none;
  padding: 0;
  color: #c4efff;
  font-weight: 700;
}

.auth-access-note {
  color: #d8cfb2;
  font-weight: 600;
}

.dot {
  color: rgba(244,248,252,0.32);
}

.auth-note {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
    rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
}

.auth-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.91rem;
}

.auth-message {
  position: relative;
  z-index: 1;
  min-height: 24px;
  margin-top: 12px;
}

.auth-message.success {
  color: var(--success);
}

.auth-message.error {
  color: var(--danger);
}

.auth-message.info {
  color: var(--info);
}

@media (max-width: 900px) {
  .startup-shell {
    width: min(100%, calc(100% - 28px));
  }

  .startup-hero {
    padding: 28px 22px 24px;
  }

  .hero-visual-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .benefit-pill {
    width: 100%;
    justify-content: center;
  }

  .enter-app-btn {
    width: 100%;
  }

  .auth-dialog {
    padding: 10px;
  }

  .auth-close {
    top: 18px;
    right: 22px;
  }

  .auth-card {
    padding: 24px 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-orb-1,
  .bg-orb-2,
  .bill,
  .enter-app-btn,
  .enter-app-glow,
  .btn-glow {
    animation: none !important;
  }
}

/* PREMIUM LANDING OVERRIDE */

:root {
  --bg-1: #04110d;
  --bg-2: #081914;
  --bg-3: #0f261d;
  --card: rgba(8, 23, 18, 0.72);
  --card-strong: rgba(7, 18, 14, 0.94);
  --card-border: rgba(184, 229, 201, 0.12);
  --text: #f8fbf7;
  --muted: rgba(248, 251, 247, 0.7);
  --muted-soft: rgba(248, 251, 247, 0.48);
  --emerald: #6ed5a4;
  --emerald-strong: #2faa73;
  --gold: #d4b86b;
  --gold-soft: #f2deaa;
  --ink: #081911;
}

html,
body {
  min-height: 100%;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background:
    radial-gradient(circle at var(--pointer-x, 74%) var(--pointer-y, 18%), rgba(212, 184, 107, 0.16), transparent 20%),
    radial-gradient(circle at 14% 22%, rgba(110, 213, 164, 0.12), transparent 18%),
    radial-gradient(circle at 86% 82%, rgba(58, 129, 97, 0.14), transparent 18%),
    linear-gradient(180deg, #081a14 0%, #05100d 52%, #030907 100%);
  color: var(--text);
}

.money-layer,
.vignette,
.bg-orb,
.bg-grid,
.bg-lines {
  pointer-events: none;
}

.vignette {
  background:
    radial-gradient(circle at center, transparent 48%, rgba(0, 0, 0, 0.34) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.22));
}

.bg-orb {
  filter: blur(94px);
  opacity: 0.2;
}

.bg-orb-1 {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -160px;
  background: rgba(212, 184, 107, 0.26);
  animation: premiumFloat 16s ease-in-out infinite;
}

.bg-orb-2 {
  width: 460px;
  height: 460px;
  left: -140px;
  bottom: -140px;
  background: rgba(110, 213, 164, 0.16);
  animation: premiumFloat 18s ease-in-out infinite reverse;
}

.bg-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.05;
}

.bg-lines {
  background:
    linear-gradient(125deg, transparent 0 44%, rgba(212,184,107,0.06) 49%, transparent 54%),
    linear-gradient(60deg, transparent 0 46%, rgba(110,213,164,0.05) 51%, transparent 56%);
  opacity: 0.4;
}

@keyframes premiumFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -26px, 0) scale(1.06);
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ambientPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.82;
  }
}

@keyframes beamMove {
  0% {
    transform: translateX(-16%) rotate(10deg);
  }
  50% {
    transform: translateX(14%) rotate(4deg);
  }
  100% {
    transform: translateX(-10%) rotate(10deg);
  }
}

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

@keyframes chartPulse {
  0%, 100% {
    opacity: 0.76;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

.startup-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 28px 24px 48px;
  min-height: 100vh;
  position: relative;
  z-index: 2;
  display: block;
}

.hero-stage {
  --pointer-x: 74%;
  --pointer-y: 18%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  padding: 28px;
  background:
    radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(212,184,107,0.12), transparent 18%),
    radial-gradient(circle at 12% 18%, rgba(110,213,164,0.1), transparent 16%),
    linear-gradient(180deg, rgba(14, 34, 27, 0.94), rgba(4, 11, 9, 0.94));
  border: 1px solid rgba(212, 230, 198, 0.1);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.08);
  animation: heroRise 0.9s cubic-bezier(.2,.8,.2,1) both;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), transparent 38%),
    linear-gradient(180deg, transparent, rgba(0,0,0,0.12));
  pointer-events: none;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ambient-ring,
.ambient-beam {
  position: absolute;
  pointer-events: none;
}

.ambient-ring {
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  filter: blur(0.2px);
}

.ambient-ring-a {
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  box-shadow: 0 0 0 40px rgba(110,213,164,0.02), 0 0 120px rgba(110,213,164,0.06);
  animation: ambientPulse 12s ease-in-out infinite;
}

.ambient-ring-b {
  width: 620px;
  height: 620px;
  left: -260px;
  bottom: -280px;
  box-shadow: 0 0 0 52px rgba(212,184,107,0.018), 0 0 140px rgba(212,184,107,0.05);
  animation: ambientPulse 14s ease-in-out infinite reverse;
}

.ambient-beam {
  inset: -16% auto auto 34%;
  width: 36%;
  height: 132%;
  background: linear-gradient(180deg, rgba(212,184,107,0.1), transparent 80%);
  filter: blur(26px);
  transform: rotate(10deg);
  opacity: 0.5;
  animation: beamMove 14s ease-in-out infinite;
}

.startup-nav,
.hero-grid,
.hero-ribbon,
.feature-showcase {
  position: relative;
  z-index: 1;
}

.startup-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.34), transparent 30%),
    linear-gradient(135deg, rgba(110,213,164,0.9), rgba(212,184,107,0.86));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.34),
    0 18px 34px rgba(47, 170, 115, 0.16);
}

.brand-overline,
.nav-status,
.showcase-kicker,
.ribbon-overline,
.metric-label,
.proof-label,
.floating-label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 251, 247, 0.54);
  font-weight: 800;
}

.brand-name {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.nav-status {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
  color: rgba(248,251,247,0.76);
  letter-spacing: 0.08em;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  gap: 26px;
  align-items: stretch;
}

.hero-copy-panel,
.hero-visual-panel,
.hero-ribbon,
.showcase-card {
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    rgba(255,255,255,0.018);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 22px 42px rgba(0, 0, 0, 0.18);
}

.hero-copy-panel {
  padding: 34px;
}

.hero-chip-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-chip,
.hero-status {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-chip {
  color: #f8f2df;
  background: linear-gradient(135deg, rgba(212,184,107,0.18), rgba(255,255,255,0.05));
}

.hero-status {
  color: rgba(248,251,247,0.74);
  background: rgba(255,255,255,0.03);
}

.hero-kicker {
  margin: 28px 0 14px;
  color: rgba(110,213,164,0.86);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 6vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  max-width: 10.5ch;
  text-wrap: balance;
}

.hero-copy {
  margin: 22px 0 0;
  max-width: 58ch;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: stretch;
  gap: 16px;
  margin-top: 28px;
}

.enter-app-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  position: relative;
  min-height: 72px;
  padding: 0 34px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 900;
  color: var(--ink);
  background: linear-gradient(135deg, #f4e2af 0%, #d4b86b 44%, #68d3a1 100%);
  background-size: 180% 180%;
  box-shadow:
    0 24px 44px rgba(212,184,107,0.2),
    inset 0 1px 0 rgba(255,255,255,0.34);
  overflow: hidden;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
  animation: softButtonShift 8s ease-in-out infinite;
}

.enter-app-btn:hover {
  transform: translateY(-3px) scale(1.015);
  filter: saturate(1.05);
  box-shadow:
    0 28px 50px rgba(212,184,107,0.24),
    inset 0 1px 0 rgba(255,255,255,0.34);
}

.enter-app-glow,
.btn-glow {
  position: absolute;
  inset: -40% auto auto -10%;
  width: 34%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
  transform: rotate(18deg);
  animation: sweep 7.4s ease-in-out infinite;
}

.hero-proof-card {
  flex: 1 1 240px;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
}

.hero-proof-card strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.metric-card {
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.016)),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -0.04em;
}

.metric-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.hero-visual-panel {
  position: relative;
  min-height: 100%;
  padding: 30px 28px 32px;
  overflow: hidden;
  transform: perspective(1200px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

body.performance-mode .hero-visual-panel {
  transform: none;
}

.hero-device {
  position: relative;
  padding: 22px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(14,39,30,0.96), rgba(7,19,15,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 54px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.device-topbar,
.device-chart-header,
.device-balance,
.device-columns {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.device-topbar {
  align-items: center;
}

.device-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #f8f1de;
  background: rgba(212,184,107,0.15);
  border: 1px solid rgba(255,255,255,0.06);
}

.device-pill.soft {
  color: rgba(248,251,247,0.64);
  background: rgba(255,255,255,0.03);
}

.device-balance {
  align-items: flex-end;
  margin-top: 28px;
}

.device-balance p {
  margin: 0 0 8px;
  color: rgba(248,251,247,0.52);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.device-balance strong {
  display: block;
  font-size: clamp(2.2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.device-balance-trend {
  min-width: 160px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(110,213,164,0.12);
  border: 1px solid rgba(110,213,164,0.16);
  color: #baf1d3;
  font-size: 0.82rem;
  line-height: 1.5;
}

.device-chart-card {
  margin-top: 22px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}

.device-chart-header {
  color: rgba(248,251,247,0.62);
  font-size: 0.8rem;
  margin-bottom: 16px;
}

.device-chart {
  position: relative;
  height: 190px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,0.03) 0 1px,
      transparent 1px 72px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,0.025) 0 1px,
      transparent 1px 56px
    );
}

.chart-line,
.chart-glow {
  position: absolute;
  inset: 0;
}

.chart-line {
  background: linear-gradient(180deg, rgba(110,213,164,0.16), transparent 54%);
  clip-path: polygon(0% 82%, 14% 76%, 27% 70%, 39% 72%, 52% 58%, 64% 50%, 78% 42%, 100% 18%, 100% 100%, 0% 100%);
}

.chart-glow {
  border-top: 3px solid rgba(212,184,107,0.84);
  clip-path: polygon(0% 82%, 14% 76%, 27% 70%, 39% 72%, 52% 58%, 64% 50%, 78% 42%, 100% 18%);
  filter: drop-shadow(0 0 16px rgba(212,184,107,0.24));
}

.chart-point {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4e2af, #68d3a1);
  box-shadow: 0 0 0 8px rgba(255,255,255,0.03), 0 0 28px rgba(212,184,107,0.22);
  animation: chartPulse 4.2s ease-in-out infinite;
}

.point-a { left: 38%; top: 62%; }
.point-b { left: 63%; top: 42%; animation-delay: 0.9s; }
.point-c { right: 7%; top: 10%; animation-delay: 1.6s; }

.device-columns {
  margin-top: 18px;
}

.device-side-card {
  flex: 1;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.03);
}

.device-side-card span {
  display: block;
  color: rgba(248,251,247,0.52);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 800;
}

.device-side-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.04rem;
  line-height: 1.35;
}

.device-side-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.device-side-card.gold {
  background: linear-gradient(180deg, rgba(212,184,107,0.12), rgba(255,255,255,0.03));
}

.device-side-card.emerald {
  background: linear-gradient(180deg, rgba(110,213,164,0.12), rgba(255,255,255,0.03));
}

.floating-insight {
  position: absolute;
  width: 220px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    rgba(5, 16, 12, 0.84);
  box-shadow: 0 24px 36px rgba(0,0,0,0.2);
  animation: showcaseFloat 7.5s ease-in-out infinite;
}

.floating-insight strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.floating-insight p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.insight-a {
  top: 44px;
  right: 6px;
}

.insight-b {
  bottom: 18px;
  left: -26px;
  animation-delay: 1.2s;
}

.hero-ribbon {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 18px;
  margin-top: 24px;
  padding: 24px 26px;
}

.ribbon-copy h2 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 17ch;
}

.ribbon-stats {
  display: grid;
  gap: 10px;
}

.ribbon-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.ribbon-stat span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(212,184,107,0.24), rgba(110,213,164,0.18));
  color: #f4e2af;
  font-size: 0.86rem;
  font-weight: 900;
}

.ribbon-stat strong {
  font-size: 0.94rem;
  line-height: 1.45;
}

.feature-showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
  margin-top: 24px;
}

.showcase-card {
  padding: 24px;
}

.showcase-card-large h3 {
  margin: 12px 0 0;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 15ch;
}

.showcase-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.92rem;
}

[data-reveal="rise"] {
  animation: heroRise 0.95s cubic-bezier(.2,.8,.2,1) both;
}

[data-reveal="float"] {
  animation: heroRise 1.05s cubic-bezier(.2,.8,.2,1) both;
}

.auth-backdrop {
  background: rgba(3, 10, 8, 0.72);
}

.auth-card {
  background:
    linear-gradient(180deg, rgba(10, 28, 22, 0.98), rgba(5, 14, 11, 0.98)),
    var(--card-strong);
  border: 1px solid rgba(212,230,198,0.12);
}

.auth-card::before {
  background:
    radial-gradient(circle at top right, rgba(212,184,107,0.14), transparent 26%),
    radial-gradient(circle at left bottom, rgba(110,213,164,0.12), transparent 22%);
}

.logo {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.22), transparent 42%),
    linear-gradient(135deg, rgba(110,213,164,0.22), rgba(212,184,107,0.18));
}

.eyebrow,
.register-btn,
.link {
  color: #e6d5a0;
}

.btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, #f4e2af, #d4b86b 56%, #6ed5a4 100%);
  box-shadow: 0 20px 38px rgba(212,184,107,0.22);
}

.btn-primary:hover {
  box-shadow: 0 24px 42px rgba(212,184,107,0.26);
}

.field input:focus {
  border-color: rgba(212,184,107,0.42);
  box-shadow: 0 0 0 4px rgba(212,184,107,0.12);
}

body.performance-mode .bg-grid,
body.performance-mode .bg-lines {
  display: none;
}

body.performance-mode .hero-ambient,
body.performance-mode .floating-insight {
  display: none;
}

body.performance-mode .hero-stage,
body.performance-mode .hero-copy-panel,
body.performance-mode .hero-visual-panel,
body.performance-mode .hero-ribbon,
body.performance-mode .showcase-card {
  box-shadow: 0 18px 28px rgba(0,0,0,0.18);
}

@media (max-width: 1180px) {
  .hero-grid,
  .hero-ribbon,
  .feature-showcase {
    grid-template-columns: 1fr;
  }

  .hero-title,
  .ribbon-copy h2,
  .showcase-card-large h3 {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .startup-shell {
    width: min(100%, calc(100% - 22px));
    padding: 18px 0 30px;
  }

  .hero-stage {
    padding: 18px;
    border-radius: 28px;
  }

  .startup-nav,
  .hero-actions,
  .hero-metrics,
  .device-columns {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .startup-nav,
  .device-balance {
    align-items: flex-start;
  }

  .hero-copy-panel,
  .hero-visual-panel,
  .hero-ribbon,
  .showcase-card {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-visual-panel {
    transform: none;
  }

  .hero-metrics {
    display: grid;
  }

  .floating-insight {
    position: static;
    width: auto;
    margin-top: 14px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .hero-copy {
    font-size: 0.96rem;
    line-height: 1.72;
  }

  .enter-app-btn {
    width: 100%;
  }

  .hero-chip,
  .hero-status,
  .nav-status {
    width: 100%;
    justify-content: center;
  }

  .auth-dialog {
    padding: 10px;
  }

  .auth-close {
    top: 18px;
    right: 22px;
  }

  .auth-card {
    padding: 24px 18px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg-orb-1,
  .bg-orb-2,
  .bill,
  .enter-app-btn,
  .enter-app-glow,
  .btn-glow,
  .ambient-ring,
  .ambient-beam,
  .floating-insight,
  .chart-point {
    animation: none !important;
  }

  .hero-visual-panel {
    transform: none !important;
  }
}

/* LANDING SIMPLIFICATION */

.startup-shell {
  width: min(66vw, 1400px);
  min-width: 980px;
  max-width: calc(100% - 36px);
  padding: 8px 0;
}

.hero-stage {
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 16px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 18px 20px;
}

.hero-grid {
  align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 14px;
  min-height: 0;
}

.startup-nav-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 0 0;
}

.brand-lockup-centered {
  gap: 18px;
  text-align: center;
  align-items: center;
  flex-direction: row;
}

.brand-copy {
  display: grid;
  justify-items: start;
  text-align: left;
  gap: 6px;
}

.crest-mark {
  display: grid;
  place-items: center;
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.22), transparent 42%),
    linear-gradient(135deg, rgba(110,213,164,0.24), rgba(212,184,107,0.18));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.16),
    0 18px 34px rgba(0,0,0,0.18);
}

.crest-mark-large {
  width: 70px;
  height: 70px;
}

.crest-mark-small {
  width: 68px;
  height: 68px;
}

.crest-mark-large .crest-monogram {
  font-size: 1.2rem;
}

.crest-mark-small .crest-monogram {
  font-size: 1.12rem;
}

.brand-overline {
  margin: 0;
  color: #f4e2af;
  font-size: clamp(3rem, 4.8vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.88;
  text-transform: none;
  text-shadow: 0 14px 32px rgba(212, 184, 107, 0.18);
}

.brand-name {
  display: block;
  margin: 0;
  font-size: clamp(0.84rem, 1vw, 0.98rem);
  line-height: 1.1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(248, 251, 247, 0.52);
}

.hero-copy-panel {
  padding: 18px 18px 14px;
  display: grid;
  align-content: center;
}

.hero-copy-panel-centered {
  justify-items: center;
  text-align: center;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 24px 12px;
}

.hero-chip-row {
  gap: 8px;
}

.hero-chip,
.hero-status {
  min-height: 30px;
  padding: 0 12px;
  font-size: 0.65rem;
}

.hero-title {
  max-width: none;
  margin: 0;
  font-size: clamp(1.72rem, 2.1vw, 2.3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: rgba(248, 251, 247, 0.92);
}

.hero-copy {
  width: 100%;
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.38;
  color: rgba(248, 251, 247, 0.62);
}

.hero-actions {
  align-items: center;
  margin-top: 14px;
  gap: 12px;
}

.hero-proof-card {
  max-width: 220px;
  padding: 10px 12px;
  border-radius: 16px;
}

.proof-label {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.hero-proof-card strong {
  margin-top: 6px;
  font-size: 0.88rem;
  line-height: 1.28;
}

.hero-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
  gap: 8px;
}

.metric-card {
  padding: 10px 12px;
  border-radius: 16px;
}

.metric-label {
  display: block;
  color: rgba(248, 251, 247, 0.54);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.62rem;
  font-weight: 800;
}

.metric-card strong {
  margin-top: 6px;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.hero-proof-card p,
.metric-card p,
.donut-summary-card p {
  display: none;
}

.hero-visual-panel {
  min-height: 0;
  display: grid;
  align-items: center;
  padding: 8px;
  transform: none;
}

.hero-visual-panel-stacked {
  gap: 18px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.expense-showcase-card {
  position: relative;
  padding: 20px 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(212,175,55,0.12), transparent 26%),
    radial-gradient(circle at bottom left, rgba(66,217,255,0.07), transparent 24%),
    linear-gradient(180deg, rgba(14,39,30,0.96), rgba(7,19,15,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 54px rgba(0,0,0,0.24),
    inset 0 1px 0 rgba(255,255,255,0.08);
}

.donut-showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 14%, rgba(255,255,255,0.08), transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,0.04), transparent 44%);
  pointer-events: none;
}

.expense-showcase-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.expense-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: rgba(248,251,247,0.54);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.64rem;
  font-weight: 800;
}

.expense-showcase-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 1.8vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.expense-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f4d98f;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-donut-layout {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.landing-donut-layout-wide {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.landing-donut-wrap {
  margin-top: 0;
  min-height: 215px;
  height: 215px;
}

.landing-donut-wrap-large {
  min-height: 380px;
  height: 380px;
  display: grid;
  place-items: center;
}

.expense-donut-side {
  grid-column: 2;
  min-width: 0;
  min-height: 380px;
  display: grid;
  align-items: stretch;
}

.expense-donut-legend {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 100%;
}

.expense-donut-wrap canvas,
.landing-donut-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.expense-donut-highlights {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.hero-actions-centered {
  margin-top: 4px;
  justify-content: center;
}

.hero-actions-centered .enter-app-btn {
  min-width: 320px;
}

.expense-highlight {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  min-height: 82px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    radial-gradient(circle at top right, rgba(212,175,55,0.15), transparent 42%),
    radial-gradient(circle at bottom left, rgba(66,217,255,0.08), transparent 30%);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 20px 34px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.expense-highlight::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 22px 0 0 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(212,175,55,0.72));
  opacity: 0.88;
}

.expense-highlight:hover {
  transform: translateY(-3px);
  border-color: rgba(212,175,55,0.22);
  box-shadow: 0 24px 42px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.07);
}

.expense-highlight-rank-1 {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.025)),
    radial-gradient(circle at top right, rgba(212,175,55,0.24), transparent 40%),
    radial-gradient(circle at bottom left, rgba(255,126,209,0.10), transparent 28%);
}

.expense-highlight-rank-1::before {
  background: linear-gradient(180deg, #fff1ba, #d4af37);
}

.expense-highlight-rank-2::before {
  background: linear-gradient(180deg, rgba(173,244,255,0.95), rgba(49,206,255,0.76));
}

.expense-highlight-rank-3::before {
  background: linear-gradient(180deg, rgba(255,196,234,0.95), rgba(255,94,196,0.76));
}

.expense-highlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.expense-highlight-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.expense-highlight-share {
  color: #f4d98f;
  font-size: 0.74rem;
  font-weight: 800;
}

.expense-highlight-main {
  display: grid;
  gap: 6px;
}

.expense-highlight-label {
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.28;
  max-width: 24ch;
}

.expense-highlight-value {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
  white-space: normal;
  line-height: 1.2;
}

.expense-legend-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.expense-legend-item.is-active {
  transform: translateY(-2px) scale(1.01);
  border-color: rgba(212,175,55,0.36);
  background: linear-gradient(135deg, rgba(255,255,255,0.095), rgba(255,255,255,0.04));
  box-shadow: 0 18px 34px rgba(0,0,0,0.2);
}

.expense-legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.04);
}

.expense-legend-main {
  min-width: 0;
}

.expense-legend-label-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.expense-legend-label {
  font-weight: 800;
  color: var(--text);
  font-size: 0.82rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.expense-legend-percent {
  color: #f4d98f;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.expense-legend-bar {
  margin-top: 6px;
  height: 5px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
}

.expense-legend-fill {
  height: 100%;
  border-radius: inherit;
  transition: width 0.35s ease;
}

.expense-legend-value {
  font-weight: 800;
  color: var(--text);
  font-size: 0.82rem;
  white-space: nowrap;
}

.expense-showcase-card canvas {
  transition: transform 0.22s ease, filter 0.22s ease;
}

.expense-showcase-card:hover canvas {
  transform: translateY(-2px);
  filter: drop-shadow(0 18px 36px rgba(212, 175, 55, 0.14));
}

.donut-legend {
  display: grid;
  gap: 9px;
}

.donut-summary-card {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 15px 16px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.028));
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 16px 28px rgba(0,0,0,0.12);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.expense-legend-item:hover,
.donut-summary-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212,175,55,0.22);
  box-shadow: 0 20px 34px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.07);
}

.donut-summary-card span {
  color: rgba(248,251,247,0.54);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
}

.donut-summary-card strong {
  font-size: 1rem;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .hero-stage {
    min-height: auto;
  }

  .startup-nav-centered {
    padding-top: 4px;
  }

  .brand-name,
  .hero-title,
  .hero-copy,
  .hero-proof-card {
    max-width: none;
  }

  .landing-donut-layout-wide {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .expense-donut-side,
  .landing-donut-wrap-large {
    min-height: 320px;
    height: 320px;
  }
}

@media (max-width: 900px) {
  .startup-shell {
    width: min(100%, calc(100% - 20px));
    min-width: 0;
    padding: 10px 0 24px;
  }

  .hero-stage {
    padding: 18px;
    gap: 14px;
    min-height: auto;
  }

  .hero-copy-panel {
    padding: 18px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-visual-panel {
    min-height: auto;
  }

  .expense-showcase-card {
    padding: 18px;
  }

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

  .landing-donut-wrap-large {
    min-height: 280px;
    height: 280px;
  }

  .expense-donut-side {
    min-height: auto;
  }

  .expense-showcase-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .expense-donut-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-lockup-centered {
    gap: 12px;
    flex-direction: row;
  }

  .crest-mark-large {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .brand-overline {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
  }

  .brand-name {
    font-size: 0.74rem;
    letter-spacing: 0.18em;
  }

  .hero-title {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .enter-app-btn {
    width: 100%;
    max-width: none;
  }
}

/* PREMIUM BUTTON OVERRIDE */

.enter-app-btn,
.btn-primary {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.08) 34%, transparent 35%),
    linear-gradient(135deg, #fbefcc 0%, #e3c98a 38%, #c9a86a 72%, #3a5d4f 100%);
  background-size: 100% 100%, 180% 180%;
  color: #0a2118;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.54),
    inset 0 -2px 0 rgba(18, 41, 33, 0.24),
    0 18px 30px rgba(212,184,107,0.32),
    0 26px 46px rgba(58,93,79,0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.enter-app-btn::before,
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), transparent 48%, rgba(0,0,0,0.06));
  opacity: 0.92;
  pointer-events: none;
}

.enter-app-btn::after,
.btn-primary::after {
  content: "";
  position: absolute;
  top: -150%;
  left: -24%;
  width: 34%;
  height: 340%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.42), transparent);
  transform: rotate(22deg);
  opacity: 0;
  pointer-events: none;
}

.enter-app-btn:hover,
.btn-primary:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.62),
    inset 0 -2px 0 rgba(18, 41, 33, 0.28),
    0 22px 38px rgba(212,184,107,0.38),
    0 30px 50px rgba(58,93,79,0.2);
  filter: brightness(1.08) saturate(1.12);
}

.enter-app-btn:hover::after,
.btn-primary:hover::after {
  opacity: 1;
  left: 112%;
  transition: left 0.8s ease, opacity 0.28s ease;
}

.enter-app-btn:active,
.btn-primary:active {
  transform: translateY(1px) scale(0.992);
}

.enter-app-btn:focus-visible,
.btn-primary:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(212,184,107,0.22),
    0 0 0 6px rgba(23,79,59,0.16),
    0 24px 40px rgba(23,79,59,0.22);
}

.register-btn,
.link,
.auth-close {
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.register-btn:hover,
.link:hover {
  color: #f4e2af;
  transform: translateY(-1px);
}

.auth-close:hover {
  transform: translateY(-2px) scale(1.04);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 14px 24px rgba(0,0,0,0.2);
}
