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

/* --- RESET & BASE --- */
:root {
  --c-bg: #FAFAFA;
  --c-surface: #FFFFFF;
  --c-charcoal: #1A1B1E;
  --c-charcoal-soft: #2F3035;
  --c-orange: #FF5E00;
  --c-orange-hover: #E04F00;
  --c-text-main: #1A1B1E;
  --c-text-muted: #6B7078;
  --c-border: #E5E7EB;
  --c-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --c-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --c-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --c-shadow-glow: 0 0 20px rgba(255, 94, 0, 0.25);
  
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --fs-sm: clamp(0.8rem, 0.85rem, 0.9rem);
  --fs-base: clamp(1rem, 1.05rem, 1.125rem);
  --fs-lg: clamp(1.25rem, 1.4rem, 1.6rem);
  --fs-xl: clamp(1.8rem, 2.5rem, 3rem);
  --fs-hero: clamp(2.5rem, 5vw, 4.5rem);
  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--c-bg);
  color: var(--c-text-main);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-charcoal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-charcoal);
  margin-bottom: var(--space-sm);
}

h1 { font-size: var(--fs-hero); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-xl); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-base); font-weight: 600; }

p { margin-bottom: var(--space-md); color: var(--c-text-muted); max-width: 65ch; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul { list-style: none; }

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

/* --- UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.relative { position: relative; }

/* --- HEADER & NAV --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  padding: var(--space-sm) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--c-charcoal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-accent { color: var(--c-orange); }

.main-nav ul {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--c-charcoal-soft);
}

.nav-link:hover { color: var(--c-orange); }

.nav-cta {
  background-color: var(--c-charcoal);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta:hover {
  background-color: var(--c-orange);
  color: #fff;
}

/* Mobile Nav Toggle (Hidden on Desktop) */
.nav-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--c-orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 94, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--c-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 94, 0, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--c-charcoal);
  border: 2px solid var(--c-charcoal);
}

.btn-secondary:hover {
  background-color: var(--c-charcoal);
  color: #fff;
}

.btn-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* --- SECTIONS & LAYOUT --- */
section {
  padding: var(--space-2xl) 0;
}

/* --- HERO --- */
.hero-section {
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F4F6 100%);
  padding-top: calc(var(--space-2xl) + 40px); /* Compensate for header */
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-content .eyebrow {
  color: var(--c-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-sm);
  display: block;
}

.hero-title {
  margin-bottom: var(--space-md);
}

.hero-title span {
  color: var(--c-orange);
}

.hero-subtitle {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-lg);
  color: var(--c-charcoal-soft);
}

.hero-image {
  position: relative;
  background: var(--c-charcoal);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--c-shadow-lg);
  font-family: 'Courier New', monospace;
  color: #a5b3ce;
  font-size: 0.9rem;
  line-height: 1.5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-image code {
  color: #fff;
}
.hero-image .token { color: var(--c-orange); }
.hero-image .string { color: #7ee787; }

/* --- CARDS GRID --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background: var(--c-surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--c-shadow-lg);
  border-color: var(--c-orange);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 94, 0, 0.1);
  color: var(--c-orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-weight: bold;
  font-family: var(--font-heading);
}

.card-title { margin-bottom: var(--space-xs); font-size: 1.25rem; }
.card-text { font-size: 0.95rem; margin-bottom: 0; }

/* --- STATS ROW --- */
.stats-section {
  background-color: var(--c-charcoal);
  color: #fff;
  padding: var(--space-xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  text-align: center;
}

.stat-item h3 {
  font-size: 3rem;
  color: var(--c-orange);
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: #A0A0A0;
  font-size: 1rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.faq-item {
  border-bottom: 1px solid var(--c-border);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-charcoal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Approximate max height */
  padding-bottom: var(--space-md);
}

.faq-item.active .faq-question { color: var(--c-orange); }

/* --- CTA BAND --- */
.cta-section {
  background-color: var(--c-orange);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: var(--space-2xl) 0;
}

.cta-section h2 { color: #fff; margin-bottom: var(--space-sm); }
.cta-section p { color: rgba(255,255,255,0.9); margin: 0 auto var(--space-lg) auto; }

.cta-section .btn {
  background-color: #fff;
  color: var(--c-orange);
}
.cta-section .btn:hover {
  background-color: var(--c-charcoal);
  color: #fff;
}

/* --- FOOTER --- */
.site-footer {
  background-color: #F3F4F6;
  padding: var(--space-2xl) 0 var(--space-lg) 0;
  border-top: 1px solid var(--c-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-col h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-text-muted);
  margin-bottom: var(--space-md);
}

.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: var(--c-charcoal); font-weight: 500; }
.footer-col ul li a:hover { color: var(--c-orange); }

.footer-brand p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  margin-top: var(--space-sm);
}

.footer-bottom {
  border-top: 1px solid #E5E7EB;
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .btn-group { justify-content: center; }
  .hero-image { display: none; } /* Hide complex image on tablet */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; } /* Simplified for example, would need JS for toggle */
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); }
}img,svg,video{max-width:100%;height:auto}html{-webkit-text-size-adjust:100%}body{margin:0}*{box-sizing:border-box}