/* ===== Lil Finder Guy — Apple + Companion Style ===== */

:root {
  --blue: #1d4ed8;
  --blue-dark: #1e3a8a;
  --blue-light: #60a5fa;
  --sky: #93c5fd;
  --sky-pale: #dbeafe;
  --white: #ffffff;
  --gray-50: #f5f5f7;
  --gray-100: #e8e8ed;
  --gray-200: #d2d2d7;
  --gray-400: #86868b;
  --gray-600: #6e6e73;
  --gray-900: #1d1d1f;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.85);
  --shadow-sm: 0 2px 16px rgba(29, 78, 216, 0.06);
  --shadow-md: 0 8px 40px rgba(29, 78, 216, 0.1);
  --shadow-lg: 0 24px 80px rgba(29, 78, 216, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 980px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--gray-50);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ===== Background layers ===== */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(147, 197, 253, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(96, 165, 250, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(29, 78, 216, 0.08), transparent 45%),
    linear-gradient(180deg, #fafafa 0%, var(--gray-50) 40%, #eef2ff 100%);
}

.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: aurora-drift 18s ease-in-out infinite;
}

.blob-1 {
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  top: -10%;
  left: -10%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.5), transparent 70%);
}

.blob-2 {
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  top: 40%;
  right: -15%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.45), transparent 70%);
  animation-delay: -6s;
  animation-duration: 22s;
}

.blob-3 {
  width: 35vw;
  height: 35vw;
  max-width: 450px;
  max-height: 450px;
  bottom: -5%;
  left: 30%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.2), transparent 70%);
  animation-delay: -12s;
  animation-duration: 20s;
}

@keyframes aurora-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5vw, 3vh) scale(1.08); }
  66% { transform: translate(-3vw, 5vh) scale(0.95); }
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.35;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 78, 216, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 78, 216, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(96, 165, 250, 0.08), transparent 65%);
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover .cursor-glow {
  opacity: 1;
}

.floating-orbs span {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), rgba(147, 197, 253, 0.4));
  box-shadow: var(--shadow-sm);
  animation: orb-float linear infinite;
}

.floating-orbs span:nth-child(1) { width: 8px; height: 8px; left: 8%; top: 20%; animation-duration: 16s; }
.floating-orbs span:nth-child(2) { width: 12px; height: 12px; left: 85%; top: 15%; animation-duration: 20s; animation-delay: 2s; }
.floating-orbs span:nth-child(3) { width: 6px; height: 6px; left: 72%; top: 55%; animation-duration: 14s; animation-delay: 4s; }
.floating-orbs span:nth-child(4) { width: 10px; height: 10px; left: 15%; top: 70%; animation-duration: 18s; animation-delay: 1s; }
.floating-orbs span:nth-child(5) { width: 14px; height: 14px; left: 50%; top: 85%; animation-duration: 22s; animation-delay: 6s; }
.floating-orbs span:nth-child(6) { width: 7px; height: 7px; left: 92%; top: 75%; animation-duration: 15s; animation-delay: 3s; }
.floating-orbs span:nth-child(7) { width: 9px; height: 9px; left: 35%; top: 35%; animation-duration: 19s; animation-delay: 5s; }
.floating-orbs span:nth-child(8) { width: 5px; height: 5px; left: 60%; top: 10%; animation-duration: 13s; animation-delay: 7s; }

@keyframes orb-float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.4; }
  25% { transform: translateY(-30px) translateX(15px); opacity: 0.7; }
  50% { transform: translateY(-10px) translateX(-10px); opacity: 0.5; }
  75% { transform: translateY(-40px) translateX(8px); opacity: 0.65; }
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), backdrop-filter 0.4s;
}

.nav.scrolled {
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--gray-900);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.4s var(--ease-spring);
}

.nav-logo:hover img {
  transform: scale(1.08) rotate(-3deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: color 0.25s, background 0.25s;
}

.nav-links a:not(.btn):hover {
  color: var(--gray-900);
  background: rgba(0, 0, 0, 0.04);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ===== Ticker ===== */
.ticker {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 999;
  overflow: hidden;
  background: rgba(29, 78, 216, 0.06);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(29, 78, 216, 0.08);
  padding: 0.4rem 0;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ticker-track span::before {
  content: "●";
  margin-right: 1rem;
  font-size: 0.5rem;
  vertical-align: middle;
  opacity: 0.5;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, background 0.3s;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.0625rem;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(29, 78, 216, 0.35);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(29, 78, 216, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--blue);
  border: 1px solid rgba(29, 78, 216, 0.15);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

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

.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  animation: shimmer 3s ease-in-out infinite;
}

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

.pulse-soft {
  animation: pulse-soft 2.5s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%, 100% { box-shadow: 0 4px 20px rgba(29, 78, 216, 0.35); }
  50% { box-shadow: 0 4px 40px rgba(29, 78, 216, 0.55); }
}

/* ===== Glass card ===== */
.glass-card {
  background: var(--glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ===== Sections ===== */
.section {
  position: relative;
  padding: 6rem 1.5rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.section-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.title-gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 50%, var(--sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 70vw;
  max-width: 700px;
  height: 70vw;
  max-height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2), transparent 65%);
  pointer-events: none;
  animation: hero-glow-pulse 6s ease-in-out infinite;
}

@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(29, 78, 216, 0.1);
  pointer-events: none;
}

.ring-1 {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  animation: ring-spin 30s linear infinite;
}

.ring-2 {
  width: 520px;
  height: 520px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  animation: ring-spin 45s linear infinite reverse;
  border-style: dashed;
  opacity: 0.5;
}

@keyframes ring-spin {
  from { transform: translate(-50%, -55%) rotate(0deg); }
  to { transform: translate(-50%, -55%) rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.apple-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-logo-stage {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 2rem;
}

.hero-halo {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.4), transparent 70%);
  animation: halo-breathe 4s ease-in-out infinite;
}

@keyframes halo-breathe {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-orbit {
  position: absolute;
  inset: -15%;
  animation: orbit-spin 12s linear infinite;
}

.orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.6);
}

.o-1 { top: 0; left: 50%; transform: translateX(-50%); }
.o-2 { bottom: 0; left: 50%; transform: translateX(-50%); }
.o-3 { left: 0; top: 50%; transform: translateY(-50%); }
.o-4 { right: 0; top: 50%; transform: translateY(-50%); }

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-logo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(29, 78, 216, 0.2));
  z-index: 2;
}

