/* AxiomCore Inc — Red Hat OpenShift-inspired enterprise style */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --red: #EE0000;
  --red-dark: #CC0000;
  --red-light: #FFF0F0;
  --black: #000000;
  --dark: #151515;
  --dark-2: #1e1e1e;
  --gray-900: #2d2d2d;
  --gray-700: #525252;
  --gray-500: #737373;
  --gray-300: #d4d4d4;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --gray-50: #fafafa;
  --white: #ffffff;
  --purple-glow: rgba(124, 58, 237, 0.25);
  --blue-glow: rgba(59, 130, 246, 0.2);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1140px;
  --wide: 1280px;
  --header-h: 56px;
  --subnav-h: 48px;
  --radius: 4px;
  --radius-lg: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--dark); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--red-dark); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Top bar ── */
.ax-topbar { background: var(--gray-100); border-bottom: 1px solid var(--gray-200); padding: 6px 24px; font-size: 12px; color: var(--gray-700); }
.ax-topbar-inner { max-width: var(--wide); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ax-topbar a { color: var(--gray-700); font-weight: 500; }
.ax-topbar a:hover { color: var(--red); }

/* ── Main header ── */
.ax-header { position: sticky; top: 0; z-index: 600; background: var(--white); border-bottom: 1px solid var(--gray-200); }
.ax-header-inner { max-width: var(--wide); margin: 0 auto; padding: 0 24px; height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.ax-logo img { height: 28px; width: auto; }
.ax-nav { flex: 1; }
.ax-nav > ul { list-style: none; display: flex; align-items: center; gap: 0; justify-content: center; }
.ax-nav > ul > li { position: relative; }
.ax-nav > ul > li > a { display: block; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--dark); border-radius: var(--radius); }
.ax-nav > ul > li > a:hover, .ax-nav > ul > li > a.active { color: var(--red); }
.ax-drop-menu {
  position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--white);
  border: 1px solid var(--gray-200); box-shadow: 0 12px 40px rgba(0,0,0,0.12); padding: 8px 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all 0.2s; z-index: 100; border-radius: var(--radius-lg);
}
.ax-drop:hover .ax-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.ax-drop-menu a { display: block; padding: 10px 18px; font-size: 14px; color: var(--gray-700); }
.ax-drop-menu a:hover { background: var(--gray-50); color: var(--red); }
.ax-header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ax-btn-red {
  display: inline-flex; align-items: center; padding: 8px 18px; background: var(--red); color: var(--white) !important;
  font-size: 14px; font-weight: 600; border-radius: var(--radius); border: none; cursor: pointer; font-family: var(--font);
  transition: background 0.15s, transform 0.15s;
}
.ax-btn-red:hover { background: var(--red-dark); color: var(--white) !important; transform: translateY(-1px); }
.ax-btn-outline {
  display: inline-flex; padding: 7px 16px; border: 1px solid var(--gray-300); color: var(--dark) !important;
  font-size: 14px; font-weight: 600; border-radius: var(--radius); background: transparent;
}
.ax-btn-outline:hover { border-color: var(--dark); color: var(--dark) !important; }
.ax-btn-ghost {
  display: inline-flex; padding: 10px 20px; border: 1px solid rgba(255,255,255,0.4); color: var(--white) !important;
  font-size: 14px; font-weight: 600; border-radius: var(--radius); background: transparent;
  transition: border-color 0.15s, background 0.15s;
}
.ax-btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white) !important; }
.ax-btn-dark { display: inline-flex; padding: 10px 22px; background: var(--dark); color: var(--white) !important; font-size: 14px; font-weight: 600; border-radius: var(--radius); border: none; cursor: pointer; font-family: var(--font); }
.ax-menu-btn { display: none; border: none; background: none; font-size: 22px; cursor: pointer; color: var(--dark); padding: 8px; }

/* ── Product subnav (OpenShift grey bar) ── */
.ax-subnav { background: var(--gray-100); border-bottom: 1px solid var(--gray-200); position: sticky; top: var(--header-h); z-index: 500; }
.ax-subnav-inner { max-width: var(--wide); margin: 0 auto; padding: 0 24px; height: var(--subnav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; overflow-x: auto; }
.ax-subnav-brand { font-size: 14px; font-weight: 700; color: var(--dark); white-space: nowrap; }
.ax-subnav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.ax-subnav-links a { display: block; padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--gray-700); white-space: nowrap; border-radius: var(--radius); }
.ax-subnav-links a:hover, .ax-subnav-links a.active { color: var(--red); background: rgba(238,0,0,0.06); }

