/* ═══════════════════════════════════════════
   BackyardPace — Shared Stylesheet V2
   ═══════════════════════════════════════════ */

:root {
  --bg:       #080808;
  --bg2:      #0f0f0f;
  --bg3:      #161616;
  --bg4:      #1e1e1e;
  --border:   #222222;
  --border2:  #2c2c2c;
  --text:     #ece9e3;
  --muted:    #7a7670;
  --muted2:   #4a4744;
  --accent:   #e8732a;
  --accent2:  #c4581a;
  --accentbg: rgba(232,115,42,0.09);
  --accentbd: rgba(232,115,42,0.28);
  --green:    #4caf72;
  --greenbg:  rgba(76,175,114,0.1);
  --greenbd:  rgba(76,175,114,0.3);
  --amber:    #e8a72a;
  --white:    #ffffff;
  --max:      1060px;
  --max-prose: 640px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; }

/* ── Type ── */
h1, h2, h3, h4, h5 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 800;
}

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(232,115,42,0.28);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-outline:hover { border-color: var(--muted); }
.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: 11px;
}
.btn-block {
  width: 100%;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 2rem;
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: -apple-system, "SF Pro Display", sans-serif;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.18s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: -apple-system, "SF Pro Display", sans-serif;
}
.footer-logo span { color: var(--accent); }
.footer-legal { font-size: 0.78rem; color: var(--muted2); }
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.18s;
}
.footer-links a:hover { color: var(--text); }

/* ── Layout Containers ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}
.container-text {
  max-width: var(--max-prose);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Checklist ── */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}
.checklist li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── Image Placeholder ── */
.img-slot {
  background: var(--bg3);
  border: 1px dashed var(--border2);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted2);
  font-size: 0.8rem;
  text-align: center;
  padding: 2rem;
}
.img-slot::before { content: '📷'; font-size: 1.5rem; }

/* ── Watch Mockup ── */
.watch-mock {
  width: 195px;
  height: 235px;
  background: #0d0d0d;
  border-radius: 52px;
  border: 2.5px solid #2e2e2e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.25rem;
  gap: 0.65rem;
  position: relative;
  box-shadow: 0 0 70px rgba(232,115,42,0.12), 0 24px 60px rgba(0,0,0,0.7);
}
.watch-mock::after {
  content: '';
  position: absolute;
  top: -18px; right: -7px;
  width: 9px; height: 38px;
  background: #222;
  border-radius: 4px;
}
.watch-row { text-align: center; width: 100%; }
.watch-tag {
  font-size: 0.5rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.watch-val {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.watch-val.orange { color: var(--accent); }
.watch-val.green  { color: var(--green); font-size: 0.95rem; }
.watch-divider {
  width: 100%;
  height: 1px;
  background: #222;
}

/* ── Waitlist form ── */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}
.waitlist-form input[type="text"],
.waitlist-form input[type="email"],
.waitlist-form input[type="other-text"] {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 0.85rem 1.2rem;
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.18s;
  box-sizing: border-box;
}
.waitlist-form input[type="text"]::placeholder,
.waitlist-form input[type="email"]::placeholder { color: var(--muted2); }
.waitlist-form input[type="text"]:focus,
.waitlist-form input[type="email"]:focus { border-color: var(--accent); outline: none; }

/* Watch type radio pills */
.watch-type-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
  display: block;
}
.watch-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.watch-options input[type="radio"] { display: none; }
.watch-options label {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border2);
  background: var(--bg3);
  color: var(--muted);
  transition: all 0.15s;
  user-select: none;
}
.watch-options input[type="radio"]:checked + label {
  border-color: var(--accent);
  background: var(--accentbg);
  color: var(--accent);
}
.watch-options label:hover { border-color: var(--border); color: var(--text); }
.other-watch-input {
  display: none;
  margin-top: 0.5rem;
}
.other-watch-input.visible { display: block; }
.other-watch-input input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border2);
  color: var(--text);
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.18s;
  box-sizing: border-box;
}
.other-watch-input input:focus { border-color: var(--accent); }
.other-watch-input input::placeholder { color: var(--muted2); }

/* Form success state */
.waitlist-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: var(--greenbg);
  border: 1px solid var(--greenbd);
  border-radius: 14px;
  max-width: 480px;
  margin: 0 auto;
}
.waitlist-success.visible { display: block; }
.waitlist-success h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.waitlist-success p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── Page hero (sub-pages) ── */
.page-hero {
  padding: 9rem 2rem 5rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Divider ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  nav { padding: 0.9rem 1.25rem; }
  .nav-links { gap: 1rem; }
  .nav-links a:not(.btn):not(:nth-last-child(2)) { display: none; }
  .btn-lg { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
  footer { padding: 2rem 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
