:root {
  --bg: #0b1020;
  --bg2: #070a14;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.12);
  --gold: #c9a84c;
  --gold-light: #e2c97a;
  --gold-muted: rgba(201, 168, 76, 0.15);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --muted2: rgba(255, 255, 255, 0.58);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}
html {
  height: 100%;
  background: var(--bg2);
}
body {
  height: auto;
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: transparent;
  color: var(--text);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 700px at 20% 0%, rgba(90, 120, 255, 0.18), transparent 60%),
    radial-gradient(900px 700px at 80% 10%, rgba(0, 220, 255, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  z-index: -1;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

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

.logo {
  height: 36px;
  width: 36px;
  flex-shrink: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(8, 10, 18, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  padding: 8px 10px;
  border-radius: 12px;
}
.nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px;
  transition: all 0.25s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: rgba(90, 120, 255, 0.22);
  border-color: rgba(90, 120, 255, 0.4);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  padding: 72px 0 44px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -200px -200px auto -200px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(90, 120, 255, 0.26), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 26px;
  align-items: start;
}

.eyebrow {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.3px;
  margin: 0 0 10px;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 3.2vw, 52px);
  line-height: 1.05;
}

.subhead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badge {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: var(--muted);
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.panel-card,
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.panel-card.subtle {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.panel-card h3,
.card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}
.panel-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: 54px 0;
}
.section.alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  margin-bottom: 18px;
}
.section-head h2 {
  margin: 0 0 8px;
  font-size: 26px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.card a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 500;
  color: #5da9ff;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0 1.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #5da9ff;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.footer-logo span {
  color: #5da9ff;
}

.footer-brand {
  display: block;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--muted2);
  margin-bottom: 0.3rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted2);
}

.footer-center {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-center a {
  font-size: 0.83rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-center a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: right;
}

.footer-right a {
  font-size: 0.83rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-right a:hover {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    margin-right: 32em;
  }

  .nav {
    display: flex; /* keep it in the DOM */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 10, 18, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 20px 20px;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 0.3s ease,
      opacity 0.3s ease;
    pointer-events: none;
  }

  .nav.open {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
  }

  /* Make header position: relative so the dropdown anchors correctly */
  .site-header {
    position: sticky;
  } /* already sticky — just ensure relative is on header-inner */
  .header-inner {
    position: relative;
  }
}

/* ─── FIX 4: Nav style alignment — closer to Pactura aesthetic ─── */
.nav a {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase; /* match Pactura casing */
  font-weight: 500;
}
