/* ─── AXIALENT DIGITAL — Brand Foundation ───────────────────── */

:root {
  --navy: #1d2f5e;
  --navy-deep: #152247;
  --navy-darker: #0d1a3a;
  --navy-light: #2a4080;
  --gold: #f3b230;
  --gold-light: #f8d078;
  --gold-deep: #d99a1c;
  --warm-bg: #faf9f6;
  --warm-card: #ffffff;
  --warm-soft: #f4f1ea;
  --text: #2c3e50;
  --text-muted: #5a6c7d;
  --text-soft: #8a96a3;
  --border: #e8e4de;
  --border-soft: #f0ece4;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(29, 47, 94, 0.04);
  --shadow: 0 4px 24px rgba(29, 47, 94, 0.08);
  --shadow-lg: 0 12px 40px rgba(29, 47, 94, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Albert Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--warm-bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 400;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; letter-spacing: -0.005em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }

p { margin-bottom: 1rem; }
a { color: var(--navy); text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-tight { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* ─── HEADER ─── */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-header .logo { display: flex; align-items: center; }
.site-header .logo img { height: 32px; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.site-header nav a:hover { color: var(--navy); }
.site-header nav a.active { color: var(--navy); }
.site-header nav a.active::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
}

@media (max-width: 720px) {
  .site-header .container { height: 60px; }
  .site-header nav { gap: 16px; }
  .site-header nav a { font-size: 0.8rem; }
  .site-header .logo img { height: 26px; }
}

/* ─── HERO (dark navy) ─── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 55%, var(--navy-darker) 100%);
  color: white;
  padding: 96px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -25%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(243, 178, 48, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60%;
  left: -15%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(243, 178, 48, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero h1 { color: white; margin-bottom: 20px; position: relative; z-index: 1; }
.hero .lead {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.18rem;
  max-width: 720px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.hero .eyebrow {
  font-family: 'Albert Sans', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.hero-center { text-align: center; }
.hero-center .lead { margin-left: auto; margin-right: auto; }

/* ─── SECTIONS ─── */
section { padding: 88px 0; }
section.section-alt { background: white; }
section.section-warm { background: var(--warm-soft); }
section.section-navy { background: linear-gradient(180deg, var(--navy-deep), var(--navy-darker)); color: white; }
section.section-navy h2, section.section-navy h3 { color: white; }
section.section-navy p { color: rgba(255, 255, 255, 0.78); }

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
section.section-navy .section-label { color: var(--gold); }

.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}
section.section-navy .section-intro { color: rgba(255, 255, 255, 0.78); }

/* ─── CARDS / GRIDS ─── */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(243, 178, 48, 0.4);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

/* Product cards (home) */
.product-card {
  display: flex;
  flex-direction: column;
  padding: 36px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(29, 47, 94, 0.12);
}
.product-card:hover::before { transform: scaleX(1); }

.product-card .product-num {
  font-family: 'DM Serif Display', serif;
  font-size: 0.95rem;
  color: var(--gold-deep);
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}
.product-card h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}
.product-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.product-card .product-cta {
  font-family: 'Albert Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.product-card .product-cta::after {
  content: '→';
  transition: transform 0.2s ease;
}
.product-card:hover .product-cta::after { transform: translateX(4px); }

/* Benefit cards */
.benefit-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  height: 100%;
  position: relative;
}
.benefit-card .benefit-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
}
.benefit-card h3 {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--navy);
}
.benefit-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Step cards (How it works) */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.step {
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  border-left: 3px solid var(--gold);
  position: relative;
}
.step .step-n {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.step h4 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* Detection list */
.dyn-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.dyn-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.dyn-item .dyn-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}
.dyn-item .dyn-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}
.dyn-item .dyn-text strong {
  color: var(--navy);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
  font-size: 1rem;
}

/* Deliverables list */
.deliverables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.deliverable {
  background: var(--warm-soft);
  border-left: 3px solid var(--gold);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  color: var(--text);
}
.deliverable strong { color: var(--navy); display: block; margin-bottom: 4px; }

/* Quote callout */
.callout {
  background: white;
  border-left: 4px solid var(--gold);
  padding: 28px 32px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--navy);
  font-style: italic;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}
.callout::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--gold);
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 8px;
}

/* CTA static (no link) */
.cta-static {
  text-align: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: white;
  padding: 56px 32px;
  border-radius: var(--radius-lg);
  margin: 56px 0 0;
  position: relative;
  overflow: hidden;
}
.cta-static::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(243, 178, 48, 0.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.cta-static h3 {
  color: white;
  font-size: 1.6rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.cta-static p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  position: relative;
  z-index: 1;
  font-size: 1rem;
}
.cta-static .cta-pill {
  display: inline-block;
  margin-top: 24px;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy-darker);
  color: rgba(255, 255, 255, 0.6);
  padding: 56px 0 32px;
  font-size: 0.9rem;
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}
.site-footer .foot-brand { flex: 1; min-width: 240px; }
.site-footer img { height: 26px; margin-bottom: 12px; }
.site-footer .tagline {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.05rem;
}
.site-footer .foot-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.site-footer .foot-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.site-footer .foot-links a:hover { color: var(--gold); }
.site-footer .copyright {
  flex-basis: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ─── DIAGRAM SVG STYLES ─── */
.diagram {
  display: block;
  margin: 48px auto;
  max-width: 100%;
  height: auto;
}

/* Page-section header inside product pages */
.page-section-head {
  text-align: center;
  margin-bottom: 56px;
}
.page-section-head .section-label { color: var(--gold-deep); }

/* Spacing utilities */
.mt-4 { margin-top: 1.5rem; }
.mt-6 { margin-top: 2.5rem; }
.mt-8 { margin-top: 3.5rem; }
.text-center { text-align: center; }
