/* ===========================================================
   LinkForge Technology - Global Stylesheet
   Tech-blue / light enterprise theme, fully responsive
   =========================================================== */

:root {
  --bg-0: #ffffff;
  --bg-1: #f5f8ff;
  --bg-2: #eaf1ff;
  --surface: #ffffff;
  --surface-2: #f5f8ff;
  --border: #dbe4f5;
  --text: #0c1a36;
  --text-dim: #4a5878;
  --muted: #6b7895;
  --primary: #143A98;
  --primary-2: #0e2a76;
  --accent: #2d5fd8;
  --success: #1aa05a;
  --danger: #d63b58;
  --gradient: linear-gradient(135deg, #143A98 0%, #2d5fd8 100%);
  --shadow-lg: 0 20px 50px rgba(20, 50, 130, 0.12);
  --shadow-md: 0 8px 22px rgba(20, 50, 130, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --max-w: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ============= Navigation ============= */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.nav-inner .brand { margin-right: auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); }
.brand-logo { width: 44px; height: 44px; display: grid; place-items: center; flex-shrink: 0; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-text { font-weight: 800; font-size: 1.15rem; color: var(--text); letter-spacing: -0.3px; white-space: nowrap; }
.brand-text-2 { font-weight: 500; color: var(--text-dim); }
@media (max-width: 480px) { .brand-text-2 { display: none; } }
.brand-logo {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-text {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.brand-text-2 {
  font-weight: 500;
  color: var(--text-dim);
}
@media (max-width: 480px) {
  .brand-text-2 { display: none; }
}
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-dim); font-weight: 500; font-size: 0.95rem; position: relative; padding: 6px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--gradient); border-radius: 2px;
}
.nav-cta {
  background: var(--gradient); color: white !important;
  padding: 10px 18px; border-radius: 8px; font-weight: 600;
  box-shadow: 0 4px 14px rgba(20, 58, 152, 0.45);
}
.nav-cta:hover { color: white !important; transform: translateY(-1px); }
.nav-signin {
  border: 1px solid var(--border) !important;
  padding: 9px 18px;
  border-radius: 8px;
  color: var(--text) !important;
  font-weight: 600;
}
.nav-signin:hover { border-color: var(--primary-2) !important; background: rgba(20,58,152,0.06); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 4px; }
.nav-toggle svg { width: 28px; height: 28px; }

/* Action icons (cart, search, telegram) */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all .2s ease;
}
.nav-actions a:hover { border-color: var(--primary-2); color: var(--primary); }
.nav-actions svg { width: 18px; height: 18px; }

/* Shop dropdown / mega menu */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.has-dropdown > a::after {
  content: ""; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.has-dropdown:hover > a::after, .has-dropdown.open > a::after { transform: rotate(225deg) translateY(0); }

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 880px;
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility 0s .2s;
  z-index: 200;
}
/* Invisible hover bridge so cursor doesn't lose hover when moving from "Shop" to the menu */
.mega-menu::before {
  content: "";
  position: absolute;
  top: -20px; left: 0; right: 0; height: 20px;
  background: transparent;
}
.has-dropdown:hover .mega-menu, .has-dropdown.open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.mega-col h6 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.mega-col ul { list-style: none; padding: 0; margin: 0; }
.mega-col li { padding: 0; }
.mega-col a {
  display: block;
  padding: 8px 0;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.mega-col a:hover { color: var(--primary); }
@media (max-width: 980px) {
  .mega-menu { min-width: auto; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px; }
}

/* ============= Buttons ============= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn-primary { background: var(--gradient); color: white; box-shadow: 0 8px 24px rgba(20, 58, 152, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(20, 58, 152, 0.55); color: white; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--primary-2); background: rgba(20, 58, 152, 0.08); color: var(--text); }

/* ============= Hero (refined split layout) ============= */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero-orb-1 {
  width: 480px; height: 480px;
  top: -120px; right: -100px;
  background: radial-gradient(circle, rgba(45,95,216,0.35), transparent 70%);
  animation: orbFloat 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: 380px; height: 380px;
  bottom: -100px; left: -80px;
  background: radial-gradient(circle, rgba(20,58,152,0.28), transparent 70%);
  animation: orbFloat 18s ease-in-out infinite reverse;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,40,90,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,40,90,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
}
@keyframes orbFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(20px,-30px) scale(1.05); }
}

.hero .container { position: relative; z-index: 1; }

.hero-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 56px;
}

