/* Global reset and typography */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  background: #0b1020;
  color: #f8fafc;
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: 'Montserrat', Arial, sans-serif; color: #f8fafc; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Layout helpers */
main { background: #0b1020; }
.section-head { max-width: 900px; margin: 0 auto 24px; color: #f8fafc; }
.section-head p { color: #d1d5db; }
.section-head.center { text-align: center; }

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11,16,32,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, #1abc9c, #0b1020);
  display: grid; place-items: center;
  font-weight: 900; color: #f8fafc;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 800; font-size: 18px; }
.brand-tagline { color: #d1d5db; font-size: 13px; }

.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: #e5e7eb; font-weight: 600; }
.nav a:hover { color: #1abc9c; }

.btn {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.15);
  transition: 0.25s ease;
}
.btn.primary {
  background: linear-gradient(135deg, #1abc9c, #0f2e87);
  color: #fff;
  border: none;
  box-shadow: 0 10px 30px rgba(26,188,156,0.25);
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(26,188,156,0.35); }
.btn.ghost { background: transparent; color: #f8fafc; }
.btn.ghost:hover { border-color: #1abc9c; color: #1abc9c; }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px; width: 100%;
  background: #f8fafc;
  transition: 0.25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 75vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: brightness(0.55);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,16,32,0.85), rgba(11,16,32,0.4));
}
.hero-content {
  position: relative;
  max-width: 760px;
  padding: 32px;
  text-align: center;
  z-index: 2;
}
.eyebrow { text-transform: uppercase; letter-spacing: 0.24em; color: #1abc9c; font-weight: 700; margin-bottom: 12px; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 14px; }
.subtitle { color: #d1d5db; margin-bottom: 18px; }
.cta-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { color: #cbd5e1; display: block; margin-top: 12px; }

/* Universe cards */
.universe { padding: 64px 24px; background: #0b1020; }
.universe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.card {
  background: #11172d;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
  transition: 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(0,0,0,0.45); }
.card-media { height: 180px; }
.card-body { padding: 16px; }
.card-body h3 { margin-bottom: 6px; }
.card-body p { color: #cbd5e1; }

/* Features */
.features { padding: 64px 24px; background: #ffffff; color: #0b1020; }
.features h2, .features p { color: #0b1020; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.feature {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
  transition: 0.25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,0.08); }
.icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  margin-bottom: 12px;
  border: 3px solid #0b1020;
}
.icon.green { background: #1abc9c22; border-color: #1abc9c; }
.icon.yellow { background: #f1c40f22; border-color: #f1c40f; }
.icon.red { background: #e74c3c22; border-color: #e74c3c; }
.icon.white { background: #ffffff; border-color: #0b1020; }

/* Audience strip */
.audience {
  padding: 42px 24px;
  background: linear-gradient(90deg, #1abc9c22, #f1c40f22, #e74c3c22);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.audience-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}
.audience-item h4 { margin-bottom: 6px; }
.audience-item p { color: #e5e7eb; }

/* Footer */
.footer {
  background: #05060d;
  padding: 32px 24px;
  color: #cbd5e1;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: center;
}
.footer-brand { font-weight: 900; font-size: 20px; color: #f8fafc; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: #1abc9c; }
.footer-note { font-size: 13px; color: #9ca3af; }

/* Appear on scroll */
.appear { opacity: 0; transform: translateY(22px); transition: 0.6s ease; }
.appear.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 960px) {
  .nav {
    position: absolute; right: 16px; top: 70px;
    background: rgba(11,16,32,0.95);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    align-items: flex-start;
    min-width: 200px;
    gap: 10px;
    display: none;
  }
  .nav.open { display: flex; }
  .burger { display: inline-flex; }
}
