/* =========================================================
   One Ring — design DNA from source (dark + orange/red)
   Robinhood ecosystem conversion
   ========================================================= */

@font-face {
  font-family: "Futura PT";
  font-weight: 600;
  font-display: swap;
  src: url("assets/FuturaPT-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Futura PT Heavy";
  font-weight: 700;
  font-display: swap;
  src: url("assets/FuturaPT-Heavy.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-weight: 500;
  font-display: swap;
  src: url("assets/Inter-Regular.woff2") format("woff2");
}

:root {
  --bg: #0c0c0c;
  --bg-deep: #000000;
  --text: #ffffff;
  --muted: rgba(246, 246, 246, 0.5);
  --muted-strong: rgba(246, 246, 246, 0.7);
  --orange: #ff5d00;
  --red: #eb0000;
  --gradient: linear-gradient(90deg, #ff5d00 0%, #eb0000 100%);
  --border: rgba(255, 255, 255, 0.08);
  --card: rgba(28, 28, 28, 0.55);
  --card-hover: rgba(28, 28, 28, 0.85);
  --glow: rgba(255, 93, 0, 0.35);
  --hood: #00c805;
  --radius: 16px;
  --max: 1920px;
  --pad-x: 24px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 500;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

@media (min-width: 1024px) {
  :root {
    --pad-x: 96px;
  }
}

@media (min-width: 1280px) {
  :root {
    --pad-x: 106px;
  }
}

@media (min-width: 1536px) {
  :root {
    --pad-x: 140px;
  }
}

/* ---------- Typography ---------- */
.font-display {
  font-family: "Futura PT", "Futura PT Heavy", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: "Futura PT", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease),
    box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 28px var(--glow);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(255, 93, 0, 0.5);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.btn-ghost:hover {
  border-color: rgba(255, 93, 0, 0.5);
  background: rgba(255, 93, 0, 0.08);
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.btn-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.btn-icon.soon {
  opacity: 0.55;
  cursor: default;
}

.btn-icon.soon:hover {
  transform: none;
  opacity: 0.55;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 12, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(0, 0, 0, 0.9);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.75;
}

.brand img {
  width: 117px;
  height: 26px;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--muted-strong);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 8px var(--pad-x) 20px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.96);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 4px;
  color: var(--muted-strong);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a:hover {
  color: #fff;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 380px;
  padding-top: 40px;
  padding-bottom: 48px;
}

.hero-mascot {
  position: absolute;
  top: -20px;
  right: -24px;
  width: min(450px, 92vw);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.hero-mascot img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(255, 93, 0, 0.15));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin-top: 24px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hood);
  box-shadow: 0 0 12px var(--hood);
}

.hero h1 {
  font-family: "Futura PT", sans-serif;
  font-weight: 600;
  font-size: clamp(1.875rem, 5vw, 4.5rem);
  line-height: 1.1;
  color: #fff;
}

.hero-sub {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 34rem;
}

.hero-sub p {
  margin-top: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-left: 4px;
}

.hero-socials a {
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-socials a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.hero-socials img,
.hero-socials svg {
  width: 22px;
  height: 22px;
}

.hero-socials .soon {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

@media (min-width: 640px) {
  .hero-inner {
    min-height: 470px;
  }

  .hero-mascot {
    width: 550px;
    opacity: 0.28;
  }

  .hero-sub {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .hero-inner {
    min-height: 540px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-mascot {
    width: 640px;
    opacity: 0.35;
  }

  .hero-content {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    min-height: 630px;
  }

  .hero-mascot {
    display: block;
    width: min(52vw, 720px);
    right: -40px;
    top: 0;
    opacity: 1;
  }

  .hero-content {
    max-width: 52%;
  }
}

@media (min-width: 1280px) {
  .hero-inner {
    min-height: 720px;
    padding-top: 80px;
  }

  .hero-content {
    margin-top: 48px;
  }
}

@media (min-width: 1536px) {
  .hero-inner {
    min-height: 850px;
  }

  .hero-content {
    margin-top: 72px;
  }

  .hero-mascot {
    width: min(48vw, 900px);
  }
}

/* ---------- Section shell ---------- */
.section {
  background: var(--bg);
  padding: 72px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-deep);
}

.section-head {
  margin-bottom: 40px;
}

.section-label {
  font-family: "Futura PT", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-family: "Futura PT", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  color: #fff;
}

.section-desc {
  margin-top: 14px;
  color: var(--muted);
  max-width: 36rem;
  font-size: 0.95rem;
}

/* ---------- Features (3-col) ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.5), rgba(12, 12, 12, 0.3));
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 93, 0, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 93, 0, 0.08);
}

.feature-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.feature-card h3 {
  font-family: "Futura PT", sans-serif;
  font-size: 1.35rem;
  color: #fff;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* ---------- Token section ---------- */
.token-section {
  overflow: hidden;
}

.token-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.token-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.token-visual img {
  width: min(420px, 90vw);
  filter: drop-shadow(0 30px 80px rgba(255, 93, 0, 0.25));
  animation: float-ring 8s ease-in-out infinite;
}

@keyframes float-ring {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}

.token-copy .section-label {
  margin-bottom: 8px;
}

.token-copy h2 {
  font-family: "Futura PT", sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}

.token-copy > p {
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 28rem;
}

.token-perks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.perk {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.perk-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.perk-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.perk h4 {
  font-family: "Futura PT", sans-serif;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 8px;
}

.perk p {
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 300px;
  line-height: 1.55;
}

@media (min-width: 768px) {
  .perk-icon {
    width: 64px;
    height: 64px;
  }

  .token-perks {
    grid-template-columns: 1fr 1fr;
    gap: 28px 32px;
  }
}

@media (min-width: 1024px) {
  .token-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
  }
}

/* ---------- Contract / Launch strip ---------- */
.launch-strip {
  padding: 56px 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 0%, rgba(255, 93, 0, 0.12), transparent 60%),
    var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.launch-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 93, 0, 0.25);
  background: linear-gradient(135deg, rgba(255, 93, 0, 0.08), rgba(0, 0, 0, 0.4));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.launch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.launch-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}

.launch-meta-item span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.launch-meta-item strong {
  font-family: "Futura PT", sans-serif;
  font-size: 1.05rem;
  color: #fff;
  word-break: break-all;
}

.launch-meta-item .hood-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hood);
}

.launch-meta-item .hood-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hood);
  box-shadow: 0 0 10px var(--hood);
}

