/* Fieldwire AI — marketing site styles */

:root {
  --navy-950: #0b1220;
  --navy-900: #0f172a;
  --navy-800: #16213a;
  --navy-700: #1e2a47;
  --navy-600: #2a3a5c;
  --slate-400: #94a3b8;
  --slate-300: #b8c2d1;
  --slate-100: #e7ecf3;
  --white: #ffffff;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-600: #d97706;
  --green-500: #22c55e;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --max-width: 1120px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--navy-950);
  color: var(--slate-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--white);
}

.brand .mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-950);
  font-weight: 800;
  font-size: 1rem;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.main-nav a {
  font-size: 0.95rem;
  color: var(--slate-300);
  font-weight: 500;
  transition: color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active { color: var(--white); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-500);
  color: var(--navy-950) !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  padding: 8px 10px;
  font-size: 1.1rem;
}

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

.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(245, 158, 11, 0.12), transparent 60%),
    radial-gradient(900px 400px at 0% 0%, rgba(59, 130, 246, 0.08), transparent 60%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-400);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 20px;
  max-width: 20ch;
}

.lede {
  font-size: 1.2rem;
  color: var(--slate-300);
  max-width: 56ch;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--amber-500);
  color: var(--navy-950);
}
.btn-primary:hover { background: var(--amber-400); transform: translateY(-1px); }

.btn-ghost {
  border-color: var(--border);
  color: var(--slate-100);
  background: rgba(255,255,255,0.02);
}
.btn-ghost:hover { border-color: var(--slate-400); background: rgba(255,255,255,0.06); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 640px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stats .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
}
.hero-stats .stat-label {
  font-size: 0.85rem;
  color: var(--slate-400);
}

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

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

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--white);
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.section-head p { color: var(--slate-400); font-size: 1.05rem; margin: 0; }

.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: 12px;
}

/* ---------- Grids / cards ---------- */

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

.card {
  background: var(--navy-900);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.card h3 { color: var(--white); font-size: 1.15rem; margin: 0 0 10px; }
.card p { color: var(--slate-400); margin: 0; font-size: 0.96rem; }

.card ul { margin: 14px 0 0; padding-left: 18px; color: var(--slate-300); font-size: 0.92rem; }
.card li { margin-bottom: 6px; }

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step { position: relative; padding-top: 8px; }
.step .step-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--navy-950);
  background: var(--amber-500);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h4 { color: var(--white); font-size: 1.05rem; margin: 0 0 8px; }
.step p { color: var(--slate-400); font-size: 0.92rem; margin: 0; }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--navy-900);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(245, 158, 11, 0.5);
  background: linear-gradient(180deg, rgba(245,158,11,0.08), var(--navy-900) 40%);
  position: relative;
}

.price-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--amber-500);
  color: var(--navy-950);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-card h3 { color: var(--white); font-size: 1.2rem; margin: 0 0 6px; }
.price-card .price-sub { color: var(--slate-400); font-size: 0.88rem; margin-bottom: 20px; }

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.price-tag .amount { font-size: 2rem; font-weight: 800; color: var(--white); }
.price-tag .period { color: var(--slate-400); font-size: 0.9rem; }

.price-tag2 {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.price-tag2 .amount { font-size: 1.3rem; font-weight: 700; color: var(--amber-400); }
.price-tag2 .period { color: var(--slate-400); font-size: 0.85rem; }

.price-card ul { list-style: none; padding: 0; margin: 0 0 28px; flex-grow: 1; }
.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--slate-300);
  font-size: 0.92rem;
  margin-bottom: 12px;
}
.price-card li::before {
  content: "✓";
  color: var(--green-500);
  font-weight: 800;
  flex-shrink: 0;
}

.price-note {
  text-align: center;
  color: var(--slate-400);
  font-size: 0.9rem;
  margin-top: 32px;
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--slate-400);
  background: var(--navy-900);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 40px;
}

/* ---------- Case study ---------- */

.case-hero {
  background: var(--navy-900);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 40px;
}

.tag-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber-400);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  padding: 5px 12px;
  border-radius: 999px;
}

.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0; }
.metric { background: var(--navy-900); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.metric .metric-num { font-size: 1.9rem; font-weight: 800; color: var(--amber-400); }
.metric .metric-label { font-size: 0.85rem; color: var(--slate-400); margin-top: 6px; }

blockquote.pull {
  border-left: 3px solid var(--amber-500);
  margin: 40px 0;
  padding: 4px 0 4px 24px;
  font-size: 1.25rem;
  color: var(--slate-100);
  font-style: italic;
}
blockquote.pull cite { display: block; font-style: normal; font-size: 0.85rem; color: var(--slate-400); margin-top: 12px; }

/* ---------- Testimonial / logos ---------- */

.logo-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  opacity: 0.6;
  filter: grayscale(1);
}

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

.cta-band {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { color: var(--white); margin: 0 0 12px; font-size: 1.9rem; }
.cta-band p { color: var(--slate-300); margin: 0 0 28px; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-grid h5 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 16px;
}

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--slate-400); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--slate-400);
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Forms ---------- */

form.contact-form { display: grid; gap: 20px; max-width: 560px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--slate-300); }
.field input, .field select, .field textarea {
  background: var(--navy-900);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--amber-500);
}
.field textarea { resize: vertical; min-height: 120px; }

.contact-side {
  background: var(--navy-900);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-side h3 { color: var(--white); margin: 0 0 8px; }
.contact-side .contact-item { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; }
.contact-side .contact-item .icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(245,158,11,0.12); color: var(--amber-400);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-side .contact-item strong { display: block; color: var(--white); font-size: 0.9rem; }
.contact-side .contact-item span { color: var(--slate-400); font-size: 0.88rem; }

/* ---------- Timeline ---------- */

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.timeline-item:first-child { border-top: none; }
.timeline-item .tl-date { color: var(--slate-400); font-size: 0.85rem; padding-top: 2px; }
.timeline-item h4 { color: var(--white); font-size: 1.02rem; margin: 0 0 4px; }
.timeline-item .tl-org { color: var(--amber-400); font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; }
.timeline-item p { color: var(--slate-400); font-size: 0.92rem; margin: 0; }

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

.badge-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.badge-list span {
  font-size: 0.82rem;
  color: var(--slate-300);
  background: var(--navy-900);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
}

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

@media (max-width: 900px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }
  .grid-3, .grid-2, .pricing-grid, .steps, .metric-row, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
}
