@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

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

:root {
  --bg: #080810;
  --surface: #0f0f1a;
  --surface2: #141420;
  --green: #00ff88;
  --green-dim: #00cc66;
  --green-glow: rgba(0,255,136,0.15);
  --green-border: rgba(0,255,136,0.2);
  --text: #e8e8f0;
  --muted: #888899;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

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

/* Grid texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,136,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--green-border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--green);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px rgba(0,255,136,0.5);
}

.nav-logo::before { content: '> '; opacity: 0.5; }

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--green); }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 4rem 4rem;
  z-index: 1;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green), transparent, var(--green-dim));
  z-index: -1;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 20px;
  background: radial-gradient(ellipse, rgba(0,255,136,0.12) 0%, transparent 70%);
  z-index: -2;
}

.hero-image {
  width: 100%;
  max-width: 480px;
  border-radius: 14px;
  display: block;
  filter: contrast(1.05) saturate(1.1);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--green);
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero-tag::before { content: '◆ '; font-size: 0.6rem; }

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--green);
  text-shadow: 0 0 40px rgba(0,255,136,0.4);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--green);
  color: #000;
}

.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 30px rgba(0,255,136,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green-border);
}

.btn-outline:hover {
  background: var(--green-glow);
  border-color: var(--green);
  transform: translateY(-1px);
}

/* SECTIONS */
section {
  position: relative;
  z-index: 1;
  padding: 6rem 4rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 600px;
  line-height: 1.7;
}

/* CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  border-color: rgba(0,255,136,0.4);
  background: var(--surface2);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0,255,136,0.08);
}

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

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

.card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* PRODUCT CARDS */
.product-card {
  background: var(--surface);
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-card:hover {
  border-color: rgba(0,255,136,0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0,255,136,0.08);
}

.product-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--green-dim);
  background: rgba(0,255,136,0.08);
  border: 1px solid rgba(0,255,136,0.15);
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  width: fit-content;
}

.product-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--green);
  font-weight: 500;
}

.product-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  flex: 1;
}

/* FUTURE SECTION */
.future-section {
  background: var(--surface);
  border-top: 1px solid var(--green-border);
  border-bottom: 1px solid var(--green-border);
}

.future-section .container {
  max-width: 820px;
}

.future-section .section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.future-body {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.future-body p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.future-body p strong {
  color: var(--text);
  font-weight: 500;
}

/* TOKEN DETAILS */
.token-detail-card {
  background: var(--surface);
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  font-family: var(--font-mono);
  position: relative;
  overflow: hidden;
  max-width: 700px;
  margin: 3rem auto 0;
}

.token-detail-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

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

.token-row:last-child { border-bottom: none; }

.token-row-label {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.token-row-value {
  font-size: 0.9rem;
  color: var(--green);
  word-break: break-all;
  text-align: right;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  margin-left: 1rem;
}

.copy-btn:hover {
  background: rgba(0,255,136,0.25);
}

.copy-btn.copied {
  color: #000;
  background: var(--green);
  border-color: var(--green);
}

/* BUY CARDS */
.buy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.buy-card {
  background: var(--surface);
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.buy-card:hover {
  border-color: rgba(0,255,136,0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0,255,136,0.08);
}

.buy-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

/* CTA SECTION */
.cta-section {
  text-align: center;
  padding: 5rem 4rem;
}

.cta-section .section-title { margin-bottom: 1rem; }
.cta-section .section-sub { margin: 0 auto 2.5rem; text-align: center; }

/* FOOTER */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--green-border);
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: gap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-mono);
  color: var(--green);
  font-size: 0.9rem;
  text-decoration: none;
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.6;
}

.footer-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
  opacity: 0.7;
}

.footer-links a:hover { color: var(--green); opacity: 1; }

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-sub { margin: 0 auto 2rem; }
  .btn-row { justify-content: center; }
  section { padding: 4rem 1.5rem; }
  .buy-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  .nav-links { gap: 1.2rem; }
}

@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .token-detail-card { padding: 1.5rem; }
  .token-row { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .token-row-value { text-align: left; }
}
