/* =============================================
   OROSAN — Light Theme
   Inspired by nserio.com aesthetic
   ============================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Backgrounds */
  --bg:         #ffffff;
  --bg-alt:     #f4f7fb;
  --bg-dark:    #071e38;
  --bg-dark-2:  #0d2e52;

  /* Brand */
  --primary:        #1657a8;
  --primary-dark:   #0d3d80;
  --primary-light:  #2878d0;
  --primary-pale:   #e8f0fb;
  --accent:         #009688;
  --accent-light:   #00b8a4;
  --accent-pale:    #e0f5f3;

  /* Text */
  --text:        #1e2d3d;
  --text-muted:  #5b6e84;
  --text-light:  #8fa0b3;
  --text-white:  #ffffff;

  /* UI */
  --border:       #dde4ee;
  --border-dark:  #c5d0e0;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.12);
  --shadow-blue:  0 8px 30px rgba(22,87,168,0.18);

  /* Layout */
  --container:   1170px;
  --pad:         clamp(1.25rem, 5vw, 2.5rem);
  --nav-h:       72px;
  --section-pad: clamp(4.5rem, 9vw, 7.5rem);

  /* Typography */
  --font-body:    'Inter', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Transition */
  --t: 0.3s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- Section ---------- */
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg-alt); }

.section-header { text-align: center; max-width: 760px; margin: 0 auto 4rem; }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  background: var(--primary-pale);
  border: 1px solid rgba(22,87,168,0.15);
  border-radius: 100px;
  padding: 0.3rem 0.875rem;
  margin-bottom: 0.875rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.section-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.875rem;
  border-radius: 100px;
  border: 2px solid transparent;
  transition: all var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-1px);
}

.btn-hero-primary {
  background: white;
  color: var(--primary);
  border-color: white;
  font-size: 0.9375rem;
}
.btn-hero-primary:hover {
  background: var(--primary-pale);
  border-color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-hero-ghost {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.45);
}
.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,0.85);
  color: white;
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.btn-nav {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  padding: 0.55rem 1.375rem;
  font-size: 0.8125rem;
}
.btn-nav:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); }

.btn-full { width: 100%; justify-content: center; }
.mt-btn { margin-top: 2rem; }

/* =============================================
   NAVIGATION
   ============================================= */
.nav-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid transparent;
  transition: all var(--t);
}
.nav-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo-svg { border-radius: 8px; flex-shrink: 0; }
.logo-footer .logo-text { color: white; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color var(--t);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).nav-active { color: var(--primary); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t);
}
.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 — Dark gradient
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: linear-gradient(135deg, #071e38 0%, #0d2e52 40%, #0e3870 100%);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.hero-pattern {
  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;
}

