/* === TOKENS === */
:root {
  --bg: #0C0C0F;
  --bg-2: #111118;
  --bg-3: #18181F;
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --amber-border: rgba(245, 158, 11, 0.25);
  --fg: #F5F5F0;
  --fg-2: #A8A89E;
  --fg-3: #6B6B62;
  --radius: 12px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === NAV === */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--amber-border);
  position: sticky;
  top: 0;
  background: rgba(12, 12, 15, 0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.nav__tagline {
  font-size: 0.75rem;
  color: var(--fg-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* === HERO === */
.hero {
  min-height: calc(100vh - 65px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 48px 60px;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__bg-glow {
  position: absolute;
  top: -20%;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero__headline em {
  font-style: italic;
  color: var(--amber);
}

.hero__sub {
  font-size: 1.0625rem;
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 48px;
}

.hero__mechanics {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__step-num {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid var(--amber-border);
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.05em;
}

.hero__step-text {
  font-size: 0.8125rem;
  color: var(--fg-2);
  font-weight: 500;
}

.hero__arrow {
  color: var(--fg-3);
  flex-shrink: 0;
}

/* === HERO CARD === */
.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__card {
  background: var(--bg-2);
  border: 1px solid var(--amber-border);
  border-radius: 20px;
  padding: 28px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 0 0 1px var(--amber-border), 0 24px 64px rgba(0,0,0,0.5), 0 0 80px rgba(245,158,11,0.06);
}

.hero__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.hero__card-label {
  font-size: 0.6875rem;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__card-badge {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 100px;
  padding: 2px 8px;
}

.hero__card-goal {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero__card-stake {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.hero__card-stake-label {
  font-size: 0.75rem;
  color: var(--fg-3);
}

.hero__card-stake-amount {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--amber);
}

.hero__card-deadline {
  font-size: 0.75rem;
  color: var(--fg-3);
  margin-bottom: 20px;
}

.hero__card-progress {
  margin-bottom: 16px;
}

.hero__card-progress-bar {
  height: 4px;
  background: var(--bg-3);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 6px;
}

.hero__card-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber), #FCD34D);
  border-radius: 100px;
  transition: width 0.4s ease;
}

.hero__card-progress-label {
  font-size: 0.6875rem;
  color: var(--fg-3);
}

.hero__card-verdict {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #10B981;
  font-weight: 500;
}

.hero__card-verdict-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero__card-decor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 0 4px;
  width: 100%;
  max-width: 340px;
}

.hero__card-decor-line {
  flex: 1;
  height: 1px;
  background: var(--amber-border);
}

.hero__card-decor-text {
  font-size: 0.6875rem;
  color: var(--fg-3);
  white-space: nowrap;
}

/* === STATS === */
.stats {
  background: var(--bg-2);
  border-top: 1px solid var(--amber-border);
  border-bottom: 1px solid var(--amber-border);
  padding: 36px 48px;
}

.stats__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.stats__item {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}

.stats__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stats__desc {
  font-size: 0.8125rem;
  color: var(--fg-3);
  line-height: 1.5;
}

.stats__divider {
  width: 1px;
  height: 60px;
  background: var(--amber-border);
  flex-shrink: 0;
}

/* === HOW === */
.how {
  padding: 100px 48px;
}

.how__header {
  max-width: 640px;
  margin: 0 auto 72px;
  text-align: center;
}

.how__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  font-weight: 500;
}

.how__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--amber-border);
  border: 1px solid var(--amber-border);
  border-radius: 20px;
  overflow: hidden;
}

.how__step {
  background: var(--bg);
  padding: 48px 40px;
  position: relative;
}

.how__step-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--amber-dim);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.05em;
  display: block;
}

.how__step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
  line-height: 1.3;
}

.how__step-body {
  font-size: 0.9375rem;
  color: var(--fg-2);
  line-height: 1.65;
}

/* === FEATURES === */
.features {
  padding: 100px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--amber-border);
}

.features__header {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}

.features__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
  font-weight: 500;
}

.features__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 20px;
}

.features__subtitle {
  font-size: 1rem;
  color: var(--fg-2);
  line-height: 1.65;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--amber-border);
  border: 1px solid var(--amber-border);
  border-radius: 16px;
  overflow: hidden;
}

.features__card {
  background: var(--bg-2);
  padding: 36px 32px;
  position: relative;
}

.features__card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--amber);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.features__card:hover::before {
  opacity: 1;
}

.features__card-icon {
  margin-bottom: 20px;
}

.features__card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  line-height: 1.3;
}

.features__card-body {
  font-size: 0.875rem;
  color: var(--fg-2);
  line-height: 1.65;
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 48px;
  border-top: 1px solid var(--amber-border);
}

.manifesto__inner {
  max-width: 720px;
  margin: 0 auto;
}

.manifesto__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 32px;
  font-weight: 500;
}

.manifesto__quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 40px;
  border-left: 3px solid var(--amber);
  padding-left: 32px;
}

.manifesto__body {
  font-size: 1rem;
  color: var(--fg-2);
  line-height: 1.75;
  margin-bottom: 24px;
}

.manifesto__rule {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--amber-border);
}

.manifesto__rule-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  border-radius: 2px;
}

.manifesto__rule-text {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 400;
  font-style: italic;
  color: var(--fg-3);
  white-space: nowrap;
}

/* === CLOSING === */
.closing {
  padding: 100px 48px;
  background: var(--bg-2);
  border-top: 1px solid var(--amber-border);
}

.closing__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
}

.closing__body {
  font-size: 1rem;
  color: var(--fg-2);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto 56px;
}

.closing__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.closing__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.closing__badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--fg-3);
  text-transform: uppercase;
}

/* === FOOTER === */
.footer {
  padding: 40px 48px;
  border-top: 1px solid var(--amber-border);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--fg);
}

.footer__desc {
  font-size: 0.8125rem;
  color: var(--fg-3);
}

.footer__built {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--fg-3);
  font-style: italic;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px 40px;
  }

  .nav { padding: 16px 24px; }

  .stats { padding: 28px 24px; }
  .stats__inner { flex-direction: column; gap: 24px; }
  .stats__divider { width: 60px; height: 1px; }

  .how { padding: 60px 24px; }
  .how__steps { grid-template-columns: 1fr; }
  .how__step { padding: 32px 28px; }

  .features { padding: 60px 24px; }
  .features__grid { grid-template-columns: 1fr; }

  .manifesto { padding: 60px 24px; }

  .closing { padding: 60px 24px; }

  .footer { padding: 32px 24px; flex-direction: column; text-align: center; }
  .footer__built { margin-left: 0; }
}

@media (max-width: 600px) {
  .hero__mechanics { gap: 12px; }
  .closing__visual { gap: 24px; }
  .hero__card { max-width: 100%; }
  .hero__card-decor { max-width: 100%; }
}