.hero-copy { max-width: 560px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(20, 58, 152, 0.08);
  border: 1px solid rgba(20, 58, 152, 0.18);
  color: var(--primary); font-size: 0.82rem; font-weight: 600;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(26,160,90,0.18);
  animation: pulse 2s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  color: var(--text);
}
.hero h1 .grad, .stat .num .grad {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-stats { display: flex; gap: 32px; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.stat .num { font-size: 1.8rem; font-weight: 800; color: var(--text); line-height: 1; }
.stat .lab { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

/* Avatars + meta */
.hero-meta {
  display: flex; align-items: center; gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-avatars { display: flex; }
.hero-avatars .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 700; color: white;
  border: 2px solid #fff;
  margin-left: -10px;
  box-shadow: 0 2px 6px rgba(20,50,130,0.15);
}
.hero-avatars .avatar:first-child { margin-left: 0; }
.hero-avatars .a1 { background: linear-gradient(135deg,#143A98,#2d5fd8); }
.hero-avatars .a2 { background: linear-gradient(135deg,#1aa05a,#16c47f); }
.hero-avatars .a3 { background: linear-gradient(135deg,#d63b58,#f06292); }
.hero-avatars .a4 { background: linear-gradient(135deg,#6b7895,#4a5878); }
.hero-meta-text { display: flex; flex-direction: column; }
.hero-meta-text strong { font-size: 0.92rem; color: var(--text); font-weight: 700; }
.hero-meta-text span { font-size: 0.78rem; color: var(--muted); }

/* ============= Hero Visual (orbital cloud hub) ============= */
.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.orbit-stage {
  position: relative;
  width: 460px;
  height: 460px;
  max-width: 100%;
}

/* Concentric rings */
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(20,58,152,0.2);
  transform: translate(-50%, -50%);
}
.orbit-ring-outer { width: 440px; height: 440px; border-color: rgba(20,58,152,0.15); }
.orbit-ring-mid   { width: 300px; height: 300px; border-color: rgba(20,58,152,0.22); }
.orbit-ring-inner { width: 180px; height: 180px; border-style: solid; border-color: rgba(20,58,152,0.08); }

/* Center cloud */
.orbit-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 150px; height: 150px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffffff 0%, #eaf1ff 100%);
  box-shadow:
    0 20px 60px rgba(20,58,152,0.25),
    0 0 0 1px rgba(20,58,152,0.1),
    inset 0 0 30px rgba(45,95,216,0.06);
  z-index: 5;
}
.orbit-core svg { width: 64px; height: 64px; filter: drop-shadow(0 6px 12px rgba(20,58,152,0.3)); }
.orbit-core-label {
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: center;
}

/* Rotors hold orbiting icons and spin */
.orbit-rotor {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-rotor-mid {
  width: 300px; height: 300px;
  animation: orbitSpin 28s linear infinite;
}
.orbit-rotor-outer {
  width: 440px; height: 440px;
  animation: orbitSpin 40s linear infinite reverse;
}
@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotate(0); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Icon chips on the orbits */
.orbit-icon {
  position: absolute;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(20,50,130,0.14);
  display: grid; place-items: center;
  pointer-events: auto;
  /* counter-rotate so icons stay upright */
  animation: orbitCounterMid 28s linear infinite;
}
.orbit-rotor-outer .orbit-icon {
  animation: orbitCounterOuter 40s linear infinite;
}
@keyframes orbitCounterMid {
  from { transform: rotate(0); }
  to   { transform: rotate(-360deg); }
}
@keyframes orbitCounterOuter {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}
.orbit-icon svg { width: 24px; height: 24px; }

/* Position icons around their rings.
   Mid ring (300px → radius 150) — 4 icons at N/E/S/W */
.orbit-rotor-mid .orbit-icon-1 { top: -26px; left: calc(50% - 26px); }            /* top */
.orbit-rotor-mid .orbit-icon-2 { top: calc(50% - 26px); right: -26px; }           /* right */
.orbit-rotor-mid .orbit-icon-3 { bottom: -26px; left: calc(50% - 26px); }         /* bottom */
.orbit-rotor-mid .orbit-icon-4 { top: calc(50% - 26px); left: -26px; }            /* left */

/* Outer ring (440px → radius 220) — 4 icons at NE/SE/SW/NW
   sin/cos at 45°: 0.7071 → offset = 220 * 0.7071 = ~155.6 from center
   In a 440px box, center = 220, so corners at 220 ± 155.6 = 64.4 / 375.6 → minus 26 (half icon) */
.orbit-rotor-outer .orbit-icon-5 { top: 38px;   right: 38px; }                    /* NE */
.orbit-rotor-outer .orbit-icon-6 { bottom: 38px; right: 38px; }                   /* SE */
.orbit-rotor-outer .orbit-icon-7 { bottom: 38px; left: 38px; }                    /* SW */
.orbit-rotor-outer .orbit-icon-8 { top: 38px;   left: 38px; }                     /* NW */

/* Soft pulse rings emanating from center */
.orbit-pulse {
  position: absolute;
  top: 50%; left: 50%;
  width: 150px; height: 150px;
  border-radius: 50%;
  border: 2px solid rgba(45,95,216,0.4);
  transform: translate(-50%, -50%);
  animation: orbitPulse 3.5s ease-out infinite;
  pointer-events: none;
}
.orbit-pulse-2 { animation-delay: 1.75s; }
@keyframes orbitPulse {
  0%   { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(2.4); }
}

/* Trust row (now beneath the split) */
.hero-trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 36px;
  padding: 22px 32px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  max-width: 920px;
  margin: 0 auto;
}
.hero-trust-row .trust-item {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  min-width: 110px;
}
.hero-trust-row .trust-item strong {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-trust-row .trust-item span {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 4px;
}
.hero-trust-row .trust-divider {
  width: 1px; height: 36px;
  background: var(--border);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-copy { max-width: 100%; text-align: center; margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-visual { height: auto; min-height: 380px; }
}
@media (max-width: 700px) {
  .hero { padding: 50px 0 40px; }
  .hero-trust-row .trust-divider { display: none; }
  .hero-trust-row { padding: 18px 20px; gap: 14px; }
  .hero-trust-row .trust-item { min-width: 130px; }
  .orbit-stage { width: 360px; height: 360px; }
  .orbit-ring-outer, .orbit-rotor-outer { width: 340px; height: 340px; }
  .orbit-ring-mid, .orbit-rotor-mid { width: 230px; height: 230px; }
  .orbit-ring-inner { width: 140px; height: 140px; }
  .orbit-core { width: 120px; height: 120px; }
  .orbit-core svg { width: 50px; height: 50px; }
  .orbit-rotor-outer .orbit-icon-5,
  .orbit-rotor-outer .orbit-icon-6,
  .orbit-rotor-outer .orbit-icon-7,
  .orbit-rotor-outer .orbit-icon-8 { /* recompute corner offsets for 340 box */ }
  .orbit-rotor-outer .orbit-icon-5 { top: 24px; right: 24px; bottom: auto; left: auto; }
  .orbit-rotor-outer .orbit-icon-6 { bottom: 24px; right: 24px; top: auto; left: auto; }
  .orbit-rotor-outer .orbit-icon-7 { bottom: 24px; left: 24px; top: auto; right: auto; }
  .orbit-rotor-outer .orbit-icon-8 { top: 24px; left: 24px; bottom: auto; right: auto; }
}
@media (max-width: 480px) {
  .orbit-stage { width: 300px; height: 300px; }
}





















@media (max-width: 540px) {
  
  
}
50% { transform: translateY(-12px); } }
.led { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); display: inline-block; }
.rack-row {
  display: flex; align-items: center; gap: 8px; padding: 10px;
  background: rgba(20,40,90,0.04); border-radius: 6px; margin-bottom: 6px;
  font-size: 0.75rem; color: var(--text-dim); font-family: 'JetBrains Mono', monospace;
}
.rack-row .bar { flex: 1; height: 4px; background: rgba(20,40,90,0.08); border-radius: 2px; overflow: hidden; position: relative; }
.rack-row .bar::after { content: ""; position: absolute; inset: 0; width: 60%; background: var(--gradient); border-radius: 2px; animation: load 3s ease-in-out infinite alternate; }
@keyframes load { from { width: 30%; } to { width: 85%; } }

/* ============= Sections ============= */
section { padding: 56px 0; position: relative; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 36px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; line-height: 1.2; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-1) 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,58,152,0.06), transparent 60%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: rgba(20,58,152,0.5); box-shadow: var(--shadow-md); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(20, 58, 152, 0.12); border: 1px solid rgba(20, 58, 152, 0.25);
  display: grid; place-items: center; margin-bottom: 16px; color: var(--primary-2);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; font-weight: 700; }
.card p { color: var(--text-dim); font-size: 0.95rem; }
.card ul { list-style: none; margin-top: 14px; }
.card ul li { color: var(--text-dim); font-size: 0.9rem; padding: 6px 0; display: flex; gap: 8px; align-items: flex-start; }
.card ul li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: 8px; }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-list { list-style: none; }
.feature-list li { padding: 18px 0; display: flex; gap: 16px; border-bottom: 1px solid var(--border); }
.feature-list li:last-child { border-bottom: none; }
.feature-list .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(45,95,216,0.10); border: 1px solid rgba(45,95,216,0.28);
  display: grid; place-items: center; flex-shrink: 0; color: var(--accent);
}
.feature-list .icon svg { width: 22px; height: 22px; }
.feature-list h4 { font-size: 1.05rem; margin-bottom: 4px; }
.feature-list p { color: var(--text-dim); font-size: 0.92rem; }

.feature-visual {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border); border-radius: 20px;
  padding: 32px; position: relative; overflow: hidden;
}
.feature-visual::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 80% 0%, rgba(45,95,216,0.10), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(20,58,152,0.08), transparent 70%);
  pointer-events: none;
}
.metric { position: relative; display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(20,40,90,0.06); font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; }
.metric:last-child { border-bottom: none; }
.metric .v { color: var(--accent); }

.cta-strip {
  margin: 24px auto;
  background: linear-gradient(135deg, rgba(20,58,152,0.10), rgba(45,95,216,0.08));
  border: 1px solid rgba(20,58,152,0.25);
  border-radius: 20px; padding: 40px 36px; text-align: center; max-width: var(--max-w);
}
.cta-strip h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; letter-spacing: -0.5px; }
.cta-strip p { color: var(--text-dim); margin-bottom: 24px; }
.cta-strip .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.page-header {
  padding: 56px 0 40px;
  background:
    radial-gradient(50% 80% at 50% 0%, rgba(20,58,152,0.10), transparent 70%),
    var(--bg-0);
  text-align: center; border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -1.2px; margin-bottom: 14px; font-weight: 800; }
.page-header p { color: var(--text-dim); max-width: 680px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }

.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mv-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.mv-card .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--gradient); display: grid; place-items: center; margin-bottom: 18px; color: white; }
.mv-card .ico svg { width: 28px; height: 28px; }
.mv-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.mv-card p { color: var(--text-dim); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { text-align: center; padding: 28px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.value .num { font-size: 1.6rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; }
.value h4 { margin-bottom: 6px; }
.value p { color: var(--text-dim); font-size: 0.9rem; }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story h2 { font-size: 2rem; letter-spacing: -1px; margin-bottom: 16px; }
.story p { color: var(--text-dim); margin-bottom: 14px; }

.product-cat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 280px 1fr; }
.product-cat + .product-cat { margin-top: 24px; }
.product-cat .visual { background: linear-gradient(135deg, var(--bg-1), var(--surface-2)); display: grid; place-items: center; padding: 32px; position: relative; overflow: hidden; }
.product-cat .visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 50%, rgba(45,95,216,0.12), transparent 70%); }
.product-cat .visual .ico { width: 100px; height: 100px; border-radius: 24px; background: var(--gradient); display: grid; place-items: center; color: white; position: relative; box-shadow: var(--shadow-lg); }
.product-cat .visual .ico svg { width: 50px; height: 50px; }
.product-cat .body { padding: 32px; }
.product-cat h3 { font-size: 1.4rem; margin-bottom: 8px; }
.product-cat .body > p { color: var(--text-dim); margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: rgba(20,58,152,0.12); border: 1px solid rgba(20,58,152,0.3); color: var(--primary-2); padding: 5px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 500; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.contact-info h3 { margin-bottom: 8px; }
.contact-info > p { color: var(--text-dim); margin-bottom: 28px; }
.info-item { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.info-item:last-child { border-bottom: none; }
.info-item .ico { width: 42px; height: 42px; border-radius: 10px; background: rgba(45,95,216,0.10); border: 1px solid rgba(45,95,216,0.28); display: grid; place-items: center; flex-shrink: 0; color: var(--accent); }
.info-item .ico svg { width: 20px; height: 20px; }
.info-item .lab { color: var(--muted); font-size: 0.82rem; margin-bottom: 2px; }
.info-item .val { color: var(--text); font-weight: 500; }
.info-item a { color: var(--text); }
.info-item a:hover { color: var(--accent); }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 8px; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; background: var(--bg-1); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font: inherit; font-size: 0.95rem; transition: border-color .2s ease, background .2s ease; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary-2); background: rgba(20,58,152,0.04); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 0.9rem; display: none; }
.form-msg.success { background: rgba(26,160,90,0.10); border: 1px solid rgba(26,160,90,0.3); color: var(--success); display: block; }

