@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-color: #050505;
  --bg-accent: #0f1015;
  --text-primary: #ffffff;
  --text-secondary: #a0a5b1;
  
  --primary-glow: #00f0ff;
  --secondary-glow: #7000ff;
  --tertiary-glow: #bc13fe;

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  --font-main: 'Outfit', sans-serif;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 2rem;}
h3 { font-size: 1.5rem; }

p {
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-glow);
}

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

.text-gradient {
  background: linear-gradient(90deg, var(--primary-glow), var(--tertiary-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}

.glass-card:hover::before {
  transform: translateX(100%);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.3);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  font-family: var(--font-main);
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow));
  color: #fff;
  box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
  transform: scale(1.05);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: var(--primary-glow);
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.global-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1;
}

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

.hero-content p {
  font-size: 1.2rem;
  margin: 1.5rem 0 2.5rem;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Section Margins */
section {
  padding: 6rem 0;
}

/* Ecosystem Grid */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.ecosystem-card i {
  font-size: 2.5rem;
  color: var(--primary-glow);
  margin-bottom: 1rem;
}

/* Tokenomics Section */
.tokenomics-container {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.token-box {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.mech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

/* Roadmap Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--glass-border);
  top: 0; bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--bg-color);
  border: 4px solid var(--primary-glow);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.right::after {
  left: -10px;
}

.timeline-content {
  padding: 20px 30px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
}

.timeline-content h3 {
  color: var(--primary-glow);
  margin-bottom: 0.5rem;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.accordion-icon {
  color: var(--primary-glow);
  transition: var(--transition);
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
  padding-bottom: 1.5rem;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* Footer */
footer {
  background: var(--bg-accent);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.social-links a {
  margin: 0 0.5rem;
  font-size: 1.2rem;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  section { padding: 4rem 0; }
  .hero-content p { font-size: 1rem; }
  .hero-btns { flex-direction: column; align-items: center; gap: 1rem; }
  .btn { width: 100%; max-width: 300px; text-align: center; }
  .timeline::after { left: 31px; }
  .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
  .timeline-item::after { left: 21px; }
  .right { left: 0%; }
  nav { flex-wrap: wrap; }
  .nav-links { 
    display: flex; 
    width: 100%; 
    justify-content: center; 
    margin-top: 1rem; 
    gap: 1rem; 
    flex-wrap: wrap; 
  } 
  .nav-cta { display: none; }
}
