:root {
  --primary: #ff2a54;
  --primary-strong: #ff0033;
  --secondary: #00f0ff;
  --accent: #7000ff;
  --bg-dark: #05070e;
  --bg-panel: rgba(14, 18, 32, 0.84);
  --bg-panel-strong: rgba(8, 11, 20, 0.92);
  --border-glass: rgba(255, 255, 255, 0.1);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --success: #10b981;
  --warning: #f59e0b;
  --shadow-primary: rgba(255, 42, 84, 0.28);
  --shadow-secondary: rgba(0, 240, 255, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-dark);
  background-image: url('abstract_bg_glow.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(24px);
  opacity: 0.72;
}

body::before {
  width: 380px;
  height: 380px;
  top: -120px;
  right: -90px;
  background: radial-gradient(circle, rgba(112, 0, 255, 0.54), transparent 70%);
}

body::after {
  width: 340px;
  height: 340px;
  left: -80px;
  bottom: -110px;
  background: radial-gradient(circle, rgba(255, 42, 84, 0.46), transparent 72%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px min(5vw, 56px);
  background: rgba(5, 7, 14, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-glass);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 0 20px rgba(255, 42, 84, 0.62);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.link-muted {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

.link-muted:hover {
  color: var(--text-main);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 14px 34px var(--shadow-primary);
}

.btn-secondary {
  color: var(--text-main);
  border-color: var(--border-glass);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
  border-color: rgba(0, 240, 255, 0.36);
  box-shadow: 0 12px 28px var(--shadow-secondary);
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 56px;
}

.hero-card,
.content-card,
.side-card,
.summary-card {
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-panel-strong) 100%);
  border: 1px solid var(--border-glass);
  border-radius: 28px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.34);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 48px);
}

.hero-card::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -50px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.18), transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.24);
  background: rgba(0, 240, 255, 0.08);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

.hero-title {
  margin-top: 18px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -2px;
  max-width: 760px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  margin-top: 18px;
  max-width: 760px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-meta {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.summary-card {
  padding: 18px 18px 20px;
}

.summary-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.summary-value {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.content-layout {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.side-card {
  position: sticky;
  top: 92px;
  padding: 20px;
}

.side-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.side-nav {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.side-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.side-nav a:hover {
  transform: translateX(3px);
  border-color: rgba(255, 42, 84, 0.28);
  background: rgba(255, 42, 84, 0.08);
}

.side-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  line-height: 1.65;
}

.content-card {
  padding: clamp(24px, 3vw, 34px);
  display: grid;
  gap: 18px;
}

.section-block {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.section-block h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 10px;
  line-height: 1.1;
}

.section-block p,
.section-block li {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 16px;
}

.section-block ul,
.section-block ol {
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.section-block + .section-block {
  margin-top: 2px;
}

.callout {
  margin-top: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 42, 84, 0.08);
  border: 1px solid rgba(255, 42, 84, 0.16);
}

.callout strong {
  color: var(--text-main);
}

.footer-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.16);
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-note a {
  color: var(--text-main);
}

@media (max-width: 980px) {
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 16px;
  }

  .page-shell {
    width: min(100% - 20px, 1200px);
    padding-top: 22px;
  }

  .hero-card,
  .content-card,
  .side-card,
  .summary-card,
  .section-block {
    border-radius: 22px;
  }

  .hero-title {
    letter-spacing: -1px;
  }

  .top-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}
