:root {
  --bg: #0a1018;
  --bg-soft: #111a26;
  --panel: #101927;
  --line: #223349;
  --line-soft: #1c2b3d;
  --text: #f4f7fd;
  --muted: #9fb2cb;
  --accent: #f0b25f;
  --accent-soft: rgba(240, 178, 95, 0.2);
  --signal: #6cb2ff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 85% 8%, rgba(108, 178, 255, 0.16), transparent 24%),
    radial-gradient(circle at 18% 20%, rgba(240, 178, 95, 0.14), transparent 22%),
    linear-gradient(160deg, #070c13 0%, #0b121b 52%, #09111b 100%);
  line-height: 1.65;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88) 28%, transparent 100%);
}

.container { width: min(1240px, calc(100% - 56px)); margin: 0 auto; }

.site-header { padding: 22px 22px 0; position: relative; z-index: 30; }

.header-inner {
  width: min(1480px, 100%);
  margin: 0 auto;
  min-height: 70px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(252, 254, 255, 0.94);
  box-shadow: 0 18px 32px rgba(4, 8, 14, 0.26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 14px 0 22px;
}

.site-header .brand {
  letter-spacing: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0e131c;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark { width: 28px; height: 28px; border-radius: 6px; }
.brand-meta { display: inline-flex; gap: 6px; align-items: baseline; }
.brand-name { font-weight: 800; font-size: 0.92rem; letter-spacing: 0.02em; }
.brand-note { font-size: 0.78rem; color: #5f6a78; }

.nav { display: flex; align-items: center; gap: 8px; }

.nav a {
  color: #1e2632;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.nav a:hover { color: #141b26; border-color: rgba(26, 34, 46, 0.08); background: rgba(26, 34, 46, 0.08); }

.nav-cta {
  min-height: 46px;
  padding: 0 18px !important;
  border-radius: 999px !important;
  color: #111a27 !important;
  background: linear-gradient(120deg, #b8d4ff 0%, #8bbef7 100%);
}

.top-nav { padding: 22px 22px 0; position: relative; z-index: 30; }

.nav-pill {
  width: min(1480px, 100%);
  margin: 0 auto;
  min-height: 70px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(252, 254, 255, 0.94);
  box-shadow: 0 18px 32px rgba(4, 8, 14, 0.26);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 14px 0 22px;
}

.brand {
  color: #0e131c;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  display: block;
  height: 30px;
  width: auto;
  max-width: 160px;
}

.main-nav { display: flex; align-items: center; gap: 8px; }

.main-nav a {
  color: #1e2632;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.main-nav a:hover { color: #141b26; border-color: rgba(26, 34, 46, 0.08); background: rgba(26, 34, 46, 0.08); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 12px;
  transition: 0.18s ease;
}

.btn-header {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #111a27;
  background: linear-gradient(120deg, #b8d4ff 0%, #8bbef7 100%);
  font-size: 0.9rem;
}

.btn-header:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(139, 190, 247, 0.34); }

main { position: relative; z-index: 1; padding: 26px 0 60px; }

.hero { padding: 0 0 24px; }

.hero-main {
  position: relative;
  padding: 38px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 26px 58px rgba(2, 7, 14, 0.48);
  border: 1px solid var(--line);
  background: radial-gradient(circle at top right, rgba(240, 178, 95, 0.22), transparent 30%),
    linear-gradient(160deg, #101a28 0%, #0e1724 55%, #0d1622 100%);
  color: var(--text);
}

.hero-main::before {
  content: "";
  position: absolute;
  inset: auto auto -40px -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(240, 178, 95, 0.14);
  filter: blur(8px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d2deef;
}

.hero h1 { margin-top: 18px; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.05; letter-spacing: -0.02em; max-width: 22ch; }
.hero-subtitle { margin-top: 15px; max-width: 760px; font-size: 1.05rem; color: #c0cde0; }
.hero-category { margin-top: 12px; font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #a9c9f8; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.stat-value { display: block; font-size: 1.6rem; line-height: 1.1; font-weight: 700; color: var(--accent); }
.stat-label { display: block; margin-top: 4px; font-size: 0.84rem; color: #9bb0ca; }

section { padding: 16px 0 0; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: #9bb0ca;
}

.section-title { font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1.1; letter-spacing: -0.02em; }
.section-copy { max-width: 760px; color: #afc0d5; font-size: 1rem; }

.grid-2, .grid-3 { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 1.35rem;
  box-shadow: 0 18px 40px rgba(2, 7, 14, 0.2);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.16); }
.card-featured { border-color: rgba(240, 178, 95, 0.45); }

.card-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(169, 201, 248, 0.12);
  color: #a9c9f8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.card h3 { font-size: 1.15rem; line-height: 1.3; margin-bottom: 10px; }
.card p { color: #afc0d5; font-size: 0.98rem; line-height: 1.7; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: #d7e5f7; border-bottom: 1px solid rgba(215, 229, 247, 0.35); font-size: 0.92rem; }
.card-link:hover { color: #fff; border-color: rgba(255, 255, 255, 0.7); }

.card-dark {
  background: linear-gradient(180deg, rgba(15, 24, 37, 0.95) 0%, rgba(11, 19, 30, 0.97) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.card-dark .card-tag { background: rgba(255, 255, 255, 0.08); color: #d5e2f2; }
.card-dark p { color: #d4e2f4; }

.metric-highlight {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  background: rgba(240, 178, 95, 0.18);
  color: #ffd59f;
  font-weight: 700;
}

ul { margin: 10px 0 0 20px; }
li { margin-bottom: 8px; color: #afc0d5; }

.cta { padding: 24px 0 0; }
.cta-box {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(240, 178, 95, 0.24);
  background: linear-gradient(180deg, rgba(17, 28, 43, 0.95) 0%, rgba(20, 34, 52, 0.98) 58%, rgba(15, 26, 40, 1) 100%);
}

.cta-box h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.08; margin-bottom: 10px; }
.cta-box p { color: #bfd0e5; max-width: 56ch; }
.cta-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
}

.button-primary { color: #0b141f; background: linear-gradient(120deg, #f4bf76 0%, #e39a3d 100%); }
.button-secondary { color: var(--text); border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.04); }
.button-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(227, 154, 61, 0.34); }
.button-secondary:hover { background: rgba(255, 255, 255, 0.08); }

.footer-section {
  background: #0b121b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.15rem 0 1.35rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

.footer-left p:first-child {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.45rem;
  color: #e3ecf9;
}

.footer-left p:last-child {
  color: #9eb1ca;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 34ch;
}

.footer-center {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.footer-center a,
.footer-bottom a {
  color: #b8c9de;
  text-decoration: none;
  width: fit-content;
  transition: color 0.18s ease;
}

.footer-right p {
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8ea3bf;
  margin-bottom: 0.5rem;
}

.footer-right .footer-email {
  color: #d9e5f6;
  text-decoration: underline;
  text-decoration-color: rgba(217, 229, 246, 0.45);
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.footer-socials {
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social-icon {
  width: 20px;
  height: 20px;
  color: rgba(217, 229, 246, 0.74);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.18s ease, color 0.18s ease, filter 0.18s ease;
}

.footer-social-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-center a:hover,
.footer-bottom a:hover {
  color: #ebf2ff;
}

.footer-right .footer-email:hover {
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.85);
}

.footer-social-icon:hover {
  color: rgba(236, 244, 255, 0.96);
  filter: drop-shadow(0 0 6px rgba(217, 229, 246, 0.18));
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 1.05rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: #8ea3bf;
  font-size: 0.86rem;
}

@media (max-width: 1120px) {
  .main-nav { display: none; }
  .grid-2, .grid-3, .hero-stats { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(1240px, calc(100% - 30px)); }
  .top-nav { padding: 12px 12px 0; }
  .nav-pill { min-height: 62px; padding: 0 8px 0 12px; gap: 10px; }
  .btn-header { min-height: 40px; padding: 0 12px; font-size: 0.8rem; }
  .hero-main, .card, .cta-box { padding: 18px; border-radius: 18px; }
  .cta-actions { flex-direction: column; }
  .button { width: 100%; }

  .footer-section {
    padding: 1.7rem 0 1.2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-center {
    gap: 0.4rem;
  }

  .footer-socials {
    gap: 13px;
  }

  .footer-bottom {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
}
