/* NILF — Not In Labor Force
   Chrome / gunmetal aesthetic matched to logo & banner */

:root {
  --bg: #050506;
  --bg-elev: #0c0c0e;
  --bg-panel: #121214;
  --steel: #8b929e;
  --silver: #c8cdd8;
  --chrome: #e8ebf0;
  --bright: #f4f6f8;
  --dim: #6a707a;
  --line: rgba(200, 205, 216, 0.14);
  --glow: rgba(200, 205, 216, 0.35);
  --font-display: "Syne", sans-serif;
  --font-tech: "Orbitron", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --nav-h: 72px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

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

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

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

ul {
  list-style: none;
}

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

/* Atmosphere */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(180, 186, 198, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 40%, rgba(120, 130, 150, 0.06), transparent 50%),
    radial-gradient(ellipse 40% 30% at 10% 70%, rgba(140, 145, 160, 0.05), transparent 50%),
    linear-gradient(165deg, #070708 0%, #0a0a0c 40%, #050506 100%);
}

.grid-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 205, 216, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 205, 216, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
  animation: gridDrift 40s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 64px 64px; }
}

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

.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle, rgba(200, 205, 216, 0.08), transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: soft-light;
}

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

/* Chrome text */
.chrome-text {
  background: linear-gradient(
    115deg,
    #6a707a 0%,
    #c8cdd8 18%,
    #f5f6f8 32%,
    #9aa1ad 48%,
    #e8ebf0 62%,
    #7a8190 78%,
    #d4d8e0 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: chromeShift 8s ease-in-out infinite;
}

@keyframes chromeShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(5, 5, 6, 0.55);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(8, 8, 10, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

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

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(200, 205, 216, 0.25)); }
  50% { filter: drop-shadow(0 0 14px rgba(200, 205, 216, 0.55)); }
}

.nav-name {
  font-family: var(--font-tech);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  color: var(--chrome);
}

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

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--silver), transparent);
  transition: width 0.35s var(--ease);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: 1rem;
}

.nav-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--silver);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.nav-icon img {
  width: 14px;
  height: 14px;
  filter: brightness(1.15) contrast(1.1);
  opacity: 1;
}

.nav-icon:hover {
  border-color: var(--silver);
  background: rgba(200, 205, 216, 0.08);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--silver);
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, filter 0.35s;
}

.btn-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Dark icons on light chrome buttons */
.btn-chrome .btn-ico {
  filter: brightness(0);
  opacity: 0.92;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
}

.btn-chrome {
  color: #0a0a0c;
  background: linear-gradient(135deg, #9aa1ad 0%, #e8ebf0 35%, #b8bec8 55%, #f0f2f5 75%, #8b929e 100%);
  background-size: 200% 200%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 8px 28px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(200, 205, 216, 0.2);
  animation: btnShimmer 5s ease infinite;
}

@keyframes btnShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-chrome:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 14px 36px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(200, 205, 216, 0.35);
}

.btn-ghost {
  color: var(--chrome);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--silver);
  background: rgba(200, 205, 216, 0.08);
  transform: translateY(-3px);
}

/* Hero */
.hero {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 2.5rem) clamp(1rem, 4vw, 2.5rem) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-a {
  width: 380px;
  height: 380px;
  top: 15%;
  left: 5%;
  background: rgba(160, 168, 180, 0.12);
}

.hero-orb-b {
  width: 320px;
  height: 320px;
  bottom: 10%;
  right: 8%;
  background: rgba(120, 128, 145, 0.1);
  animation-delay: -4s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -25px) scale(1.08); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 340px;
}

.logo-ring {
  position: relative;
  width: min(340px, 72vw);
  height: min(340px, 72vw);
  display: grid;
  place-items: center;
}

.logo-ring-spin {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: rgba(232, 235, 240, 0.55);
  border-right-color: rgba(200, 205, 216, 0.15);
  animation: spin 10s linear infinite;
}

.logo-ring-spin::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(200, 205, 216, 0.2);
  animation: spin 18s linear infinite reverse;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.logo-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 205, 216, 0.22), transparent 65%);
  animation: glowPulse 3.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