.footer { background: var(--bg-1); border-top: 1px solid var(--border); padding: 60px 0 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h5 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; color: var(--text-dim); }
.footer ul { list-style: none; }
.footer ul li { padding: 5px 0; color: var(--muted); font-size: 0.92rem; }
.footer ul a { color: var(--muted); font-size: 0.92rem; }
.footer ul a:hover { color: var(--accent); }
.footer .about-col p { color: var(--muted); font-size: 0.92rem; margin: 12px 0 16px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-dim); transition: all .2s ease; }
.socials a:hover { border-color: var(--primary-2); color: var(--accent); transform: translateY(-2px); }
.socials a svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--muted); flex-wrap: wrap; gap: 12px; }

/* ============= Product cards (e-commerce) ============= */
.product-grid {
  display: grid;
  /* Fluid: as many 240px+ cards as fit, otherwise wrap. Keeps cards
     readable in both the sidebar layout (~940px right pane) and full-width
     pages like the home page. */
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(20, 58, 152, 0.25);
}
.product-card .img-placeholder {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eef3ff 0%, #dbe4f5 100%);
  display: grid; place-items: center;
  color: rgba(20, 58, 152, 0.3);
  overflow: hidden;
}
.product-card .img-placeholder svg { width: 64px; height: 64px; }
.product-card .img-placeholder img {
  width: 100%; height: 100%; object-fit: contain; padding: 14px;
  transition: transform .35s ease;
}
.product-card:hover .img-placeholder img { transform: scale(1.06); }

