/* ─── Reset & Base ─────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px; /* offset for sticky nav */
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: #1e293b;
  background: #f8fafc;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
}

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

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

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

/* ─── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: #f59e0b;
  color: #1e293b;
  padding: 0.9rem 2.2rem;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-primary:disabled {
  background: #cbd5e1;
  color: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ─── Sticky Nav ───────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.3s;
}

.site-nav.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  text-decoration: none;
}

.nav-logo span {
  color: #f59e0b;
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a,
.nav-links a:visited,
.nav-links a:active {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta,
.nav-cta:visited,
.nav-cta:active {
  background: #f59e0b;
  color: #1e293b !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 700 !important;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: #d97706;
  color: #1e293b !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ─── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: url("https://images.unsplash.com/photo-1504917595217-d4dc5ede01eb?auto=format&fit=crop&w=1600&q=80")
    center / cover no-repeat;
  padding-top: 64px; /* account for sticky nav */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 700px;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero .highlight {
  color: #f59e0b;
}

.hero .tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
  line-height: 1.7;
}

.btn-hero {
  font-size: 1.15rem;
  padding: 1rem 2.8rem;
}

.hero-sub {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.6;
}

.hero-disclaimer {
  font-size: 0.8rem;
  opacity: 0.55;
  margin-top: -1rem;
  margin-bottom: 2rem;
  font-style: italic;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── How It Works ─────────────────────────────────── */
.how-it-works {
  padding: 6rem 0;
  background: #fff;
}

.how-it-works .section-heading {
  margin-bottom: 3.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.step {
  padding: 1.5rem;
}

.step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f59e0b;
  color: #1e293b;
  font-weight: 900;
  font-size: 1.5rem;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: #64748b;
  max-width: 280px;
  margin: 0 auto;
}

/* ─── Trades Section ───────────────────────────────── */
.trades-section {
  padding: 6rem 0 3rem;
  background: #fff;
}

.section-subtitle {
  text-align: center;
  color: #64748b;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ─── Trade Cards ──────────────────────────────────── */
.trades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.workshop-scope-note {
  text-align: center;
  font-size: 0.82rem;
  color: #64748b;
  max-width: 680px;
  margin: 0.5rem auto 0;
  line-height: 1.6;
  font-style: italic;
}

.trade-card {
  position: relative;
  background: #fff;
  border: 3px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  font-family: inherit;
  color: inherit;
  text-align: center;
  padding: 0;
}

.trade-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

/* Selected state */
.trade-card.selected {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2), 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.trade-card.selected .trade-info {
  background: #fffbeb;
}

.trade-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.trade-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

.trade-card:hover .trade-img-wrap img {
  transform: scale(1.05);
}

/* Check badge (hidden by default) */
.check-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s, transform 0.25s;
}

.check-badge svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.trade-card.selected .check-badge {
  opacity: 1;
  transform: scale(1);
}

.trade-info {
  padding: 0.85rem 1rem;
  transition: background 0.25s;
}

.trade-label {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.trade-desc {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 400;
}

/* ─── Signup Section ───────────────────────────────── */
.signup-section {
  padding: 3rem 0 6rem;
  background: #f8fafc;
}

/* ─── Important Notice ──────────────────────────────── */
.important-notice {
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-left: 4px solid #f59e0b;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #78350f;
  line-height: 1.7;
}

.important-notice strong {
  color: #92400e;
}

/* ─── Trust Strip ──────────────────────────────────── */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem 2rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
}

.trust-icon {
  font-size: 1.1rem;
}

/* ─── Selected Summary ─────────────────────────────── */
.selected-summary {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  font-size: 0.95rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Email Form ───────────────────────────────────── */
.email-form {
  max-width: 520px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 0.75rem;
}

.input-wrap {
  flex: 1;
  position: relative;
}

.form-row input[type="email"] {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.form-row input[type="email"]:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.form-row input[type="email"].input-error {
  border-color: #ef4444;
}

.form-row input[type="email"].input-error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.btn-submit {
  white-space: nowrap;
}

/* Honeypot — must be invisible to ALL users */
.honey {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none;
}

.form-hint {
  text-align: center;
  margin-top: 0.75rem;
  color: #94a3b8;
  font-size: 0.85rem;
}

.inline-error {
  position: absolute;
  bottom: -22px;
  left: 0;
  color: #ef4444;
  font-size: 0.8rem;
  font-weight: 500;
  animation: fadeIn 0.2s ease;
}

.trade-error {
  text-align: center;
  margin-top: 0.5rem;
  color: #ef4444;
  font-size: 0.9rem;
  font-weight: 500;
  animation: fadeIn 0.2s ease;
}

.form-error {
  text-align: center;
  margin-top: 0.5rem;
  color: #ef4444;
  font-size: 0.9rem;
}

/* ─── Acknowledgment Checkbox ──────────────────────── */
.acknowledge-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.5;
  cursor: pointer;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.acknowledge-label input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #f59e0b;
  cursor: pointer;
}

.acknowledge-error {
  text-align: center;
  margin-top: 0.35rem;
  font-size: 0.8rem;
}

/* ─── Footer Disclaimer ────────────────────────────── */
.footer-disclaimer {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: #64748b;
  font-style: italic;
}

/* ─── Success Message ──────────────────────────────── */
.success-message {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  max-width: 520px;
  margin: 0 auto;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
}

.success-message h3 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.success-message p {
  color: #64748b;
}

/* ─── FAQ Section ──────────────────────────────────── */
.faq-section {
  padding: 6rem 0;
  background: #fff;
}

.faq-section .section-heading {
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.faq-item[open] {
  border-color: #f59e0b;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.1);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 700;
  color: #f59e0b;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item[open] .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-question:hover {
  color: #f59e0b;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: #475569;
  line-height: 1.7;
}

/* ─── Footer ───────────────────────────────────────── */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
  padding: 3rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.footer-brand span {
  color: #f59e0b;
}

.site-footer a,
.site-footer a:visited,
.site-footer a:active {
  color: #f59e0b;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ─── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: #0f172a;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.35s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  /* Hamburger animation */
  .nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 64px;
  }

  .hero {
    min-height: 90vh;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .form-row {
    flex-direction: column;
  }

  .inline-error {
    position: static;
    margin-top: 4px;
  }

  .btn-submit {
    width: 100%;
    padding: 0.95rem;
    font-size: 1.05rem;
  }

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

  .trade-desc {
    font-size: 0.78rem;
  }

  .trust-strip {
    gap: 0.75rem 1.5rem;
    padding: 1rem 1.25rem;
  }

  .trust-item {
    font-size: 0.82rem;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
  }

  .faq-answer {
    padding: 0 1.25rem 1rem;
    font-size: 0.95rem;
  }

  .steps {
    gap: 1.5rem;
  }

  .how-it-works,
  .trades-section,
  .faq-section {
    padding: 4rem 0;
  }
}

/* Mobile overlay for nav */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.nav-overlay.visible {
  display: block;
}