.float-gentle {
  animation: float-gentle 5s ease-in-out infinite;
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.sparkle-ring span {
  position: absolute;
  font-size: 0.75rem;
  color: var(--blue-light);
  animation: sparkle 3s ease-in-out infinite;
}

.sparkle-ring span:nth-child(1) { top: 5%; left: 10%; animation-delay: 0s; }
.sparkle-ring span:nth-child(2) { top: 15%; right: 5%; animation-delay: 0.8s; }
.sparkle-ring span:nth-child(3) { bottom: 10%; left: 5%; animation-delay: 1.6s; }
.sparkle-ring span:nth-child(4) { bottom: 5%; right: 10%; animation-delay: 2.4s; }

@keyframes sparkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.hero-tagline {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--gray-600);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.hero-tagline em {
  font-style: normal;
  color: var(--blue);
  font-weight: 600;
}

.hero-symbol {
  font-size: 1rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
}

.hero-symbol strong {
  color: var(--blue);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.ca-copy {
  display: inline-block;
  padding: 1rem 1.25rem;
  text-align: left;
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.ca-copy:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.ca-copy.copied-flash {
  animation: copy-flash 0.6s ease;
}

@keyframes copy-flash {
  0%, 100% { box-shadow: var(--shadow-md); }
  50% { box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.3), var(--shadow-lg); }
}

.ca-copy-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 0.4rem;
}

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

.ca-copy code {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 0.8125rem;
  color: var(--gray-900);
  word-break: break-all;
}

.btn-copy {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font);
  color: var(--blue);
  background: var(--sky-pale);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.btn-copy:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-copy.copied {
  background: #059669;
  color: var(--white);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--gray-400);
  animation: scroll-bounce 2.5s ease-in-out infinite;
}

.scroll-chevron {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--gray-400);
  border-bottom: 2px solid var(--gray-400);
  transform: rotate(45deg);
  margin-top: -4px;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ===== About ===== */
.about {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5) 50%, transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.about-card {
  padding: 2rem;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.about-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  margin-bottom: 1.25rem;
}

.about-icon svg {
  width: 24px;
  height: 24px;
}

.about-icon.icon-blue {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
}

.about-icon.icon-light {
  background: linear-gradient(135deg, var(--sky), var(--blue-light));
}

.about-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.about-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.about-card strong {
  color: var(--blue);
}

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

.stat {
  padding: 1.75rem;
  text-align: center;
  transition: transform 0.3s var(--ease-spring);
}

.stat:hover {
  transform: scale(1.03);
}

.stat-num {
  display: inline;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-light);
}

.stat-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== How to Buy ===== */
.howtobuy {
  background: rgba(255, 255, 255, 0.4);
}

.steps {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.75rem 2rem;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}

.step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--sky);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  line-height: 1;
}

.step-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.step-body p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

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

/* ===== Chart ===== */
.chart-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 480px;
  margin-bottom: 1.5rem;
}

.chart-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

.chart-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
  color: var(--gray-600);
}

.chart-placeholder.hidden {
  display: none;
}

.chart-placeholder-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.chart-placeholder-sub {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

.chart-placeholder code {
  font-size: 0.75rem;
  background: var(--sky-pale);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.chart-link {
  display: inline-flex;
}

/* ===== Join Us ===== */
.joinus {
  text-align: center;
}

.joinus-banner {
  position: relative;
  max-width: 900px;
  margin: 0 auto 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.banner-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at center, rgba(96, 165, 250, 0.25), transparent 70%);
  pointer-events: none;
  animation: banner-glow 5s ease-in-out infinite;
}

@keyframes banner-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  text-decoration: none;
  color: var(--gray-900);
  min-width: 280px;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
}

.social-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.social-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--gray-900);
  color: var(--white);
  flex-shrink: 0;
}

.social-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

.social-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.social-handle {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

.social-arrow {
  font-size: 1.25rem;
  color: var(--blue);
  transition: transform 0.3s;
}

.social-card:hover .social-arrow {
  transform: translateX(4px);
}

.joinus-tag {
  font-size: 1rem;
  color: var(--gray-600);
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.5);
}

.footer-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.footer-name span {
  color: var(--blue);
}

.footer-disclaimer {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.footer-links {
  font-size: 0.875rem;
}

.footer-links a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav {
    padding: 0.75rem 1.25rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    background: var(--glass);
    backdrop-filter: saturate(180%) blur(24px);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.08);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    gap: 0.25rem;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .nav-links .btn {
    margin-top: 0.5rem;
    text-align: center;
  }

  .ticker {
    top: 56px;
  }

  .hero {
    padding-top: 7rem;
  }

  .hero-logo-stage {
    width: 180px;
    height: 180px;
  }

  .ring-1, .ring-2 {
    display: none;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: column;
    gap: 0.75rem;
  }

  .social-card {
    min-width: unset;
    width: 100%;
    max-width: 360px;
  }

  .cursor-glow {
    display: none;
  }
}

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

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