/* ============================================
   FREIGHT CYBER — FCX WEBSITE
   Global Stylesheet
   Brand: Black #0A0A0A | Red #E30613 | White #FFFFFF
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: #0a0a0a;
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: #E30613; text-decoration: none; transition: color 0.2s; }
a:hover { color: #ff1a2a; }

ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: #cccccc; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #E30613;
  margin-bottom: 0.75rem;
  display: block;
}

/* === LAYOUT === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }

/* === NAVIGATION === */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(227, 6, 19, 0.3);
  height: 72px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 40px;
  width: auto;
  max-width: 200px;
  display: block;
  object-fit: contain;
}
/* Fallback text style if image fails */
.nav-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.nav-logo-text span { color: #E30613; }

/* Footer logo */
.footer-logo-img {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 12px;
  display: block;
}
.footer-brand-name {
  display: none; /* hidden when image logo is present */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  color: #aaaaaa;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: #ffffff; background: rgba(227,6,19,0.1); }

.nav-cta {
  background: #E30613 !important;
  color: #ffffff !important;
  padding: 8px 18px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}
.nav-cta:hover { background: #c00510 !important; }

/* === DROPDOWN MENUS === */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  color: #aaaaaa;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.open {
  color: #ffffff;
  background: rgba(227,6,19,0.1);
}
.nav-dropdown-trigger svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}
.nav-dropdown-trigger.open svg { transform: rotate(180deg); }

/* Login dropdown — dark themed */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 260px;
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  z-index: 2000;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}
.nav-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #444444;
  padding: 14px 16px 6px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  text-decoration: none;
  transition: background 0.15s;
  border-bottom: 1px solid #1a1a1a;
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: rgba(227,6,19,0.08); }

.dropdown-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(227,6,19,0.1);
  border: 1px solid rgba(227,6,19,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #E30613;
}

.dropdown-item-icon.blue {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.2);
  color: #3b82f6;
}
.dropdown-item-icon.green {
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.2);
  color: #22C55E;
}
.dropdown-item-icon.amber {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.2);
  color: #F59E0B;
}

.dropdown-item-text {}
.dropdown-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}
.dropdown-item-sub {
  font-size: 0.72rem;
  color: #666666;
  margin-top: 1px;
}

.dropdown-divider {
  height: 1px;
  background: #1e1e1e;
  margin: 4px 0;
}

