@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --black: #050816;
  --navy: #0a0e27;
  --navy-light: #111642;
  --gold: #d4a853;
  --gold-light: #e8c97a;
  --neon-blue: #4f7cff;
  --emerald: #10b981;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--black);
  color: #e0e0e0;
  overflow-x: hidden;
}

html { scroll-behavior: smooth; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: rgba(212,168,83,0.3); border-radius: 3px; }

/* ── Ticker ── */
.ticker-wrap { overflow: hidden; width: 100%; }

.ticker-content {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: ticker 22s linear infinite;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item-gold { color: var(--gold); }
.ticker-item-blue { color: var(--neon-blue); }

/* ── Glass Card ── */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
}

.glass:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212,168,83,0.3);
  box-shadow: 0 0 30px rgba(212,168,83,0.08), 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}

/* ── Glow pulse ── */
.glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(79,124,255,0.1); }
  50%      { box-shadow: 0 0 40px rgba(79,124,255,0.25); }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 2.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(5,8,22,0.80) 0%,
    rgba(5,8,22,0.70) 50%,
    rgba(5,8,22,1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(212,168,83,0.3);
  background: rgba(212,168,83,0.05);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .name {
  background: linear-gradient(to right, #fff, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .rest { color: rgba(255,255,255,0.9); }

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  letter-spacing: 0.04em;
  max-width: 40rem;
  margin: 0 auto;
}

/* ── Particles ── */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(212,168,83,0.3), transparent);
  animation: float linear infinite;
}

@keyframes float {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

/* ── Pulse dots ── */
.pulse-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.pulse-dot.gold  { background: var(--gold); }
.pulse-dot.blue  { background: var(--neon-blue); }

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.3); }
}

/* ── Section ── */
.section {
  padding: 5rem 1.5rem;
}

.section-label {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
}

/* ── Net Worth ── */
.net-worth-number {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

.net-worth-subtitle {
  color: rgba(255,255,255,0.25);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.75rem;
  letter-spacing: 0.1em;
}

/* ── Financial cards ── */
.finance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.finance-card {
  border-radius: 1rem;
  padding: 2rem;
}

.finance-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.finance-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.finance-icon.gold    { background: linear-gradient(135deg, rgba(212,168,83,0.2), rgba(212,168,83,0.05)); }
.finance-icon.blue    { background: linear-gradient(135deg, rgba(79,124,255,0.2), rgba(79,124,255,0.05)); }
.finance-icon.green   { background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.05)); }

.finance-label {
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.finance-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.25rem;
}

.progress-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 9999px;
  width: 0%;
  transition: width 2s cubic-bezier(.4,0,.2,1);
}

.progress-bar-fill.gold  { background: linear-gradient(to right, var(--gold), var(--gold-light)); }
.progress-bar-fill.blue  { background: linear-gradient(to right, var(--neon-blue), #60a5fa); }
.progress-bar-fill.green { background: linear-gradient(to right, var(--emerald), #34d399); }

.progress-bar-label {
  color: rgba(255,255,255,0.25);
  font-size: 0.7rem;
  margin-top: 0.5rem;
  text-align: right;
}

/* ── Progress Rings ── */
.rings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.ring-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ring-wrapper { position: relative; }

.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ring-percent {
  font-size: 1.8rem;
  font-weight: 700;
}

.ring-percent.gold  { color: var(--gold); }
.ring-percent.blue  { color: var(--neon-blue); }
.ring-percent.green { color: var(--emerald); }

.ring-amount {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.25rem;
}

.ring-label {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}

.progress-ring-circle {
  transition: stroke-dashoffset 2s cubic-bezier(.4,0,.2,1);
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

/* ── Affirmation ── */
.affirmation-box {
  border-radius: 1rem;
  padding: 3.5rem 2rem;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.affirmation-text {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  font-style: italic;
  transition: opacity 0.8s ease;
}

/* ── Vision Board ── */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
}

.vision-card {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.vision-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}

.vision-card:hover img {
  transform: scale(1.08);
}

/* ── Goals ── */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.goal-card {
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.goal-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.goal-icon.blue   { background: linear-gradient(135deg, rgba(79,124,255,0.2), rgba(79,124,255,0.05)); }
.goal-icon.gold   { background: linear-gradient(135deg, rgba(212,168,83,0.2), rgba(212,168,83,0.05)); }
.goal-icon.green  { background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.05)); }
.goal-icon.red    { background: linear-gradient(135deg, rgba(239,68,68,0.2), rgba(239,68,68,0.05)); }

.goal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.goal-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* ── Focus Panel ── */
.focus-panel {
  border-radius: 1rem;
  padding: 2.5rem;
  max-width: 40rem;
  margin: 0 auto;
}

.focus-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.focus-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.5s ease-in-out infinite;
}

.focus-list { list-style: none; }

.focus-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  cursor: pointer;
}

.focus-item + .focus-item {
  border-top: 1px solid rgba(255,255,255,0.04);
}

.focus-item input[type="checkbox"] {
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.focus-item span {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.focus-item:hover span {
  color: #fff;
}

/* ── Footer ── */
.footer {
  padding: 3rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-quote {
  color: rgba(255,255,255,0.18);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  font-weight: 300;
}

.footer-name {
  color: rgba(255,255,255,0.08);
  font-size: 0.7rem;
  margin-top: 0.75rem;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .finance-grid { grid-template-columns: 1fr; }
  .rings-grid   { grid-template-columns: 1fr 1fr; }
  .vision-grid  { grid-template-columns: 1fr; }
  .goals-grid   { grid-template-columns: 1fr; }
  .section      { padding: 3rem 1rem; }
}
