/* Toolbox Leads — custom styles (used alongside Tailwind CDN utility classes) */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --charcoal: #17181c;
  --charcoal-soft: #23252b;
  --ink: #1b1c1f;
  --orange: #ff5a1f;
  --orange-dark: #e0480f;
  --orange-tint: #fff1ea;
  --cream: #faf9f6;
  --paper: #f4f2ee;
  --line: #e7e4de;
  --muted: #6b6a67;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3, h4, .font-display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.02em;
}

.text-orange { color: var(--orange); }
.bg-orange { background-color: var(--orange); }
.bg-charcoal { background-color: var(--charcoal); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 0.6rem;
  padding: 0.85rem 1.6rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 90, 31, 0.35);
}
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 6px 18px rgba(255, 90, 31, 0.45); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-dark {
  background: var(--charcoal);
  color: #fff;
}
.btn-dark:hover { background: #000; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(23, 24, 28, 0.09);
  border-color: rgba(255, 90, 31, 0.35);
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--orange-tint);
  color: var(--orange-dark);
}

.tag-dark {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Nav */
#site-header { transition: box-shadow 0.2s ease, background-color 0.2s ease; }
#site-header.scrolled { box-shadow: 0 2px 18px rgba(0,0,0,0.06); }

.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.2s ease;
}
.nav-link:hover::after { width: 100%; }

/* Mobile menu */
#mobile-menu { transition: max-height 0.25s ease; overflow: hidden; }

/* Hero background texture */
.hero-grid {
  background-image:
    radial-gradient(circle at 18% 20%, rgba(255,90,31,0.16), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(255,90,31,0.10), transparent 45%);
}

/* Toolbox emblem float */
.float-toolbox { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

/* FAQ accordion */
.faq-item .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-item .faq-icon { transition: transform 0.25s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Step connector */
.step-num {
  width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--charcoal);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

/* form */
.field {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.75rem 1rem;
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,90,31,0.15);
}
label.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.form-success, .form-error { display: none; }
.form-success.show, .form-error.show { display: block; }

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

::selection { background: var(--orange); color: #fff; }
