:root {
  --bg: #050a18;
  --bg-2: #07112a;
  --panel: #0c1730;
  --panel-2: #0f1b3a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #eef2fb;
  --ink-soft: #c2cce0;
  --muted: #8b96b4;
  --accent: #3b82f6;
  --accent-2: #60a5fa;
  --accent-deep: #1d4ed8;
  --green: #4ade80;
  --mint: #34d399;
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(800px 500px at 85% -10%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(900px 600px at -10% 10%, rgba(30, 64, 175, 0.18), transparent 70%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px; top: 16px;
  background: #fff; color: #000;
  padding: 8px 12px; border-radius: 6px;
  z-index: 100;
}

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

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: #fff; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.025em; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0 0 16px; color: var(--ink-soft); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent-2);
  font-weight: 600;
  margin: 0 0 14px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(5, 10, 24, 0.78);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-block;
  width: 28px; height: 36px;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name { font-size: 1.05rem; letter-spacing: 0.02em; }
.brand-llc { color: var(--muted); font-weight: 600; margin-left: 4px; font-size: 0.92em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover { color: #fff; text-decoration: none; }
.nav .btn { margin-left: 6px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.05s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { background: #2f72e8; color: #fff; }
.btn-ghost {
  color: var(--ink);
  border-color: var(--line-2);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink-soft); color: #fff; }

/* Hero */
.hero {
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { max-width: 14ch; }
.hero .lead {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 56ch;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { display: grid; place-items: center; min-height: 320px; }
.hero-art svg {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(37, 99, 235, 0.35));
}

/* Sections */
.section { padding: 96px 0; position: relative; }
.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; }

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.product {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.product:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
a.product--link {
  color: inherit;
  text-decoration: none;
}
a.product--link:hover {
  text-decoration: none;
}
a.product--link:hover .arrow {
  color: var(--accent-2);
  transform: translateX(2px);
}
.arrow { transition: transform 0.15s ease, color 0.15s ease; display: inline-block; }
a.product--link:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}
.product-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a1226;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-media--agbro { background: #0a1f1a; }
.product-media--agbro img {
  object-fit: contain;
  padding: 14px;
}
.product-icon {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(8, 14, 32, 0.85);
  border: 1px solid var(--line-2);
  color: var(--accent-2);
  backdrop-filter: blur(6px);
}
.product-icon svg { width: 22px; height: 22px; }
.product-icon--green { color: var(--green); }
.product-icon--mint { color: var(--mint); }

.product-body { padding: 22px 22px 24px; }
.product-body h3 { margin-bottom: 6px; }
.product-tag {
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 12px;
}
.product-desc { color: var(--ink-soft); font-size: 0.96rem; }
.product-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.product-meta .price { color: var(--accent-2); font-weight: 700; }
.product-meta .status { color: var(--accent-2); font-weight: 600; }
.product-meta .arrow {
  margin-left: auto;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

/* Galaximus retro placeholder */
.galaximus-art {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(2px 2px at 10% 30%, #ffffff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 30% 60%, #cdd6e8 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 70% 25%, #ffffff 50%, transparent 51%),
    radial-gradient(2px 2px at 85% 70%, #c5d0e8 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 80%, #ffffff 50%, transparent 51%),
    radial-gradient(circle at 50% 130%, rgba(74, 222, 128, 0.18), transparent 50%),
    linear-gradient(180deg, #050a18 0%, #0a1530 100%);
  display: grid;
  place-items: center;
  font-family: "Courier New", ui-monospace, monospace;
  text-align: center;
}
.galaximus-text {
  font-size: clamp(1.2rem, 3.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #4ade80;
  text-shadow:
    0 0 6px rgba(74, 222, 128, 0.7),
    0 0 18px rgba(74, 222, 128, 0.4);
}
.galaximus-tag {
  position: absolute;
  bottom: 18px;
  font-size: 0.7rem;
  color: #6ee7a8;
  letter-spacing: 0.3em;
  opacity: 0.85;
}
.star { display: none; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-grid p { color: var(--ink-soft); }
.pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pillars li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.pillars h4 { margin: 0 0 6px; color: #fff; }
.pillars p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Roadmap */
.roadmap {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.roadmap li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  position: relative;
}
.roadmap-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.roadmap h4 { margin: 0 0 6px; }
.roadmap p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* Closing strip */
.closing {
  padding: 36px 0 60px;
}
.closing-row {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.closing-text {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  max-width: 680px;
}

/* Contact */
.contact { text-align: center; }
.contact h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.contact-email a { font-size: 1.3rem; font-weight: 600; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  color: var(--muted);
  font-size: 0.92rem;
  background: rgba(0, 0, 0, 0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
}
.footer-brand p { margin-top: 12px; max-width: 28ch; }
.brand--footer { color: #fff; }
.footer-col h5 {
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 14px;
  font-weight: 700;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--ink-soft); }
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-base {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { order: -1; min-height: 220px; }
  .hero-art svg { max-width: 280px; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 72px 0; }

  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .pillars { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .nav { gap: 14px; }
  .nav a:not(.btn) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .closing-row { padding: 22px; }
}