/* ── Hero (black split) ── */
.ax-hero { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.ax-hero::before {
  content: ''; position: absolute; top: 20%; right: 0; width: 60%; height: 60%;
  background: linear-gradient(90deg, transparent, var(--purple-glow), var(--blue-glow));
  filter: blur(80px); pointer-events: none;
}
.ax-hero-inner { max-width: var(--wide); margin: 0 auto; padding: 48px 24px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.ax-crumb { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.ax-crumb a { color: rgba(255,255,255,0.5); }
.ax-crumb a:hover { color: var(--white); }
.ax-hero h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 20px; }
.ax-hero-lead { font-size: 17px; color: rgba(255,255,255,0.78); line-height: 1.7; margin-bottom: 28px; max-width: 520px; }
.ax-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.ax-partners-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.ax-partner-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.ax-partner-pill { padding: 8px 16px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); }
.ax-hero-visual { position: relative; }
.ax-hero-mockup {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 32px 64px rgba(0,0,0,0.5); background: var(--dark-2);
}
.ax-hero-mockup img { width: 100%; aspect-ratio: 16/10; object-fit: cover; opacity: 0.9; }
.ax-hero-float {
  position: absolute; bottom: -16px; left: -16px; width: 72px; height: 72px;
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 40px rgba(238,0,0,0.3); animation: floatIcon 4s ease-in-out infinite;
}
@keyframes floatIcon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.ax-hero-float svg { width: 36px; height: 36px; }

/* ── Three pillars ── */
.ax-pillars { padding: 72px 24px; background: var(--white); }
.ax-pillars-inner { max-width: var(--wide); margin: 0 auto; }
.ax-pillars-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.ax-pillars-head h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.ax-pillars-head p { color: var(--gray-700); font-size: 17px; }
.ax-pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ax-pillar { padding: 0 8px; }
.ax-pillar-icon {
  width: 48px; height: 48px; background: var(--red-light); border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;
  transition: transform 0.3s ease, background 0.3s;
}
.ax-pillar:hover .ax-pillar-icon { transform: scale(1.08); background: #ffe0e0; }
.ax-pillar h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.ax-pillar p { font-size: 15px; color: var(--gray-700); line-height: 1.65; }

/* ── Use cases tabs ── */
.ax-tabs-section { padding: 72px 24px; background: var(--gray-50); }
.ax-tabs-inner { max-width: var(--wide); margin: 0 auto; }
.ax-tabs-head { margin-bottom: 32px; }
.ax-tabs-head h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; }
.ax-tab-bar { display: flex; gap: 0; border-bottom: 2px solid var(--gray-200); margin-bottom: 40px; overflow-x: auto; }
.ax-tab {
  padding: 12px 24px; font-size: 14px; font-weight: 600; color: var(--gray-700); background: none; border: none;
  border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; font-family: var(--font); white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.ax-tab.active, .ax-tab:hover { color: var(--red); border-bottom-color: var(--red); }
.ax-tab-panel { display: none; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; animation: fadeUp 0.4s ease; }
.ax-tab-panel.active { display: grid; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.ax-tab-panel h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.ax-tab-panel p { color: var(--gray-700); margin-bottom: 12px; line-height: 1.7; }
.ax-tab-panel ul { margin: 16px 0 24px 20px; color: var(--gray-700); }
.ax-tab-visual { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-200); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.ax-tab-visual img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* ── Service editions grid ── */
.ax-editions { padding: 72px 24px; background: var(--white); }
.ax-editions-inner { max-width: var(--wide); margin: 0 auto; }
.ax-editions-head { text-align: center; margin-bottom: 40px; }
.ax-editions-head h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.ax-editions-head p { color: var(--gray-700); }
.ax-edition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ax-edition-card {
  display: block; padding: 32px; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s; color: inherit; position: relative;
}
.ax-edition-card::after {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--red);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg); opacity: 0; transition: opacity 0.25s;
}
.ax-edition-card:hover { border-color: var(--red); box-shadow: 0 12px 40px rgba(238,0,0,0.08); transform: translateY(-4px); }
.ax-edition-card:hover::after { opacity: 1; }
.ax-edition-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.ax-edition-card p { font-size: 15px; color: var(--gray-700); line-height: 1.65; margin-bottom: 16px; }
.ax-edition-card .ax-link { font-size: 14px; font-weight: 600; color: var(--red); }

/* ── Stats band ── */
.ax-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); background: var(--white); }
.ax-stat { padding: 40px 24px; text-align: center; border-right: 1px solid var(--gray-200); }
.ax-stat:last-child { border-right: none; }
.ax-stat-num { font-size: 1.75rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; letter-spacing: -0.02em; }
.ax-stat-label { font-size: 14px; color: var(--gray-700); line-height: 1.5; max-width: 220px; margin: 0 auto; }

