/* ============================================================
   css/style.css — Current Measurement Solutions TECH
   B2B Industrial tech theme: Deep Navy + Blue + White + Grey
   ============================================================ */

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

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --navy-950: #0a1628;
  --navy-900: #0f2044;
  --navy-800: #1e3a8a;
  --navy-700: #1d4ed8;
  --navy-600: #2563eb;
  --navy-500: #3b82f6;
  --navy-400: #60a5fa;
  --navy-300: #93c5fd;
  --navy-100: #dbeafe;
  --navy-50:  #eff6ff;

  --accent-600: #0891b2;
  --accent-500: #06b6d4;
  --accent-400: #22d3ee;
  --accent-100: #cffafe;

  --gray-950: #030712;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;

  --white: #ffffff;

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --nav-h: 64px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-card: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px -4px rgba(0,0,0,.08);
  --shadow-card-hover: 0 4px 24px -4px rgba(0,0,0,.14), 0 8px 32px -8px rgba(0,0,0,.10);
  --transition: 150ms cubic-bezier(.4,0,.2,1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--navy-100); color: var(--navy-900); }

/* ── Layout ────────────────────────────────────────────────── */
.container   { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm{ max-width: 768px;  margin: 0 auto; padding: 0 1.5rem; }
.section     { padding: 5rem 0; }
.section-sm  { padding: 3.5rem 0; }
main { flex: 1; }

/* ── Typography ────────────────────────────────────────────── */
h1 { font-size: clamp(1.75rem,4vw,3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem,3vw,2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
p  { color: var(--gray-600); line-height: 1.7; }

.section-tag {
  display: inline-block;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent-600);
  margin-bottom: .75rem;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { color: var(--gray-900); margin-bottom: .75rem; }
.section-header p  { color: var(--gray-500); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .625rem 1.25rem;
  font-size: .875rem; font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  cursor: pointer; white-space: nowrap;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary {
  background: var(--navy-800); color: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.btn-primary:hover { background: var(--navy-900); box-shadow: 0 4px 12px rgba(30,58,138,.3); }
.btn-secondary {
  background: var(--white); color: var(--navy-700);
  border-color: var(--navy-200, #bfdbfe);
}
.btn-secondary:hover { background: var(--navy-50); border-color: var(--navy-300); }
.btn-outline-white {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-accent {
  background: var(--accent-600); color: var(--white);
}
.btn-accent:hover { background: var(--accent-600); filter: brightness(.9); }
.btn-lg  { padding: .875rem 1.75rem; font-size: 1rem; }
.btn-sm  { padding: .375rem 1rem;    font-size: .8rem; }
.btn-icon { padding: .625rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Navigation ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  height: var(--nav-h);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-inner {
  display: flex; align-items: center;
  height: var(--nav-h);
  gap: 1rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .625rem;
  flex-shrink: 0; margin-right: auto;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  background: var(--navy-800); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-logo-icon svg { width: 20px; height: 20px; color: white; fill: none; stroke: white; }
.nav-logo-text { line-height: 1.2; }
.nav-logo-text strong { font-size: .875rem; font-weight: 800; color: var(--navy-900); display: block; }
.nav-logo-text span   { font-size: .7rem;  color: var(--gray-500); display: block; }

.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  padding: .5rem .75rem;
  font-size: .875rem; font-weight: 500;
  color: var(--gray-600); border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--navy-700); background: var(--navy-50);
}
.nav-link.active { font-weight: 600; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: .375rem;
  padding: .375rem .75rem;
  font-size: .8rem; font-weight: 600;
  color: var(--gray-600);
  background: var(--gray-100); border-radius: 999px;
  border: none; transition: all var(--transition);
  cursor: pointer;
}
.lang-btn:hover { background: var(--navy-50); color: var(--navy-700); }
.lang-dropdown {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); box-shadow: 0 8px 32px rgba(0,0,0,.12);
  min-width: 160px; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: all var(--transition);
  z-index: 200;
}
.lang-switcher.open .lang-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-option {
  display: flex; align-items: center; gap: .625rem;
  padding: .6rem 1rem;
  font-size: .825rem; font-weight: 500;
  color: var(--gray-700); cursor: pointer;
  transition: background var(--transition);
}
.lang-option:hover  { background: var(--gray-50); }
.lang-option.active { background: var(--navy-50); color: var(--navy-700); font-weight: 600; }
.lang-option.active::after {
  content: '✓'; margin-left: auto; color: var(--navy-600); font-size: .75rem;
}

/* Mobile menu */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: .5rem; cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gray-700); border-radius: 2px;
  transition: all var(--transition);
}
.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); }

.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--gray-100);
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  z-index: 99; padding: 1rem;
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-nav-link {
  display: block; padding: .75rem 1rem;
  font-size: .9rem; font-weight: 500; color: var(--gray-700);
  border-radius: var(--radius-sm); transition: all var(--transition);
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--navy-50); color: var(--navy-700);
}
.mobile-lang-section {
  padding: .75rem 0; border-top: 1px solid var(--gray-100); margin-top: .5rem;
}
.mobile-lang-section p {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--gray-400); padding: 0 1rem .5rem;
}
.mobile-lang-opt {
  display: flex; align-items: center; gap: .5rem;
  padding: .625rem 1rem;
  font-size: .875rem; font-weight: 500; color: var(--gray-700);
  border-radius: var(--radius-sm); cursor: pointer;
  transition: background var(--transition);
}
.mobile-lang-opt:hover  { background: var(--gray-50); }
.mobile-lang-opt.active { background: var(--navy-50); color: var(--navy-700); font-weight: 600; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg,#0f2044 0%,#1d4ed8 45%,#1e40af 75%,#0f2044 100%);
  position: relative; overflow: hidden; padding: 5rem 0 5.5rem;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(96,165,250,.18) 0%,transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(6,182,212,.12) 0%,transparent 50%);
  pointer-events: none;
}
.hero-dots {
  position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: radial-gradient(circle, white 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
.hero-content { position: relative; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .375rem 1rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px; margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-400); animation: pulse 2s infinite;
}
.hero-badge span {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.8);
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-sub { font-size: 1.1rem; color: #bfdbfe; margin-bottom: 2.25rem; max-width: 640px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 3rem; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 2rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-num  { font-size: 1.4rem; font-weight: 800; color: var(--white); }
.hero-stat-label{ font-size: .8rem; color: #93c5fd; margin-top: .1rem; }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200); box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-card-hover); border-color: var(--navy-100);
  transform: translateY(-2px);
}
.card-body { padding: 1.5rem; }

/* ── Product card ───────────────────────────────────────────── */
.product-img {
  aspect-ratio: 3/2; background: linear-gradient(135deg,var(--gray-50),var(--gray-100));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem; color: var(--gray-300); overflow: hidden;
}
.product-img-placeholder svg { width: 48px; height: 48px; }
.product-img-placeholder p { font-size: .75rem; font-weight: 500; text-align: center; padding: 0 1rem; }
.product-tags { display: flex; flex-wrap: wrap; gap: .375rem; margin-bottom: .75rem; }
.product-name { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; line-height: 1.3; }
.product-name a:hover { color: var(--navy-700); }
.product-summary { font-size: .85rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 1rem; }
.product-apps { margin-bottom: 1.25rem; }
.product-apps-label {
  font-size: .65rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gray-400); margin-bottom: .4rem;
}
.product-app-item {
  display: flex; align-items: flex-start; gap: .4rem;
  font-size: .775rem; color: var(--gray-500); line-height: 1.4; margin-bottom: .25rem;
}
.product-app-item svg { width: 12px; height: 12px; flex-shrink: 0; margin-top: 2px; color: var(--accent-500); fill: currentColor; }

/* ── Badges / Tags ──────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: .2rem .625rem; border-radius: 999px;
  font-size: .7rem; font-weight: 700; letter-spacing: .02em;
}
.badge-blue  { background: var(--navy-100); color: var(--navy-800); }
.badge-teal  { background: var(--accent-100); color: var(--accent-600); }
.badge-gray  { background: var(--gray-100); color: var(--gray-600); }
.badge-green { background: #dcfce7; color: #166534; }
.badge-amber { background: #fef9c3; color: #854d0e; }
.badge-red   { background: #fee2e2; color: #991b1b; }

/* ── Grid helpers ───────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }

/* ── Section backgrounds ────────────────────────────────────── */
.bg-white  { background: var(--white); }
.bg-subtle { background: var(--gray-50); }
.bg-dark   { background: var(--gray-900); }
.bg-navy   { background: linear-gradient(135deg,var(--navy-900),var(--navy-800)); }

/* ── CTA Section ────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg,#0f2044 0%,var(--navy-800) 100%);
  padding: 4.5rem 0; text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p  { color: #bfdbfe; margin-bottom: 2rem; font-size: 1.1rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.btn-white { background: var(--white); color: var(--navy-800); font-weight: 700; }
.btn-white:hover { background: var(--navy-50); }

/* ── Why choose us ──────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px,1fr));
  gap: 1.25rem;
}
.why-item {
  padding: 1.5rem; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  transition: all var(--transition);
}
.why-item:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.why-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(96,165,250,.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.why-icon svg { width: 20px; height: 20px; color: var(--accent-400); fill: none; stroke: currentColor; stroke-width: 1.5; }
.why-item h4 { font-size: .9rem; font-weight: 600; color: var(--white); margin-bottom: .4rem; }
.why-item p  { font-size: .8rem; color: #93c5fd; line-height: 1.6; }

/* ── Specs table ────────────────────────────────────────────── */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--gray-100); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th {
  padding: .7rem 1rem .7rem 1.25rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gray-400);
  text-align: left; width: 160px; vertical-align: top;
}
.specs-table td {
  padding: .7rem 1.25rem; font-size: .85rem; color: var(--gray-700);
  vertical-align: top;
}
.specs-table tr:nth-child(even) td,
.specs-table tr:nth-child(even) th { background: var(--gray-50); }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .25rem; margin-bottom: 1.25rem;
  font-size: .8rem; color: #93c5fd;
}
.breadcrumb a { color: #93c5fd; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--white); font-weight: 600; }
.breadcrumb-sep { color: rgba(255,255,255,.3); }

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: .4rem;
}
.form-required { color: #ef4444; margin-left: 2px; }
.form-control {
  width: 100%; padding: .625rem .875rem;
  font-size: .875rem; color: var(--gray-900);
  background: var(--white); border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--navy-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.form-control.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { cursor: pointer; appearance: none; padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .6rem center; background-size: 1.1em;
}
.form-error { font-size: .75rem; color: #ef4444; margin-top: .35rem; display: none; }
.form-error.show { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: .75rem; color: var(--gray-400); margin-top: .3rem; }

/* Alert boxes */
.alert {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: 1rem 1.25rem; border-radius: var(--radius-md); margin-bottom: 1.5rem;
}
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; fill: none; stroke: currentColor; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ── Brand strip ────────────────────────────────────────────── */
.brand-strip { padding: 2.5rem 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.brand-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.brand-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem; border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200); background: var(--white);
  transition: all var(--transition); cursor: pointer;
}
.brand-card:hover { border-color: var(--navy-300); background: var(--navy-50); transform: translateY(-1px); }
.brand-logo-box {
  width: 56px; height: 44px; border-radius: var(--radius-sm);
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800; color: var(--gray-500); flex-shrink: 0;
  transition: background var(--transition);
}
.brand-card:hover .brand-logo-box { background: var(--white); }
.brand-card-info strong { font-size: .9rem; font-weight: 700; color: var(--gray-900); display: block; }
.brand-card-info span   { font-size: .75rem; color: var(--gray-400); }
.brand-card-arrow { margin-left: auto; color: var(--gray-300); transition: color var(--transition); }
.brand-card:hover .brand-card-arrow { color: var(--navy-500); }

/* ── Solution card ──────────────────────────────────────────── */
.solution-icon {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  background: var(--navy-50);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
  transition: background var(--transition);
}
.card:hover .solution-icon { background: var(--navy-100); }
.solution-icon svg { width: 22px; height: 22px; color: var(--navy-700); fill: none; stroke: currentColor; stroke-width: 1.5; }
.solution-title { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; }
.solution-title a:hover { color: var(--navy-700); }
.solution-summary { font-size: .85rem; color: var(--gray-500); line-height: 1.65; flex: 1; }
.solution-link {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .825rem; font-weight: 600; color: var(--navy-700);
  margin-top: 1.25rem; transition: color var(--transition);
}
.solution-link:hover { color: var(--navy-900); }
.solution-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.card:hover .solution-link svg { transform: translateX(2px); }

/* ── Resource card ──────────────────────────────────────────── */
.resource-type-icon {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--navy-50); display: flex; align-items: center; justify-content: center;
}
.resource-type-icon svg { width: 18px; height: 18px; color: var(--navy-600); fill: none; stroke: currentColor; stroke-width: 1.5; }
.resource-type-label { font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-400); margin-bottom: .25rem; }
.resource-title { font-size: .875rem; font-weight: 600; color: var(--gray-900); line-height: 1.4; }

