/* ==========================================================================
   BIJLEE FOUNDERS — shared styles
   Brand: black background, orange accent, bold modern type, premium/minimal
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #131313;
  --bg-card: #161616;
  --border: #262626;
  --border-hover: #3a3a3a;
  --text: #f5f5f3;
  --text-dim: #a3a3a0;
  --text-faint: #6b6b68;
  --orange: #ff5a1f;
  --orange-bright: #ff7a3d;
  --orange-glow: rgba(255, 90, 31, 0.35);
  --green: #2ecc71;
  --radius: 14px;
  --max-width: 1120px;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { 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;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

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

/* ---------------- Background glow ---------------- */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(600px 400px at 15% -5%, var(--orange-glow), transparent 60%),
    radial-gradient(500px 350px at 100% 20%, rgba(255, 90, 31, 0.12), transparent 60%);
  opacity: 0.5;
}

/* ---------------- Nav ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo .bolt { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--orange);
  color: #0a0a0a !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.nav-cta:hover {
  background: var(--orange-bright);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--orange);
  color: #0a0a0a;
}

.btn-primary:hover { background: var(--orange-bright); transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hover);
}

.btn-secondary:hover { border-color: var(--text-dim); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 100px 0 80px;
  text-align: center;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-hover);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.hero h1 {
  font-size: clamp(40px, 7vw, 84px);
  margin-bottom: 20px;
}

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

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

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

/* ---------------- Sections ---------------- */
section { position: relative; z-index: 1; padding: 80px 0; }

.section-label {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 { font-size: clamp(28px, 4vw, 42px); }

/* ---------------- Grid / cards ---------------- */
.grid {
  display: grid;
  gap: 20px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover { border-color: var(--border-hover); transform: translateY(-3px); }

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 90, 31, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 18px;
  font-weight: 700;
}

.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14.5px; margin-bottom: 0; }

/* Path/CTA cards (home page two-form split) */
.path-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.path-card:hover { border-color: var(--orange); transform: translateY(-4px); }

.path-card .tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.path-card h3 { font-size: 26px; margin-bottom: 4px; }

.path-card ul {
  margin: 8px 0 8px;
  padding-left: 18px;
  color: var(--text-dim);
  font-size: 14.5px;
}

.path-card li { margin-bottom: 6px; }

/* Pill list (who this is for) */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text-dim);
  background: var(--bg-elevated);
}

/* ---------------- Flywheel steps ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

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

.step .num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--orange);
  margin-bottom: 10px;
  font-weight: 700;
}

.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; margin-bottom: 0; }

/* ---------------- Forms ---------------- */
.form-page-hero {
  padding: 64px 0 32px;
  text-align: center;
}

.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 100px;
  position: relative;
  z-index: 1;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 48px);
}

fieldset {
  border: none;
  padding: 0;
  margin: 0 0 32px;
}

fieldset legend {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  padding: 0;
  margin-bottom: 18px;
  width: 100%;
}

.field { margin-bottom: 22px; }

.field label.main-label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--text);
}

.field .hint {
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
select,
textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder, textarea::placeholder { color: var(--text-faint); }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.15);
}

textarea { resize: vertical; min-height: 96px; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'><path d='M1 1L7 7L13 1' stroke='%23a3a3a0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  font-size: 14px;
}

.check-option:hover { border-color: var(--border-hover); }

.check-option input {
  accent-color: var(--orange);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.check-option.checked {
  border-color: var(--orange);
  background: rgba(255, 90, 31, 0.08);
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-row .check-option { flex: 1 1 auto; min-width: 140px; }

.conditional {
  display: none;
  margin-top: 14px;
  padding-left: 2px;
}

.conditional.show { display: block; }

.form-footer-note {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 18px;
  text-align: center;
}

.required-mark { color: var(--orange); }

/* honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------------- Footer ---------------- */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--text-dim);
}

.footer-links a:hover { color: var(--orange); }

.footer-tag {
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------------- Thank you page ---------------- */
.thanks {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}

.thanks-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.12);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 860px) {
  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .check-grid { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 50px; }
  section { padding: 56px 0; }
}
