:root {
  --bg: #05070c;
  --bg-2: #0b1020;
  --panel: rgba(14, 20, 34, 0.88);
  --panel-2: rgba(18, 25, 42, 0.94);
  --text: #f4f7ff;
  --muted: #a9b4cc;
  --line: rgba(255, 255, 255, 0.1);
  --red: #d13639;
  --blue: #5fa8ff;
  --glow: rgba(95, 168, 255, 0.2);
  --max: 1200px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(209, 54, 57, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(95, 168, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #04060b 0%, #08111e 48%, #05070c 100%);
  line-height: 1.65;
}

a {
  color: var(--text);
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(5, 7, 12, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.main-nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 7rem 2rem 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(4, 6, 11, 0.32), rgba(4, 6, 11, 0.84)),
    url("https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  opacity: 0.42;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(209, 54, 57, 0.18), transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(95, 168, 255, 0.2), transparent 22%);
}

.hero-content {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
  z-index: 2;
}

.hero-eyebrow {
  color: #d8deef;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero h2 {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--muted);
  font-weight: 500;
}

.hero-description {
  max-width: 750px;
  font-size: 1.08rem;
  color: #dde5f7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.meta-card {
  min-width: 200px;
  background: rgba(10, 16, 28, 0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow);
}

.meta-label {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.meta-value {
  font-weight: 700;
  font-size: 1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-block;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, border 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(90deg, var(--red), #ec575a);
  color: white;
  box-shadow: 0 12px 30px rgba(209, 54, 57, 0.28);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

main {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 5rem;
}

.content-section {
  margin-bottom: 5rem;
}

.section-heading {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--red);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section-heading h3 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.content-card,
.mini-card {
  background: linear-gradient(180deg, rgba(13, 18, 31, 0.96), rgba(9, 14, 25, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.content-card h4,
.mini-card h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.content-card p:last-child,
.mini-card p:last-child {
  margin-bottom: 0;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.small-cards {
  margin: 1.5rem 0;
  grid-template-columns: repeat(2, 1fr);
}

.timeline {
  display: grid;
  gap: 1.2rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  align-items: start;
  background: linear-gradient(180deg, rgba(13, 18, 31, 0.96), rgba(9, 14, 25, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.timeline-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(180deg, var(--red), #ff6265);
  color: white;
  box-shadow: 0 10px 25px rgba(209, 54, 57, 0.28);
}

.timeline-content h4 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

li {
  margin-bottom: 0.55rem;
}

.closing-note {
  margin-top: 1.5rem;
  color: var(--muted);
}

.content-card a,
.mini-card a {
  color: #cfe2ff;
}

.content-card,
.mini-card,
.timeline-item {
  position: relative;
  overflow: hidden;
}

.content-card::after,
.mini-card::after,
.timeline-item::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .two-column,
  .grid-cards,
  .small-cards {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 6rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 1rem 1rem;
  }

  .hero {
    padding: 6rem 1rem 3rem;
  }

  main {
    width: min(100% - 1rem, var(--max));
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-number {
    width: 42px;
    height: 42px;
  }

  .hero-meta {
    flex-direction: column;
  }
}