/* ── Page hero ──────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg,#0f2044 0%,#1d4ed8 60%,#1e40af 100%);
  padding: 3rem 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.5rem,3.5vw,2.5rem); margin-bottom: .75rem; }
.page-hero p   { color: #bfdbfe; max-width: 560px; }

/* ── Detail layout ──────────────────────────────────────────── */
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: start; }
.detail-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.sidebar-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-xl); padding: 1.5rem; margin-bottom: 1rem; box-shadow: var(--shadow-card); }
.sidebar-card-dark { background: var(--navy-800); border-color: var(--navy-700); }
.sidebar-card-dark h4 { color: var(--white); margin-bottom: .5rem; }
.sidebar-card-dark p  { color: #93c5fd; font-size: .85rem; line-height: 1.6; margin-bottom: 1.25rem; }

/* Feature list */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: .625rem; }
.feature-list li {
  display: flex; align-items: flex-start; gap: .625rem;
  font-size: .875rem; color: var(--gray-700); line-height: 1.5;
}
.feature-list li .check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--navy-50); flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
}
.feature-list li .check svg { width: 10px; height: 10px; fill: var(--navy-600); }

/* Application chips */
.app-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.app-chip {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .35rem .75rem;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); font-size: .775rem; color: var(--gray-700);
}
.app-chip svg { width: 12px; height: 12px; color: var(--accent-500); fill: currentColor; }

