/* Gallo Trax — Fire Service AI Landing Page */

:root {
  --navy:       #0a1628;
  --navy-deep:  #060e1a;
  --orange:     #e8600c;
  --amber:      #f59e0b;
  --white:      #ffffff;
  --gray-100:   #f0f4f8;
  --gray-300:   #cbd5e1;
  --gray-500:   #64748b;
  --gray-600:   #475569;
  --border:     rgba(255,255,255,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--navy);
  color: var(--gray-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Navigation ─────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nav-logo {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
}

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

.nav-cta {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--orange);
  border-radius: 6px;
  color: var(--orange);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
  background: var(--orange);
  color: var(--white);
}

/* ── Hero ─────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(232,96,12,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy { max-width: 540px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(232,96,12,0.4);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: normal;
  color: var(--orange);
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  padding: 0.875rem 2rem;
  background: var(--orange);
  color: var(--white);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover { background: #cf540a; transform: translateY(-1px); }

.btn-secondary {
  padding: 0.875rem 1.75rem;
  border: 1.5px solid var(--border);
  color: var(--gray-300);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.hero-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,96,12,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ── Problem bar ──────────────────────────────────────── */

.problem-bar {
  background: var(--orange);
  padding: 1rem 2rem;
  text-align: center;
}

.problem-bar p {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  max-width: 680px;
  margin: 0 auto;
}

.problem-bar strong { color: #fff3e0; }

/* ── Value proposition ───────────────────────────────── */

.value-prop {
  padding: 6rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Offerings ────────────────────────────────────────── */

.offerings {
  padding: 4rem 2rem 8rem;
  max-width: 1100px;
  margin: 0 auto;
}

.offering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.offering-card {
  background: var(--navy-deep);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.2s;
}

.offering-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  opacity: 0;
  transition: opacity 0.25s;
}

.offering-card:hover {
  border-color: rgba(232,96,12,0.3);
  transform: translateY(-4px);
}

.offering-card:hover::before { opacity: 1; }

.offering-icon {
  width: 48px; height: 48px;
  background: rgba(232,96,12,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.offering-card h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.offering-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.offering-tag {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.25rem 0.75rem;
  background: rgba(232,96,12,0.1);
  border: 1px solid rgba(232,96,12,0.25);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.04em;
}

/* ── Trust band ───────────────────────────────────────── */

.trust-band {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.trust-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.trust-label span { color: var(--orange); }

.trust-quote {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-300);
  line-height: 1.5;
}

.trust-quote em {
  font-style: normal;
  color: var(--white);
}

.trust-pills {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-pill {
  padding: 0.375rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-300);
}

/* ── CTA Section ─────────────────────────────────────── */

.cta-section {
  padding: 8rem 2rem;
  text-align: center;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(232,96,12,0.1) 0%, transparent 70%);
}

.cta-section .section-title { margin-bottom: 0.75rem; }
.cta-section .section-sub { margin-bottom: 2.5rem; }

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Footer ───────────────────────────────────────────── */

.footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-brand span { color: var(--orange); }

.footer-copy {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ── Responsive ──────────────────────────────────────── */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 6rem;
  }
  .hero-copy { max-width: 100%; }
  .hero-image-wrap { order: -1; }
  .offering-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 2rem; }
  .section-title { font-size: 1.75rem; }
  .nav { padding: 0.875rem 1.25rem; }
  .hero-inner { padding: 6rem 1.25rem 4rem; }
  .offerings, .value-prop, .cta-section { padding-left: 1.25rem; padding-right: 1.25rem; }
}