/* ═══════════════════════════════════════════════════════════
   XtrazCon — Enterprise Homepage CSS
   Color Palette (from logo):
     Red:      #E8321A
     Navy:     #1C3557
     MidBlue:  #2B5F8A
     Dark BG:  #0A0D14
     Card BG:  #0F1420
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --red:        #E8321A;
  --red-dim:    #B52512;
  --navy:       #1C3557;
  --midblue:    #2B5F8A;
  --accent-b:   #3A80B5;
  --bg:         #080B12;
  --bg-card:    #0D1120;
  --bg-elevated:#121828;
  --border:     rgba(255,255,255,0.07);
  --border-lit: rgba(232,50,26,0.3);
  --text:       #E8EDF5;
  --text-muted: #7A8BA0;
  --text-dim:   #4A5A6E;
  --white:      #FFFFFF;
  --font-head:  'Poppins', sans-serif;
  --font-body:  'Inter', sans-serif;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 8px 32px rgba(0,0,0,0.4);
  --shadow-red: 0 8px 40px rgba(232,50,26,0.25);
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* ─── UTILITIES ─────────────────────────────────────────── */
.accent-red  { color: var(--red); }
.accent-blue { color: var(--accent-b); }

.section-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: min(580px, 100%);
  margin-bottom: 3rem;
  font-weight: 300;
}

.section-container {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 2rem;
  box-sizing: border-box;
}

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.78rem 1.8rem;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: transparent;
  color: var(--red);
  box-shadow: var(--shadow-red);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.btn-large { padding: 1rem 2.4rem; font-size: 1rem; }

/* ─── NAVBAR ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8,11,18,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 40px; width: auto; object-fit: contain; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-link.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 5px;
  font-size: 0.85rem;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover { background: var(--red-dim); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: radial-gradient(ellipse 80% 60% at 60% 30%, rgba(43,95,138,0.15) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 10% 80%, rgba(232,50,26,0.08) 0%, transparent 60%),
              var(--bg);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(232,50,26,0.08);
  border: 1px solid rgba(232,50,26,0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.6rem;
  letter-spacing: 0.04em;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.hero-heading {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  margin-bottom: 2.2rem;
  font-weight: 400;
}
.hero-sub span { color: var(--text); }
.hero-sub .sep { color: var(--text-dim); margin: 0 0.2rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 0.15rem; }
.stat-num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--text-dim); }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Hero Right */
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: clamp(280px, 40vw, 460px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  background: linear-gradient(135deg, #1C3557 0%, #0F1A2B 50%, #1A0D0A 100%);
  /* placeholder gradient if image missing */
}

.hero-image-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(8,11,18,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-lit);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-float-card {
  position: absolute;
  bottom: 24px; left: 20px;
  background: rgba(8,11,18,0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: floatY 3s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.float-icon { font-size: 1.4rem; }
.float-title { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--white); }
.float-sub   { font-size: 0.72rem; color: var(--text-muted); }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
}
.hero-scroll-hint span { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ─── TRUST BAR ─────────────────────────────────────────── */
.trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.trust-icon {
  width: 44px; height: 44px;
  background: rgba(232,50,26,0.08);
  border: 1px solid rgba(232,50,26,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-title {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}
.trust-sub { font-size: 0.78rem; color: var(--text-dim); }
.trust-sep { width: 1px; height: 40px; background: var(--border); }

/* ─── WHO WE WORK WITH ──────────────────────────────────── */
.who-section { background: var(--bg); }
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.who-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.who-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232,50,26,0.4), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.who-card:hover { border-color: rgba(232,50,26,0.2); transform: translateY(-4px); }
.who-card:hover::before { opacity: 1; }

.who-card--featured {
  background: linear-gradient(145deg, rgba(232,50,26,0.06) 0%, var(--bg-card) 60%);
  border-color: rgba(232,50,26,0.2);
}

.who-number {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 1rem;
}
.who-icon { font-size: 2rem; margin-bottom: 1rem; }
.who-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.7rem;
}
.who-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.who-list li {
  font-size: 0.82rem;
  color: var(--text-dim);
  padding-left: 1rem;
  position: relative;
}
.who-list li::before {
  content: '→';
  position: absolute; left: 0;
  color: var(--red);
  font-size: 0.75rem;
}
.featured-tag {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
}

/* ─── SOLUTIONS ─────────────────────────────────────────── */
.solutions-section { background: var(--bg-card); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}
.sol-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: var(--transition);
}
.sol-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.sol-card--wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
}
.sol-card--wide h3 { font-size: 1.25rem; }