/* Card top-left badges (Sale / New) */
.card-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex; gap: 6px;
  z-index: 2;
}
.badge-sale, .badge-new {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  color: white;
}
.badge-sale { background: var(--danger); }
.badge-new  { background: var(--success); }

/* Hover-only "Quick Inquiry" overlay */
.card-hover-actions {
  position: absolute;
  inset: auto 0 0 0;
  padding: 12px;
  display: flex; justify-content: center;
  background: linear-gradient(to top, rgba(20,58,152,0.85) 0%, rgba(20,58,152,0) 100%);
  opacity: 0; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.product-card:hover .card-hover-actions { opacity: 1; transform: translateY(0); }
.hover-btn {
  background: white;
  color: var(--primary) !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .8rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.hover-btn:hover { background: var(--primary-2); color: white !important; }

.product-card .body {
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-brand-row { margin-bottom: 8px; }
.badge-brand {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(20, 58, 152, 0.08);
  padding: 3px 9px;
  border-radius: 999px;
}
.product-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  min-height: 2.8em;
  margin-bottom: 8px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-desc {
  font-size: .8rem;
  color: var(--text-dim);
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .price-row {
  margin-bottom: 14px;
  margin-top: auto;
  min-height: 1.5em;
}
.product-card .price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}
.product-card .price-ask {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-dim);
}
.product-card .view-btn {
  display: block;
  text-align: center;
  background: var(--primary);
  color: white !important;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}
.product-card .view-btn:hover { background: var(--primary-2); color: white !important; }

/* ============= Shop toolbar (search / brand chips / sort) ============= */
.shop-toolbar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}
.shop-toolbar-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.shop-toolbar-row + .shop-toolbar-row { margin-top: 14px; }

.shop-search {
  position: relative;
  flex: 1;
  min-width: 240px;
}
.shop-search svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--muted);
  pointer-events: none;
}
.shop-search-input {
  width: 100%;
  padding: 11px 14px 11px 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-1);
  font-family: inherit;
  font-size: .92rem;
  color: var(--text);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.shop-search-input:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(20, 58, 152, 0.12);
}