/* ── Dark CTA strip ── */
.ax-cta-dark { padding: 72px 24px; background: var(--black); color: var(--white); text-align: center; position: relative; overflow: hidden; }
.ax-cta-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 100%, var(--purple-glow), transparent 60%); pointer-events: none; }
.ax-cta-dark h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 14px; position: relative; letter-spacing: -0.03em; }
.ax-cta-dark p { color: rgba(255,255,255,0.7); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }
.ax-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Contact ── */
.ax-contact { padding: 72px 24px; background: var(--gray-50); }
.ax-contact-grid { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.ax-contact h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.ax-contact p { color: var(--gray-700); margin-bottom: 24px; }
.ax-info-item { margin-bottom: 18px; }
.ax-info-item strong { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-500); margin-bottom: 4px; }
.ax-info-item span, .ax-info-item a { font-size: 15px; font-weight: 600; color: var(--dark); }
.ax-form { background: var(--white); padding: 36px; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); }
.ax-form h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 22px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-family: var(--font); font-size: 15px;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(238,0,0,0.12);
}
.form-row textarea { min-height: 120px; resize: vertical; }

/* ── Page hero ── */
.ax-page-hero { background: var(--black); color: var(--white); padding: 48px 24px; }
.ax-page-hero-inner { max-width: var(--max); margin: 0 auto; }
.ax-page-hero h1 { font-size: clamp(1.85rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 8px; letter-spacing: -0.03em; }
.ax-page-hero p { font-size: 16px; color: rgba(255,255,255,0.65); max-width: 560px; }

/* ── Inner content ── */
.section-wrap { max-width: var(--max); margin: 0 auto; padding: 64px 24px; }
.section-wrap h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.section-wrap h3 { font-size: 1.05rem; font-weight: 700; margin: 22px 0 8px; }
.section-wrap p { margin-bottom: 12px; color: var(--gray-700); }
.section-wrap ul { margin: 0 0 14px 20px; color: var(--gray-700); }
.notice-box { background: var(--red-light); border-left: 3px solid var(--red); padding: 16px 20px; margin: 20px 0; font-size: 14px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.data-table { width: 100%; border-collapse: collapse; border: 1px solid var(--gray-200); font-size: 14px; margin: 20px 0; border-radius: var(--radius-lg); overflow: hidden; }
.data-table th, .data-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--gray-200); }
.data-table th { background: var(--gray-50); width: 200px; font-weight: 700; }

.sidebar-layout { display: grid; grid-template-columns: 200px 1fr; gap: 40px; max-width: var(--max); margin: 0 auto; padding: 48px 24px 64px; }
.side-nav { position: sticky; top: calc(var(--header-h) + var(--subnav-h) + 16px); align-self: start; }
.side-nav h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-500); margin-bottom: 10px; }
.side-nav ul { list-style: none; }
.side-nav li a { display: block; padding: 10px 0; font-size: 14px; font-weight: 600; color: var(--gray-700); border-bottom: 1px solid var(--gray-200); }
.side-nav li a:hover, .side-nav li a.active { color: var(--red); }

.insight-card { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 16px; transition: box-shadow 0.25s; }
.insight-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.06); }
.insight-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.insight-card .meta { font-size: 13px; color: var(--gray-500); margin-bottom: 10px; }
.insight-card p { font-size: 15px; color: var(--gray-700); }

/* ── Footer ── */
.ax-footer { background: var(--dark); color: rgba(255,255,255,0.55); padding: 56px 24px 28px; }
.ax-footer-inner { max-width: var(--wide); margin: 0 auto; }
.ax-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.ax-footer-brand .ax-logo-text { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.ax-footer-brand p { margin-top: 14px; font-size: 14px; line-height: 1.75; }
.ax-footer-brand a { color: var(--red); filter: brightness(1.2); }
.ax-footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 12px; }
.ax-footer-col ul { list-style: none; }
.ax-footer-col li { margin-bottom: 7px; }
.ax-footer-col a { font-size: 14px; color: rgba(255,255,255,0.55); font-weight: 500; }
.ax-footer-col a:hover { color: var(--white); }
.ax-footer-legal { padding-top: 22px; font-size: 12px; line-height: 1.7; color: rgba(255,255,255,0.35); }
.ax-footer-bottom {
  padding-top: 18px;
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.ax-footer-links a { color: rgba(255,255,255,0.55); font-weight: 500; }
.ax-footer-links a:hover { color: var(--white); }

@media (max-width: 1024px) {
  .ax-hero-inner, .ax-contact-grid, .ax-tab-panel.active, .ax-edition-grid { grid-template-columns: 1fr; }
  .ax-pillar-grid { grid-template-columns: 1fr; }
  .ax-stats { grid-template-columns: 1fr; }
  .ax-stat { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .ax-footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .ax-subnav { top: var(--header-h); }
}
@media (max-width: 768px) {
  .ax-nav { display: none; }
  .ax-nav.open { display: block; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 16px 24px 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .ax-nav.open > ul { flex-direction: column; align-items: stretch; }
  .ax-menu-btn { display: block; }
  .ax-subnav-links { display: none; }
  .ax-footer-grid { grid-template-columns: 1fr; }
  .ax-hero-visual { order: -1; }
}
