/* === MRO Pulse Landing Page === */
:root {
  --bg-deep: #0b1525;
  --bg-card: #111d2e;
  --bg-header: rgba(11, 21, 37, 0.95);
  --orange: #f97316;
  --orange-hover: #ea6a10;
  --white: #ffffff;
  --gray: #8899aa;
  --gray-light: #a0b0c0;
  --border-card: rgba(255, 255, 255, 0.06);
  --green: #22c55e;
  --red: #ef4444;
  --radius: 16px;
  --radius-sm: 12px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-deep);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* === Container === */
.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}
.brand-logo { height: 2.2rem; width: auto; }
.desktop-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.desktop-nav a {
  color: var(--gray);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.desktop-nav a:hover { color: var(--white); }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.mobile-nav a {
  padding: 0.85rem 1rem;
  color: var(--gray);
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.mobile-nav a:hover { color: var(--white); }
.mobile-nav.is-open { display: flex; }

/* === Buttons === */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.button-cta {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.button-cta:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-1px);
}
.button-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}
.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}
.button-sm { padding: 0.6rem 1.2rem; font-size: 0.88rem; }

/* === Hero === */
.hero {
  position: relative;
  padding: 7rem 0 5rem;
  text-align: center;
  overflow: hidden;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(249, 115, 22, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 0%, rgba(249, 115, 22, 0.05), transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(17, 29, 46, 0.8), transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.badge-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 em {
  font-style: italic;
  color: var(--orange);
}
.hero-sub {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 56ch;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.value-anchor {
  max-width: 42rem;
  margin: 0 auto 2rem;
  color: #d8e2ec;
  font-size: 0.98rem;
  line-height: 1.7;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 14px;
}
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2.5rem;
  max-width: 520px;
  margin: 0 auto;
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.stat span {
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
}

/* === Sections === */
.section { padding: 2.5rem 0; }
.section-center { text-align: center; }
.section-center .section-sub { margin: 0 auto; }
.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1rem;
  color: var(--white);
  max-width: 18ch;
}
.section-center h2 { max-width: none; }
h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
p { color: var(--gray); margin: 0; }
.section-sub {
  color: var(--gray);
  font-size: 0.95rem;
  max-width: 60ch;
  margin: 0;
  line-height: 1.7;
}

/* === Problem section === */
#problem { border-top: 1px solid rgba(255, 255, 255, 0.04); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.chaos-stack { display: grid; gap: 0.5rem; }
.chaos-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  color: var(--gray);
}
.chaos-icon { font-size: 1rem; flex-shrink: 0; }
.chaos-item > span:nth-child(2) { flex: 1; }
.chaos-tag {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.tag-stale { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
.tag-waiting { background: rgba(251, 191, 36, 0.12); color: #fbbf24; }
.tag-unknown { background: rgba(136, 153, 170, 0.12); color: var(--gray); }
.tag-verbal { background: rgba(136, 153, 170, 0.12); color: var(--gray-light); }
.tag-overdue { background: rgba(239, 68, 68, 0.15); color: #f87171; }

/* === Comparison === */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}
.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 2rem;
}
.comparison-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
}
.comparison-erp h3 { color: var(--red); }
.comparison-pulse h3 { color: var(--green); }
.comparison-card ul { display: grid; gap: 0.85rem; }
.comparison-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.5;
}
.bullet-red, .bullet-green {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 0.45rem;
}
.bullet-red { background: var(--red); }
.bullet-green { background: var(--green); }

/* === Capabilities === */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.capability-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.capability-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.capability-card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.capability-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  padding-left: 1.1rem;
}

/* === CTA Section === */
.cta-section {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.cta-section h2 {
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .section-sub { margin-bottom: 2.5rem; }
.proof-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.5rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gray-light);
  font-size: 0.88rem;
  font-weight: 500;
}
.cta-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-actions .button {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

/* === Footer === */
.site-footer {
  padding: 2.5rem 0;
  background: #080f1a;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-content { text-align: center; }
.footer-logo {
  height: 2rem;
  width: auto;
  margin: 0 auto 1rem;
}
.footer-copy {
  color: var(--gray);
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}
.footer-links {
  font-size: 0.88rem;
}
.footer-links a {
  color: var(--gray);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-sep {
  color: rgba(255, 255, 255, 0.15);
  margin: 0 0.5rem;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero { padding: 5rem 0 3.5rem; }
  .hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); max-width: none; }
  .section { padding: 4rem 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 1.2rem; }
  .stat-divider { display: none; }
  .stats-row {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .button { width: 100%; max-width: 280px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .button { width: 100%; max-width: 280px; }
  .nav-actions .button-sm { padding: 0.55rem 0.9rem; font-size: 0.82rem; }
}
