:root {
  --bg: #0a0e17;
  --bg-soft: #121927;
  --bg-elevated: rgba(17, 25, 40, 0.72);
  --surface-border: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #a8b3c7;
  --primary: #f47c20;
  --primary-strong: #ff9446;
  --secondary: #42d7ff;
  --secondary-soft: rgba(66, 215, 255, 0.15);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top right, rgba(244, 124, 32, 0.18), transparent 28%),
    radial-gradient(circle at 15% 15%, rgba(66, 215, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #08111d 0%, #0a0e17 45%, #08111d 100%);
  color: var(--text);
  min-height: 100vh;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-shell {
  overflow: hidden;
}

.glass {
  background: var(--bg-elevated);
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 14, 24, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 8px 20px rgba(244, 124, 32, 0.28));
}

.brand-name {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-tag {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

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

.nav a,
.footer-links a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

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

.lang-switch {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  color: #111;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 40px rgba(244, 124, 32, 0.28);
}

.btn-secondary,
.btn-outline {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid,
.split-grid,
.faq-grid,
.validators-grid,
.footer-wrap {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.eyebrow,
.section-kicker,
.timeline-phase,
.mini-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1,
.section-head h2,
.contact-card h2 {
  margin: 0.85rem 0 1rem;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  max-width: 12ch;
}

.hero-text,
.section-head p,
.feature-card p,
.timeline-item p,
.faq-item p,
.contact-card p,
.footer p,
.bullet-list,
.stats-panel,
.visual-panel-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-points,
.feature-grid,
.timeline {
  display: grid;
  gap: 1rem;
}

.hero-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.point-card,
.feature-card,
.timeline-item,
.faq-item,
.stats-panel,
.contact-card {
  padding: 1.35rem;
  border-radius: var(--radius-sm);
}

.point-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.point-card strong,
.feature-card h3,
.timeline-item h3,
.contact-card h2,
.visual-panel-copy h2 {
  display: block;
  margin-bottom: 0.45rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.visual-orbit {
  position: absolute;
  inset: auto;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.orbit-a {
  width: 440px;
  height: 440px;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.orbit-b {
  width: 300px;
  height: 300px;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  border-color: rgba(66, 215, 255, 0.22);
}

.visual-panel {
  position: absolute;
  inset: 80px 0 auto auto;
  width: min(100%, 420px);
  padding: 1.4rem;
  border-radius: 28px;
}

.visual-panel img {
  width: 82px;
  margin-bottom: 1rem;
}

.visual-panel-copy h2 {
  font-size: 1.6rem;
}

.floating-chip {
  position: absolute;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: var(--shadow);
}

.chip-left {
  left: 0;
  top: 140px;
}

.chip-right {
  right: 0;
  top: 180px;
}

.chip-bottom {
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%);
}

.section {
  padding: 4.5rem 0;
}

.accent-section {
  position: relative;
}

.accent-section::before {
  content: '';
  position: absolute;
  inset: 10% auto auto -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(244, 124, 32, 0.16), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}

.section-head {
  max-width: 780px;
  margin-bottom: 2rem;
}

.narrow-left {
  margin-left: 0;
}

.feature-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.bullet-list {
  padding-left: 1.2rem;
  margin: 1.4rem 0 0;
}

.bullet-list li + li {
  margin-top: 0.8rem;
}

.device-stack {
  position: relative;
  min-height: 460px;
}

.device {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone {
  position: absolute;
  top: 0;
  left: 0;
  width: 250px;
  padding: 0.8rem;
}

.desktop {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(100%, 440px);
  padding: 1rem;
}

.device-notch,
.desktop-bar {
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

.device-screen {
  min-height: 440px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(66, 215, 255, 0.08), rgba(244, 124, 32, 0.08));
  padding: 1.2rem;
}

.wallet-balance {
  color: var(--secondary);
  font-size: 0.9rem;
}

.wallet-amount {
  margin-top: 0.2rem;
  font-size: 2rem;
  font-weight: 800;
}

.wallet-actions {
  display: flex;
  gap: 0.6rem;
  margin: 1.3rem 0;
}

.wallet-actions span,
.tx-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.wallet-actions span {
  padding: 0.65rem 0.8rem;
  font-size: 0.86rem;
}

.tx-card {
  padding: 1rem;
  margin-top: 0.9rem;
  font-weight: 700;
}

.tx-card small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-weight: 500;
}

.desktop-content {
  min-height: 260px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  padding: 1.1rem;
}

.desktop-chart {
  height: 110px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(66, 215, 255, 0.22), transparent),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

.desktop-lines {
  height: 104px;
  margin-top: 1rem;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 12px, transparent 0) 0 0 / 100% 26px repeat-y;
}

.stats-panel {
  display: grid;
  gap: 0.8rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.stat-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0.9rem 0 0;
}

.contact-card,
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer {
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-grid,
  .faq-grid,
  .timeline,
  .feature-grid.four,
  .feature-grid.three {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero-visual {
    min-height: 440px;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: 84px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(7, 11, 19, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-actions .btn-outline {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .faq-grid,
  .feature-grid.four,
  .feature-grid.three,
  .timeline,
  .footer-wrap {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-visual,
  .device-stack {
    min-height: auto;
  }

  .visual-panel,
  .phone,
  .desktop {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .phone,
  .desktop {
    margin-bottom: 1rem;
  }

  .orbit-a,
  .orbit-b,
  .chip-left,
  .chip-right,
  .chip-bottom {
    display: none;
  }

  .contact-card,
  .footer-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    min-height: 74px;
  }

  .brand-tag {
    display: none;
  }

  .lang-switch {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .point-card,
  .feature-card,
  .timeline-item,
  .faq-item,
  .stats-panel,
  .contact-card {
    padding: 1.15rem;
  }
}