.hero-glow-1 {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(22,87,168,0.3) 0%, transparent 65%);
  top: -200px; left: -100px;
  border-radius: 50%;
  filter: blur(60px);
}
.hero-glow-2 {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,150,136,0.18) 0%, transparent 65%);
  bottom: -100px; right: 5%;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-light);
  background: rgba(0,184,164,0.12);
  border: 1px solid rgba(0,184,164,0.25);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-title-accent {
  background: linear-gradient(135deg, #60b3ff 0%, #00dfc3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.78;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

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

.hero-stats { display: flex; align-items: center; gap: 2rem; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.hero-stat-sep { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* ===== Hero Visual — Laptop Frame ===== */
.hero-visual { position: relative; }

.laptop-wrap { position: relative; }

.laptop { position: relative; }

.laptop-screen {
  background: #0f172a;
  border-radius: 14px 14px 4px 4px;
  border: 9px solid #1e293b;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05), 0 32px 80px rgba(0,0,0,0.55);
  overflow: hidden;
}

/* Browser chrome bar */
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}
.browser-dots { display: flex; gap: 5px; flex-shrink: 0; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #22c55e; }

.browser-url {
  flex: 1;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.25rem 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6rem;
  color: #64748b;
  overflow: hidden;
}
.browser-fav {
  height: 13px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) saturate(100%); /* dark version on white bg */
}
.browser-url span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-body { line-height: 0; overflow: hidden; }

.laptop-screen-img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

/* ===== RelativityOne Login Screen Recreation ===== */
.rel-login-screen {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #6d7f92;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rel-login-geo {
  position: absolute;
  width: 220px; height: 220px;
  border: 1px solid rgba(255,255,255,0.08);
  transform: rotate(45deg);
  pointer-events: none;
}
.rel-geo-tl { top: -80px; left: -80px; }
.rel-geo-tr { top: -80px; right: -80px; }
.rel-geo-bl { bottom: -80px; left: -80px; }
.rel-geo-br { bottom: -80px; right: -80px; }
.rel-login-card {
  background: white;
  border-radius: 10px;
  padding: 2rem 1.75rem 1.75rem;
  width: 52%;
  max-width: 270px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.rel-login-logo {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  line-height: 1;
  font-family: Arial, Helvetica, sans-serif;
}
.rel-logo-rel { color: #e05a1d; }
.rel-logo-one { color: #0e2a4a; font-weight: 600; }
.rel-login-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
}
.rel-login-input {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.45rem 0.5rem;
  display: flex;
  align-items: center;
}
.rel-login-input svg { width: 13px; height: 13px; color: #aaa; }
.rel-login-btn {
  background: #1a5fa8;
  color: white;
  border-radius: 4px;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 0.125rem;
}

/* Laptop chin + base */
.laptop-chin {
  height: 18px;
  background: linear-gradient(to bottom, #1e293b, #0f172a);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3px;
}
.laptop-notch {
  width: 48px; height: 7px;
  background: rgba(0,0,0,0.4);
  border-radius: 0 0 5px 5px;
}
.laptop-foot {
  width: 75%;
  height: 12px;
  background: linear-gradient(to bottom, #cbd5e1, #94a3b8);
  border-radius: 0 0 8px 8px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* Relativity partner logo */
.rel-partner-logo {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) saturate(100%) invert(28%) sepia(53%) saturate(700%) hue-rotate(195deg) brightness(95%);
  opacity: 0.85;
}

/* Floating cards */
.hv-float {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 10;
}
.hv-float-docs { bottom: 1rem; left: -1.25rem; animation: float1 3.5s ease-in-out infinite; }
.hv-float-agent { top: 1rem; right: -1.25rem; animation: float2 3.5s ease-in-out 1.75s infinite; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

.hv-float-icon { width: 32px; height: 32px; background: rgba(255,255,255,0.15); border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.hv-float-icon svg { width: 16px; height: 16px; color: rgba(255,255,255,0.85); }
.hv-float-num { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: white; line-height: 1; }
.hv-float-label { font-size: 0.68rem; color: rgba(255,255,255,0.55); margin-top: 0.15rem; }
.hv-agent-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); flex-shrink: 0; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(0,184,164,0.5)} 70%{box-shadow:0 0 0 8px rgba(0,184,164,0)} 100%{box-shadow:0 0 0 0 rgba(0,184,164,0)} }
.hv-float-agent-text { font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.75); white-space: nowrap; }

/* =============================================
   VALUE BAR
   ============================================= */
.value-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  box-shadow: var(--shadow-sm);
}
.value-bar-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.value-item { display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 200px; }
.value-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--primary-pale);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.value-icon svg { width: 22px; height: 22px; color: var(--primary); }
.value-title { font-size: 0.9375rem; font-weight: 700; color: var(--text); margin-bottom: 0.15rem; }
.value-desc { font-size: 0.8125rem; color: var(--text-muted); }
.value-divider { width: 1px; height: 50px; background: var(--border); flex-shrink: 0; }

/* =============================================
   ABOUT — Split layout
   ============================================= */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split-layout-reverse { direction: rtl; }
.split-layout-reverse > * { direction: ltr; }

/* About illustration */
.about-illustration {
  position: relative;
  height: 420px;
}
.ai-bg-circle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 340px; height: 340px;
  background: radial-gradient(circle, var(--primary-pale) 0%, rgba(228,240,251,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.ai-card-main {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem;
  display: flex; align-items: center; gap: 1.25rem;
  min-width: 270px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.ai-card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ai-card-icon svg { width: 26px; height: 26px; color: white; }
.ai-card-title { font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 0.9375rem; margin-bottom: 0.25rem; }
.ai-card-sub { font-size: 0.8rem; color: var(--text-muted); }

.ai-stat-card {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  display: flex; flex-direction: column; align-items: center;
  min-width: 120px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.ai-stat-top { top: 7%; right: 5%; }
.ai-stat-bottom { bottom: 7%; left: 5%; }
.ai-stat-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.ai-stat-label { font-size: 0.72rem; color: var(--text-muted); }

/* Feature list */
.feature-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 1.5rem 0 0; }
.feature-item { display: flex; align-items: center; gap: 0.875rem; font-size: 0.9375rem; color: var(--text-muted); }
.feature-check {
  width: 22px; height: 22px; flex-shrink: 0;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.feature-check svg { width: 12px; height: 12px; }

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}
.service-icon-wrap {
  width: 56px; height: 56px;
  background: var(--primary-pale);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.375rem;
  transition: background var(--t);
}
.service-card:hover .service-icon-wrap { background: var(--primary); }
.service-icon-wrap svg { width: 26px; height: 26px; color: var(--primary); transition: color var(--t); }
.service-card:hover .service-icon-wrap svg { color: white; }

.service-title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; color: var(--text); margin-bottom: 0.75rem; }
.service-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 1.25rem; }

.service-list { margin-bottom: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1rem; }
.service-list li { font-size: 0.8125rem; color: var(--text-muted); padding-left: 1rem; position: relative; }
.service-list li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; background: var(--accent); border-radius: 50%;
}

.service-link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-size: 0.875rem; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: gap var(--t);
  margin-top: auto;
}
.service-link svg { width: 14px; height: 14px; transition: transform var(--t); }
.service-link:hover { gap: 0.625rem; }
.service-link:hover svg { transform: translateX(3px); }

/* =============================================
   STATS
   ============================================= */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #1a6fb5 100%);
  padding: clamp(4rem, 7vw, 6rem) 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1rem 2rem; }
.stat-icon { width: 48px; height: 48px; background: rgba(255,255,255,0.12); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.stat-icon svg { width: 24px; height: 24px; color: rgba(255,255,255,0.9); }
.stat-number { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 800; color: white; line-height: 1; margin-bottom: 0.375rem; letter-spacing: -0.02em; }
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.65); font-weight: 400; }
.stat-divider { width: 1px; height: 80px; background: rgba(255,255,255,0.15); flex-shrink: 0; }

/* =============================================
   PROCESS
   ============================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.process-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--t);
  position: relative;
}
.process-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.process-card:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 50%; right: -1.25rem;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--border-dark);
  z-index: 1;
}
.process-num {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--primary);
  background: var(--primary-pale);
  border-radius: 100px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 1.125rem;
}
.process-icon-wrap {
  width: 60px; height: 60px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  transition: background var(--t);
}
.process-card:hover .process-icon-wrap { background: var(--primary); }
.process-icon-wrap svg { width: 26px; height: 26px; color: var(--primary); transition: color var(--t); }
.process-card:hover .process-icon-wrap svg { color: white; }
.process-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.75rem; }
.process-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* =============================================
   EXPERTISE
   ============================================= */
.expertise-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.75rem; }
.expertise-row { display: flex; gap: 1.125rem; align-items: flex-start; }
.expertise-icon-wrap {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--primary-pale);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.expertise-icon-wrap svg { width: 20px; height: 20px; color: var(--primary); }
.expertise-title { font-weight: 700; color: var(--text); font-size: 0.9375rem; margin-bottom: 0.2rem; }
.expertise-desc { font-size: 0.8375rem; color: var(--text-muted); line-height: 1.55; }