/* Register button — green accent */
.nav-register {
  background: transparent !important;
  color: #22C55E !important;
  border: 1px solid rgba(34,197,94,0.4) !important;
  padding: 7px 14px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-register:hover {
  background: rgba(34,197,94,0.1) !important;
  border-color: #22C55E !important;
  color: #22C55E !important;
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  display: block;
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #0a0a0a;
  border-bottom: 1px solid #222;
  z-index: 999;
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: #cccccc;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 4px;
  text-decoration: none;
  display: block;
}
.mobile-nav a:hover { background: #1a1a1a; color: #ffffff; }
.mobile-nav .nav-cta {
  background: #E30613 !important;
  color: #ffffff !important;
  text-align: center;
  margin-top: 8px;
}

/* === HERO SECTIONS === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(10,10,10,0.7) 60%, rgba(0,0,0,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content p { font-size: 1.15rem; color: #cccccc; margin-bottom: 2rem; max-width: 600px; }

/* Page hero (shorter) */
.page-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75));
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: #E30613;
  color: #ffffff;
}
.btn-primary:hover { background: #c00510; color: #ffffff; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(227,6,19,0.4); }

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: #E30613; color: #E30613; }

.btn-white {
  background: #ffffff;
  color: #0a0a0a;
}
.btn-white:hover { background: #f0f0f0; color: #0a0a0a; }

.btn-full { width: 100%; justify-content: center; }

.cta-group { display: flex; flex-wrap: wrap; gap: 12px; }

/* === TRAFFIC LIGHTS === */
.tl-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tl-green {
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E, 0 0 16px rgba(34,197,94,0.4);
}
.tl-amber {
  background: #F59E0B;
  box-shadow: 0 0 8px #F59E0B, 0 0 16px rgba(245,158,11,0.4);
}
.tl-red {
  background: #E30613;
  box-shadow: 0 0 8px #E30613, 0 0 16px rgba(227,6,19,0.4);
}

.tl-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
}
.tl-indicator.green .tl-dot { background: #22C55E; box-shadow: 0 0 8px #22C55E; }
.tl-indicator.amber .tl-dot { background: #F59E0B; box-shadow: 0 0 8px #F59E0B; }
.tl-indicator.red .tl-dot { background: #E30613; box-shadow: 0 0 8px #E30613; }

/* === TRUST STRIP === */
.trust-strip {
  background: #111111;
  border-top: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
  padding: 20px 0;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #aaaaaa;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.trust-item svg { color: #E30613; flex-shrink: 0; }

/* === CARDS === */
.card {
  background: #111111;
  border: 1px solid #222222;
  border-radius: 8px;
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: #E30613; transform: translateY(-2px); }

.card-img-wrap {
  border: 1px solid #E30613;
  box-shadow: 0 0 20px rgba(227,6,19,0.2);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}
.card-img-wrap img { width: 100%; display: block; }

/* === GRID SYSTEMS === */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* === SPLIT SECTIONS === */
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-img {
  border: 1px solid #E30613;
  box-shadow: 0 0 30px rgba(227,6,19,0.15);
  border-radius: 8px;
  overflow: hidden;
}
.split-img img { width: 100%; display: block; }

/* === SECTION HEADINGS === */
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; color: #aaaaaa; max-width: 600px; }
.section-header.centered p { margin: 0 auto; }

/* === FEATURE LIST === */
.feature-list { margin: 0; padding: 0; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #1e1e1e;
  color: #cccccc;
  font-size: 0.95rem;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li svg { color: #E30613; flex-shrink: 0; margin-top: 2px; }

/* === OUTCOME BOX === */
.outcome-box {
  background: rgba(227, 6, 19, 0.06);
  border: 1px solid rgba(227, 6, 19, 0.3);
  border-radius: 6px;
  padding: 20px 24px;
  margin-top: 24px;
}
.outcome-box .outcome-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #E30613;
  margin-bottom: 8px;
}
.outcome-box p { color: #cccccc; font-size: 0.9rem; margin: 0; }

/* === MODULE NAVIGATOR === */
.module-nav {
  background: #111111;
  border: 1px solid #222222;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 64px;
}
.module-nav-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 16px;
}
.module-nav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.module-nav-grid a {
  font-size: 0.82rem;
  font-weight: 600;
  color: #aaaaaa;
  background: #0a0a0a;
  border: 1px solid #333333;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.module-nav-grid a:hover { border-color: #E30613; color: #E30613; }

/* === MODULE SECTION === */
.module-section {
  padding: 72px 0;
  border-bottom: 1px solid #1a1a1a;
}
.module-section:last-child { border-bottom: none; }
.module-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #E30613;
  margin-bottom: 12px;
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 20px 0;
}
.capability-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #cccccc;
  padding: 4px 0;
}
.capability-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E30613;
  flex-shrink: 0;
}

/* === STATS STRIP === */
.stats-strip {
  background: #111111;
  border-top: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 40px 24px;
  border-right: 1px solid #1e1e1e;
  text-align: center;
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-tl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #E30613;
  line-height: 1;
  display: block;
}
.stat-label { font-size: 0.82rem; color: #888888; margin-top: 8px; }

/* === TESTIMONIALS === */
.testimonial-card {
  background: #111111;
  border: 1px solid #222222;
  border-radius: 8px;
  padding: 32px;
}
.testimonial-text {
  font-size: 1rem;
  color: #cccccc;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.7;
}
.testimonial-text::before { content: '"'; color: #E30613; font-size: 2rem; line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.testimonial-attribution {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}
.testimonial-role { color: #666666; font-weight: 400; }

/* === CTA SECTION === */
.cta-section {
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.cta-section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.8);
}
.cta-section-content {
  position: relative;
  z-index: 1;
}
.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; color: #aaaaaa; margin-bottom: 2rem; }

/* === COMPARISON TABLE === */
.comparison-table { width: 100%; border-collapse: collapse; margin: 0; }
.comparison-table th {
  padding: 16px 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.comparison-table th:first-child { background: #111111; color: #666666; text-align: left; }
.comparison-table th.legacy-col { background: #1a0505; color: #E30613; text-align: center; }
.comparison-table th.fcx-col { background: #051a09; color: #22C55E; text-align: center; }
.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #1e1e1e;
  font-size: 0.9rem;
}
.comparison-table td:first-child { color: #aaaaaa; }
.comparison-table td.legacy-val { text-align: center; color: #E30613; }
.comparison-table td.fcx-val { text-align: center; color: #22C55E; }
.comparison-table tr:hover td { background: rgba(255,255,255,0.02); }

/* === MATURITY MODEL === */
.maturity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.maturity-level {
  padding: 32px 24px;
  border-right: 1px solid #222222;
  position: relative;
}
.maturity-level:last-child { border-right: none; }
.maturity-level-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 12px;
}
.maturity-level-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}
.maturity-level p { font-size: 0.85rem; color: #888888; }
.maturity-level.active {
  background: rgba(227, 6, 19, 0.06);
  border: 1px solid rgba(227, 6, 19, 0.3);
  border-radius: 6px;
}
.maturity-level.active .maturity-level-name { color: #E30613; }

/* === COMPLIANCE BADGES === */
.compliance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
.compliance-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #111111;
  border: 1px solid #222222;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}
.compliance-badge .tl-dot { background: #22C55E; box-shadow: 0 0 8px #22C55E; }

/* === CONTACT / FORM === */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 64px; align-items: start; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #aaaaaa;
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: #111111;
  border: 1px solid #333333;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}
.form-control:focus { border-color: #E30613; }
.form-control::placeholder { color: #555555; }
select.form-control option { background: #111111; }
textarea.form-control { resize: vertical; min-height: 120px; }

.privacy-note {
  font-size: 0.78rem;
  color: #555555;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.privacy-note svg { color: #22C55E; flex-shrink: 0; }

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #1e1e1e;
}
.contact-detail-item:last-child { border-bottom: none; }
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(227,6,19,0.1);
  border: 1px solid rgba(227,6,19,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #E30613;
}
.contact-detail-label { font-size: 0.78rem; color: #666666; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-detail-value { font-size: 0.95rem; color: #ffffff; }
.contact-detail-value a { color: #E30613; }

/* === PROCESS STEPS === */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(to right, transparent, #E30613, transparent);
}
.process-step { text-align: center; padding: 0 16px; }
.process-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #E30613;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}
.process-step h4 { color: #ffffff; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: #888888; }

/* === LEGACY FAILURES === */
.failure-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 56px 0;
  border-bottom: 1px solid #1a1a1a;
}
.failure-item:last-child { border-bottom: none; }
.failure-num {
  font-size: 5rem;
  font-weight: 800;
  color: rgba(227, 6, 19, 0.2);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* === ECOSYSTEM CARDS === */
.ecosystem-card {
  background: #111111;
  border: 1px solid #222222;
  border-radius: 8px;
  padding: 40px 32px;
  transition: all 0.3s;
}
.ecosystem-card:hover { border-color: #E30613; box-shadow: 0 0 30px rgba(227,6,19,0.1); }
.ecosystem-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(227,6,19,0.1);
  border: 1px solid rgba(227,6,19,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E30613;
  margin-bottom: 20px;
}
.ecosystem-card h3 { margin-bottom: 12px; }
.ecosystem-card p { font-size: 0.9rem; color: #888888; }
.ecosystem-card .card-link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.85rem; font-weight: 600; color: #E30613; margin-top: 16px; }

/* === FOOTER === */
.site-footer {
  background: #060606;
  border-top: 1px solid #1a1a1a;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}
.footer-brand-name span { color: #E30613; }
.footer-tagline { font-size: 0.85rem; color: #666666; margin-bottom: 20px; }
.footer-email a { font-size: 0.9rem; color: #E30613; text-decoration: none; }
.footer-email a:hover { color: #ff1a2a; }

.footer-col-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 16px;
}
.footer-col ul { padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.88rem;
  color: #888888;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: #ffffff; }

.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0077b5;
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  transition: background 0.2s;
}
.footer-linkedin:hover { background: #005e91; }
.footer-linkedin svg { flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 0.8rem; color: #444444; }
.footer-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #444444;
  border: 1px solid #2a2a2a;
  padding: 4px 10px;
  border-radius: 3px;
}

/* === PRODUCT IMAGE WRAPPER === */
.product-img-wrap {
  border: 1px solid #E30613;
  box-shadow: 0 0 30px rgba(227,6,19,0.2), 0 0 60px rgba(227,6,19,0.08);
  border-radius: 10px;
  overflow: hidden;
}
.product-img-wrap img { width: 100%; display: block; }

/* === CALLOUT BLOCKS === */
.callout-block {
  background: linear-gradient(135deg, #0f0f0f, #1a0505);
  border: 1px solid rgba(227,6,19,0.3);
  border-radius: 10px;
  padding: 48px;
  text-align: center;
}
.callout-block h2 { margin-bottom: 1rem; }
.callout-block p { font-size: 1.05rem; color: #aaaaaa; margin-bottom: 2rem; }

/* === QUOTE BLOCK === */
.quote-block {
  border-left: 4px solid #E30613;
  padding: 24px 32px;
  background: #0f0f0f;
  border-radius: 0 8px 8px 0;
  margin: 32px 0;
}
.quote-block p { font-size: 1.2rem; font-style: italic; color: #ffffff; margin: 0; line-height: 1.6; }
.quote-attribution { font-size: 0.85rem; color: #666666; margin-top: 12px; font-style: normal; }

/* === SCROLL ANIMATIONS === */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .maturity-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { gap: 48px; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Typography scale down */
  h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
  h3 { font-size: clamp(1.1rem, 4vw, 1.4rem); }

  /* Sections */
  .section { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
  .section-lg { padding: 72px 0; }
  .container { padding: 0 16px; }

  /* Hero */
  .hero { min-height: 85vh; padding-top: 72px; }
  .page-hero { padding: 110px 0 60px; }
  .hero-content p { font-size: 1rem; }

  /* Grids → single column */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 20px; }
  .split-section { grid-template-columns: 1fr; gap: 32px; }
  .split-section.reverse { direction: ltr; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid #1e1e1e; padding: 28px 16px; }
  .stat-number { font-size: 2rem; }

  /* Maturity */
  .maturity-grid { grid-template-columns: repeat(2, 1fr); }
  .maturity-level { padding: 20px 16px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .process-steps::before { display: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-badges { flex-wrap: wrap; }

  /* Legacy failures */
  .failure-item { grid-template-columns: 48px 1fr; gap: 20px; padding: 36px 0; }
  .failure-num { font-size: 3.5rem; }

  /* Misc */
  .module-nav-grid a { font-size: 0.76rem; padding: 6px 10px; }
  .capability-grid { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: 1fr; }

  /* CTA group stacks on mobile */
  .cta-group { flex-direction: column; align-items: flex-start; }
  .cta-section .cta-group { align-items: center; }
  .btn { width: 100%; justify-content: center; }

  /* Callout block */
  .callout-block { padding: 32px 20px; }

  /* Comparison table scrollable */
  .comparison-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .comparison-table { min-width: 540px; }
}

@media (max-width: 480px) {
  .container { padding: 0 12px; }

  h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  h2 { font-size: clamp(1.25rem, 6vw, 1.7rem); }

  .section { padding: 44px 0; }
  .page-hero { padding: 96px 0 48px; }

  /* Single column everything */
  .failure-item { grid-template-columns: 1fr; gap: 8px; }
  .failure-num { font-size: 2.5rem; display: none; }
  .maturity-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-bottom: 1px solid #1e1e1e; padding: 24px 16px; }

  /* Cards */
  .card { padding: 20px; }
  .ecosystem-card { padding: 24px 20px; }

  /* Nav mobile height */
  .site-nav { height: 64px; }
  .mobile-nav { top: 64px; }
  .hero { padding-top: 64px; }
  .page-hero { padding-top: 88px; }

  /* Product image full width */
  .product-img-wrap, .split-img { border-radius: 6px; }

  /* Section header */
  .section-header { margin-bottom: 36px; }

  /* CTA section padding */
  .cta-section { padding: 64px 0; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer { padding: 48px 0 24px; }
}