.hero-logo {
  width: 78%;
  height: auto;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  animation: logoFloat 5.5s ease-in-out infinite;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.65));
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

.float-bill {
  position: absolute;
  width: 28px;
  height: 16px;
  border-radius: 3px;
  background: linear-gradient(135deg, #3a3d45, #1a1b1f);
  border: 1px solid rgba(200, 205, 216, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  animation: billDrift 7s ease-in-out infinite;
  z-index: 3;
}

.float-bill.b1 { top: 12%; left: 8%; animation-delay: 0s; }
.float-bill.b2 { top: 22%; right: 6%; width: 22px; height: 12px; animation-delay: -1.5s; }
.float-bill.b3 { bottom: 18%; left: 14%; animation-delay: -3s; }
.float-bill.b4 { bottom: 28%; right: 12%; width: 24px; height: 14px; animation-delay: -4.5s; }

@keyframes billDrift {
  0%, 100% { transform: translateY(0) rotate(-8deg); opacity: 0.7; }
  50% { transform: translateY(-22px) rotate(12deg); opacity: 1; }
}

.hero-kicker {
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-style: italic;
  margin-bottom: 0.6rem;
}

.hero-symbol {
  margin-bottom: 0.85rem;
}

.ticker {
  font-family: var(--font-tech);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--chrome);
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  display: inline-block;
}

.hero-tagline {
  font-family: var(--font-tech);
  font-size: clamp(0.72rem, 1.6vw, 0.88rem);
  letter-spacing: 0.22em;
  color: var(--steel);
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
  padding: 0 2.5rem;
}

.hero-tagline::before,
.hero-tagline::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--steel));
}

.hero-tagline::before { left: 0; transform: scaleX(-1); }
.hero-tagline::after { right: 0; background: linear-gradient(90deg, var(--steel), transparent); }

.hero-lede {
  max-width: 36rem;
  color: var(--dim);
  font-size: 1.02rem;
  margin-bottom: 1.75rem;
}

.hero-lede strong {
  color: var(--chrome);
  font-weight: 700;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.contract-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem 0.65rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(12, 12, 14, 0.85);
  max-width: 100%;
}

.contract-label {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--steel);
}

.contract-addr {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--chrome);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(340px, 48vw);
}

.copy-btn {
  flex-shrink: 0;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0a0c;
  background: linear-gradient(135deg, #b8bec8, #e8ebf0);
  transition: transform 0.25s, opacity 0.25s;
}

.copy-btn:hover {
  transform: scale(1.05);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1180px;
  margin: 3.5rem auto 0;
  width: 100%;
}

.stat {
  text-align: center;
  padding: 1.4rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.06) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 6s ease-in-out infinite;
}

@keyframes sheen {
  0%, 70%, 100% { transform: translateX(-120%); }
  85% { transform: translateX(120%); }
}

.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 205, 216, 0.35);
}

.stat-value {
  display: block;
  font-family: var(--font-tech);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--chrome);
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--silver);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* Sections */
.section {
  position: relative;
  z-index: 3;
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.section-sub {
  color: var(--dim);
  font-size: 1.05rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-bottom: 2.5rem;
}

.about-panel {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}

.about-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 205, 216, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(200, 205, 216, 0.08);
}

.panel-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
}

.about-num {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--steel);
  margin-bottom: 1rem;
}

.about-panel h3 {
  font-size: 1.2rem;
  color: var(--chrome);
  margin-bottom: 0.65rem;
}

.about-panel p {
  color: var(--dim);
  font-size: 0.95rem;
}

.about-feature {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 50%),
    var(--bg-elev);
}

.about-feature-logo {
  display: grid;
  place-items: center;
}

.about-feature-logo img {
  width: min(200px, 50vw);
  border-radius: 50%;
  animation: logoFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.55));
}

.about-feature-copy h3 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 0.85rem;
}

.about-feature-copy p {
  color: var(--dim);
  margin-bottom: 1.25rem;
}

.about-bullets li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--silver);
  font-weight: 500;
}

