:root {
  --bg: #030303;
  --accent: #d4af37;
  --accent-soft: rgba(212, 175, 55, 0.1);
  --text: #ffffff;
  --text-dim: #88888b;
  --glass: rgba(255, 255, 255, 0.02);
  --border: rgba(255, 255, 255, 0.07);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
}

html,
body {
  max-width: 100%;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

#liquid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.4;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border);
}
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}
.nav-links a:hover {
  color: var(--accent);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 25px;
  height: 2px;
  background: white;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
}
.hero h1 {
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
}
.hero p {
  max-width: 600px;
  color: var(--text-dim);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
}
.grad-text {
  background: linear-gradient(to right, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-pill {
  background: white;
  color: black;
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
  border: none;
}
.btn-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.container {
  padding: 100px 5%;
  position: relative;
}
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bento-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  transition: 0.4s;
  backdrop-filter: blur(10px);
}
.bento-card.wide {
  grid-column: span 2;
}
.bento-card.tall {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

/* --- LOGO MARQUEE --- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 60px 0;
  border-y: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
}
.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}
.marquee-content span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dim);
  margin-right: 100px;
  opacity: 0.5;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}
.stat-box h2 {
  font-size: 4rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.terminal-window {
  background: #0c0c0c;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  font-family: monospace;
  position: relative;
  overflow: hidden;
}
.terminal-header {
  display: flex;
  gap: 6px;
  margin-bottom: 15px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.red {
  background: #ff5f56;
}
.yellow {
  background: #ffbd2e;
}
.green {
  background: #27c93f;
}
.code-line {
  color: #d4af37;
  margin-bottom: 5px;
  opacity: 0;
  transform: translateX(-10px);
}

.horizontal-scroll-container {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.horizontal-scroll-content {
  display: flex;
  width: max-content;
  height: 100%;
}
.h-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(20px, 8vw, 120px);
}
.h-card {
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 60px;
  border-radius: 40px;
  max-width: 800px;
  text-align: center;
  backdrop-filter: blur(20px);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  perspective: 1500px;
}
.asset-card {
  height: 320px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  transition:
    transform 0.1s,
    border-color 0.3s;
}
.asset-card:hover {
  border-color: var(--accent);
}
.asset-card h3 {
  transform: translateZ(40px);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.asset-card .icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  transform: translateZ(20px);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.tier-card {
  padding: 40px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--glass);
  position: relative;
}
.tier-card.featured {
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.03);
}
.tier-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  border: 1px solid var(--accent);
  padding: 4px 10px;
  border-radius: 50px;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
}
.roadmap-item {
  padding: 30px;
  border-left: 2px solid var(--accent);
  background: var(--glass);
  border-radius: 0 20px 20px 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 25px 0;
  cursor: pointer;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-dim);
}
.faq-item.active .faq-answer {
  max-height: 150px;
  padding-top: 20px;
}

@media (max-width: 1024px) {
  .bento-grid,
  .tier-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .asset-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card.wide,
  .bento-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .app-section {
    flex-direction: column;
    text-align: center;
  }
  .nav-links,
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .asset-grid {
    grid-template-columns: 1fr;
  }
  .h-card {
    padding: 30px;
    border-radius: 20px;
  }
  .hero h1 {
    font-size: 3rem;
  }
}

.blur-orb {
  max-width: 100%;
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.2;
  pointer-events: none;
  overflow: hidden;
}
