/* ==========================================================
   JURYsoft — Aerospace ERP Landing Page
   ========================================================== */

:root {
  --navy: #000E29;
  --navy-dark: #071936;
  --orange: #F5820D;
  --white: #FFFFFF;
  --bg: #F5F7FA;
  --text: #172033;
  --muted: #667085;

  --font-display: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --container: 1280px;

  --section-pad: 100px;
}

@media (max-width: 1024px) { :root { --section-pad: 70px; } }
@media (max-width: 480px)  { :root { --section-pad: 50px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
svg { display: block; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: var(--navy);
  padding: 10px 16px;
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }
@media (max-width: 480px) { .container { padding: 0 16px; } }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); font-weight: 600; line-height: 1.15; }
h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.01em; }
h3 { font-size: 20px; }
p { color: var(--muted); }

.section { padding: var(--section-pad) 0; }
.section.dark { background: var(--navy); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark p { color: rgba(255,255,255,0.68); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 17px; }
.section-head .statement { font-size: clamp(20px, 2.4vw, 26px); color: var(--text); font-family: var(--font-display); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: #ff9420; transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.28); color: var(--white); }
.section:not(.dark) .btn-ghost { border-color: rgba(0,14,41,0.2); color: var(--navy); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-small { padding: 11px 20px; font-size: 14px; }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(0,14,41,0.92);
  backdrop-filter: none;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.scrolled {
  background: rgba(0,14,41,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.logo-img { height: 46px; width: auto; display: block; }
.logo-tagline { font-size: 10.5px; font-weight: 500; color: rgba(255,255,255,0.5); letter-spacing: 0.02em; }
@media (max-width: 480px) { .logo-tagline { display: none; } .logo-img { height: 38px; } }

.main-nav .nav-list { display: flex; gap: 36px; }
.nav-link { color: rgba(255,255,255,0.82); font-size: 15px; font-weight: 500; transition: color 0.2s ease; }
.nav-link:hover, .nav-link.active { color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}
.menu-toggle span { display: block; width: 100%; height: 2px; background: var(--white); transition: transform 0.25s ease, opacity 0.25s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--navy-dark);
    padding: 100px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 998;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav .nav-list { flex-direction: column; gap: 8px; }
  .nav-link { display: block; padding: 14px 0; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .menu-toggle { display: flex; }
  .header-actions .btn-primary.btn-small { display: none; }
}
@media (min-width: 1025px) { .menu-toggle { display: none; } }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 70px 0 110px;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(42px, 5vw, 76px);
  color: var(--white);
  margin-bottom: 24px;
}
.hero-lead {
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.hero-note {
  margin-top: 26px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-lead { max-width: 100%; }
}
@media (max-width: 480px) {
  .hero-actions .btn, .hero-actions.center .btn { width: 100%; }
}

/* ---- Hero Dashboard ---- */
.hero-visual { position: relative; }
.dash {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 26px;
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.dash-title { font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 16px; }
.dash-live { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.5); font-family: var(--font-mono); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--orange); }

.dash-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 24px; }
.dstat { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: var(--radius-sm); padding: 12px 8px; text-align: center; }
.dstat-num { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--white); }
.dstat-label { font-size: 10px; color: rgba(255,255,255,0.5); line-height: 1.3; display: block; margin-top: 4px; }

.dash-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.dring-group { display: flex; flex-direction: column; gap: 14px; }
.dring { position: relative; display: flex; align-items: center; gap: 12px; }
.dring svg { width: 46px; height: 46px; flex-shrink: 0; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 6; }
.ring-fg { fill: none; stroke: var(--orange); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 213.6; stroke-dashoffset: 213.6; transition: stroke-dashoffset 1.2s ease; }
.dring-val { position: absolute; left: 15px; top: 12px; font-size: 11px; font-weight: 700; color: var(--white); font-family: var(--font-mono); }
.dring-label { font-size: 11px; color: rgba(255,255,255,0.55); }

.dbars { display: flex; flex-direction: column; gap: 10px; }
.dbars-label { font-size: 11px; color: rgba(255,255,255,0.55); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
.dbar { display: flex; flex-direction: column; gap: 4px; }
.dbar-name { font-size: 11px; color: rgba(255,255,255,0.65); }
.dbar-track { height: 6px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.dbar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), #ffb35c); border-radius: 4px; transition: width 1.1s ease; }

.dash-orders { display: flex; flex-direction: column; gap: 8px; }
.dorder { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-sm); }
.dorder-id { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.5); flex-shrink: 0; }
.dorder-name { font-size: 12.5px; color: var(--white); flex: 1; }
.status-pill { font-size: 10px; font-weight: 600; padding: 4px 9px; border-radius: 20px; white-space: nowrap; }
.status-progress { background: rgba(245,130,13,0.18); color: #ffb35c; }
.status-check { background: rgba(96,165,250,0.18); color: #93c5fd; }
.status-done { background: rgba(74,222,128,0.18); color: #86efac; }
.status-delay { background: rgba(248,113,113,0.18); color: #fca5a5; }
.status-hold { background: rgba(250,204,21,0.18); color: #fde047; }

@media (max-width: 768px) {
  .dash-stats { grid-template-columns: repeat(3, 1fr); }
  .dash-mid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash { padding: 18px; }
}

/* ==========================================================
   CAPABILITY STRIP
   ========================================================== */
.capability-strip { background: var(--white); border-bottom: 1px solid #E7EBF1; padding: 32px 0; }
.services-intro { font-size: 15.5px; color: var(--navy); font-weight: 500; max-width: 880px; margin: 0 auto 22px; text-align: center; line-height: 1.6; }
.cap-strip-inner { display: flex; justify-content: space-between; gap: 16px; overflow-x: auto; }
.cap-item { display: flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; }
.cap-item i { width: 20px; height: 20px; color: var(--orange); stroke-width: 1.75; }
.cap-item span { font-size: 14.5px; font-weight: 600; color: var(--navy); }
@media (max-width: 768px) { .cap-strip-inner { justify-content: flex-start; } }

/* ==========================================================
   SHARED CARD GRIDS
   ========================================================== */
.section.challenges, .section.modules, .section.qms, .section.why, .section.benefits, .section.use-cases { background: var(--bg); }
.section.why, .section.benefits { background: var(--white); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid, .card-grid.three { grid-template-columns: 1fr; } }

/* Reveal animation base */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Challenge cards */
.challenge-card {
  background: var(--white);
  border: 1px solid #E7EBF1;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.challenge-card:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: 0 16px 40px rgba(0,14,41,0.08); }
.card-num { position: absolute; top: 24px; right: 26px; font-family: var(--font-mono); font-size: 13px; color: #C3CAD6; }
.challenge-card i { width: 26px; height: 26px; color: var(--orange); stroke-width: 1.6; margin-bottom: 18px; }
.challenge-card h3 { margin-bottom: 10px; font-size: 19px; }
.challenge-card p { font-size: 14.5px; }

/* ==========================================================
   CUSTOM SOLUTION FLOW
   ========================================================== */
.flow-visual { display: flex; flex-direction: column; align-items: center; gap: 0; margin-bottom: 70px; }
.flow-step {
  padding: 18px 44px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
  font-size: 16px;
  background: rgba(255,255,255,0.03);
}
.flow-step.accent { border-color: var(--orange); color: var(--orange); background: rgba(245,130,13,0.08); }
.flow-connector { width: 24px; height: 44px; }
.flow-connector svg { width: 100%; height: 100%; }
.flow-connector line { stroke: rgba(255,255,255,0.25); stroke-width: 2; stroke-dasharray: 4 4; }

.solution-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.solution-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.solution-card i { width: 26px; height: 26px; color: var(--orange); margin-bottom: 16px; stroke-width: 1.6; }
.solution-card h3 { color: var(--white); margin-bottom: 10px; font-size: 19px; }
.solution-card p { font-size: 14.5px; }

/* ==========================================================
   MODULES
   ========================================================== */
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.module-card {
  background: var(--white);
  border: 1px solid #E7EBF1;
  border-radius: var(--radius-md);
  padding: 30px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.module-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,14,41,0.08); border-color: var(--orange); }
.module-card i { width: 26px; height: 26px; color: var(--orange); margin-bottom: 16px; stroke-width: 1.6; }
.module-card h3 { font-size: 18.5px; margin-bottom: 14px; }
.module-card ul { display: flex; flex-direction: column; gap: 7px; }
.module-card li { font-size: 14px; color: var(--muted); position: relative; padding-left: 16px; }
.module-card li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; background: var(--orange); border-radius: 50%; }

@media (max-width: 1024px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .module-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   TRACEABILITY
   ========================================================== */
.trace-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 60px;
  gap: 4px;
}
.trace-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  width: 100px;
  text-align: center;
}
.trace-step i {
  width: 44px; height: 44px;
  padding: 11px;
  border: 1.5px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: var(--orange);
  stroke-width: 1.5;
  background: rgba(255,255,255,0.03);
}
.trace-step span { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.3; }
.trace-line { flex: 1; min-width: 24px; height: 2px; background: linear-gradient(90deg, rgba(245,130,13,0.1), rgba(245,130,13,0.5), rgba(245,130,13,0.1)); background-size: 200% 100%; animation: traceFlow 3s linear infinite; }
@keyframes traceFlow { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .trace-line { animation: none; } }

@media (max-width: 900px) {
  .trace-flow { flex-direction: column; align-items: flex-start; overflow: visible; }
  .trace-step { flex-direction: row; width: 100%; text-align: left; gap: 14px; }
  .trace-step span { font-size: 14px; }
  .trace-line { width: 2px; height: 30px; min-width: unset; margin-left: 22px; }
}

.trace-record {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  max-width: 640px;
}
.trace-record-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.trace-record-head span:first-child { font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 17px; }
.demo-tag { font-size: 11px; font-family: var(--font-mono); color: rgba(255,255,255,0.45); border: 1px solid rgba(255,255,255,0.15); padding: 4px 10px; border-radius: 20px; }
.section:not(.dark) .demo-tag { color: var(--muted); border-color: #D9DEE7; }
.demo-tag.standalone { display: inline-block; margin-top: 18px; }

.trace-record-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trace-record-grid > div { display: flex; flex-direction: column; gap: 4px; }
.tr-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.4); }
.tr-value { font-family: var(--font-mono); font-size: 15px; color: var(--white); }
.tr-value.status-approved { color: #86efac; }
@media (max-width: 600px) { .trace-record-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================
   QMS
   ========================================================== */
.qms-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.qms-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qms-feature { background: var(--white); border: 1px solid #E7EBF1; border-radius: var(--radius-md); padding: 24px; }
.qms-feature i { width: 22px; height: 22px; color: var(--orange); margin-bottom: 12px; stroke-width: 1.6; }
.qms-feature h3 { font-size: 16.5px; margin-bottom: 10px; }
.qms-feature li { font-size: 13.5px; color: var(--muted); padding: 3px 0; }

.qms-dashboard { background: var(--navy); border-radius: var(--radius-md); padding: 10px; }
.qms-dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.qms-dash-head span:first-child { font-family: var(--font-display); color: var(--white); font-weight: 600; font-size: 16px; }
.qms-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qms-stat { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-sm); padding: 20px; text-align: center; }
.qms-num { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--orange); margin-bottom: 6px; }
.qms-stat span:last-child { font-size: 12.5px; color: rgba(255,255,255,0.6); }

@media (max-width: 1024px) { .qms-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .qms-features { grid-template-columns: 1fr; } }

/* ==========================================================
   REAL-TIME PRODUCTION
   ========================================================== */
.rt-dashboard { background: var(--white); border: 1px solid #E7EBF1; border-radius: var(--radius-md); padding: 32px; box-shadow: 0 20px 60px rgba(0,14,41,0.06); }
.rt-top { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 32px; }
.rt-stat { text-align: center; padding: 18px 8px; background: var(--bg); border-radius: var(--radius-sm); }
.rt-num { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--navy); }
.rt-stat span:last-child { font-size: 12px; color: var(--muted); margin-top: 4px; display: block; }

.rt-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-bottom: 28px; }
.rt-panel-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; margin-bottom: 14px; display: block; }
.rt-chart, .rt-side { background: var(--bg); border-radius: var(--radius-sm); padding: 20px; }
.rt-chart-svg { width: 100%; height: 140px; }
.rt-side { display: flex; flex-direction: column; gap: 14px; }

.rt-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rt-list { background: var(--bg); border-radius: var(--radius-sm); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.rt-list .dorder { background: var(--white); border-color: #E7EBF1; }
.rt-list .dorder-id { color: var(--muted); }
.rt-list .dorder-name { color: var(--navy); }

.rt-dashboard .demo-tag.standalone { color: var(--muted); border-color: #D9DEE7; }

@media (max-width: 1024px) { .rt-body, .rt-lists { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .rt-top { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .rt-top { grid-template-columns: repeat(2, 1fr); } .rt-dashboard { padding: 20px; } }

/* ==========================================================
   AI SECTION
   ========================================================== */
.ai-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.ai-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.ai-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.ai-card i { width: 24px; height: 24px; color: var(--orange); margin-bottom: 14px; stroke-width: 1.6; }
.ai-card h3 { color: var(--white); font-size: 16.5px; margin-bottom: 8px; }
.ai-card p { font-size: 13.5px; }

.ai-visual { display: flex; align-items: center; justify-content: center; }
.ai-svg { width: 100%; max-width: 320px; }
.ai-ring { fill: none; stroke: rgba(245,130,13,0.35); stroke-width: 1; }
.ai-ring-1 { animation: spin 40s linear infinite; stroke-dasharray: 2 6; }
.ai-ring-2 { animation: spinRev 30s linear infinite; stroke-dasharray: 1 5; stroke: rgba(255,255,255,0.18); }
.ai-ring-3 { animation: spin 22s linear infinite; }
.ai-core { fill: var(--orange); filter: drop-shadow(0 0 10px rgba(245,130,13,0.8)); }
.ai-node { fill: rgba(255,255,255,0.6); }
@keyframes spin { to { transform: rotate(360deg); transform-origin: 150px 150px; } }
@keyframes spinRev { to { transform: rotate(-360deg); transform-origin: 150px 150px; } }
@media (prefers-reduced-motion: reduce) { .ai-ring-1, .ai-ring-2, .ai-ring-3 { animation: none; } }

@media (max-width: 1024px) { .ai-layout { grid-template-columns: 1fr; } .ai-visual { order: -1; } .ai-svg { max-width: 220px; } }

/* ==========================================================
   INTEGRATIONS
   ========================================================== */
.integration-diagram {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 800 / 500;
}
.integration-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.integration-lines line { stroke: #D5DBE5; stroke-width: 1.5; stroke-dasharray: 5 5; }
.integration-lines line.animated { animation: dashMove 20s linear infinite; }
@keyframes dashMove { to { stroke-dashoffset: -200; } }
@media (prefers-reduced-motion: reduce) { .integration-lines line.animated { animation: none; } }

.integration-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  box-shadow: 0 20px 50px rgba(0,14,41,0.25);
  z-index: 2;
  text-align: center;
}
.integration-center-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.integration-center-sub { font-size: 11px; color: var(--orange); margin-top: 4px; }

.integration-node {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--white); border: 1px solid #E7EBF1; border-radius: var(--radius-sm);
  padding: 12px 14px; box-shadow: 0 10px 26px rgba(0,14,41,0.07);
  z-index: 2; white-space: nowrap;
}
.integration-node i { width: 18px; height: 18px; color: var(--orange); stroke-width: 1.6; }
.integration-node span { font-size: 11.5px; font-weight: 600; color: var(--navy); }

@media (max-width: 768px) {
  .integration-diagram { aspect-ratio: auto; min-height: 640px; }
  .integration-node { padding: 8px 10px; }
  .integration-node span { font-size: 10px; }
  .integration-center { width: 110px; height: 110px; }
}

/* ==========================================================
   CUSTOMIZATION TIMELINE
   ========================================================== */
.timeline { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; }
.timeline-step { position: relative; padding-top: 24px; border-top: 2px solid #E7EBF1; transition: border-color 0.25s ease; }
.timeline-step:hover { border-color: var(--orange); }
.ts-num { font-family: var(--font-mono); font-size: 13px; color: var(--orange); display: block; margin-bottom: 10px; }
.timeline-step h3 { font-size: 17px; margin-bottom: 6px; }
.timeline-step p { font-size: 13.5px; }

@media (max-width: 1024px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .timeline { grid-template-columns: 1fr; } }

/* ==========================================================
   IMPLEMENTATION TIMELINE
   ========================================================== */
.section.implementation { background: var(--bg); }
.impl-timeline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 8px; }
.impl-step { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 150px; }
.impl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.impl-step span { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.impl-step:not(:last-child)::after { content: ''; flex: 1; height: 1px; background: #D5DBE5; margin-left: 12px; min-width: 20px; }

@media (max-width: 768px) {
  .impl-timeline { flex-direction: column; align-items: flex-start; }
  .impl-step { width: 100%; }
  .impl-step:not(:last-child)::after { display: none; }
}

/* ==========================================================
   WHY / BENEFITS CARDS
   ========================================================== */
.why-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; margin-bottom: 56px; }
.why-intro .section-head { margin-bottom: 0; }
.why-intro-media img { width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: 0 24px 60px rgba(0,14,41,0.1); }
@media (max-width: 900px) { .why-intro { grid-template-columns: 1fr; } .why-intro-media { order: -1; } }

.why-card, .benefit-card {
  background: var(--bg);
  border: 1px solid #E7EBF1;
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover, .benefit-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,14,41,0.07); }
.why-card i, .benefit-card i { width: 24px; height: 24px; color: var(--orange); margin-bottom: 14px; stroke-width: 1.6; }
.why-card h3, .benefit-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.why-card p, .benefit-card p { font-size: 14px; }

/* ==========================================================
   USE CASES
   ========================================================== */
.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.usecase-card {
  background: var(--white); border: 1px solid #E7EBF1; border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.usecase-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,14,41,0.08); }
.usecase-card img { width: 100%; height: 110px; object-fit: cover; }
.usecase-body { display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.usecase-card i { width: 20px; height: 20px; color: var(--orange); stroke-width: 1.7; flex-shrink: 0; }
.usecase-card span { font-size: 13.5px; font-weight: 600; color: var(--navy); line-height: 1.3; }

@media (max-width: 1024px) { .usecase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .usecase-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   CASE STUDY
   ========================================================== */
.case-study { background: var(--bg); }
.case-study-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.case-study-media img { width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: 0 24px 60px rgba(0,14,41,0.12); }
.case-study-copy h2 { margin-bottom: 16px; }
.case-study-copy p { margin-bottom: 26px; font-size: 17px; }
@media (max-width: 900px) {
  .case-study-grid { grid-template-columns: 1fr; text-align: center; }
  .case-study-media { order: -1; }
}

/* ==========================================================
   FAQ / ACCORDION
   ========================================================== */
.section.faq { background: var(--white); }
.accordion { max-width: 800px; margin: 0 auto; border-top: 1px solid #E7EBF1; }
.accordion-item { border-bottom: 1px solid #E7EBF1; }
.accordion-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 4px;
  text-align: left;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-body);
}
.accordion-trigger i { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; transition: transform 0.25s ease; }
.accordion-trigger[aria-expanded="true"] i { transform: rotate(180deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-panel p { padding: 0 4px 22px; font-size: 15px; max-width: 700px; }

/* ==========================================================
   FINAL CTA
   ========================================================== */
.final-cta { background: linear-gradient(180deg, var(--navy-dark) 0%, var(--navy) 100%); }
.final-cta-inner { text-align: center; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.final-cta-inner h2 { color: var(--white); }
.final-cta-inner p { color: rgba(255,255,255,0.7); font-size: 17px; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: #000A1C; padding: 80px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand p { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,0.5); max-width: 240px; }
.footer-col h4 { color: var(--white); font-size: 14px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.55); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { padding-top: 26px; }
.footer-bottom p { font-size: 13.5px; color: rgba(255,255,255,0.4); }

@media (max-width: 1024px) { .footer-inner { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .footer-inner { grid-template-columns: 1fr; } }

/* ==========================================================
   HOMEPAGE HERO (centered, stat strip)
   ========================================================== */
.hero-home {
  padding: 110px 0 80px;
  text-align: center;
}
.hero-home-inner { max-width: 780px; margin: 0 auto; }
.hero-home-inner .eyebrow { display: flex; justify-content: center; }
.hero-home-inner h1 { font-size: clamp(38px, 4.6vw, 64px); color: var(--white); margin-bottom: 20px; }
.hero-home-inner .hero-lead { color: rgba(255,255,255,0.72); font-size: 18px; margin: 0 auto 34px; max-width: 660px; }

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 54px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat { text-align: center; }
.hero-stat-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--white); }
.hero-stat-label { font-size: 12.5px; color: rgba(255,255,255,0.58); margin-top: 4px; display: block; }

@media (max-width: 640px) {
  .hero-home { padding: 90px 0 60px; }
  .hero-stats { gap: 22px 30px; margin-top: 40px; padding-top: 28px; }
  .hero-stat-num { font-size: 26px; }
}

/* ==========================================================
   INDUSTRIES GRID (homepage)
   ========================================================== */
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.industry-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #E7EBF1;
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,14,41,0.08); border-color: var(--orange); }
.industry-card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(245,130,13,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.industry-card-icon i { width: 24px; height: 24px; color: var(--orange); stroke-width: 1.7; }
.industry-card h3 { font-size: 19px; margin-bottom: 10px; }
.industry-card p { font-size: 14.5px; margin-bottom: 22px; flex-grow: 1; }
.industry-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.industry-card-link i { width: 15px; height: 15px; transition: transform 0.2s ease; }
.industry-card:hover .industry-card-link { color: var(--orange); }
.industry-card:hover .industry-card-link i { transform: translateX(3px); }

@media (max-width: 1024px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .industries-grid { grid-template-columns: 1fr; } }

/* ==========================================================
   CONTACT SECTION
   ========================================================== */
.section.contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.contact-info .eyebrow { margin-bottom: 14px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { font-size: 16px; max-width: 420px; }

.contact-methods { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
.contact-method { display: flex; gap: 14px; align-items: flex-start; }
.contact-method i { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; margin-top: 3px; stroke-width: 1.7; }
.contact-method h4 { font-size: 14px; color: var(--navy); margin-bottom: 3px; }
.contact-method p { font-size: 14.5px; margin: 0; }
.contact-method a:hover { color: var(--orange); }

.contact-form-panel {
  background: var(--white);
  border: 1px solid #E7EBF1;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0,14,41,0.07);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #DDE3EC;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245,130,13,0.15);
  outline: none;
}
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status.success { background: rgba(34,197,94,0.1); color: #15803d; border: 1px solid rgba(34,197,94,0.25); }
.form-status.error { background: rgba(239,68,68,0.1); color: #b91c1c; border: 1px solid rgba(239,68,68,0.25); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-panel { padding: 28px; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================
   QUICK ENQUIRY TRIGGER
   ========================================================== */
.quick-enquiry-btn {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 500;
  gap: 8px;
  box-shadow: 0 12px 30px rgba(0,14,41,0.28);
}
.quick-enquiry-btn i { width: 17px; height: 17px; }
@media (max-width: 640px) {
  .quick-enquiry-btn { left: 16px; bottom: 16px; padding: 12px 16px; font-size: 13.5px; }
  .quick-enquiry-btn span { display: none; }
  .quick-enquiry-btn i { width: 19px; height: 19px; }
}

/* ==========================================================
   CONTACT MODAL (POPUP)
   ========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,14,41,0.6);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: var(--radius-md);
  max-width: 460px;
  width: 100%;
  padding: 38px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(16px);
  transition: transform 0.25s ease;
  box-shadow: 0 30px 80px rgba(0,14,41,0.35);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal .eyebrow { margin-bottom: 10px; }
.modal h3 { font-size: 22px; margin-bottom: 10px; }
.modal > p:not(.eyebrow) { font-size: 14.5px; margin-bottom: 22px; }
.modal .form-group:last-of-type { margin-bottom: 20px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}
.modal-close:hover { background: var(--bg); color: var(--navy); }
.modal-close i { width: 18px; height: 18px; }

/* ==========================================================
   BACK TO TOP
   ========================================================== */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 500;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top i { width: 20px; height: 20px; }

/* ==========================================================
   RESPONSIVE — LARGE BREAKPOINTS
   ========================================================== */
@media (max-width: 1440px) { .container { max-width: 1180px; } }
@media (max-width: 1280px) { .container { max-width: 1080px; } }
