/* ==========================================================================
   Aspire Pro Gadgets — Design tokens
   ========================================================================== */
:root {
  --navy: #0A1F3D;
  --navy-deep: #071633;
  --blue: #1656D9;
  --blue-bright: #2E9BF0;
  --ink: #10192B;
  --slate: #5B6B84;
  --slate-light: #8B99B0;
  --paper: #F6F8FB;
  --paper-dim: #EDF1F7;
  --white: #FFFFFF;
  --line: #E2E8F2;

  --grad-brand: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 55%, #63C4FF 100%);
  --grad-navy: linear-gradient(160deg, var(--navy) 0%, #123A6E 100%);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(10, 31, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 31, 61, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 31, 61, 0.16);

  --container: 1160px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--slate); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

section { position: relative; }

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 3px solid var(--blue-bright);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(22, 86, 217, 0.30);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22, 86, 217, 0.38); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-on-dark {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-on-dark:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 40px; width: auto; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.brand-word span { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--grad-brand);
  transition: width 0.2s ease;
  border-radius: 2px;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after { width: 100%; }

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.mobile-nav a {
  padding: 12px 4px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--paper-dim);
}
.mobile-nav a.active { color: var(--blue); }
.mobile-nav .btn { margin-top: 12px; }

body.nav-open .mobile-nav { display: flex; }
body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .hamburger { display: flex; }
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 34px; }
.footer-brand-word { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1rem; }
.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer p { color: rgba(255,255,255,0.62); font-size: 0.92rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.92rem; color: rgba(255,255,255,0.72); transition: color 0.15s ease; }
.footer-links a:hover { color: var(--blue-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Page hero (interior pages) ---------------------------------------------- */
.page-hero {
  background: var(--grad-navy);
  color: var(--white);
  padding: 76px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1.05rem; max-width: 640px; margin: 0; }
.page-hero .eyebrow { color: var(--blue-bright); }
.page-hero .eyebrow::before { background: var(--blue-bright); }

/* Mesh background (signature motif) ---------------------------------------- */
.mesh-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
}

/* Sections ------------------------------------------------------------- */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--paper); }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy); }
.section-head p { font-size: 1.05rem; }

/* Cards ------------------------------------------------------------------ */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 18px;
  flex-shrink: 0;
}
.icon-badge svg { width: 24px; height: 24px; }

/* Grids -------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Utility ------------------------------------------------------------ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--paper-dim);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-display);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }
