/* Base layout */
:root {
  --bg: #050710;
  --bg-soft: #101320;
  --bg-soft-2: #171b2a;
  --text-main: #f7f7ff;
  --text-muted: #d0d2dd;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --pill-bg: #0f172a;
  --pill-text: #e5e7eb;
  --border-soft: #1f2937;
  --shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.45);
  --radius-lg: 22px;
  --radius-pill: 999px;
  --max-width: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1d1639 0, #050710 55%, #020308 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* Generic containers */
.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
  color: var(--text-main);
  margin: 0 0 0.6rem;
}
h1 {
  font-size: clamp(2rem, 3vw + 1.5rem, 3.1rem);
  line-height: 1.1;
}
h2 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.2rem);
}
h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

ul {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

a {
  color: #a5b4fc;
  text-decoration-color: rgba(129, 140, 248, 0.35);
}
a:hover {
  color: #c4b5fd;
}

/* NAVBAR */
header.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(5, 7, 16, 0.96),
    rgba(5, 7, 16, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(31, 41, 55, 0.8);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0;
  gap: 1rem;
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}
.brand-mark {
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.6);
}
.brand-name {
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.02em;
}

/* nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
}
.nav-links a:hover {
  color: var(--text-main);
}

/* nav cta */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.08s;
}

.btn.primary {
  background-image: linear-gradient(
    90deg,
    #a855f7,
    #ec4899,
    #f97316
  );
  color: #fff;
  border-color: rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 80px rgba(249, 115, 22, 0.45);
}

.btn.ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: rgba(148, 163, 184, 0.5);
}
.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-main);
}

/* mobile nav icon (we keep it hidden on desktop) */
.nav-burger {
  display: none;
}

/* HERO SECTION */
.page-hero {
  padding: 3.5rem 0 2.25rem;
}
.page-hero + main {
  padding-bottom: 3rem;
}
.page-hero .wrap {
  display: grid;
  gap: 2rem;
}
.page-hero .kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}
.gradient-text {
  background-image: linear-gradient(90deg, #a855f7, #ec4899, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  max-width: 720px;
  font-size: 0.98rem;
}

/* main layout */
.layout {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr);
  gap: 1.75rem;
}

/* hero panel image */
.hero-panel {
  background: radial-gradient(circle at top left, #4c1d95 0, #020617 55%);
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem;
  margin: 1.25rem 0 2rem;
}
.hero-panel img {
  width: 100%;
  border-radius: 22px;
  display: block;
}

/* PANELS */
.panel {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.25rem;
}
.panel.tiny {
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
}

/* pills, badges, contents bar */
.pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0 1rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--pill-bg);
  color: var(--pill-text);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  border: 1px solid rgba(55, 65, 81, 0.85);
}
.pill .emoji,
.badge .emoji {
  font-size: 1.05rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  color: var(--pill-text);
  border: 1px solid rgba(75, 85, 99, 0.9);
}

/* section headings */
.section-title {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}
.section-title:first-of-type {
  margin-top: 1.75rem;
}

/* CTA banner */
.cta {
  position: relative;
  padding: 3rem 0 2.5rem;
  margin-top: 2rem;
}
.cta-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.38), transparent 55%);
  opacity: 0.5;
}
.cta .wrap {
  position: relative;
}
.cta-card {
  background: linear-gradient(135deg, #111827, #020617);
  border-radius: 28px;
  border: 1px solid rgba(75, 85, 99, 0.9);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cta-text {
  max-width: 540px;
  font-size: 0.98rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: rgba(3, 7, 18, 0.98);
  padding: 2.25rem 0 1.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  font-size: 0.85rem;
}
.footer h3 {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.footer a {
  color: #e5e7eb;
  text-decoration: none;
}
.footer a:hover {
  color: #c4b5fd;
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer li + li {
  margin-top: 0.35rem;
}
.foot-copy {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* small text helpers */
.small {
  font-size: 0.84rem;
}
.muted {
  color: #9ca3af;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: inline-flex;
    background: transparent;
    border: none;
    padding: 0.2rem;
    cursor: pointer;
  }
  .nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #e5e7eb;
    border-radius: 999px;
    margin: 3px 0;
  }
  .page-hero {
    padding-top: 2.5rem;
  }
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