.edrm-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.edrm-card-title { font-size: 0.72rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.edrm-stages { display: flex; align-items: center; margin-bottom: 1.25rem; }
.edrm-stage { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.edrm-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--border);
  transition: all 0.4s ease;
}
.edrm-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-pale);
}
.edrm-line {
  flex: 1; height: 2px;
  background: var(--border);
  margin-bottom: 1.1rem;
  min-width: 6px;
  transition: background 0.4s ease;
}
.edrm-line.active { background: var(--accent); }
.edrm-stage-label { font-size: 0.6rem; color: var(--text-light); white-space: nowrap; text-align: center; }
.edrm-note { font-size: 0.78rem; color: var(--text-light); text-align: center; }

.expertise-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.exp-badge {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 1.125rem;
  display: flex; align-items: center; gap: 0.875rem;
  transition: all var(--t); box-shadow: var(--shadow-sm);
}
.exp-badge:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.exp-badge-icon {
  width: 42px; height: 42px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.exp-icon-blue { background: var(--primary-pale); }
.exp-icon-teal { background: var(--accent-pale); }
.exp-icon-blue svg { width: 20px; height: 20px; color: var(--primary); }
.exp-icon-teal svg { width: 20px; height: 20px; color: var(--accent); }
.exp-badge-name { font-weight: 700; color: var(--text); font-size: 0.875rem; margin-bottom: 0.15rem; }
.exp-badge-sub { font-size: 0.72rem; color: var(--text-muted); }

/* =============================================
   SCREENSHOTS
   ============================================= */
.screenshots-section { background: var(--bg-alt); }

.screenshots-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.screenshot-col { display: flex; flex-direction: column; gap: 1.5rem; }

.screenshot-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t);
}
.screenshot-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.screenshot-placeholder {
  background: linear-gradient(135deg, #f0f4fb 0%, #e8eef8 100%);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.screenshot-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(22,87,168,0.03) 20px,
    rgba(22,87,168,0.03) 40px
  );
}
.screenshot-large .screenshot-placeholder { aspect-ratio: 4 / 3; }

