/* ============ GaloreX Robotics — dark / metallic gold ============ */

:root {
  color-scheme: dark;
  --bg: #0a0a09;
  --surface: #121211;
  --surface-2: #181816;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #f4f3ee;
  --ink-2: #b6b5ad;
  --ink-3: #7f7e77;
  --accent: #d6ad5c;                      /* flat gold for icons, links, labels */
  --accent-2: #f3dfa8;
  --accent-ink: #1c1407;                  /* text on gold */
  --accent-soft: rgba(214, 173, 92, 0.14);
  --metal: linear-gradient(135deg, #f5dc9a 0%, #d4a24a 45%, #a8792b 75%, #e8c77a 100%);
  --metal-hover: linear-gradient(135deg, #f8e3ab 0%, #ddb05a 45%, #b5873a 75%, #eed08a 100%);
  --ok: #5fd39a;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Inter Tight", "Inter", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

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

/* never show native video chrome or the big play overlay */
video::-webkit-media-controls,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0;
}

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

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; margin-bottom: 16px; max-width: 22ch; }
h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 8px; }

p { max-width: 62ch; }
strong { font-weight: 600; color: var(--ink); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--metal);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
.btn:hover { transform: translateY(-1px); background: var(--metal-hover); color: var(--accent-ink); box-shadow: 0 8px 28px rgba(214, 173, 92, 0.3); }
.btn-sm { font-size: 14px; padding: 8px 14px; border-radius: 8px; }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--ink); box-shadow: none; }

.text-link { font-weight: 500; font-size: 15px; }
.text-link:hover { color: var(--accent-2); }

/* ---- pulse dot ---- */
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  animation: pulse 2s infinite;
  flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(95, 211, 154, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(95, 211, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 211, 154, 0); }
}

/* ============ Nav ============ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.nav.scrolled {
  background: rgba(10, 10, 9, 0.75);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wordmark:hover { color: var(--ink); }
.wm-dim { color: var(--ink-3); font-weight: 600; }
.mark { width: 34px; height: 34px; margin-right: -6px; }

.nav-links { display: flex; gap: 4px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--ink-2); padding: 8px 12px; border-radius: 8px; transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }

/* ============ Hero ============ */

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

/* ALOHA sim running faintly behind the headline */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg video {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: 76%;
  max-width: none;
  height: 115%;
  object-fit: cover;
  opacity: 0.5;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 26%, rgba(10, 10, 9, 0.75) 48%, rgba(10, 10, 9, 0.15) 75%, rgba(10, 10, 9, 0.5) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, transparent 22%);
}

.hero-inner { position: relative; z-index: 1; width: 100%; }

.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 6px 14px 6px 12px;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
  transition: border-color 0.15s, color 0.15s;
}
.announce:hover { color: var(--ink); border-color: rgba(214, 173, 92, 0.5); }
.announce-arrow { color: var(--accent); }