.shop-sort {
  padding: 10px 36px 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-1) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5878' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 12px center / 16px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.shop-sort:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(20, 58, 152, 0.12);
}

.chips-row { row-gap: 8px; }
.brand-chip {
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-dim);
  cursor: pointer;
  transition: all .2s ease;
}
.brand-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.brand-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.shop-result-count {
  margin-top: 14px;
  font-size: .85rem;
  color: var(--text-dim);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-dim);
  padding: 50px 20px;
  background: var(--bg-1);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}
.empty-state a { color: var(--primary); font-weight: 600; }

/* Category grid (4 big cards) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.category-card {
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .3s ease, box-shadow .3s ease;
  text-align: center;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.category-card .ico {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--gradient);
  display: grid; place-items: center;
  color: white;
  margin: 0 auto 14px;
}
.category-card .ico svg { width: 28px; height: 28px; }
.category-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.category-card p { font-size: 0.85rem; color: var(--text-dim); margin: 0; }

/* .product-grid is fluid via auto-fill above. Keep category-grid responsive: */
@media (max-width: 980px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .category-grid { grid-template-columns: 1fr; }
}

/* Section heading row with "See all" link */
.section-row-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 32px; gap: 20px; flex-wrap: wrap;
}
.section-row-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.5px; margin-bottom: 4px; }
.section-row-head p { color: var(--text-dim); font-size: 0.95rem; margin: 0; }
.section-row-head .see-all {
  color: var(--primary); font-weight: 600; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ============= Reveal animation =============
   Content visible by default; fade-in only enabled when JS is running.
*/
.js-on .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js-on .reveal.in { opacity: 1; transform: translateY(0); }

/* ============= Responsive ============= */
@media (max-width: 960px) {
  .hero-inner, .feature-row, .story, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .product-cat { grid-template-columns: 1fr; }
  .product-cat .visual { padding: 50px; }
}
@media (max-width: 720px) {
  .nav-inner { padding: 14px 20px; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-1); flex-direction: column;
    padding: 20px; gap: 6px; border-bottom: 1px solid var(--border);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: all .25s ease;
  }
  .nav-links a { display: block; padding: 12px 8px; border-radius: 8px; width: 100%; }
  .nav-links a:hover { background: var(--surface); }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: block; }
  .hero { padding: 50px 0 40px; }
  section { padding: 40px 0; }
  .grid-3, .grid-2, .grid-4, .values-grid, .mv-grid, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============= Card actions row (View Details + Inquiry) ============= */