.sol-icon-wrap {
  width: 54px; height: 54px;
  background: rgba(var(--card-color, #E8321A), 0.08);
  border: 1px solid rgba(var(--card-color, #E8321A), 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--card-color, #E8321A);
  margin-bottom: 1.2rem;
}
.sol-card--wide .sol-icon-wrap { margin-bottom: 0; }

.sol-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.sol-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.sol-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.sol-tags span {
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* ─── CASE STUDIES ──────────────────────────────────────── */
.cases-section { background: var(--bg); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.case-card:hover { border-color: rgba(232,50,26,0.25); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}
.case-industry {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  background: rgba(232,50,26,0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  border: 1px solid rgba(232,50,26,0.15);
}
.case-year { font-size: 0.78rem; color: var(--text-dim); }
.case-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.case-desc { font-size: 0.87rem; color: var(--text-muted); margin-bottom: 1.5rem; flex: 1; }
.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.result-item { text-align: center; }
.result-num {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--red);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.result-label { font-size: 0.7rem; color: var(--text-dim); line-height: 1.3; }
.case-link {
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  margin-top: auto;
}
.case-link:hover { color: var(--red); }

/* ─── INDUSTRIES ────────────────────────────────────────── */
.industries-section { background: var(--bg-card); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.2rem;
}
.industry-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  cursor: default;
  transition: var(--transition);
}
.industry-item:hover {
  border-color: rgba(232,50,26,0.3);
  background: rgba(232,50,26,0.05);
  transform: translateY(-3px);
}
.industry-icon { font-size: 1.9rem; }
.industry-item span {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

/* ─── TECH STACK ────────────────────────────────────────── */
.tech-section { background: var(--bg); }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}
.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: var(--transition);
}
.tech-card:hover { border-color: rgba(43,95,138,0.4); transform: translateY(-3px); }
.tech-icon { font-size: 2rem; margin-bottom: 0.8rem; display: block; }
.tech-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.tech-detail { font-size: 0.75rem; color: var(--text-dim); }

/* ─── WHY CHOOSE US ─────────────────────────────────────── */
.why-section {
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}
.why-bg-image {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 40%;
  opacity: 0.04;
  pointer-events: none;
}
.why-bg-image img { width: 100%; height: 100%; object-fit: cover; }

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-right { display: flex; flex-direction: column; gap: 1.2rem; }
.why-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: var(--transition);
}
.why-card:hover { border-color: rgba(232,50,26,0.2); }
.why-num {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--red);
  opacity: 0.7;
  padding-top: 0.15rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.why-card h4 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.why-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ─── PRODUCTS ──────────────────────────────────────────── */
.products-section { background: var(--bg); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover { border-color: rgba(232,50,26,0.2); transform: translateY(-5px); box-shadow: var(--shadow); }

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #0F1A2B 0%, #1C2A3A 100%);
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(8,11,18,0.8));
  padding: 1.5rem 1.2rem 0.8rem;
}
.product-overlay span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product-body { padding: 1.6rem; }
.product-body h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.product-body p { font-size: 0.87rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.product-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.2rem; }
.product-tags span {
  font-size: 0.7rem;
  background: rgba(232,50,26,0.06);
  border: 1px solid rgba(232,50,26,0.12);
  color: var(--red);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}
.product-link {
  font-family: var(--font-head);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.product-link:hover { color: var(--red); }

/* ─── FINAL CTA ─────────────────────────────────────────── */
.cta-section {
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,50,26,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,50,26,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.cta-inner {
  text-align: center;
  position: relative;
}
.cta-glow {
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: min(500px, 100%); height: 300px;
  background: radial-gradient(ellipse, rgba(232,50,26,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.cta-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: min(520px, 100%);
  margin: 0 auto 2.5rem;
  font-weight: 300;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.cta-contact-info {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cta-contact-info .sep { color: var(--text-dim); }

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
  background: #050810;
  border-top: 1px solid var(--border);
}
.footer-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand { }
.footer-logo { height: 36px; margin-bottom: 1rem; object-fit: contain; }
.footer-brand p { font-size: 0.87rem; color: var(--text-dim); max-width: min(260px, 100%); line-height: 1.7; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.7rem; }
.social-link {
  width: 34px; height: 34px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
}
.social-link:hover { border-color: var(--red); color: var(--red); }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text); }
.footer-contact li {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-bottom {
  max-width: 1220px;
  margin: 0 auto;
  padding: 1.4rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─── SCROLL ANIMATIONS ─────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate="fadeIn"] {
  transform: translateX(30px);
}
[data-animate].in-view {
  opacity: 1;
  transform: none;
}


/* ─── RESPONSIVE ────────────────────────────────────────── */

/* ── Universal safety net: nothing wider than viewport ── */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
img, svg, video { max-width: 100%; }

/* ── Large screens (≤ 1200px) ─── */
@media (max-width: 1200px) {
  .hero-container { gap: 2.5rem; }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── Tablet Landscape (≤ 1024px) ─── */
@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-card--wide {
    grid-column: span 2;
    grid-template-columns: auto 1fr;
    gap: 1.2rem;
  }
  .sol-card--wide .sol-tags,
  .sol-card--wide p { grid-column: 2; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-layout { gap: 3rem; }
}

/* ── Nav collapses to hamburger BEFORE it can overflow ── */
@media (max-width: 900px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    width: 100%;
    background: rgba(8,11,18,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-link {
    display: block;
    padding: 0.8rem 1.5rem;
    width: 100%;
  }
  .nav-link::after { display: none; }
  .nav-link.nav-cta {
    margin: 0.5rem 1.5rem;
    width: auto;
    display: inline-block;
  }
  .hamburger { display: flex; }
}

/* ── Tablet Portrait (≤ 860px) ─── */
@media (max-width: 860px) {
  .section-container { padding: 5rem 1.5rem; }
  .hero-container { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right { display: none; }
  .who-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .why-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-container { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .trust-sep { display: none; }
  .industries-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .why-bg-image { display: none; }
}

/* ── Mobile (≤ 768px) ─── */
@media (max-width: 768px) {
  .section-container { padding: 4rem 1.25rem; }
  .hero-container { padding: 2.5rem 1.25rem; }
  .nav-container { padding: 1rem 1.25rem; }
  .trust-container { padding: 1.5rem 1.25rem; gap: 1.2rem; }
  .footer-container { padding: 3rem 1.25rem; gap: 2rem; }

  .hero { padding-top: 68px; }
  .hero-heading { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { flex-wrap: wrap; gap: 0.8rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .stat-divider { display: none; }

  .section-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .section-sub { font-size: 0.95rem; margin-bottom: 2rem; }

  .solutions-grid { grid-template-columns: 1fr; }
  .sol-card--wide {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .sol-card--wide .sol-icon-wrap { margin-bottom: 0; }

  .products-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
  }
  .industry-item { padding: 1.1rem 0.75rem; }

  .why-bg-image { display: none; }
  .cta-heading { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-wrap: wrap; gap: 0.4rem; }
}

/* ── Small Mobile (≤ 480px) ─── */
@media (max-width: 480px) {
  .nav-container { padding: 0.85rem 1rem; }
  .logo-img { height: 34px; }

  .hero { padding-top: 62px; }
  .hero-container { padding: 2rem 1rem; }
  .hero-heading { font-size: clamp(1.65rem, 8.5vw, 2.2rem); }
  .hero-badge { font-size: 0.7rem; padding: 0.3rem 0.8rem; }
  .hero-sub { font-size: 0.88rem; gap: 0.2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; width: 100%; }
  .hero-stats { gap: 0.75rem; }
  .stat-num { font-size: 1.35rem; }
  .stat-label { font-size: 0.7rem; }

  .section-container { padding: 3rem 1rem; }
  .section-title { font-size: clamp(1.45rem, 8vw, 2rem); }
  .section-sub { font-size: 0.9rem; margin-bottom: 1.6rem; }

  .who-card { padding: 1.5rem 1.1rem; }
  .sol-card { padding: 1.4rem 1.1rem; }
  .case-card { padding: 1.3rem 1.1rem; }
  .why-card { padding: 1.1rem 1rem; }
  .product-body { padding: 1.1rem; }

  .case-results {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    padding: 0.85rem 0.6rem;
  }
  .result-num { font-size: 1rem; }
  .result-label { font-size: 0.62rem; }

  .industries-grid {
    grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
    gap: 0.6rem;
  }
  .industry-item { padding: 0.9rem 0.5rem; gap: 0.45rem; }
  .industry-icon { font-size: 1.5rem; }
  .industry-item span { font-size: 0.72rem; }

  .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .tech-card { padding: 1.2rem 0.85rem; }
  .tech-icon { font-size: 1.6rem; }
  .tech-name { font-size: 0.82rem; }
  .tech-detail { font-size: 0.68rem; }

  .cta-heading { font-size: clamp(1.45rem, 8vw, 1.9rem); }
  .cta-sub { font-size: 0.9rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { text-align: center; justify-content: center; width: 100%; }
  .cta-contact-info { font-size: 0.8rem; gap: 0.6rem; }

  .footer-container { grid-template-columns: 1fr; padding: 2.5rem 1rem; gap: 1.8rem; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.3rem;
    padding: 1.1rem 1rem;
  }
  .trust-container { padding: 1.25rem 1rem; }
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY UPGRADE — Poppins + Inter
   Tighter headings, more readable body, clean spacing
   ═══════════════════════════════════════════════════════════ */

/* Base body — Inter feels denser than DM Sans, loosen slightly */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings — Poppins is tighter than Syne, adjust tracking */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Section label / eyebrow — Poppins reads well at tight tracking */
.section-label,
.page-hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

/* Hero heading */
.hero-heading,
.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* Section title */
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

/* Section subtitle / body lead */
.section-sub,
.hero-sub,
.page-hero-sub {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
}

/* Card / component body text */
p {
  font-family: var(--font-body);
  line-height: 1.72;
  letter-spacing: 0;
}

/* Nav links */
.nav-link {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Buttons */
.btn {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* CTA heading */
.cta-heading {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

/* Form labels — Inter at small size */
.form-group label,
.form-heading {
  font-family: var(--font-head);
  letter-spacing: 0.02em;
}

/* Form inputs */
.form-control,
.xc-dropdown-trigger,
.xc-dropdown-list li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0;
}

/* Footer */
.footer-nav-group h4 {
  font-family: var(--font-head);
  letter-spacing: 0.06em;
}
.footer-nav-group a,
.footer-brand p {
  font-family: var(--font-body);
  letter-spacing: 0;
  line-height: 1.7;
}

/* Stat numbers — Poppins looks great for numerics */
.stat-num,
.result-num,
.msf-num {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* ── Responsive typography scale ──────────────────────────── */
@media (max-width: 1024px) {
  body { font-size: 0.97rem; }
}

@media (max-width: 768px) {
  body { font-size: 0.95rem; line-height: 1.68; }
  h1, h2, h3 { letter-spacing: -0.015em; }
  .section-title { letter-spacing: -0.02em; }
  .hero-heading, .page-hero h1 { letter-spacing: -0.02em; }
  .cta-heading { letter-spacing: -0.02em; }
}

@media (max-width: 480px) {
  body { font-size: 0.93rem; line-height: 1.65; }
  h1, h2, h3 { letter-spacing: -0.01em; }
  .section-label, .page-hero-eyebrow { letter-spacing: 0.14em; }
}