.scr-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 1.5rem;
}
.scr-placeholder-inner svg { width: 52px; height: 52px; color: var(--primary); opacity: 0.5; }
.scr-placeholder-inner span { font-size: 0.875rem; font-weight: 600; color: var(--text-muted); }
.scr-placeholder-inner em { font-size: 0.72rem; color: var(--text-light); font-style: normal; background: rgba(22,87,168,0.08); padding: 0.2rem 0.625rem; border-radius: 100px; }

/* When you have a real screenshot, use: <img src="..." class="screenshot-img" alt="..." /> */
.screenshot-img { width: 100%; height: auto; display: block; }

.screenshot-caption {
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.screenshot-caption strong { color: var(--text); font-weight: 700; display: block; margin-bottom: 0.15rem; }

.screenshots-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}
.screenshots-note svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Fix expertise badges to 2x2 */
.expertise-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* =============================================
   TECHNOLOGIES
   ============================================= */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.tech-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--t);
}
.tech-box:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.tech-box-header {
  display: flex; align-items: center; gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 0.875rem; font-weight: 700;
  color: var(--text);
  padding-bottom: 1rem;
  margin-bottom: 1.125rem;
  border-bottom: 1px solid var(--border);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.tech-box-icon {
  width: 32px; height: 32px;
  background: var(--primary-pale);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tech-box-icon svg { width: 16px; height: 16px; color: var(--primary); }

.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--t);
  cursor: default;
}
.tech-tag:hover { background: var(--bg); border-color: var(--border-dark); color: var(--text); }
.tech-tag-primary {
  background: var(--primary-pale);
  border-color: rgba(22,87,168,0.2);
  color: var(--primary);
}
.tech-tag-primary:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* =============================================
   CONTACT
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}
.contact-details { display: flex; flex-direction: column; gap: 1.125rem; margin-top: 2rem; }
.contact-detail { display: flex; align-items: center; gap: 1rem; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--primary-pale);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--primary); }
.contact-detail-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 0.2rem; }
.contact-detail-value { font-size: 0.9375rem; font-weight: 600; color: var(--text); }

.contact-perks { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.contact-perk { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; color: var(--text-muted); }
.contact-perk svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.contact-form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.form-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 1.75rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.125rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.125rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.8125rem; font-weight: 700; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: var(--text);
  outline: none;
  transition: all var(--t);
  appearance: none;
  min-height: 52px;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6e84' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  background-size: 16px;
  padding-right: 2.75rem;
  cursor: pointer;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(22,87,168,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  padding: 1rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  color: #065f46;
  text-align: center;
  font-weight: 600;
}
.form-success.visible { display: block; animation: fadeUp 0.3s ease; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-dark);
  padding-top: 4rem;
}
.footer-inner {
  display: flex;
  gap: 4rem;
  justify-content: space-between;
  padding-bottom: 3rem;
}
.footer-brand { max-width: 280px; }
.footer-tagline { margin-top: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.7; }
.footer-nav-group { display: flex; gap: 4rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 0.5rem; }
.footer-col a { font-size: 0.875rem; color: rgba(255,255,255,0.45); transition: color var(--t); }
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.25rem 0; }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 0.5rem;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }
.anim-d1 { transition-delay: 0.08s; }
.anim-d2 { transition-delay: 0.16s; }
.anim-d3 { transition-delay: 0.24s; }
.anim-d4 { transition-delay: 0.32s; }
.anim-d5 { transition-delay: 0.40s; }
.anim-d6 { transition-delay: 0.48s; }

/* =============================================
   ABOUT — Photo layout
   ============================================= */
.about-photo-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-photo-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: white;
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
}
.about-badge-num {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  line-height: 1;
}
.about-badge-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =============================================
   WHO WE SERVE
   ============================================= */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.serve-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  transition: all var(--t);
}
.serve-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.serve-icon {
  width: 52px; height: 52px;
  background: var(--primary-pale);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.serve-icon svg { width: 24px; height: 24px; color: var(--primary); }
.serve-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.625rem;
}
.serve-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   PLATFORM — Solutions Grid (Milyli/NSerio style)
   ============================================= */
