/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e0e0e0;
  --gray-400: #999999;
  --gray-600: #666666;
  --gray-800: #222222;
  --gray-900: #111111;
  --font-mono: 'Space Mono', monospace;
  --font-sans: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-600) var(--black);
}

body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: crosshair;
}

::selection {
  background: var(--white);
  color: var(--black);
}

/* ===== NOISE OVERLAY ===== */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== TOP BAR ===== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.6rem 0;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.top-bar-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gray-600);
  flex-shrink: 0;
}

.top-bar-ca {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--white);
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 420px;
}

.top-bar-copy {
  background: transparent;
  border: 1px solid var(--gray-600);
  color: var(--gray-400);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}

.top-bar-copy:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent 0%, var(--black) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

/* ===== BACKGROUND VIDEO (LOWER SECTIONS) ===== */
.bg-video-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease 0.2s both;
}

/* ===== GLITCH TITLE ===== */
.glitch-title {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(4rem, 15vw, 12rem);
  letter-spacing: -0.03em;
  line-height: 0.9;
  position: relative;
  animation: fadeInUp 1s ease 0.4s both;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch-title::before {
  color: var(--white);
  animation: glitch1 3s infinite linear alternate-reverse;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch-title::after {
  color: var(--white);
  animation: glitch2 2s infinite linear alternate-reverse;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
  0%, 90% { transform: translate(0); }
  91% { transform: translate(-3px, 1px); }
  92% { transform: translate(3px, -1px); }
  93% { transform: translate(-2px, 2px); }
  94%, 100% { transform: translate(0); }
}

@keyframes glitch2 {
  0%, 85% { transform: translate(0); }
  86% { transform: translate(3px, 1px); }
  87% { transform: translate(-3px, -1px); }
  88% { transform: translate(2px, -2px); }
  89%, 100% { transform: translate(0); }
}

.hero-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: var(--gray-400);
  margin-top: 1.5rem;
  letter-spacing: 0.1em;
  animation: fadeInUp 1s ease 0.6s both;
}

/* ===== HERO BUTTONS ===== */
.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  animation: fadeInUp 1s ease 0.8s both;
}

.hero-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--gray-600);
  color: var(--white);
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.hero-btn-x {
  padding: 0.75rem;
  min-width: 44px;
}

.hero-btn-x svg {
  display: block;
}

.hero-btn-buy {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  font-weight: 700;
}

.hero-btn-buy:hover {
  background: transparent;
  color: var(--white);
}

/* ===== SCROLL HINT ===== */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: fadeInUp 1s ease 1s both;
}

.scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gray-600);
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: var(--gray-600);
  position: relative;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--gray-600);
  border-bottom: 1px solid var(--gray-600);
  transform: translateX(-50%) rotate(45deg);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.5; }
}

/* ===== SECTIONS ===== */
.section {
  padding: 8rem 0;
  position: relative;
  background: transparent;
}

.section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  text-align: center;
}

.section-sub {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--gray-400);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
}

.highlight {
  color: var(--black);
  background: var(--white);
  padding: 0 0.3em;
  display: inline-block;
}

/* ===== CONTENT CARDS ===== */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.content-card {
  border: 1px solid var(--gray-800);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  transform: translateY(101%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 0;
}

.content-card:hover::before {
  transform: translateY(0);
}

.content-card:hover {
  color: var(--black);
  border-color: var(--white);
}

.content-card > * {
  position: relative;
  z-index: 1;
}

.card-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  transition: color 0.4s;
}

.content-card:hover .card-number {
  color: var(--gray-400);
}

.content-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.content-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-400);
  transition: color 0.4s;
}

.content-card:hover p {
  color: var(--gray-600);
}

/* ===== METER ===== */
.meter-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.meter-item {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-800);
}

.meter-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gray-200);
  letter-spacing: 0.02em;
}

.meter-bar {
  height: 4px;
  background: var(--gray-800);
  border-radius: 2px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  width: 0;
  background: var(--white);
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.meter-fill.active {
  width: var(--target-width);
}

.meter-value {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--gray-400);
  min-width: 110px;
  text-align: right;
}

/* ===== HOW TO BUY ===== */
.buy-steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.buy-step {
  display: flex;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.buy-step:first-child {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.buy-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-icon {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  min-width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-800);
  color: var(--gray-400);
  flex-shrink: 0;
  transition: all 0.3s;
}

.buy-step:hover .step-icon {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.step-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.step-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-400);
}

.step-content a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid var(--gray-600);
  transition: border-color 0.3s;
}

.step-content a:hover {
  border-color: var(--white);
}

.ca-box {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gray-800);
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  overflow: hidden;
}

.ca-label {
  color: var(--gray-600);
  flex-shrink: 0;
}

.ca-address {
  color: var(--gray-200);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}

.ca-copy {
  background: transparent;
  border: 1px solid var(--gray-600);
  color: var(--gray-400);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}

.ca-copy:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ===== CHART ===== */
.chart-placeholder {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--gray-800);
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chart-inner {
  text-align: center;
  padding: 3rem;
}

.chart-coming {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: var(--gray-600);
  display: block;
  margin-bottom: 1rem;
  animation: chartPulse 2s ease-in-out infinite;
}

.chart-inner p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gray-800);
  letter-spacing: 0.05em;
}

@keyframes chartPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ===== MARQUEE ===== */
.marquee-section {
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  background: transparent;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-flex;
  gap: 3rem;
  animation: marqueeScroll 15s linear infinite;
}

.marquee-inner span {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--gray-800);
  transition: color 0.3s;
}

.marquee-inner span:hover {
  color: var(--white);
}

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

/* ===== BIG TEXT ===== */
.section-big {
  padding: 12rem 0;
}

.big-text {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
}

.big-text .word {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.big-text.visible .word {
  opacity: 1;
  transform: translateY(0);
}

.big-text .word:nth-child(1) { transition-delay: 0s; }
.big-text .word:nth-child(2) { transition-delay: 0.1s; }
.big-text .word:nth-child(3) { transition-delay: 0.2s; }
.big-text .word:nth-child(4) { transition-delay: 0.3s; }
.big-text .word:nth-child(5) { transition-delay: 0.4s; }

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: transparent;
}

.footer-top {
  text-align: center;
  margin-bottom: 4rem;
}

.footer-logo {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gray-600);
  letter-spacing: 0.1em;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-900);
}

.footer-bottom span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-600);
  letter-spacing: 0.05em;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ===== KEYFRAMES ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .meter-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .meter-value {
    text-align: left;
  }

  .big-text {
    gap: 0.5rem 1rem;
  }

  .section {
    padding: 5rem 0;
  }

  .section-big {
    padding: 8rem 0;
  }

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

  .ca-box {
    flex-wrap: wrap;
  }

  .hero-buttons {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero-btn {
    font-size: 0.65rem;
    padding: 0.6rem 1.2rem;
  }

  .top-bar-ca {
    max-width: 180px;
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}