.hero h1 {
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
  max-width: 14ch;
}
.h1-brand {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.grad,
.wm-brand { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-sub { color: var(--ink-2); font-size: 18px; max-width: 50ch; margin-bottom: 32px; }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ Stack strip ============ */

.strip { padding: 44px 0; border-bottom: 1px solid var(--line); }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.strip-label { font-size: 13.5px; color: var(--ink-3); }
.strip-logos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: rgba(244, 243, 238, 0.4);
}

/* ============ Sections ============ */

.section { padding: 96px 0; }
.section-head { margin-bottom: 44px; }
.section-intro { color: var(--ink-2); font-size: 17px; }


/* ---- feature grid (six steps) ---- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}
.feature {
  position: relative;
  background: var(--surface);
  padding: 28px 28px 30px;
  transition: background 0.2s;
}
.feature:hover { background: var(--surface-2); }
.feature p { color: var(--ink-2); font-size: 14.5px; }
.ico {
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(214, 173, 92, 0.25);
  margin-bottom: 18px;
}
.ico svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.f-n { position: absolute; top: 30px; right: 28px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }

/* ---- product showcase ---- */
.showcase {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.tabs {
  display: flex;
  gap: 4px;
  padding: 8px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.tab {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.tab:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.tab.active { color: var(--accent-ink); background: var(--metal); }

.panel {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 48px;
  align-items: center;
  padding: 40px;
}
.panel[hidden] { display: none; }
.panel.active { animation: fade 0.35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.panel-text h3 { font-size: 24px; margin-bottom: 12px; }
.panel-text p { color: var(--ink-2); font-size: 15px; margin-bottom: 20px; }

.ticks { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.ticks li::before { content: "✓"; color: var(--accent); margin-right: 10px; font-weight: 700; }

.panel-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.panel-media.light { background: #fff; }
.panel-media video, .panel-media img { width: 100%; max-height: 320px; object-fit: contain; margin: 0 auto; }
.panel-media.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; background: none; overflow: visible; }
.pair figure { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #000; }
.pair img, .pair video { width: 100%; height: 190px; object-fit: cover; }
.pair figcaption { font-size: 12.5px; color: var(--ink-3); padding: 8px 12px; background: var(--surface-2); }

/* ---- split ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-text p:not(.eyebrow) { color: var(--ink-2); margin-bottom: 24px; }

/* ---- sample pack: simulation card ---- */
.sim-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.tree-bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-family: var(--mono); font-size: 13px; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.sim-card video { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; background: #0d1a2b; }
.sim-card video.square { aspect-ratio: 1 / 1; max-height: 480px; object-fit: contain; background: #0e0f13; }
.sim-card figcaption { padding: 12px 16px; font-size: 13.5px; color: var(--ink-3); border-top: 1px solid var(--line); }

/* ---- team & careers ---- */
.careers { align-items: start; }

.founder {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.2s;
}
.founder:hover { border-color: rgba(214, 173, 92, 0.4); color: var(--ink); }
.founder img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; object-position: top; }
.founder b { display: block; font-size: 15px; }
.founder small { display: block; font-size: 13px; color: var(--ink-3); }

.roles { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.role {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.15s;
}
.role:last-child { border-bottom: 0; }
.role:hover { background: rgba(255, 255, 255, 0.03); color: var(--ink); }
.role-name { font-weight: 600; font-size: 16px; }
.role-meta { grid-row: 2; font-size: 13.5px; color: var(--ink-3); }
.role-main { background: linear-gradient(90deg, var(--accent-soft), transparent 70%); }
.role-badge {
  display: inline-block;
  vertical-align: 2px;
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--metal);
  border-radius: 999px;
  padding: 2px 8px;
}
.role-go { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 14px; color: var(--accent); white-space: nowrap; }

/* ---- CTA band ---- */
.cta-wrap { padding: 24px 0 96px; }
.cta-band {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 28px;
  border-radius: 20px;
  border: 1px solid rgba(214, 173, 92, 0.3);
  background:
    radial-gradient(ellipse 60% 80% at 50% 130%, rgba(214, 173, 92, 0.22), transparent 70%),
    var(--surface);
}
.cta-band p { color: var(--ink-2); margin-bottom: 28px; }
.cta-band .hero-ctas { justify-content: center; }

/* ============ Footer ============ */

.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--ink-3); font-size: 14px; margin-top: 12px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a, .footer-col span { color: var(--ink-2); }
.footer-col a:hover { color: var(--ink); }
.footer-h { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.flag { font-size: 12px; }

/* ============ Scroll reveal ============ */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pulse, .panel.active { animation: none; }
}

/* ============ Responsive ============ */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }

  /* phones: the robots sit fully visible under the buttons, fading up into the text */
  .hero { min-height: 0; align-items: flex-start; padding: 110px 0 250px; }
  .hero-bg video {
    top: auto;
    bottom: 30px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 108%;
    height: auto;
    aspect-ratio: 16 / 9;
    opacity: 0.6;
  }
  .hero-bg::after {
    background:
      linear-gradient(180deg, var(--bg) 0%, var(--bg) 40%, rgba(10, 10, 9, 0.45) 60%, transparent 78%, var(--bg) 100%);
  }
  .hero-sub { font-size: 16.5px; }

  .section { padding: 72px 0; }
  .features { grid-template-columns: 1fr 1fr; }
  .panel { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { padding: 56px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero { padding-bottom: 150px; }
  .hero-bg video { width: 150%; bottom: 20px; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 22px; }
  .f-n { top: 24px; right: 22px; }
  .pair img, .pair video { height: 130px; }
  .btn-sm { padding: 7px 12px; font-size: 13px; }
  .wm-dim { display: none; }
  .mark { width: 26px; height: 26px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 35px; }
}
