:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #b3b3b3;
  --cyan: #00f0ff;
  --magenta: #d46bff;
  --blue: #4aa3ff;
  --gradient: linear-gradient(135deg, var(--cyan), var(--blue), var(--magenta));
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Inter, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 42px;
}

.nav-links a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
}

.btn-outline {
  padding: 0.5rem 1rem;
  border: 1px solid var(--cyan);
  border-radius: 999px;
  text-decoration: none; /* Added for consistency */
  color: var(--text);    /* Added for consistency */
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: 8rem 2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--muted);
}

.hero-actions a {
  margin: 0 0.5rem;
}

.hero-ring {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--gradient);
  mask: radial-gradient(transparent 60%, black 61%);
  opacity: 0.35;
}

/* BUTTONS */
.btn-primary {
  display: inline-block; /* FIXED: Ensures button respects spacing/margins */
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--gradient);
  color: black;
  text-decoration: none;
  font-weight: 600;
}

.btn-secondary {
  display: inline-block; /* FIXED: Ensures button respects spacing/margins */
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--muted);
  color: var(--text);
  text-decoration: none;
}

/* SECTIONS */
.section {
  max-width: 1200px;
  margin: auto;
  padding: 6rem 2rem;
}

.section-dark {
  background: #050505;
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  text-align: center;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  padding: 2rem;
  border: 1px solid #222;
  border-radius: 16px;
  background: #080808;
}

.card h3 {
  margin-bottom: 0.75rem;
}

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

.eco-card {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #222;
  background: #0a0a0a;
}

.eco-card.active {
  border: 1px solid var(--cyan);
  box-shadow: 0 0 25px rgba(0,240,255,0.2);
}

.eco-card span {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* CTA */
.cta {
  text-align: center;
  padding: 6rem 2rem;
  background: radial-gradient(circle at top, #111, #000);
}

.cta h2 {
  margin-bottom: 1rem;
}

/* FIXED: Added spacing specifically for the CTA paragraph */
.cta p {
  margin-bottom: 2.5rem; /* Pushes the button down */
  color: var(--muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: var(--muted);
}