.about-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8ebf0, #8b929e);
  box-shadow: 0 0 10px rgba(200, 205, 216, 0.5);
}

/* How to buy */
.howtobuy {
  max-width: none;
  width: 100%;
  background: linear-gradient(180deg, transparent, rgba(18, 18, 20, 0.65), transparent);
  border-block: 1px solid var(--line);
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.howtobuy .section-head,
.howtobuy .steps,
.howtobuy .buy-links {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.step {
  padding: 1.6rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(8, 8, 10, 0.7);
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.step:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 205, 216, 0.4);
}

.step-index {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, #d4d8e0, #7a8190);
  color: #0a0a0c;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 0 20px rgba(200, 205, 216, 0.25);
}

.step h3 {
  color: var(--chrome);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--dim);
  font-size: 0.9rem;
}

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

.buy-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.buy-card img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: brightness(1.2) contrast(1.15);
  opacity: 1;
}

.buy-card strong {
  display: block;
  color: var(--chrome);
  margin-bottom: 0.15rem;
}

.buy-card span {
  font-size: 0.82rem;
  color: var(--dim);
}

.buy-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 205, 216, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* Chart */
.chart-frame {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background: #0a0a0c;
  overflow: hidden;
  min-height: 520px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.chart-frame-edge {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.35);
  background: linear-gradient(180deg, rgba(200, 205, 216, 0.06), transparent 12%, transparent 88%, rgba(200, 205, 216, 0.04));
}

.chart-frame iframe {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
  background: #0a0a0c;
}

.chart-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background:
    radial-gradient(circle at 50% 40%, rgba(200, 205, 216, 0.08), transparent 55%),
    #0a0a0c;
  z-index: 3;
  text-align: center;
  padding: 2rem;
}

.chart-fallback.visible {
  display: flex;
}

.chart-fallback-logo {
  width: 96px;
  border-radius: 50%;
  opacity: 0.9;
  animation: logoFloat 5s ease-in-out infinite;
}

.chart-fallback p {
  color: var(--dim);
}

.chart-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Join Us */
.join-banner {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.02);
  transition: transform 8s var(--ease);
}

.join-banner:hover .banner-img {
  transform: scale(1.06);
}

.banner-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 6, 0.15) 0%,
    transparent 30%,
    transparent 70%,
    rgba(5, 5, 6, 0.35) 100%
  );
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.35);
}

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

.social-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
  color: var(--silver);
}

.social-card img {
  width: 28px;
  height: 28px;
  filter: brightness(1.2) contrast(1.15);
  opacity: 1;
}

.social-card strong {
  display: block;
  color: var(--chrome);
}

.social-card span {
  font-size: 0.82rem;
  color: var(--dim);
}

.social-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(200, 205, 216, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4), 0 0 24px rgba(200, 205, 216, 0.1);
}

/* Footer */
.footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line);
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem) 3rem;
  background: rgba(5, 5, 6, 0.9);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--chrome);
  font-weight: 600;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.footer-copy,
.footer-year {
  color: var(--dim);
  font-size: 0.85rem;
}

.footer-year {
  margin-top: 0.35rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 9500;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #c8cdd8, #e8ebf0);
  color: #0a0a0c;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
}

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

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

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

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: -1;
    min-height: 260px;
  }

  .logo-ring {
    width: min(260px, 68vw);
    height: min(260px, 68vw);
  }

  .hero-lede {
    margin-inline: auto;
  }

  .hero-ctas,
  .contract-bar {
    justify-content: center;
  }

  .hero-tagline {
    padding: 0 1.5rem;
  }

  .about-grid,
  .steps,
  .buy-links,
  .social-row {
    grid-template-columns: 1fr;
  }

  .about-feature {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-bullets li {
    text-align: left;
    max-width: 280px;
    margin-inline: auto;
  }

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

@media (max-width: 780px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: rgba(8, 8, 10, 0.96);
    border-bottom: 1px solid var(--line);
    gap: 1rem;
  }

  .nav.open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .nav.open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .chart-frame iframe {
    height: 420px;
  }

  .chart-frame {
    min-height: 400px;
  }
}

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