/* ============================================================
   FullField Stitch — shared stylesheet
   Dark sport-tech look: near-black ground, grass-green accent.
   No frameworks, no build step. Works from file:// and any host.
   ============================================================ */

:root {
  --bg:          #070b08;
  --bg-elev:     #0c120e;
  --bg-card:     #101914;
  --bg-card-hi:  #14201a;
  --border:      #1d2b23;
  --border-hi:   #2b4234;
  --text:        #e9f1ec;
  --text-dim:    #9cb2a5;
  --text-faint:  #6d8377;
  --accent:      #46e07c;
  --accent-hi:   #6ff09b;
  --accent-dim:  #2c9c58;
  --accent-glow: rgba(70, 224, 124, 0.14);
  --warn:        #e0a846;

  --font-display: "Sora", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Cascadia Code", "SF Mono", Consolas, Menlo, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* subtle pitch-glow backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 480px at 50% -140px, rgba(70, 224, 124, 0.09), transparent 70%),
    radial-gradient(900px 500px at 85% 110%, rgba(70, 224, 124, 0.05), transparent 70%);
  pointer-events: none;
}

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

p { margin: 0 0 1em; }

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

code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.1em 0.4em;
}

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

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 8, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; color: var(--text); }

/* tiny panorama glyph: wide frame + halfway line + center circle */
.brand-mark {
  width: 30px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px solid var(--accent);
  position: relative;
  flex: none;
  box-shadow: 0 0 14px var(--accent-glow);
}
.brand-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1.5px;
  background: var(--accent);
  opacity: 0.85;
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.brand .beta-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border-hi);
  border-radius: 99px;
  padding: 2px 8px;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 7px 13px;
  border-radius: 99px;
  color: var(--text-dim);
  font-size: 0.94rem;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--bg-card);
  text-decoration: none;
}
.nav-links a.active {
  color: var(--accent);
  background: var(--accent-glow);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 12px 26px;
  border-radius: 99px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #05130a;
}
.btn-primary:hover {
  background: var(--accent-hi);
  color: #05130a;
  box-shadow: 0 6px 24px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hi);
}
.btn-secondary:hover {
  color: var(--accent);
  border-color: var(--accent-dim);
  background: var(--bg-card);
}

.btn-disabled {
  background: var(--bg-card);
  color: var(--text-faint);
  border: 1px dashed var(--border-hi);
  cursor: not-allowed;
}
.btn-disabled:hover { transform: none; text-decoration: none; color: var(--text-faint); }

/* ---------- Hero ---------- */

.hero {
  padding: 84px 0 40px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-hi);
  border-radius: 99px;
  padding: 5px 14px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 0.35em;
}

.hero h1 .accent { color: var(--accent); }

.hero .lede {
  max-width: 660px;
  margin: 0 auto 30px;
  font-size: 1.16rem;
  color: var(--text-dim);
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-faint);
}

/* ---------- Panorama visual ---------- */

.panorama-wrap { padding: 26px 0 10px; }

.panorama {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-hi);
  box-shadow:
    0 0 0 6px rgba(70, 224, 124, 0.04),
    0 24px 60px rgba(0, 0, 0, 0.55);
  background: var(--bg-elev);
}

.panorama-caption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-faint);
  margin-top: 12px;
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--border); }

.section-head { max-width: 660px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
.section-head p { color: var(--text-dim); margin: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.step-card h3 { font-size: 1.08rem; margin-bottom: 0.4em; }
.step-card p { color: var(--text-dim); font-size: 0.94rem; margin: 0; }

/* ---------- Feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.feature-card:hover {
  border-color: var(--border-hi);
  background: var(--bg-card-hi);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-glow);
  border: 1px solid var(--border-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feature-icon svg { width: 20px; height: 20px; stroke: var(--accent); }

.feature-card h3 { font-size: 1.02rem; margin-bottom: 0.4em; }
.feature-card p { color: var(--text-dim); font-size: 0.92rem; margin: 0; }

/* ---------- Stats teaser ---------- */

.stats-band {
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 38px 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 48px;
}

.stat { min-width: 150px; }

.stat .stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--accent);
  line-height: 1.1;
}
.stat .stat-label {
  font-size: 0.84rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.stats-band .stats-cta { margin-left: auto; }

/* ---------- Generic cards / page layouts ---------- */

.page-head { padding: 64px 0 8px; }
.page-head h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); }
.page-head p { color: var(--text-dim); max-width: 640px; font-size: 1.05rem; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.card h2, .card h3 { font-size: 1.15rem; }

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.badge-soon { color: var(--warn); border: 1px solid rgba(224, 168, 70, 0.4); background: rgba(224, 168, 70, 0.08); }
.badge-planned { color: var(--text-dim); border: 1px solid var(--border-hi); background: var(--bg-elev); }
.badge-live { color: var(--accent); border: 1px solid var(--accent-dim); background: var(--accent-glow); }

.check-list, .req-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li, .req-list li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.check-list li:last-child, .req-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.req-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 17px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent-dim);
}
.req-list li strong, .check-list li strong { color: var(--text); }

.fine-print {
  font-size: 0.83rem;
  color: var(--text-faint);
}

/* ---------- Benchmarks ---------- */

.machine-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 26px 12px;
  margin-bottom: 26px;
}

.machine-card h2 { font-size: 1.25rem; margin-bottom: 2px; }

.machine-sub {
  font-size: 0.86rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.machine-sub .sep { color: var(--text-faint); margin: 0 6px; }

.table-scroll { overflow-x: auto; }

table.bench {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 780px;
}

table.bench th {
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 8px 14px 8px 0;
  border-bottom: 1px solid var(--border-hi);
  white-space: nowrap;
}

table.bench td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
  white-space: nowrap;
  vertical-align: middle;
}
table.bench tr:last-child td { border-bottom: none; }
table.bench td.strong { color: var(--text); font-weight: 600; }
table.bench td .mono { font-family: var(--font-mono); font-size: 0.85em; }

.fps-cell { min-width: 180px; }
.bar-track {
  display: flex;
  align-items: center;
  gap: 10px;
}
.bar-rail {
  flex: 1;
  height: 8px;
  min-width: 70px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  border-radius: 99px;
}
.bar-num {
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--text);
  min-width: 3.4em;
  text-align: right;
}

.empty-state {
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed var(--border-hi);
  border-radius: var(--radius);
  color: var(--text-dim);
}
.empty-state h2 { color: var(--text); font-size: 1.2rem; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 34px 0 44px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  font-size: 0.86rem;
  color: var(--text-faint);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.site-footer nav a { color: var(--text-dim); }
.site-footer nav a:hover { color: var(--accent); }

/* ---------- Responsive tweaks ---------- */

@media (max-width: 640px) {
  .hero { padding-top: 56px; }
  .section { padding: 52px 0; }
  .stats-band { padding: 28px 24px; }
  .stats-band .stats-cta { margin-left: 0; }
  .card { padding: 24px 20px; }
}
