/* ============================================================
   RICHING — Global Trade Site (EN) · app.css
   Deep-navy / sky-blue brand · dynamic, glass, motion-rich
   ============================================================ */

:root {
  --bg: #050b16;
  --bg-2: #0a192f;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #e8eef8;
  --muted: #93a4bd;
  --faint: #64748b;
  --sky: #0ea5e9;
  --sky-2: #38bdf8;
  --blue: #2563eb;
  --gold: #fbbf24;
  --green: #22c55e;
  --red: #ef4444;
  --grad: linear-gradient(100deg, #38bdf8, #2563eb);
  --shadow: 0 20px 60px rgba(2, 8, 23, 0.55);
  --glow: 0 0 0 1px rgba(56, 189, 248, 0.35), 0 8px 40px rgba(14, 165, 233, 0.35);
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-d: "Sora", "Inter", -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-b: "Inter", -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(56, 189, 248, 0.35); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font-family: inherit; }
:focus-visible { outline: 2px solid var(--sky-2); outline-offset: 2px; border-radius: 6px; }

.container { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- background fx ---------- */
#bg-particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  animation: drift 26s var(--ease) infinite alternate;
}
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, rgba(37, 99, 235, 0.5), transparent 65%); }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; right: -10vw; top: 18vh; background: radial-gradient(circle, rgba(14, 165, 233, 0.42), transparent 65%); animation-delay: -8s; }
.aurora i:nth-child(3) { width: 34vw; height: 34vw; left: 26vw; bottom: -18vw; background: radial-gradient(circle, rgba(99, 102, 241, 0.34), transparent 65%); animation-delay: -15s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6vw, 4vh, 0) scale(1.15); }
}
.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 75%);
}

/* ---------- preloader / entry ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--bg); transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader .pl-inner { text-align: center; }
.preloader img { width: 220px; margin: 0 auto 26px; animation: plPulse 1.6s ease-in-out infinite; }
@keyframes plPulse { 0%, 100% { opacity: 0.85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.04); } }
.pl-bar { width: 220px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; margin-inline: auto; }
.pl-bar i { display: block; height: 100%; width: 40%; border-radius: 3px; background: var(--grad); animation: plSlide 1.1s var(--ease) infinite; }
@keyframes plSlide { from { transform: translateX(-110%); } to { transform: translateX(280%); } }

.entry {
  position: fixed; inset: 0; z-index: 190; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 120%, rgba(14, 165, 233, 0.22), transparent 55%), rgba(5, 11, 22, 0.92);
  backdrop-filter: blur(10px);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.entry.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.entry-inner { text-align: center; padding: 24px; }
.entry img { width: 250px; margin: 0 auto 30px; filter: drop-shadow(0 10px 40px rgba(14, 165, 233, 0.35)); }
.entry p.tag { font-family: var(--font-d); letter-spacing: 0.35em; font-size: 12px; color: var(--muted); text-transform: uppercase; margin-bottom: 10px; }
.entry h1 { font-family: var(--font-d); font-size: clamp(26px, 4vw, 42px); font-weight: 700; margin-bottom: 12px; }
.entry .entry-btn {
  margin-top: 34px; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 42px; border-radius: 999px; font-family: var(--font-d); font-weight: 600;
  font-size: 16px; letter-spacing: 0.12em; color: #04121f;
  background: var(--grad); box-shadow: var(--glow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.entry .entry-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5), 0 16px 60px rgba(14, 165, 233, 0.5); }
.entry .entry-note { margin-top: 18px; font-size: 12.5px; color: var(--faint); }
.entry .eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 14px; margin-right: 4px; vertical-align: -2px; }
.entry .eq i { width: 3px; background: var(--sky-2); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.entry .eq i:nth-child(1) { height: 40%; } .entry .eq i:nth-child(2) { height: 90%; animation-delay: 0.2s; }
.entry .eq i:nth-child(3) { height: 60%; animation-delay: 0.4s; } .entry .eq i:nth-child(4) { height: 100%; animation-delay: 0.6s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.4); } 50% { transform: scaleY(1); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(5, 11, 22, 0.78); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav-inner { width: min(1280px, calc(100% - 48px)); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-link {
  position: relative; padding: 9px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  color: var(--muted); transition: color 0.25s, background 0.25s;
}
.nav-link:hover { color: var(--text); background: var(--panel); }
.nav-link.active { color: #fff; background: var(--panel-2); }
.nav-link.active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 14px; height: 2px;
  border-radius: 2px; background: var(--grad); transform: translateX(-50%);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; overflow: hidden; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--panel); border: 1px solid var(--line); color: var(--muted);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.2s var(--ease);
}
.icon-btn:hover { color: #fff; border-color: var(--line-2); background: var(--panel-2); }
.icon-btn:active { transform: scale(0.92); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn.muted { color: var(--faint); }
.icon-btn.muted .snd-on, .icon-btn:not(.muted) .snd-off { display: none; }
.plan-badge {
  position: absolute; top: -5px; right: -5px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--grad); color: #04121f; font-size: 11px; font-weight: 700;
  display: grid; place-items: center; transform: scale(0); transition: transform 0.3s var(--ease);
}
.plan-badge.show { transform: scale(1); }
.plan-badge.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.45); } 60% { transform: scale(0.95); } }
.nav-burger { display: none; }

/* ---------- layout / sections ---------- */
main { position: relative; z-index: 1; }
.view { animation: viewIn 0.55s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-d);
  font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--sky-2); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--grad); }