/* ── Section labels ─────────────────────────────────────────── */
.content-section { margin-top: 2.5rem; }
.content-section-title {
  display: flex; align-items: center; gap: .625rem;
  font-size: 1.1rem; font-weight: 700; color: var(--gray-900);
  margin-bottom: 1.25rem;
}
.content-section-title .bar {
  width: 4px; height: 22px; background: var(--navy-600); border-radius: 2px;
}
.content-section-title.accent .bar { background: var(--accent-500); }

/* ── Inquiry CTA ────────────────────────────────────────────── */
.inquiry-cta {
  background: linear-gradient(135deg,var(--navy-800),var(--navy-700));
  border-radius: var(--radius-xl); padding: 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; margin-top: 3rem; flex-wrap: wrap;
}
.inquiry-cta h3 { color: var(--white); font-size: 1.1rem; margin-bottom: .375rem; }
.inquiry-cta p  { color: #93c5fd; font-size: .875rem; max-width: 480px; }
.inquiry-cta-btns { display: flex; gap: .75rem; flex-shrink: 0; flex-wrap: wrap; }

/* ── Filter tabs ────────────────────────────────────────────── */
.filter-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter-tab {
  padding: .45rem 1rem; font-size: .8rem; font-weight: 600;
  border-radius: 999px; border: 1.5px solid var(--gray-300);
  background: var(--white); color: var(--gray-600);
  cursor: pointer; transition: all var(--transition);
}
.filter-tab:hover   { border-color: var(--navy-300); color: var(--navy-700); background: var(--navy-50); }
.filter-tab.active  { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }

/* ── Admin table ────────────────────────────────────────────── */
.data-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.data-table th {
  padding: .625rem 1rem; text-align: left;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gray-500);
  background: var(--gray-50); border-bottom: 1px solid var(--gray-200);
}
.data-table td {
  padding: .75rem 1rem; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100); vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--gray-50); }