.card-imglink { display: block; }
.card-title-link { color: inherit; }
.card-title-link:hover h4 { color: var(--primary); }
.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.card-actions .view-btn {
  flex: 1;
  margin: 0;
  font-size: .85rem;
  padding: 9px 10px;
  white-space: nowrap; /* prevent "View Details" wrapping in narrow cards */
}
.inq-btn {
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  padding: 9px 12px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s ease;
  flex-shrink: 0;
}
/* In very narrow cards, stack the two buttons */
@media (max-width: 1100px) {
  .shop-layout .card-actions { flex-direction: column; }
  .shop-layout .card-actions .view-btn,
  .shop-layout .card-actions .inq-btn { width: 100%; text-align: center; }
}
.inq-btn:hover {
  background: rgba(20, 58, 152, 0.08);
}
.inq-btn.added {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

/* ============= Navbar cart count badge ============= */
.nav-cart { position: relative; }
.nav-cart .cart-count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--danger);
  color: white;
  font-size: .68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 0 0 2px var(--bg-0);
}

/* ============= Product Detail page ============= */
.pd-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 24px;
}
.pd-img {
  position: relative;
  background: linear-gradient(135deg, #eef3ff 0%, #dbe4f5 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: rgba(20, 58, 152, 0.3);
}
.pd-img img {
  width: 100%; height: 100%; object-fit: contain; padding: 30px;
}
.pd-img svg { width: 120px; height: 120px; }
.pd-img .card-badges {
  position: absolute;
  top: 16px; left: 16px;
}
.pd-info { padding-top: 8px; }
.pd-brand-row { margin-bottom: 14px; }
.pd-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 14px;
}
.pd-desc {
  font-size: 1.02rem;
  color: var(--text-dim);
  margin-bottom: 22px;
  line-height: 1.65;
}
.pd-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.pd-price-ask {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.pd-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 28px;
}
.pd-actions .btn { flex: 1; min-width: 180px; justify-content: center; }
.inq-btn-lg.added {
  background: var(--success) !important;
  box-shadow: 0 8px 24px rgba(26, 160, 90, 0.35);
}
.pd-meta {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  margin-bottom: 22px;
}
.pd-meta div {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  font-size: .92rem;
}
.pd-meta div span {
  color: var(--text-dim);
  font-weight: 500;
}
.pd-trust { display: grid; gap: 10px; }
.pd-trust div {
  font-size: .92rem;
  color: var(--text-dim);
  display: flex;
  gap: 10px;
  align-items: center;
}
.pd-trust strong {
  color: var(--success);
  font-size: 1rem;
}
.pd-related { margin-top: 60px; }
.pd-related h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}
@media (max-width: 800px) {
  .pd-layout { grid-template-columns: 1fr; gap: 30px; }
}

/* ============= Inquiry list page ============= */
.inq-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 12px;
}
.inq-list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.inq-list-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
}
.inq-clear {
  font-family: inherit;
  font-size: .85rem;
  color: var(--danger);
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
}
.inq-clear:hover { text-decoration: underline; }
.inq-row {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.inq-row:last-child { border-bottom: none; }
.inq-img {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #eef3ff 0%, #dbe4f5 100%);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  color: rgba(20, 58, 152, 0.3);
  overflow: hidden;
}
.inq-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.inq-img svg { width: 32px; height: 32px; }
.inq-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.inq-info .badge-brand { align-self: flex-start; }
.inq-name {
  font-weight: 600;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.4;
}
.inq-name:hover { color: var(--primary); }
.inq-cat { font-size: .8rem; color: var(--text-dim); }
.inq-price .price {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
}
.inq-price .price-ask {
  font-size: .85rem;
  color: var(--text-dim);
  font-weight: 600;
}
.inq-remove {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .2s ease;
}
.inq-remove:hover {
  background: var(--danger);
  border-color: var(--danger);
  color: white;
}
.inq-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 90px;
}
.inq-form h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.inq-form-sub {
  color: var(--text-dim);
  font-size: .9rem;
  margin-bottom: 20px;
}
.inq-form .form-msg {
  margin-top: 14px;
  font-size: .92rem;
  color: var(--text-dim);
  text-align: center;
}
.inq-form .form-msg.success {
  color: var(--success);
  font-weight: 600;
}
@media (max-width: 800px) {
  .inq-layout { grid-template-columns: 1fr; }
  .inq-form { position: static; }
  .inq-row { grid-template-columns: 60px 1fr auto; }
  .inq-row .inq-price { grid-column: 2 / 3; }
  .inq-img { width: 60px; height: 60px; }
}

/* ============= Legal pages (Privacy / Terms) ============= */
article.legal {
  padding: 20px 0 60px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}
