/* VAM homepage — adapted from the authorized Volanta implementation.
   Base = vam-volanta-base.css (Volanta layout, rebranded to VAM palette).
   This file = VAM-specific overrides, asset wiring, and logo usage.

   Fonts: the project's woff2 files are blocked by the server's font security
   policy for browser fetches, so we use a clean system stack (CSP-safe). */

:root {
  --vam-bg: #07080a;
  --vam-panel: #0d1117;
  --vam-line: rgba(231,238,247,0.12);
  --vam-line-strong: rgba(231,238,247,0.22);
  --vam-cyan: #8ec9d8;
  --vam-paper: #f2eee6;
  --vam-muted: #9aa3ac;
  --vam-muted-strong: #c4ccd4;
  --vam-green: #85d9ac;
  --vam-font: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --vam-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;
}

html, body { background: var(--vam-bg); font-family: var(--vam-font); }
body.page-kind-home { background: var(--vam-bg); }

/* Hero backdrop: VAM-owned atmospheric aviation imagery (no gradient blob) */
body.page-kind-home {
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(142,201,216,0.10), transparent 55%),
    linear-gradient(180deg, #07080a 0%, #0a0e14 60%, #07080a 100%);
  background-repeat: no-repeat;
  background-size: cover;
}

/* Header / nav */
header .logo img {
  height: 40px; width: auto; border-radius: 10px;
  background: rgba(142,201,216,0.10);
  box-shadow: 0 0 0 1px rgba(142,201,216,0.30), 0 6px 18px rgba(0,0,0,0.45);
  padding: 3px;
}
.nav-desktop ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-desktop a { color: var(--vam-muted-strong); text-decoration: none; font-weight: 600; font-size: 0.92rem; padding: 9px 14px; border-radius: 8px; transition: color .15s, background .15s; }
.nav-desktop a:hover { color: #fff; background: rgba(255,255,255,0.05); }

/* Buttons rebranded to VAM cyan (primary) */
.btn.primary, a.btn.primary {
  background: var(--vam-cyan);
  color: #04141a;
  border: 1px solid var(--vam-cyan);
}
.btn.primary:hover { background: #a6dbe8; }
.btn, a.btn {
  border-radius: 9px;
  font-weight: 700;
  letter-spacing: .2px;
}

/* Notification banner — clean cyan glass, not muddy olive */
.notification {
  background: linear-gradient(78deg, rgba(142,201,216,0.16) -20%, rgba(142,201,216,0.95) 120%);
  border: 1px solid rgba(142,201,216,0.35);
  color: #04141a;
  box-shadow: 0 10px 30px rgba(142,201,216,0.12);
}
.notification span { opacity: .65; }

/* Hero text */
.homepage h1.blurry {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.homepage h1.blurry em { font-style: normal; color: var(--vam-cyan); }
.subtext.blurb { color: var(--vam-muted-strong); }
.subtext.description { color: var(--vam-muted-strong); }

/* Distinctive VAM signature: a "flight path" accent under the hero headline */
.homepage h1.blurry {
  position: relative;
  display: inline-block;
}
.homepage h1.blurry::after {
  content: "";
  display: block;
  width: 132px;
  height: 2px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, var(--vam-cyan), transparent);
  position: relative;
}
.homepage h1.blurry::before {
  content: "\2708";
  position: absolute;
  right: -6px;
  bottom: 2px;
  color: var(--vam-cyan);
  font-size: 0.9rem;
  transform: rotate(8deg);
}
/* Section eyebrow used across VAM pages */
.vam-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--vam-cyan);
  font: 600 0.74rem/1 var(--vam-mono, monospace);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.vam-eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--vam-cyan);
}

/* Hero image: VAM-owned asset */
.content picture.hero img { border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }

/* Key feature cards */
.key-features .card { background: linear-gradient(180deg, rgba(16,19,24,0.9), rgba(10,12,15,0.9)); border: 1px solid var(--vam-line); border-radius: 16px; overflow: hidden; }
.key-features .card h2 { color: #fff; }
.key-features .card .card-inner > div { color: var(--vam-muted); }
.key-features .card a picture img { border-radius: 0; }

/* Pricing / plans -> VAM get-started */
.pricing-container h1 { color: #fff; }
.price-card { background: linear-gradient(180deg, rgba(16,19,24,0.92), rgba(10,12,15,0.92)); border: 1px solid var(--vam-line); border-radius: 16px; }
.price-card.is-premium { border-color: rgba(142,201,216,0.4); }
.price-card-title { color: #fff; }
.price-card-subtitle { color: var(--vam-muted); }
.price-card-features li { color: var(--vam-muted-strong); }
.price-card-action { background: var(--vam-cyan); color: #04141a; border-radius: 10px; font-weight: 700; }
.price-card-action:hover { background: #a6dbe8; }

/* Full-width CTA band */
.full-width { background: linear-gradient(180deg, rgba(142,201,216,0.06), rgba(142,201,216,0.02)); border-top: 1px solid var(--vam-line); border-bottom: 1px solid var(--vam-line); }
.full-width h1 { color: #fff; }
.full-width > div { color: var(--vam-muted-strong); }

/* Half-width community cards */
.half-width .card { background: linear-gradient(180deg, rgba(16,19,24,0.9), rgba(10,12,15,0.9)); border: 1px solid var(--vam-line); border-radius: 16px; }
.half-width .card h2 { color: #fff; }

/* Footer */
footer.content { background: #07080a; border-top: 1px solid var(--vam-line); color: var(--vam-muted); }
footer h2 { color: #fff; }
footer a { color: var(--vam-muted-strong); text-decoration: none; }
footer a:hover { color: var(--vam-cyan); }
footer .footer-icon { height: 34px; border-radius: 8px; }

/* Mobile nav tweaks to match VAM */
.nav-mobile-list a { color: var(--vam-muted-strong); text-decoration: none; padding: 12px 0; display: block; }