.data-table .td-name { font-weight: 600; color: var(--gray-900); }
.data-table .td-msg { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--gray-900); color: var(--gray-300); padding: 4rem 0 0; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { font-size: .85rem; color: var(--gray-400); line-height: 1.7; margin-top: .75rem; max-width: 260px; }
.footer-col h4 {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 1rem;
}
.footer-link {
  display: block; font-size: .85rem; color: var(--gray-400);
  padding: .2rem 0; transition: color var(--transition);
}
.footer-link:hover { color: var(--white); }
.footer-link.accent { color: var(--accent-400); font-weight: 600; }
.footer-link.accent:hover { color: var(--accent-300); }
.footer-bar {
  border-top: 1px solid var(--gray-800);
  padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
}
.footer-bar p { font-size: .75rem; color: var(--gray-500); }
.footer-bar-links { display: flex; gap: 1.25rem; }

/* ── Prose (rich text) ──────────────────────────────────────── */
.prose { color: var(--gray-700); line-height: 1.75; }
.prose h2 { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin: 2rem 0 .75rem; }
.prose h3 { font-size: 1.05rem; font-weight: 600; color: var(--gray-900); margin: 1.5rem 0 .5rem; }
.prose p  { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose ul li { margin-bottom: .4rem; }
.prose strong { font-weight: 600; color: var(--gray-900); }

/* ── Loading / skeleton ─────────────────────────────────────── */
.skeleton { background: linear-gradient(90deg,var(--gray-100) 0%,var(--gray-200) 50%,var(--gray-100) 100%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 6px; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
@keyframes pulse    { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ── Utility ────────────────────────────────────────────────── */
.mt-0{margin-top:0} .mt-1{margin-top:.5rem} .mt-2{margin-top:1rem} .mt-3{margin-top:1.5rem} .mt-4{margin-top:2rem}
.mb-1{margin-bottom:.5rem} .mb-2{margin-bottom:1rem} .mb-3{margin-bottom:1.5rem} .mb-4{margin-bottom:2rem}
.text-center{text-align:center} .flex{display:flex} .items-center{align-items:center}
.gap-1{gap:.5rem} .gap-2{gap:1rem} .gap-3{gap:1.5rem}
.text-sm{font-size:.85rem} .text-xs{font-size:.75rem}
.font-bold{font-weight:700} .font-semibold{font-weight:600}
.text-muted{color:var(--gray-500)}
.hidden{display:none!important}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .detail-grid  { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .lang-switcher, .nav-cta { display: none !important; }
  .hamburger { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .brand-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .inquiry-cta { flex-direction: column; }
  .hero { padding: 3.5rem 0; }
  .section { padding: 3.5rem 0; }
  .filter-tabs { gap: .375rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-btns { flex-direction: column; }
  .cta-btns  { flex-direction: column; align-items: center; }
  .inquiry-cta-btns { flex-direction: column; width: 100%; }
  .inquiry-cta-btns .btn { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════════
   PHASE 3 APP STYLES — supplemental for app.js page renderers
   ════════════════════════════════════════════════════════════════ */

/* ── Skip link ──────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--navy-800);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: 0 0 6px 6px;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Site Header ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: none;
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.1); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-primary { font-size: .9375rem; font-weight: 800; color: var(--navy-900); }
.logo-secondary { font-size: .7rem; font-weight: 600; color: var(--navy-600); letter-spacing: .06em; text-transform: uppercase; }

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: .4rem .7rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 6px;
  text-decoration: none;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--navy-700); background: var(--navy-50); }
.nav-link.active { color: var(--navy-700); font-weight: 600; background: var(--navy-50); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

/* Language switcher */
.lang-switcher { position: relative; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .625rem;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  background: var(--white);
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: border-color .15s;
}
.lang-toggle:hover { border-color: var(--navy-400); color: var(--navy-700); }
.lang-arrow { transition: transform .2s; }
.lang-toggle[aria-expanded="true"] .lang-arrow { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + .375rem);
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  min-width: 160px;
  list-style: none;
  padding: .375rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s, transform .15s;
  z-index: 200;
}
.lang-dropdown.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.lang-option {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border-radius: 6px;
  font-size: .875rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: background .1s, color .1s;
}
.lang-option:hover { background: var(--gray-50); color: var(--gray-900); text-decoration: none; }
.lang-option.active { color: var(--navy-700); font-weight: 600; background: var(--navy-50); }

/* Mobile hamburger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: .375rem;
  cursor: pointer;
  border-radius: 6px;
}
.mobile-menu-toggle:hover { background: var(--gray-100); }
.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.hamburger-icon span {
  display: block;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all .2s;
}

/* Mobile drawer */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 90vw);
  background: var(--white);
  z-index: 160;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 32px rgba(0,0,0,.15);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}
.mobile-logo-text { font-weight: 700; font-size: .9375rem; color: var(--gray-900); }
.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: .35rem;
  color: var(--gray-500);
  border-radius: 6px;
}
.mobile-menu-close:hover { background: var(--gray-100); color: var(--gray-900); }
.mobile-nav-links {
  flex: 1;
  overflow-y: auto;
  padding: 1rem .75rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.mobile-nav-link, .mobile-nav-links .nav-link {
  display: block;
  padding: .7rem 1rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 8px;
  text-decoration: none;
}
.mobile-nav-link:hover, .mobile-nav-links .nav-link:hover {
  background: var(--gray-50);
  color: var(--navy-700);
  text-decoration: none;
}
.mobile-lang-section {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--gray-100);
}
.mobile-lang-label { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-400); margin-bottom: .625rem; }
.mobile-lang-options { display: flex; gap: .5rem; }
.mobile-drawer-footer { padding: 1rem 1.25rem; border-top: 1px solid var(--gray-200); }

/* ── Page loading ───────────────────────────────────────────── */
.page-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--navy-600);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Hero section ───────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0a1628 0%, #0f2044 40%, #1d4ed8 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 0;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25% 50%, rgba(59,130,246,.15) 0%, transparent 50%),
                    radial-gradient(circle at 75% 20%, rgba(56,189,248,.1) 0%, transparent 40%);
  pointer-events: none;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text { max-width: 540px; }
.hero-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin: .75rem 0 1.25rem;
}
.hero-subtitle {
  font-size: 1.0625rem;
  color: #bfdbfe;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-circuit {
  display: flex;
  align-items: center;
  justify-content: center;
}
.circuit-svg { width: 100%; max-width: 300px; opacity: .8; }

/* Hero stats strip */
.hero-stats {
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(4px);
  margin-top: 4rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stats-row {
  display: flex;
  justify-content: space-around;
  padding: 1.75rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}
.stat-item { text-align: center; }
.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label { font-size: .8rem; color: #93c5fd; margin-top: .3rem; display: block; }

/* ── Section helpers ────────────────────────────────────────── */
.section { padding: 5rem 0; }
.bg-white { background: var(--white); }
.bg-light  { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title  { font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 800; color: var(--gray-900); }
.section-subtitle { font-size: 1.0625rem; color: var(--gray-500); margin-top: .75rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.section-footer { text-align: center; margin-top: 2.5rem; }
.section-tag {
  display: inline-flex;
  align-items: center;
  padding: .3rem .875rem;
  background: rgba(59,130,246,.15);
  border: 1px solid rgba(99,179,237,.3);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: .75rem;
}

/* ── Product grid ───────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.product-card-img { background: var(--gray-50); padding: 1.5rem; display: flex; align-items: center; justify-content: center; min-height: 140px; }
.product-img-placeholder svg { width: 100%; max-width: 120px; height: auto; }
.product-img-placeholder-lg svg { width: 100%; max-width: 200px; height: auto; }
.product-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: .75rem; }
.product-card-badges { display: flex; flex-wrap: wrap; gap: .375rem; }
.product-card-title { font-size: 1rem; font-weight: 700; color: var(--gray-900); }
.product-card-title a { color: inherit; text-decoration: none; }
.product-card-title a:hover { color: var(--navy-700); }
.product-card-summary { font-size: .875rem; color: var(--gray-600); line-height: 1.6; flex: 1; }
.product-card-apps { display: flex; flex-wrap: wrap; gap: .375rem; }

/* ── Brand cards ────────────────────────────────────────────── */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.brand-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
  display: block;
}
.brand-card:hover { border-color: var(--navy-400); box-shadow: 0 4px 16px rgba(37,99,235,.1); text-decoration: none; }
.brand-card-inner { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; }
.brand-logo-area { width: 52px; height: 52px; border-radius: 10px; background: var(--navy-50); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-initials { font-size: .9rem; font-weight: 800; color: var(--navy-700); letter-spacing: .02em; }
.brand-info { flex: 1; min-width: 0; }
.brand-name { font-size: .9375rem; font-weight: 700; color: var(--gray-900); }
.brand-tagline { font-size: .75rem; color: var(--gray-500); margin-top: .2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-arrow { color: var(--gray-400); font-size: 1rem; flex-shrink: 0; }

/* Brand cards full (brands listing page) */
.brand-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.brand-card-full { }
.brand-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.brand-logo-lg { width: 64px; height: 64px; border-radius: 12px; background: var(--navy-50); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.brand-initials-lg { font-size: 1.125rem; font-weight: 800; color: var(--navy-700); }
.brand-card-name { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); }
.brand-card-tagline { font-size: .875rem; color: var(--gray-500); }
.brand-card-desc { color: var(--gray-600); font-size: .9375rem; line-height: 1.6; margin-bottom: 1rem; }
.brand-card-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.brand-note { font-size: .8125rem; color: var(--gray-500); font-style: italic; border-left: 3px solid var(--gray-300); padding-left: .75rem; margin-top: .5rem; }
.brand-note-box { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 6px; padding: .875rem 1rem; margin-top: 1rem; }
.brand-note-box p { font-size: .875rem; color: var(--gray-600); }

/* ── Solution cards ─────────────────────────────────────────── */
.solution-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.solution-grid-lg { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.solution-grid-sm { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.solution-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: border-color .15s, box-shadow .15s;
}
.solution-card:hover { border-color: var(--navy-300); box-shadow: 0 4px 16px rgba(37,99,235,.08); }
.solution-card-lg { padding: 1.75rem; }
.solution-icon { font-size: 2rem; line-height: 1; }
.solution-title { font-size: 1rem; font-weight: 700; color: var(--gray-900); }
.solution-challenge { font-size: .875rem; color: var(--gray-600); line-height: 1.6; flex: 1; }
.solution-cta { font-size: .875rem; font-weight: 600; color: var(--navy-600); text-decoration: none; margin-top: auto; }
.solution-cta:hover { color: var(--navy-800); }

/* ── Resource cards ─────────────────────────────────────────── */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.resource-group { margin-bottom: 2.5rem; }
.resource-group-title { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1.25rem; display: flex; align-items: center; gap: .5rem; }
.resource-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.resource-card:hover { border-color: var(--navy-300); box-shadow: 0 4px 12px rgba(37,99,235,.08); }
.resource-icon { font-size: 1.75rem; flex-shrink: 0; line-height: 1; margin-top: .125rem; }
.resource-body { flex: 1; display: flex; flex-direction: column; gap: .5rem; }
.resource-meta { display: flex; flex-wrap: wrap; gap: .375rem; }
.resource-title { font-size: .9375rem; font-weight: 700; color: var(--gray-900); line-height: 1.4; }
.resource-desc  { font-size: .8125rem; color: var(--gray-600); line-height: 1.5; flex: 1; }

/* ── Why choose us ──────────────────────────────────────────── */
.why-section {
  background: linear-gradient(135deg, #0f2044 0%, #1e3a8a 100%);
  color: var(--white);
}
.why-section .section-title { color: var(--white); }
.why-section .section-subtitle { color: #bfdbfe; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.why-item { text-align: center; }
.why-icon { font-size: 2.5rem; display: block; margin-bottom: .75rem; }
.why-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.why-desc  { font-size: .875rem; color: #93c5fd; line-height: 1.6; }

/* ── CTA section ────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: var(--white); margin-bottom: 1rem; }
.cta-section p { font-size: 1.0625rem; color: #bfdbfe; max-width: 520px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Page hero ──────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0f2044 0%, #1d4ed8 100%);
  padding: 3.5rem 0 2.5rem;
}
.page-hero-title   { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--white); margin-bottom: .625rem; }
.page-hero-subtitle{ font-size: 1.0625rem; color: #bfdbfe; max-width: 560px; line-height: 1.6; }
.page-hero-icon    { font-size: 3rem; margin-bottom: .75rem; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .375rem; margin-bottom: 1rem; font-size: .8125rem; }
.bc-link { color: #93c5fd; text-decoration: none; }
.bc-link:hover { color: var(--white); }
.bc-current { color: rgba(255,255,255,.7); }
.bc-sep { color: rgba(255,255,255,.4); }

/* ── Detail grid ────────────────────────────────────────────── */
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
.detail-main { min-width: 0; }
.detail-sidebar { position: sticky; top: 80px; }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.card-body { padding: 1.5rem; }
.card-body h2 { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1rem; }
.card-body h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .875rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12{ margin-top: 3rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.w-full { width: 100%; }
.mb-2  { margin-bottom: .5rem; }

/* Product sidebar */
.product-meta-list { display: grid; grid-template-columns: auto 1fr; gap: .375rem .875rem; font-size: .875rem; margin: 1rem 0 1.25rem; }
.product-meta-list dt { font-weight: 600; color: var(--gray-500); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; align-self: center; }
.product-meta-list dd { color: var(--gray-800); }
.product-meta-list code { font-family: monospace; font-size: .8rem; background: var(--gray-100); padding: .15rem .4rem; border-radius: 4px; }

/* Download list */
.download-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.download-link { font-size: .875rem; color: var(--navy-600); text-decoration: none; display: flex; align-items: center; gap: .5rem; padding: .5rem; border-radius: 6px; transition: background .1s; }
.download-link:hover { background: var(--navy-50); text-decoration: none; }
.sidebar-back { }

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.specs-table th { background: var(--gray-50); padding: .625rem 1rem; text-align: left; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); border-bottom: 1px solid var(--gray-200); }
.specs-table td { padding: .625rem 1rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:nth-child(even) td { background: var(--gray-50); }
.specs-note { font-size: .75rem; color: var(--gray-400); margin-top: .875rem; font-style: italic; }

/* App chips large */
.app-chips-large { display: flex; flex-wrap: wrap; gap: .625rem; }
.app-chip-large {
  padding: .425rem 1rem;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--navy-700);
}

/* Feature list */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: .625rem; }
.feature-list li { display: flex; align-items: flex-start; gap: .625rem; font-size: .9375rem; color: var(--gray-700); line-height: 1.6; padding-left: 0; }
.feature-list li::before { content: '✓'; color: var(--navy-600); font-weight: 700; flex-shrink: 0; margin-top: .1rem; }

/* Related items */
.related-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.related-item { }
.related-link {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .75rem;
  border-radius: 8px;
  background: var(--gray-50);
  text-decoration: none;
  transition: background .1s;
}
.related-link:hover { background: var(--navy-50); text-decoration: none; }
.related-link strong { font-size: .875rem; color: var(--gray-900); }
.related-link span { font-size: .75rem; color: var(--gray-500); }

/* Challenge/value boxes */
.challenge-box .card-body { background: #fefce8; border-radius: 12px; border-left: 4px solid var(--amber-500, #f59e0b); }
.challenge-title { color: #92400e !important; }
.value-box .card-body { background: #f0fdf4; border-radius: 12px; border-left: 4px solid #22c55e; }
.value-title { color: #14532d !important; }

/* Sidebar CTA */
.sidebar-cta { text-align: center; }
.sidebar-cta h3 { margin-bottom: .5rem; }
.sidebar-cta p { font-size: .875rem; color: var(--gray-500); margin-bottom: 1.25rem; }
.brand-logo-sidebar {
  width: 72px; height: 72px; border-radius: 14px; background: var(--navy-50);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.brand-detail-desc { font-size: 1rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 1rem; }

/* ── About page ─────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.about-story h2, .about-expertise h2 { font-size: 1.375rem; font-weight: 800; color: var(--gray-900); margin-bottom: 1.25rem; }
.about-story p { color: var(--gray-700); line-height: 1.7; margin-bottom: 1rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.service-card { }
.service-icon { font-size: 2rem; margin-bottom: .75rem; }
.service-card h3 { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; }
.service-card p  { font-size: .875rem; color: var(--gray-600); line-height: 1.6; }

/* ── Contact page ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 2.5rem; align-items: start; }
.contact-sidebar .card-body h2 { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1.25rem; }
.contact-info-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.contact-info-list li { display: flex; align-items: flex-start; gap: .875rem; }
.contact-info-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: .125rem; }
.contact-info-list strong { display: block; font-size: .875rem; font-weight: 600; color: var(--gray-900); margin-bottom: .125rem; }
.contact-info-list a { color: var(--navy-600); font-size: .875rem; }
.contact-info-list span, .contact-info-list p { font-size: .875rem; color: var(--gray-600); }

/* Form */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .375rem; margin-bottom: 1rem; }
.form-label { font-size: .875rem; font-weight: 600; color: var(--gray-700); }
.form-label .required { color: var(--red-500, #ef4444); }
.form-input, .form-select, .form-textarea {
  padding: .6rem .875rem;
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-size: .9375rem;
  font-family: var(--font, inherit);
  color: var(--gray-900);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--navy-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-error { font-size: .8125rem; color: var(--red-500, #ef4444); display: flex; align-items: center; gap: .35rem; }
.form-privacy { font-size: .75rem; color: var(--gray-400); margin-bottom: .5rem; }
.form-required-note { font-size: .8125rem; color: var(--gray-400); margin-bottom: 1rem; }

/* Alerts */
.alert-success {
  background: #f0fdf4; border: 1px solid #86efac; border-radius: 8px;
  padding: 1rem 1.25rem; color: #14532d; font-size: .9375rem;
  display: flex; align-items: flex-start; gap: .625rem; margin-bottom: 1.25rem;
}
.alert-error {
  background: #fef2f2; border: 1px solid #fca5a5; border-radius: 8px;
  padding: 1rem 1.25rem; color: #7f1d1d; font-size: .9375rem;
  display: flex; align-items: flex-start; gap: .625rem; margin-bottom: 1.25rem;
}

/* Spinner inline */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

/* Honeypot */
.honeypot-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer { background: var(--gray-900); color: var(--gray-300); padding-top: 4rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-logo { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.footer-logo-text { font-size: 1rem; font-weight: 800; color: var(--white); }
.footer-tagline { font-size: .875rem; color: var(--gray-400); line-height: 1.6; max-width: 260px; }
.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.footer-nav-col h4 {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--white); margin-bottom: .875rem;
}
.footer-nav-col ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-nav-col a { font-size: .875rem; color: var(--gray-400); text-decoration: none; transition: color .15s; }
.footer-nav-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 1.25rem 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p { font-size: .8rem; color: var(--gray-500); }
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { font-size: .8rem; color: var(--gray-500); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--gray-300); }

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  white-space: nowrap;
}
.badge-blue  { background: #dbeafe; color: #1d4ed8; }
.badge-teal  { background: #ccfbf1; color: #0f766e; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-gray  { background: #f3f4f6; color: #4b5563; }
.badge-amber { background: #fef3c7; color: #b45309; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .65rem 1.375rem;
  border-radius: 8px;
  font-size: .9375rem; font-weight: 600;
  cursor: pointer; border: none;
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary { background: var(--navy-700, #1d4ed8); color: var(--white); }
.btn-primary:hover { background: var(--navy-800, #1e3a8a); color: var(--white); text-decoration: none; }
.btn-secondary { background: var(--white); color: var(--navy-700, #1d4ed8); border: 1.5px solid var(--navy-700, #1d4ed8); }
.btn-secondary:hover { background: var(--navy-50, #eff6ff); text-decoration: none; }
.btn-accent { background: linear-gradient(135deg, #0891b2, #0284c7); color: var(--white); }
.btn-accent:hover { background: linear-gradient(135deg, #0e7490, #0369a1); color: var(--white); text-decoration: none; }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--gray-600); border: 1px solid var(--gray-300); }
.btn-ghost:hover { background: var(--gray-50); color: var(--gray-900); text-decoration: none; }
.btn-sm { padding: .4rem .875rem; font-size: .8125rem; }
.btn-lg { padding: .875rem 2rem; font-size: 1.0625rem; }

/* ── Inquiry CTA block ──────────────────────────────────────── */
.inquiry-cta { background: linear-gradient(135deg, #0f2044, #1d4ed8); border-radius: 14px; }
.inquiry-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 2.5rem; flex-wrap: wrap;
}
.inquiry-cta-inner h3 { color: var(--white); font-size: 1.125rem; font-weight: 700; margin-bottom: .375rem; }
.inquiry-cta-inner p  { color: #93c5fd; font-size: .9375rem; }
.inquiry-cta-btns { display: flex; gap: .75rem; flex-shrink: 0; flex-wrap: wrap; }

/* ── Prose content ──────────────────────────────────────────── */
.prose-content { color: var(--gray-700); line-height: 1.75; font-size: .9375rem; }
.prose-content h2 { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin: 1.75rem 0 .75rem; }
.prose-content h3 { font-size: 1.05rem; font-weight: 600; color: var(--gray-900); margin: 1.25rem 0 .5rem; }
.prose-content p  { margin-bottom: 1rem; }
.prose-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-content ul li { margin-bottom: .4rem; }
.prose-content strong { font-weight: 600; color: var(--gray-900); }

/* ── Empty state ────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 3rem; background: var(--gray-50); border-radius: 12px; }
.empty-state p { color: var(--gray-500); margin-bottom: 1rem; }

/* ── 404 ────────────────────────────────────────────────────── */
.error-page { display: flex; align-items: center; justify-content: center; min-height: 70vh; padding: 2rem; }
.error-page-inner { text-align: center; max-width: 480px; }
.error-code { font-size: 7rem; font-weight: 900; color: var(--gray-200); line-height: 1; }
.error-title { font-size: 1.75rem; font-weight: 800; color: var(--gray-900); margin: .75rem 0; }
.error-message { font-size: 1rem; color: var(--gray-500); margin-bottom: 2rem; }
.error-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── No results ─────────────────────────────────────────────── */
.no-results {
  text-align: center;
  padding: 3rem;
  color: var(--gray-500);
  font-size: 1rem;
}

/* ── Additional responsive overrides ───────────────────────── */
@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .lang-switcher { display: none; }
  .mobile-menu-toggle { display: flex; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-circuit { display: none; }
  .stats-row { gap: 1.5rem; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .inquiry-cta-inner { flex-direction: column; }
  .brand-cards-grid { grid-template-columns: 1fr; }
  .solution-grid-lg { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero { padding: 3.5rem 0 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-row { grid-template-columns: repeat(2, 1fr); display: grid; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .error-code { font-size: 5rem; }
  .footer-nav { grid-template-columns: 1fr; }
  .detail-grid { gap: 1.5rem; }
  .card-body { padding: 1.25rem; }
  .inquiry-cta-inner { padding: 1.5rem; }
  .inquiry-cta-btns .btn { width: 100%; justify-content: center; }
  .product-grid { grid-template-columns: 1fr; }
  .nav-quote-cta { display: none; }
}