article.legal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text);
  margin: 32px 0 10px;
}
article.legal h2:first-child { margin-top: 0; }
article.legal p { margin: 0 0 14px; color: var(--text-dim); }
article.legal ul {
  margin: 0 0 14px 0;
  padding-left: 22px;
  color: var(--text-dim);
}
article.legal li { margin: 4px 0; }
article.legal a { color: var(--primary); font-weight: 500; }
article.legal a:hover { color: var(--accent); }
article.legal strong { color: var(--text); font-weight: 600; }

/* ============= Search overlay ============= */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 54, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px 20px;
  opacity: 0;
  transition: opacity .2s ease;
}
.search-overlay.open { display: flex; opacity: 1; }
.search-panel {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.30);
  animation: search-pop .2s ease;
}
@keyframes search-pop {
  from { transform: translateY(-12px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.search-close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.6rem;
  font-weight: 300;
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  line-height: 1;
}
.search-close:hover { background: var(--bg-1); color: var(--text); }

.search-bar {
  position: relative;
  padding: 20px 56px 20px 20px;
  border-bottom: 1px solid var(--border);
}
.search-bar svg {
  position: absolute;
  left: 32px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px;
  color: var(--muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 12px 14px 12px 36px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  outline: none;
}
.search-input::placeholder { color: var(--muted); font-weight: 400; }

.search-results {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}
.search-hint {
  padding: 32px 20px;
  text-align: center;
  color: var(--text-dim);
  font-size: .95rem;
}
.search-hint kbd {
  display: inline-block;
  padding: 2px 8px;
  margin: 0 2px;
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--bg-1);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: .8rem;
  font-weight: 600;
}
.search-hint a { color: var(--primary); font-weight: 600; }

.search-count {
  padding: 8px 14px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--muted);
}

.search-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  align-items: center;
  color: var(--text);
  transition: background .15s ease;
}
.search-item:hover { background: var(--bg-1); color: var(--text); }
.search-thumb {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #eef3ff 0%, #dbe4f5 100%);
  border-radius: 8px;
  display: grid; place-items: center;
  color: rgba(20, 58, 152, 0.3);
  overflow: hidden;
}
.search-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.search-thumb svg { width: 24px; height: 24px; }
.search-meta { min-width: 0; }
.search-name {
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.3;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-sub { color: var(--text-dim); font-size: .8rem; }
.search-price {
  font-weight: 800;
  color: var(--primary);
  font-size: .95rem;
  white-space: nowrap;
}
.search-price-ask {
  font-size: .8rem;
  color: var(--text-dim);
  font-style: italic;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .search-overlay { padding-top: 40px; }
  .search-panel { max-height: calc(100vh - 60px); }
}

/* ============= Stock badges ============= */
.stock-row {
  margin-bottom: 10px;
  font-size: .8rem;
}
.pd-stock {
  margin: 0 0 18px;
}
.stk-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .2px;
  padding: 3px 10px;
  border-radius: 999px;
  line-height: 1.4;
}
.stk-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.stk-in   { background: rgba(26,160,90,.10); color: var(--success); }
.stk-low  { background: rgba(224,138,0,.12); color: #c97400; }
.stk-blue { background: rgba(45,95,216,.10); color: var(--accent); }
.stk-out  { background: rgba(214,59,88,.10); color: var(--danger); }
.stk-gone { background: rgba(90,106,138,.12); color: var(--muted); }

/* On detail page show a slightly larger version */
.pd-stock .stk-badge { font-size: .82rem; padding: 5px 12px; }

/* ============= Form message banners (used on signup/signin/contact) ============= */
.form-msg {
  margin-top: 14px;
  padding: 0;
  font-size: 0.92rem;
  color: var(--text-dim);
  text-align: center;
  min-height: 1.4em;
  transition: all .2s ease;
}
.form-msg:not(:empty) {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 500;
  text-align: left;
}
.form-msg:not(:empty):not(.success) {
  background: rgba(214, 59, 88, 0.08);
  color: var(--danger);
  border: 1px solid rgba(214, 59, 88, 0.25);
}
.form-msg.success {
  background: rgba(26, 160, 90, 0.08);
  color: var(--success);
  border: 1px solid rgba(26, 160, 90, 0.25);
}
.form-msg a { color: inherit; font-weight: 700; text-decoration: underline; }


/* ============= Telegram floating chat widget ============= */
.tg-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #229ED9;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(34, 158, 217, 0.45);
  z-index: 999;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tg-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 26px rgba(34, 158, 217, 0.6);
}
.tg-widget svg { width: 28px; height: 28px; }
.tg-widget-tip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--text);
  color: white;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.tg-widget:hover .tg-widget-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 540px) {
  .tg-widget { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .tg-widget-tip { display: none; }
}

/* ============= Brand strip (under hero) ============= */
.brand-strip {
  margin-top: 50px;
  padding-top: 32px;
  border-top: 1px dashed var(--border);
  text-align: center;
}
.brand-strip-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 18px;
}
.brand-strip-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 36px;
}
.brand-strip-logos span {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.5px;
  color: var(--text-dim);
  opacity: 0.55;
  transition: opacity .2s ease, color .2s ease;
}
.brand-strip-logos span:hover {
  opacity: 1;
  color: var(--primary);
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: .7; }
}