h2.title { font-family: var(--font-d); font-size: clamp(28px, 3.6vw, 44px); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 16px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 11, 22, 0.55) 0%, rgba(5, 11, 22, 0.25) 45%, var(--bg) 96%),
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(14, 165, 233, 0.14), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; padding-top: var(--nav-h); }
.hero .kicker { animation: fadeUp 0.9s var(--ease) 0.15s both; }
.hero h1 {
  font-family: var(--font-d); font-weight: 800; font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.06; letter-spacing: -0.02em; max-width: 900px;
  animation: fadeUp 0.9s var(--ease) 0.3s both;
}
.hero h1 .grad { background: linear-gradient(92deg, #7dd3fc 0%, #38bdf8 35%, #818cf8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: #c3d0e4; font-size: clamp(15.5px, 1.8vw, 18.5px); max-width: 640px; margin-top: 22px; animation: fadeUp 0.9s var(--ease) 0.45s both; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; animation: fadeUp 0.9s var(--ease) 0.6s both; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--faint);
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
}
.hero-scroll i { width: 1px; height: 44px; background: linear-gradient(var(--sky-2), transparent); animation: scrollPulse 1.8s var(--ease) infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 30px; border-radius: 999px; font-family: var(--font-d);
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color 0.3s, color 0.25s;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn:active { transform: scale(0.95); }
.btn-primary { color: #04121f; background: var(--grad); box-shadow: 0 8px 30px rgba(14, 165, 233, 0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(14, 165, 233, 0.5); }
.btn-outline { color: var(--text); border: 1px solid var(--line-2); background: var(--panel); }
.btn-outline:hover { border-color: rgba(56, 189, 248, 0.55); background: rgba(56, 189, 248, 0.08); transform: translateY(-3px); }
.btn-ghost { color: var(--sky-2); padding-inline: 18px; }
.btn-ghost:hover { background: rgba(56, 189, 248, 0.1); }
.btn-gold { color: #231a02; background: linear-gradient(100deg, #fde68a, #fbbf24); box-shadow: 0 8px 30px rgba(251, 191, 36, 0.3); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(251, 191, 36, 0.45); }
.btn-lg { padding: 17px 38px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 70%);
  transform: translate(-50%, -50%) scale(0); animation: ripple 0.65s var(--ease) forwards;
}
@keyframes ripple { to { transform: translate(-50%, -50%) scale(2.6); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden;
  background: rgba(255, 255, 255, 0.015); position: relative; z-index: 1;
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-d); font-size: 14px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--faint); display: flex; align-items: center; gap: 56px;
}
.marquee span i { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); display: inline-block; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 300px;
  border: 1px solid var(--line); background: var(--panel);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.45s;
}
.cat-card:hover { transform: translateY(-8px); border-color: rgba(56, 189, 248, 0.4); box-shadow: var(--shadow); }
.cat-card video, .cat-card .cat-fallback {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
  transform: scale(1.06);
}
.cat-card:hover video, .cat-card:hover .cat-fallback { opacity: 0.38; transform: scale(1); }
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(5, 11, 22, 0.88) 82%);
}
.cat-card .cat-glow {
  position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 0.45s;
  background: radial-gradient(ellipse 70% 60% at 50% 110%, var(--accent, var(--sky)), transparent 70%);
  mix-blend-mode: soft-light;
}
.cat-card:hover .cat-glow { opacity: 0.5; }
.cat-card-body { position: relative; z-index: 2; padding: 26px; }
.cat-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(56, 189, 248, 0.12); border: 1px solid rgba(56, 189, 248, 0.25); color: var(--sky-2);
  transition: transform 0.4s var(--ease), background 0.35s;
}
.cat-card:hover .cat-icon { transform: translateY(-4px) rotate(-6deg) scale(1.08); background: rgba(56, 189, 248, 0.2); }
.cat-icon svg { width: 24px; height: 24px; }
.cat-card h3 { font-family: var(--font-d); font-size: 20px; font-weight: 700; }
.cat-card p { color: var(--muted); font-size: 13.5px; margin-top: 10px; max-width: 320px; }
.cat-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.cat-meta .count { font-size: 12px; color: var(--faint); letter-spacing: 0.1em; }
.cat-arrow {
  position: relative; overflow: hidden; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); color: var(--text); transition: all 0.35s var(--ease);
}
.cat-arrow svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.cat-card:hover .cat-arrow { background: var(--grad); border-color: transparent; color: #04121f; }
.cat-card:hover .cat-arrow svg { transform: translateX(3px); }

/* ---------- steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step-card {
  position: relative; padding: 36px 30px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.35s;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(56, 189, 248, 0.35); }
.step-num {
  font-family: var(--font-d); font-size: 15px; font-weight: 700; color: #04121f;
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad); margin-bottom: 20px; box-shadow: 0 6px 24px rgba(14, 165, 233, 0.35);
}
.step-card h3 { font-family: var(--font-d); font-size: 19px; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 14.5px; }
.step-card::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px;
  border-radius: 50%; background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 70%);
}

/* ---------- stats ---------- */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  padding: 44px 48px; border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(14, 165, 233, 0.12), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.22);
}
.stat { text-align: center; }
.stat-num { font-family: var(--font-d); font-size: clamp(30px, 4vw, 46px); font-weight: 800; background: linear-gradient(180deg, #fff, #8fd6f8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: 13px; letter-spacing: 0.06em; margin-top: 4px; }

/* ---------- about / cta ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.about-text p { color: var(--muted); margin-top: 16px; font-size: 16px; }
.about-text p strong { color: var(--text); }
.about-card {
  padding: 34px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line);
}
.about-card .row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.about-card .row:last-child { border-bottom: 0; }
.about-card .row .ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: rgba(56, 189, 248, 0.1); color: var(--sky-2); }
.about-card .row .ic svg { width: 18px; height: 18px; }
.about-card .row b { display: block; font-size: 14.5px; }
.about-card .row span { color: var(--muted); font-size: 13.5px; }
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: 72px 40px; border-radius: 26px;
  background: linear-gradient(120deg, rgba(37, 99, 235, 0.22), rgba(14, 165, 233, 0.14));
  border: 1px solid rgba(56, 189, 248, 0.25);
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px);
}
.cta-band::before { width: 300px; height: 300px; background: rgba(14, 165, 233, 0.25); left: -80px; top: -100px; }
.cta-band::after { width: 260px; height: 260px; background: rgba(99, 102, 241, 0.22); right: -60px; bottom: -90px; }
.cta-band h2 { font-family: var(--font-d); font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; position: relative; }
.cta-band p { color: #c3d0e4; margin: 14px auto 30px; max-width: 560px; position: relative; }

/* ---------- category / subcat pages ---------- */
.cat-hero { position: relative; padding: calc(var(--nav-h) + 70px) 0 70px; overflow: hidden; }
.cat-hero video, .cat-hero .cat-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.cat-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 11, 22, 0.45), var(--bg) 92%); }
.cat-hero-inner { position: relative; z-index: 2; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--faint); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--sky-2); }
.breadcrumb .sep { opacity: 0.5; }
.cat-hero h1 { font-family: var(--font-d); font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; line-height: 1.1; }
.cat-hero .tagline { color: #c3d0e4; max-width: 680px; margin-top: 16px; }
.cat-hero .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  position: relative; overflow: hidden; padding: 8px 18px; border-radius: 999px; font-size: 13.5px; color: var(--text);
  border: 1px solid var(--line-2); background: var(--panel); transition: all 0.3s var(--ease);
}
.chip:hover { border-color: rgba(56, 189, 248, 0.5); background: rgba(56, 189, 248, 0.1); transform: translateY(-2px); }
.subcat-block { padding: 56px 0; border-top: 1px solid var(--line); }
.subcat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.subcat-head h2 { font-family: var(--font-d); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
.subcat-head p { color: var(--muted); font-size: 14.5px; margin-top: 6px; max-width: 560px; }

/* ---------- product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card {
  border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line);
  background: var(--panel); display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.prod-card:hover { transform: translateY(-7px); border-color: rgba(56, 189, 248, 0.4); box-shadow: var(--shadow); }
.prod-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #0b1526; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.prod-card:hover .prod-thumb img { transform: scale(1.07); }
.prod-thumb .tag-float {
  position: absolute; left: 12px; top: 12px; padding: 4px 11px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em; color: #04121f; background: var(--grad);
}
.prod-card-body { padding: 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.prod-card-body .model { font-size: 11.5px; color: var(--sky-2); letter-spacing: 0.12em; font-weight: 600; }
.prod-card-body h3 { font-family: var(--font-d); font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.prod-card-body p { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; }
.prod-card-foot .moq { font-size: 12px; color: var(--faint); }
.prod-card-foot .go { font-size: 12.5px; color: var(--sky-2); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.prod-card-foot .go svg { width: 13px; height: 13px; transition: transform 0.3s var(--ease); }
.prod-card:hover .go svg { transform: translateX(4px); }

/* ---------- product detail ---------- */
.product-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: start; }
.gallery { position: sticky; top: calc(var(--nav-h) + 24px); }
.gallery-main {
  position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 4/3; background: #0b1526; cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-main:hover img { transform: scale(1.06); }
.gallery-main .zoom-hint {
  position: absolute; right: 12px; bottom: 12px; padding: 6px 13px; border-radius: 999px;
  font-size: 11.5px; color: var(--text); background: rgba(5, 11, 22, 0.7); border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
}
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button {
  width: 74px; height: 58px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button:hover { transform: translateY(-2px); }
.thumbs button.active { border-color: var(--sky-2); box-shadow: 0 0 0 1px var(--sky-2); }
.product-info .model { font-size: 13px; color: var(--sky-2); letter-spacing: 0.16em; font-weight: 700; }
.product-info h1 { font-family: var(--font-d); font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.15; margin-top: 8px; }
.product-info .blurb { color: #c3d0e4; font-size: 16px; margin-top: 16px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag-row .tag {
  padding: 5px 13px; border-radius: 999px; font-size: 12px; color: var(--sky-2);
  border: 1px solid rgba(56, 189, 248, 0.35); background: rgba(56, 189, 248, 0.08);
}
.spec-table { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 14px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table td { padding: 11px 4px; }
.spec-table td:first-child { color: var(--faint); width: 42%; }
.spec-table td:last-child { color: var(--text); font-weight: 500; }
.buy-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.qty-ctrl {
  display: inline-flex; align-items: center; border: 1px solid var(--line-2);
  border-radius: 999px; overflow: hidden; background: var(--panel);
}
.qty-ctrl button { width: 42px; height: 46px; display: grid; place-items: center; color: var(--muted); transition: color 0.2s, background 0.2s; font-size: 18px; }
.qty-ctrl button:hover { color: #fff; background: var(--panel-2); }
.qty-ctrl input {
  width: 62px; height: 46px; text-align: center; background: transparent; border: 0;
  border-inline: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 15px;
  -moz-appearance: textfield; appearance: textfield;
}
.qty-ctrl input::-webkit-outer-spin-button, .qty-ctrl input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.product-actions .btn { flex: 1; min-width: 200px; }
.price-note { margin-top: 16px; font-size: 13px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.price-note svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; }
.product-desc { margin-top: 56px; }
.product-desc h2 { font-family: var(--font-d); font-size: 24px; margin-bottom: 16px; }
.product-desc p { color: var(--muted); max-width: 780px; }
.product-desc .desc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.desc-item { padding: 20px; border-radius: var(--r-md); background: var(--panel); border: 1px solid var(--line); }
.desc-item b { display: block; font-size: 14px; margin-bottom: 6px; }
.desc-item span { font-size: 13px; color: var(--muted); }

/* ---------- plan drawer ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 150; background: rgba(3, 7, 15, 0.66);
  backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: 0.4s var(--ease);
}
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 151; width: min(430px, 100%);
  background: linear-gradient(180deg, #0b1728, #070f1e); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(105%);
  transition: transform 0.5s var(--ease); box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--font-d); font-size: 19px; display: flex; align-items: center; gap: 10px; }
.drawer-head h3 svg { width: 20px; height: 20px; color: var(--sky-2); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 24px; }
.drawer-empty { text-align: center; color: var(--faint); padding: 60px 0; }
.drawer-empty svg { width: 44px; height: 44px; margin: 0 auto 14px; opacity: 0.5; }
.plan-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.plan-item img { width: 76px; height: 60px; border-radius: 9px; object-fit: cover; border: 1px solid var(--line); flex-shrink: 0; }
.plan-item .pi-body { flex: 1; min-width: 0; }
.plan-item .pi-body h4 { font-size: 14px; font-weight: 600; }
.plan-item .pi-body .m { font-size: 11.5px; color: var(--sky-2); letter-spacing: 0.08em; }
.plan-item .pi-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.plan-item .qty-ctrl button { width: 28px; height: 28px; font-size: 14px; }
.plan-item .qty-ctrl input { width: 40px; height: 28px; font-size: 12.5px; }
.plan-item .rm { color: var(--faint); font-size: 12px; transition: color 0.2s; }
.plan-item .rm:hover { color: var(--red); }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.drawer-foot .sum { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.drawer-foot .sum b { color: var(--text); font-size: 16px; font-family: var(--font-d); }
.drawer-foot .row { display: flex; gap: 10px; }
.drawer-foot .row .btn { flex: 1; }

/* ---------- modals ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px;
  background: rgba(3, 7, 15, 0.72); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: 0.4s var(--ease);
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal {
  width: min(620px, 100%); max-height: min(88vh, 860px); overflow-y: auto;
  background: linear-gradient(180deg, #0d1a2e, #081120); border: 1px solid var(--line-2);
  border-radius: 22px; transform: translateY(34px) scale(0.97); transition: 0.45s var(--ease);
  box-shadow: var(--shadow);
}
.modal-backdrop.open .modal { transform: none; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 28px 0; }
.modal-head h3 { font-family: var(--font-d); font-size: 22px; font-weight: 700; }
.modal-head p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.modal-body { padding: 22px 28px; }
.modal-foot { padding: 0 28px 26px; display: flex; gap: 12px; }
.modal-foot .btn { flex: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }
.field label i { color: var(--sky-2); font-style: normal; }
.field input, .field textarea, .field select {
  padding: 12px 15px; border-radius: 11px; background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2); color: var(--text); font-size: 14.5px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--sky-2); background: rgba(56, 189, 248, 0.06);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.field textarea { resize: vertical; min-height: 86px; }
.field select option { background: #0d1a2e; }
.quote-items { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-bottom: 20px; }
.quote-items .qi-head { padding: 11px 16px; background: rgba(255, 255, 255, 0.03); font-size: 12.5px; color: var(--muted); letter-spacing: 0.08em; border-bottom: 1px solid var(--line); }
.quote-items .qi-row { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.quote-items .qi-row:last-child { border-bottom: 0; }
.quote-items .qi-row img { width: 46px; height: 36px; border-radius: 6px; object-fit: cover; }
.quote-items .qi-row .qi-name { flex: 1; min-width: 0; }
.quote-items .qi-row .qi-name b { display: block; font-size: 13.5px; font-weight: 600; }
.quote-items .qi-row .qi-name span { font-size: 11.5px; color: var(--faint); }
.quote-items .qi-row .qi-qty { color: var(--sky-2); font-weight: 600; font-size: 13px; }
.form-note {
  display: flex; gap: 10px; padding: 13px 16px; border-radius: 12px; margin-top: 18px;
  background: rgba(251, 191, 36, 0.07); border: 1px solid rgba(251, 191, 36, 0.25);
  font-size: 13px; color: #e8d9b0;
}
.form-note svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.boss-card { text-align: center; padding: 10px 0 4px; }
.boss-card .boss-avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: var(--grad); font-family: var(--font-d); font-size: 30px; font-weight: 800; color: #04121f;
  box-shadow: var(--glow);
}
.boss-card h3 { font-family: var(--font-d); font-size: 24px; }
.boss-card .role { color: var(--sky-2); font-size: 13.5px; margin-top: 4px; }
.boss-card .company { color: var(--muted); font-size: 13px; margin-top: 2px; }
.boss-rows { margin-top: 24px; text-align: left; }
.boss-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 13px;
  background: var(--panel); border: 1px solid var(--line); margin-bottom: 10px;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.boss-row:hover { border-color: rgba(56, 189, 248, 0.4); transform: translateX(4px); }
.boss-row .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: rgba(56, 189, 248, 0.12); color: var(--sky-2); flex-shrink: 0; }
.boss-row .ic svg { width: 18px; height: 18px; }
.boss-row b { display: block; font-size: 12px; color: var(--faint); font-weight: 500; }
.boss-row span { font-size: 14.5px; font-weight: 600; }
.boss-row .go { margin-left: auto; font-size: 12px; color: var(--sky-2); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 170; display: grid; place-items: center; padding: 4vh 4vw;
  background: rgba(3, 7, 15, 0.9); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: 0.35s var(--ease); cursor: zoom-out;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 12px; box-shadow: var(--shadow); transform: scale(0.94); transition: transform 0.35s var(--ease); }
.lightbox.open img { transform: none; }

/* ---------- toast ---------- */
.toast-wrap { position: fixed; left: 50%; bottom: 30px; z-index: 180; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px;
  background: rgba(13, 26, 46, 0.95); border: 1px solid rgba(56, 189, 248, 0.4); color: var(--text);
  font-size: 14px; box-shadow: var(--shadow); animation: toastIn 0.4s var(--ease);
}
.toast svg { width: 16px; height: 16px; color: var(--sky-2); flex-shrink: 0; }
.toast.out { animation: toastOut 0.35s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(0.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(0.96); } }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 64px 0 30px; background: rgba(4, 9, 18, 0.7); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand img { height: 36px; margin-bottom: 16px; }
.foot-brand p { color: var(--muted); font-size: 13.5px; max-width: 300px; }
.foot-col h4 { font-family: var(--font-d); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.foot-col a, .foot-col span { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; transition: color 0.2s; }
.foot-col a:hover { color: var(--sky-2); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; } .reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; } .reveal.d4 { transition-delay: 0.4s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; }
  .gallery { position: static; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 4px;
    padding: 16px 24px 22px; background: rgba(6, 13, 26, 0.97); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: 0.35s var(--ease);
  }
  .nav-links.mobile-open { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: 13px 16px; font-size: 16px; }
  .nav-burger { display: grid; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); padding: 34px 26px; gap: 26px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .product-desc .desc-grid { grid-template-columns: 1fr; }
  .subcat-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 36px); }
  .cat-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .product-actions .btn { min-width: 100%; }
  .drawer { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .marquee span { font-size: 12px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.15s !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