.platform-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.platform-solution-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all var(--t);
}
.platform-solution-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.platform-sol-icon {
  width: 52px; height: 52px;
  background: var(--primary-pale);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.platform-sol-icon svg { width: 24px; height: 24px; color: var(--primary); }

.platform-sol-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.625rem;
}
.platform-sol-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.platform-sol-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.platform-sol-list li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-left: 1.125rem;
  position: relative;
}
.platform-sol-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.45em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
}

.platform-trademark {
  font-size: 0.725rem;
  color: var(--text-light);
  text-align: center;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

/* =============================================
   CLOUD PLATFORMS
   ============================================= */
.cloud-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.cloud-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.cloud-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-pale);
  border: 1px solid rgba(22,87,168,0.15);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}
.cloud-pill svg { width: 15px; height: 15px; flex-shrink: 0; }
.cloud-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.cloud-feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  transition: all var(--t);
}
.cloud-feature-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.cloud-feature-icon {
  width: 44px; height: 44px;
  background: var(--primary-pale);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.cloud-feature-icon svg { width: 20px; height: 20px; color: var(--primary); }
.cloud-feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.cloud-feature-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* =============================================
   LOGOS BAR
   ============================================= */
.logos-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--bg);
}
.logos-bar-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.logos-bar-lead {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
  flex-shrink: 0;
}
.logos-bar-sep {
  width: 1px;
  height: 24px;
  background: var(--border);
  flex-shrink: 0;
}
.logos-bar-items {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.logos-bar-item {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logos-bar-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  opacity: 0.5;
}

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  background: var(--bg-dark);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(22,87,168,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,150,136,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}
.cta-band-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  max-width: 600px;
}
.cta-band-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.btn-cta-white {
  background: white;
  color: var(--primary);
  border-color: white;
  font-weight: 700;
  white-space: nowrap;
}
.btn-cta-white:hover {
  background: var(--primary-pale);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,255,255,0.2);
}
.btn-cta-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.35);
}
.btn-cta-ghost:hover {
  border-color: rgba(255,255,255,0.75);
  color: white;
  background: rgba(255,255,255,0.08);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1050px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-visual { width: 100%; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }

  .split-layout { grid-template-columns: 1fr; gap: 3rem; }
  .split-layout-reverse { direction: ltr; }
  .about-illustration { height: 300px; }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-card::after { display: none; }

  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { flex-wrap: wrap; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .platform-solutions-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { gap: 0; }
  .stat-divider { display: none; }
  .stat-item { padding: 1rem; }
  .screenshots-grid { grid-template-columns: 1fr; }
  .expertise-badges { grid-template-columns: 1fr 1fr; }
  .serve-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem var(--pad);
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    opacity: 0;
    transition: all var(--t);
    pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links a:not(.btn) { font-size: 1rem; }
  .hamburger { display: flex; }

  .hero-title { font-size: clamp(1.75rem, 6vw, 2.75rem); }
  .hero-eyebrow { font-size: 0.65rem; letter-spacing: 0.08em; padding: 0.3rem 0.75rem; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: flex-start; }
  .hero-stat-sep { display: none; }
  .hero-inner { padding-top: 3rem; padding-bottom: 3rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .hv-sidebar { width: 140px; }

  .value-bar-inner { flex-direction: column; gap: 1.5rem; }
  .value-divider { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }

  .process-grid { grid-template-columns: 1fr; }
  .expertise-badges { grid-template-columns: 1fr; }
  .cloud-card-grid { grid-template-columns: 1fr; }
  .platform-solutions-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 1.75rem; }

  .stats-inner { flex-direction: column; gap: 0; }
  .stat-item { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child { border-bottom: none; }

  .footer-nav-group { flex-direction: column; gap: 2rem; }
  .footer-inner { flex-direction: column; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .logos-bar-inner { gap: 1.25rem; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .cloud-layout { grid-template-columns: 1fr; gap: 3rem; }
  .cloud-card-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .serve-grid { grid-template-columns: 1fr 1fr; }
  .screenshots-row-2 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { min-height: auto; padding-bottom: 3rem; }
  .ai-stat-card { display: none; }
  .hv-float-docs { bottom: 0.5rem; left: -0.5rem; }
  .hv-float-agent { top: 0.5rem; right: -0.5rem; }
  .serve-grid { grid-template-columns: 1fr; }
  .about-photo-badge { padding: 0.75rem 1rem; }
  .about-badge-num { font-size: 1.75rem; }
}