/* ============================================================
   SHOP PAGE — sidebar filter layout (Categories + Brands)
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
  margin: 24px 0 60px;
}
.shop-sidebar {
  position: sticky;
  top: 80px;
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  font-size: 0.92rem;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.shop-sidebar h4 {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 1rem; font-weight: 700; margin: 0 0 4px;
  color: var(--text);
}
.shop-sidebar h4 .clear-all {
  font-size: 0.78rem; font-weight: 600; color: var(--accent);
  cursor: pointer; background: none; border: none;
}
.shop-sidebar h4 .clear-all:hover { text-decoration: underline; }
.shop-sidebar hr {
  border: none; border-top: 1px solid var(--border);
  margin: 14px 0 12px;
}
.filter-group { margin-top: 14px; }
.filter-group h5 {
  font-size: 0.94rem; font-weight: 700; color: var(--text);
  margin: 0 0 10px; display: flex; justify-content: space-between; align-items: center;
}
.filter-search {
  width: 100%; padding: 7px 10px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface-2, #f5f8ff);
  font-size: 0.85rem; margin-bottom: 8px;
}
.filter-search:focus {
  outline: none; border-color: var(--primary-2);
  background: var(--surface, #fff);
}
.filter-list {
  list-style: none; margin: 0; padding: 0;
  max-height: 280px; overflow-y: auto;
}
.filter-list li {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0; font-size: 0.85rem;
  color: var(--text);
}
.filter-list li:hover { color: var(--primary-2); }
.filter-list label {
  flex: 1; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  user-select: none;
}
.filter-list input[type="checkbox"] {
  width: 16px; height: 16px; cursor: pointer; accent-color: var(--primary);
}
.filter-list .filter-name { flex: 1; }
.filter-list .filter-count {
  font-weight: 700; color: var(--muted);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}
.filter-show-more {
  background: none; border: none; cursor: pointer;
  font-size: 0.82rem; color: var(--text-dim);
  padding: 6px 0; margin-top: 4px; font-weight: 600;
}
.filter-show-more:hover { color: var(--primary-2); }

.shop-main { min-width: 0; }
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.shop-toolbar .result-count {
  font-size: 0.92rem; color: var(--text-dim);
}
.shop-toolbar .result-count strong { color: var(--text); }
.shop-toolbar .applied-filters {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.applied-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(20, 58, 152, 0.08); color: var(--primary);
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600;
}
.applied-chip button {
  background: none; border: none; cursor: pointer;
  color: var(--primary); font-size: 1rem; line-height: 1;
  padding: 0 0 0 2px;
}
.applied-chip button:hover { color: var(--danger); }

.shop-empty {
  grid-column: 1 / -1;
  text-align: center; padding: 60px 30px;
  color: var(--text-dim);
}
.shop-empty h3 { color: var(--text); margin-bottom: 8px; }

/* Per-page selector inside the toolbar */
.shop-toolbar .per-page {
  display: flex; align-items: center;
  font-size: 0.88rem; color: var(--text-dim);
}
.shop-toolbar .per-page label {
  display: inline-flex; align-items: center; gap: 6px;
}
.shop-toolbar .per-page select {
  padding: 5px 8px; border: 1px solid var(--border); border-radius: 6px;
  background: white; font: inherit; font-size: 0.88rem;
  cursor: pointer;
}

/* Pagination */
.pager {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  margin-top: 28px;
}
.pager-btn {
  background: white; border: 1px solid var(--border); color: var(--text);
  padding: 8px 12px; min-width: 38px; border-radius: 8px;
  font: inherit; font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: all .15s ease;
}
.pager-btn:hover:not(:disabled):not(.is-current) {
  border-color: var(--primary); color: var(--primary);
}
.pager-btn.is-current {
  background: var(--primary); border-color: var(--primary); color: white;
  cursor: default;
}
.pager-btn:disabled {
  opacity: 0.4; cursor: not-allowed;
}
.pager-gap {
  display: inline-flex; align-items: center;
  padding: 0 4px; color: var(--text-dim);
}

@media (max-width: 880px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar {
    position: static;
    max-height: none;
  }
}

/* ===== Mobile nav: show Contact + Sign in inside the menu ===== */
.mobile-only { display: none; }

@media (max-width: 720px) {
  .nav-links .mobile-only { display: list-item; }
  .nav-signin,
  .nav-cta { display: none !important; }
}


/* Pillar headings on the homepage solutions section */
.pillar-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin: 36px 0 18px;
  letter-spacing: -0.5px;
}