.ca-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ca-value {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted-strong);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 900px) {
  .launch-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 36px 40px;
  }
}

/* ---------- Team ---------- */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 28px;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px;
  transition: transform 0.3s var(--ease);
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-card img {
  width: 120px;
  height: 144px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
}

.team-role {
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
}

.team-name {
  margin-top: 4px;
  font-family: "Futura PT", sans-serif;
  font-size: 1.05rem;
  color: #fff;
}

@media (min-width: 768px) {
  .team-card {
    width: 140px;
  }

  .team-card img {
    width: 140px;
    height: 168px;
  }

  .team-name {
    font-size: 1.2rem;
  }
}

/* ---------- Ecosystem pillars (replaces investors) ---------- */
.pillars-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 48px;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 120px;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
}

.pillar-icon {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 12px;
}

.pillar-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
}

.pillar-label {
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
}

.pillar-name {
  margin-top: 4px;
  font-size: 0.95rem;
  color: #fff;
}

@media (min-width: 768px) {
  .pillar-card {
    width: 140px;
  }

  .pillar-icon {
    width: 120px;
    height: 120px;
  }

  .pillar-name {
    font-size: 1.05rem;
  }
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 24px 28px 72px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.step:hover {
  border-color: rgba(255, 93, 0, 0.3);
  background: var(--card-hover);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 28px;
  font-family: "Futura PT", sans-serif;
  font-size: 1.1rem;
  color: var(--orange);
}

.step h3 {
  font-family: "Futura PT", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

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

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  width: 160px;
  height: auto;
  opacity: 0.65;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h5 {
  font-family: "Futura PT", sans-serif;
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: #fff;
}

.footer-col a,
.footer-col span {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-bottom .disclaimer {
  max-width: 52rem;
  line-height: 1.55;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

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

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

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}
.reveal-delay-4 {
  transition-delay: 0.32s;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1c1c1c;
  border: 1px solid rgba(255, 93, 0, 0.4);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.875rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
  z-index: 200;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

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

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .token-visual img {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
