/* =========================================================
   VEMINS ACCESSORIES PACKAGING — Design System
   Palette derived from qcautoev.com (deep navy + teal + gold)
   ========================================================= */

:root {
  /* Backgrounds */
  --bg-deep:      #070b1a;
  --bg:           #0b1026;
  --bg-2:         #0d1630;
  --bg-card:      #111a38;
  --bg-card-hover:#16224a;
  --navy:         #0b2740;

  /* Accents */
  --teal:         #17b3a0;
  --teal-bright:  #2fc4b2;
  --teal-light:   #5eead4;
  --teal-dark:    #0e7c6b;
  --gold:         #ffd88a;
  --gold-deep:    #e8c15a;
  --gold-dark:    #b8892e;
  --blue:         #5ab0ff;

  /* Text */
  --text:         #ffffff;
  --text-soft:    #c6d4e2;
  --text-muted:   #9db2c6;

  /* Functional */
  --wa:           #25d366;
  --danger:       #f3a0a0;

  /* Borders / overlays */
  --border:       rgba(198, 212, 226, 0.10);
  --border-strong:rgba(198, 212, 226, 0.18);

  /* Gradients */
  --grad-teal:    linear-gradient(135deg, #14b8a6 0%, #2fc4b2 55%, #5eead4 100%);
  --grad-gold:    linear-gradient(135deg, #b8892e 0%, #e8c15a 50%, #ffd88a 100%);
  --grad-hero:    radial-gradient(1200px 700px at 15% -10%, rgba(23,179,160,0.22), transparent 60%),
                  radial-gradient(1000px 600px at 90% 10%, rgba(90,176,255,0.16), transparent 55%),
                  radial-gradient(900px 700px at 50% 120%, rgba(232,193,90,0.10), transparent 60%);

  --shadow-card:  0 10px 40px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow:  0 0 0 1px rgba(47,196,178,0.25), 0 12px 48px -10px rgba(23,179,160,0.45);

  --radius:       16px;
  --radius-lg:    24px;
  --radius-sm:    10px;

  --maxw:         1200px;
  --nav-h:        128px;

  --font-sans: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 85% -5%, rgba(23,179,160,0.08), transparent 55%),
    radial-gradient(1000px 700px at 5% 100%, rgba(90,176,255,0.06), transparent 55%);
  z-index: -2;
  pointer-events: none;
}

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

::selection { background: var(--teal); color: #04120f; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #1c2a52; border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal-dark); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-2) 100%); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-teal); border-radius: 2px; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--gold::before { background: var(--grad-gold); }

.h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.h2.flow-title, .h2.cat-title { font-size: clamp(25px, 3.6vw, 40px); }
.h2 .grad { background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2 .grad-gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

.lead { color: var(--text-soft); font-size: 17px; max-width: 640px; }

.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--grad-teal); color: #04120f; box-shadow: 0 8px 30px -8px rgba(23,179,160,0.55); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px -8px rgba(23,179,160,0.7); }

.btn--gold { background: var(--grad-gold); color: #241a05; box-shadow: 0 8px 30px -8px rgba(232,193,90,0.5); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 14px 40px -8px rgba(232,193,90,0.65); }

.btn--ghost { border-color: var(--border-strong); color: var(--text); background: rgba(255,255,255,0.03); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal-light); transform: translateY(-3px); }

.btn--wa { background: var(--wa); color: #03270f; box-shadow: 0 8px 30px -8px rgba(37,211,102,0.5); }
.btn--wa:hover { transform: translateY(-3px); box-shadow: 0 14px 40px -8px rgba(37,211,102,0.65); }

.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--sm { padding: 10px 20px; font-size: 13px; }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo { font-size: 30px; font-weight: 800; letter-spacing: 0.02em; }
.preloader-logo .accent { color: var(--teal-light); }
.preloader-bar { width: 180px; height: 3px; background: #1c2a52; border-radius: 3px; overflow: hidden; }
.preloader-bar span {
  display: block; height: 100%; width: 40%; border-radius: 3px;
  background: var(--grad-teal);
  animation: preload 1.1s ease-in-out infinite;
}
@keyframes preload {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(450%); }
}

/* ---------- Navbar (two-row, veminsaccessories style) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(180deg, rgba(10,15,30,0.94) 0%, rgba(7,11,26,0.84) 55%, rgba(7,11,26,0.68) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(47,196,178,0.18);
  box-shadow: 0 22px 55px -30px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.07);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
/* top teal→gold ridge light for 3D module edge */
.nav::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1.5px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(47,196,178,0.75) 30%,
    rgba(255,216,138,0.5) 55%, rgba(47,196,178,0.75) 80%, transparent 100%);
  pointer-events: none; z-index: 3;
}
.nav.scrolled {
  background: linear-gradient(180deg, rgba(10,15,30,0.97) 0%, rgba(7,11,26,0.95) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 18px 50px -26px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.06);
}
.nav-top {
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo-img {
  height: 64px; width: auto; display: block; object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.28));
  animation: navLogoFloat 2.6s ease-in-out infinite;
}
@keyframes navLogoFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.nav-title { display: flex; flex-direction: column; gap: 3px; }
.nav-title-main {
  font-size: 31px; font-weight: 800; line-height: 1.1; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--teal-light); white-space: nowrap;
  text-shadow: 0 0 18px rgba(47,196,178,0.5), 0 0 38px rgba(47,196,178,0.22);
}
.nav-title-sub {
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted); white-space: nowrap;
}

/* golden sweep line along header bottom (veminsaccessories style) */
.hdr-glow-line {
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2.5px;
  background: linear-gradient(90deg,
    rgba(232,193,90,0) 0%,
    rgba(255,216,138,0.45) 6%,
    rgba(255,216,138,0.75) 22%,
    #ffd88a 50%,
    rgba(255,216,138,0.75) 78%,
    rgba(255,216,138,0.45) 94%,
    rgba(232,193,90,0) 100%);
  box-shadow: 0 0 12px rgba(255,216,138,0.75), 0 0 28px rgba(255,216,138,0.4), 0 0 46px rgba(232,193,90,0.22);
  overflow: hidden; z-index: 2; pointer-events: none;
}
.hdr-glow-line::after {
  content: ''; position: absolute; top: -1px; left: -30%;
  width: 30%; height: 5px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(255,244,200,0.3) 28%,
    rgba(255,252,224,1) 50%, rgba(255,244,200,0.3) 72%, transparent 100%);
  animation: hdrGoldSweep 2.2s ease-in-out infinite; will-change: left;
}
@keyframes hdrGoldSweep { 0% { left: -35%; } 60%, 100% { left: 135%; } }

/* per-letter pop-in + wave for nav title */
.tchar {
  display: inline-block; opacity: 0;
  transform: translateY(-20px) scale(0.5);
  animation: charPop 0.55s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes charPop {
  0%   { opacity: 0; transform: translateY(-20px) scale(0.5); }
  60%  { opacity: 1; transform: translateY(4px) scale(1.18); }
  80%  { transform: translateY(-2px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.tchar-in { display: inline-block; animation: charWave 2.4s ease-in-out infinite; }
@keyframes charWave {
  0%, 26%, 100% { transform: translateY(0); }
  13%           { transform: translateY(-5px); }
}

.nav-row { height: 52px; }
.nav-row-inner {
  height: 52px; display: flex; align-items: center; justify-content: flex-start;
  gap: 18px; width: 100%;
}

/* pill nav buttons (veminsaccessories style) */
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  display: inline-flex; align-items: center;
  padding: 8px 20px; border-radius: 50px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap;
  border: 1.5px solid transparent;
  background:
    linear-gradient(rgba(18,26,50,0.92), rgba(18,26,50,0.92)) padding-box,
    linear-gradient(135deg, var(--teal) 0%, #2fc4b2 100%) border-box;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
}
.nav-links a span {
  background: linear-gradient(135deg, #ffffff 0%, #d7fff7 45%, var(--teal-light) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.nav-links a:hover, .nav-links a.active {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(23,179,160,0.38);
}

/* language switch (EN / AR / FR / ES) */
.lang-switch {
  display: flex; align-items: center; gap: 2px; padding: 4px;
  border-radius: 40px; flex-shrink: 0; border: 1.5px solid transparent;
  background:
    linear-gradient(rgba(18,26,50,0.92), rgba(18,26,50,0.92)) padding-box,
    linear-gradient(135deg, var(--teal) 0%, #2fc4b2 100%) border-box;
}
.lang-btn {
  min-width: 0; height: 28px; padding: 0 11px;
  border: none; border-radius: 30px; background: transparent;
  color: var(--text-soft); font-family: inherit; font-size: 12px; font-weight: 700;
  cursor: pointer; letter-spacing: 0.01em; transition: all 0.25s ease;
  white-space: nowrap;
}
.lang-btn:hover { color: var(--text); background: rgba(23,179,160,0.16); }
.lang-btn.active { color: #04120f; background: var(--teal-light); box-shadow: 0 0 14px rgba(47,196,178,0.5); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; background: none; border: none; color: var(--text); }
.nav-burger svg { width: 26px; height: 26px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(7,11,26,0.98); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a { font-size: 26px; font-weight: 700; padding: 12px 24px; color: var(--text-soft); }
.mobile-menu a:hover { color: var(--teal-light); }
.mobile-menu .close { position: absolute; top: 28px; right: 28px; background: none; border: none; color: var(--text); }
.mobile-menu .close svg { width: 30px; height: 30px; }
.mobile-menu .lang-switch { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-hero); z-index: -1; }
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgba(198,212,226,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(198,212,226,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; z-index: -1; }
.hero-orb.orb1 { width: 420px; height: 420px; background: rgba(23,179,160,0.35); top: -80px; right: -60px; animation: float 9s ease-in-out infinite; }
.hero-orb.orb2 { width: 360px; height: 360px; background: rgba(90,176,255,0.25); bottom: -40px; left: -60px; animation: float 11s ease-in-out infinite reverse; }
.hero-orb.orb3 { width: 200px; height: 200px; background: rgba(232,193,90,0.28); top: 45%; left: 55%; animation: float 7s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.06); }
}

.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 50px;
  background: rgba(23,179,160,0.12); border: 1px solid rgba(23,179,160,0.3);
  font-size: 13px; font-weight: 600; color: var(--teal-light); margin-bottom: 26px;
}
.hero-badge-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 26px;
}
.hero-badge-row .hero-badge { margin-bottom: 0; }
.hero-badge-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 12px var(--teal-bright); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-size: clamp(27.6px, 3.89vw, 48px);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 24px;
}
.hero h1 .grad { background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .grad-gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-sub { font-size: 18px; color: var(--text-soft); max-width: 560px; margin-bottom: 14px; }
.hero-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.hero-langs span {
  font-size: 13px; padding: 6px 14px; border-radius: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text-muted);
}
.hero-langs .ar { font-family: "Segoe UI", Tahoma, sans-serif; direction: rtl; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 44px; }
.hero-stat .num { font-size: 32px; font-weight: 800; color: var(--gold); line-height: 1; }
.hero-stat .num .suffix { color: var(--teal-light); }
.hero-stat .lbl { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* Hero visual — floating package cards */
.hero-visual { position: relative; height: 480px; }
.hero-visual .ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 340px; height: 340px; border-radius: 50%;
  border: 1px solid rgba(47,196,178,0.25);
  animation: spin 30s linear infinite;
}
.hero-visual .ring::before, .hero-visual .ring::after {
  content: ""; position: absolute; border-radius: 50%;
  background: var(--teal-light); box-shadow: 0 0 16px var(--teal-light);
}
.hero-visual .ring::before { width: 10px; height: 10px; top: -5px; left: 50%; }
.hero-visual .ring::after { width: 8px; height: 8px; bottom: 10px; right: 8%; }
.hero-visual .ring.ring2 { width: 460px; height: 460px; border-color: rgba(232,193,90,0.18); animation: spin 45s linear infinite reverse; }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.pkg-card {
  position: absolute; width: 200px; padding: 20px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(17,26,56,0.9), rgba(11,16,38,0.92));
  border: 1px solid var(--border-strong); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease;
}
.pkg-card:hover { transform: translateY(-8px); }
.pkg-card .ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px;
}
.pkg-card .ico svg { width: 28px; height: 28px; }
.pkg-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.pkg-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }
.pkg-card .tag {
  display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 20px; text-transform: uppercase;
}

.pkg-1 { top: 6%; left: 2%; animation: bob 6s ease-in-out infinite; }
.pkg-2 { top: 0%; right: 2%; animation: bob 7s ease-in-out infinite 0.5s; }
.pkg-3 { bottom: 2%; left: 10%; animation: bob 6.5s ease-in-out infinite 1s; }
.pkg-4 { bottom: 6%; right: 4%; animation: bob 7.5s ease-in-out infinite 1.5s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 15px; font-weight: 700; letter-spacing: 0.08em; color: var(--text-muted);
  display: flex; align-items: center; gap: 56px; white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--gold); font-size: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  position: relative; padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  overflow: hidden; transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-teal); opacity: 0; transition: opacity 0.35s ease;
}
.cat-card:hover { transform: translateY(-8px); border-color: var(--border-strong); background: var(--bg-card-hover); box-shadow: var(--shadow-card); }
.cat-card:hover::before { opacity: 1; }
.cat-card .ico {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px;
  background: rgba(23,179,160,0.12); color: var(--teal-light); transition: all 0.35s ease;
}
.cat-card:hover .ico { background: var(--grad-teal); color: #04120f; transform: rotate(-6deg) scale(1.05); }
.cat-card .ico svg { width: 28px; height: 28px; }
.cat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.cat-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.cat-card .more { font-size: 13.5px; font-weight: 700; color: var(--teal-light); display: inline-flex; align-items: center; gap: 6px; }
.cat-card .more svg { width: 15px; height: 15px; transition: transform 0.3s ease; }
.cat-card:hover .more svg { transform: translateX(4px); }

/* ---------- Feature rows ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 34px 30px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-card), rgba(11,16,38,0.6));
  border: 1px solid var(--border); transition: all 0.3s ease;
}
.feature:hover { border-color: rgba(47,196,178,0.35); box-shadow: var(--shadow-card); transform: translateY(-6px); }
.feature .num {
  font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: 0.15em; margin-bottom: 16px;
}
.feature .ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(232,193,90,0.12); color: var(--gold); }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; }

/* ---------- Process timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  counter-increment: step; transition: all 0.3s ease;
}
.step:hover { border-color: var(--border-strong); transform: translateY(-6px); }
.step .step-num {
  font-size: 44px; font-weight: 900; line-height: 1;
  background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.9; margin-bottom: 14px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---------- Markets ---------- */
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.market {
  position: relative; padding: 30px 28px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border); overflow: hidden; transition: all 0.3s ease;
}
.market:hover { border-color: rgba(47,196,178,0.35); transform: translateY(-6px); }
.market .flag { font-size: 40px; line-height: 1; margin-bottom: 16px; }
.market h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.market .country { font-size: 13px; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; margin-bottom: 12px; }
.market p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---------- Company / Factory showcase ---------- */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.showcase-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border); transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.showcase-card:hover { transform: translateY(-8px); border-color: rgba(47,196,178,0.4); box-shadow: var(--shadow-card); }
.showcase-card .ph { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #0b1026; }
.showcase-card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s ease; }
.showcase-card:hover .ph img { transform: scale(1.06); }
.showcase-card .ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,11,26,0) 55%, rgba(7,11,26,0.55) 100%);
}
.showcase-card figcaption { padding: 22px 24px 26px; }
.showcase-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.showcase-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  padding: 64px 56px; text-align: center;
  background: linear-gradient(135deg, rgba(23,179,160,0.16), rgba(11,16,38,0.9) 60%);
  border: 1px solid rgba(47,196,178,0.3);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; background: var(--grad-hero); opacity: 0.6; z-index: -1;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.cta-band p { color: var(--text-soft); max-width: 560px; margin: 0 auto 32px; font-size: 16px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: #060912; border-top: 1px solid var(--border); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 52px; }
.footer-brand .logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; margin-bottom: 16px; }
.footer-brand .logo .mark { width: 38px; height: 38px; border-radius: 10px; background: var(--grad-teal); display: grid; place-items: center; color: #04120f; font-weight: 900; }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 320px; line-height: 1.7; }
.footer h4 { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin-bottom: 20px; }
.footer ul li { margin-bottom: 12px; }
.footer ul a { color: var(--text-muted); font-size: 14.5px; transition: color 0.25s ease; }
.footer ul a:hover { color: var(--teal-light); }
.footer-contact li { display: flex; gap: 10px; color: var(--text-muted); font-size: 14.5px; margin-bottom: 12px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--teal-light); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer-bottom p { color: var(--text-muted); font-size: 13px; }
.footer-bottom .langs { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative; padding: calc(var(--nav-h) + 72px) 0 64px;
  background: var(--grad-hero); overflow: hidden; text-align: center;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(198,212,226,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(198,212,226,0.04) 1px, transparent 1px);
  background-size: 60px 60px; opacity: 0.5;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, #000 30%, transparent 75%);
}
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 18px; }
.page-hero h1 .grad { background: var(--grad-teal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { color: var(--text-soft); max-width: 680px; margin: 0 auto; font-size: 17px; }
.breadcrumb { position: relative; display: flex; justify-content: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 20px; z-index: 1; }
.breadcrumb a { color: var(--teal-light); }

/* ---------- Product detail rows ---------- */
.prod-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.prod-row + .prod-row { border-top: 1px solid var(--border); }
.prod-row:nth-child(even) .prod-visual { order: 2; }
.prod-visual {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; background: linear-gradient(150deg, var(--bg-card), var(--bg-2));
  border: 1px solid var(--border); display: grid; place-items: center;
}
.prod-visual .big-ico { width: 120px; height: 120px; border-radius: 28px; display: grid; place-items: center; background: rgba(23,179,160,0.12); color: var(--teal-light); }
.prod-visual .big-ico svg { width: 64px; height: 64px; }
.prod-visual .floating-chip {
  position: absolute; bottom: 18px; left: 18px; padding: 10px 16px; border-radius: 10px;
  background: rgba(7,11,26,0.85); border: 1px solid var(--border-strong); backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 600; color: var(--gold);
}
.prod-visual .floating-chip.tr { bottom: auto; top: 18px; left: auto; right: 18px; color: var(--teal-light); }
.prod-info .eyebrow { margin-bottom: 12px; }
.prod-info h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.01em; }
.prod-info p { color: var(--text-soft); font-size: 15.5px; line-height: 1.75; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chips span {
  padding: 7px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text-soft);
}

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.spec-table th { color: var(--gold); font-weight: 700; letter-spacing: 0.04em; background: rgba(255,255,255,0.02); }
.spec-table td { color: var(--text-soft); }
.spec-table tr:hover td { background: rgba(23,179,160,0.04); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card {
  padding: 34px 30px; border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
}
.contact-card .ico { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(23,179,160,0.12); color: var(--teal-light); }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--text-soft); font-size: 15px; display: block; line-height: 1.7; }
.contact-card a:hover { color: var(--teal-light); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-soft); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  color: var(--text); font-family: inherit; font-size: 15px; transition: all 0.25s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--teal); background: rgba(23,179,160,0.05); box-shadow: 0 0 0 3px rgba(23,179,160,0.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select option { background: var(--bg-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-teal); color: #04120f; border: none;
  display: grid; place-items: center; box-shadow: 0 8px 26px -6px rgba(23,179,160,0.6);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.35s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .market-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; margin-top: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 76px; }
  .section { padding: 64px 0; }
  .nav-row { display: none; }
  .nav-logo { flex-shrink: 0; }
  .nav-title { min-width: 0; flex-shrink: 1; }
  .nav-title-main, .nav-title-sub { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .nav-logo-img { height: 49px; }
  .nav-title-main { font-size: 23px; }
  .nav-title-sub { font-size: 12px; letter-spacing: 0.12em; }
  .nav-links { display: none; }
  .nav-cta .btn--ghost { display: none; }
  .nav-burger { display: block; }
  .prod-row { grid-template-columns: 1fr; gap: 28px; }
  .prod-row:nth-child(even) .prod-visual { order: 0; }
  .showcase-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 26px; }
  .hero-stats { gap: 24px; }
}
@media (max-width: 520px) {
  .cat-grid, .feature-grid, .market-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; }
  .pkg-card { width: 160px; padding: 16px; }
  .pkg-card .ico { width: 42px; height: 42px; }
  .nav-top { gap: 10px; }
  .nav-logo-img { height: 38px; }
  .nav-title-main { font-size: 17px; letter-spacing: 0.03em; }
  .nav-title-sub { font-size: 12px; letter-spacing: 0.1em; }
  .hero-badge-row { gap: 10px; }
  .hero-badge-cta { gap: 8px; }
  .hero-badge { font-size: 12px; padding: 7px 14px; }
}

/* =========================================================
   Flow Animation — From Design to Delivery (首页流程动画)
   ========================================================= */
.flow-section {
  position: relative;
  padding: 108px 0;
  background:
    radial-gradient(900px 520px at 50% 0%, rgba(23,179,160,0.10), transparent 60%),
    var(--bg-deep);
  overflow: hidden;
}
.flow-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(198,212,226,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(198,212,226,0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 70% 72% at 50% 50%, #000 18%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 70% 72% at 50% 50%, #000 18%, transparent 76%);
  pointer-events: none;
}
.flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

/* --- 左侧视觉：3D 旋转盒 + 刀版图 + 传送带 --- */
.flow-visual { position: relative; height: 400px; }

.flow-cube-wrap {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 190px; height: 190px;
  perspective: 1200px;
  z-index: 2;
}
.flow-cube {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  animation: cubeSpin 14s linear infinite;
}
.flow-face {
  position: absolute; inset: 0;
  border: 1px solid rgba(47,196,178,0.45);
  background: linear-gradient(135deg, rgba(23,179,160,0.18), rgba(10,14,26,0.94));
  box-shadow: inset 0 0 44px rgba(23,179,160,0.10);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-weight: 900; font-size: 44px; color: var(--teal-light);
  letter-spacing: 0.02em;
  backface-visibility: visible;
}
.flow-face .face-title {
  font-size: 15px; font-weight: 800; letter-spacing: 0.16em;
  color: var(--teal-light); text-align: center; line-height: 1.3;
  text-shadow: 0 0 14px rgba(47,196,178,0.45);
}
.flow-face .mini { font-size: 10px; font-weight: 700; letter-spacing: 0.3em; color: var(--gold); text-align: center; }
.flow-face.front  { transform: translateZ(95px); }
.flow-face.back   { transform: rotateY(180deg) translateZ(95px); }
.flow-face.right  { transform: rotateY(90deg) translateZ(95px); }
.flow-face.left   { transform: rotateY(-90deg) translateZ(95px); }
.flow-face.top    { transform: rotateX(90deg) translateZ(95px); }
.flow-face.bottom { transform: rotateX(-90deg) translateZ(95px); }
@keyframes cubeSpin {
  0%   { transform: rotateX(-24deg) rotateY(0deg); }
  100% { transform: rotateX(-24deg) rotateY(360deg); }
}

/* 平面刀版图虚线圈（设计元素，反向旋转） */
.flow-blueprint {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 320px; height: 320px; pointer-events: none; z-index: 1;
}
.flow-blueprint svg { width: 100%; height: 100%; animation: spinRev 28s linear infinite; }
@keyframes spinRev { to { transform: rotate(-360deg); } }

/* 传送带 */
.flow-belt {
  position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%);
  width: 440px; height: 34px;
  border-radius: 17px;
  background: #0a1128;
  border: 1px solid var(--border);
  box-shadow: 0 14px 34px -14px rgba(0,0,0,0.7);
  overflow: hidden;
  z-index: 2;
}
.flow-belt::before {
  content: "";
  position: absolute; inset: 5px 8px;
  border-radius: 11px;
  background: repeating-linear-gradient(90deg, rgba(47,196,178,0.42) 0 24px, rgba(255,255,255,0.05) 24px 48px);
  animation: beltMove 1s linear infinite;
}
@keyframes beltMove { to { background-position: 48px 0; } }
.flow-belt .roller {
  position: absolute; top: -3px; width: 40px; height: 40px;
  background: linear-gradient(180deg, #1b2a55, #0a1128);
  border: 1px solid var(--border); border-radius: 50%;
}
.flow-belt .roller.l { left: -8px; }
.flow-belt .roller.r { right: -8px; }

/* --- 右侧阶段列表（循环依次高亮） --- */
.flow-steps { display: flex; flex-direction: column; gap: 4px; }
.flow-step {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 15px 18px; border-radius: 14px;
  border: 1px solid transparent;
  opacity: 0.38;
  animation: stepGlow 14s ease-in-out infinite;
  transition: opacity 0.25s ease;
}
.flow-step:nth-child(1) { animation-delay: 0s; }
.flow-step:nth-child(2) { animation-delay: 2.8s; }
.flow-step:nth-child(3) { animation-delay: 5.6s; }
.flow-step:nth-child(4) { animation-delay: 8.4s; }
.flow-step:nth-child(5) { animation-delay: 11.2s; }
@keyframes stepGlow {
  0%, 100% { opacity: 0.38; border-color: transparent; background: transparent; transform: translateX(0); }
  7%, 23%  { opacity: 1; border-color: rgba(47,196,178,0.4); background: rgba(23,179,160,0.07); transform: translateX(8px); }
}
.flow-step .idx {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(23,179,160,0.13); color: var(--teal-light);
  font-weight: 800; font-size: 16px;
  box-shadow: inset 0 0 0 1px rgba(47,196,178,0.25);
}
.flow-step h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.flow-step p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }

/* 传送带下方阶段小圆点 */
.flow-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 14px; z-index: 2;
}
.flow-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(198,212,226,0.25);
  animation: dotGlow 14s ease-in-out infinite;
}
.flow-dots span:nth-child(1) { animation-delay: 0s; }
.flow-dots span:nth-child(2) { animation-delay: 2.8s; }
.flow-dots span:nth-child(3) { animation-delay: 5.6s; }
.flow-dots span:nth-child(4) { animation-delay: 8.4s; }
.flow-dots span:nth-child(5) { animation-delay: 11.2s; }
@keyframes dotGlow {
  0%, 100% { background: rgba(198,212,226,0.25); box-shadow: none; transform: scale(1); }
  7%, 23%  { background: var(--gold); box-shadow: 0 0 12px var(--gold); transform: scale(1.5); }
}

@media (max-width: 1024px) {
  .flow-grid { grid-template-columns: 1fr; }
  .flow-visual { height: 380px; }
  .flow-belt { width: min(440px, 86%); }
  .flow-blueprint { width: 280px; height: 280px; }
}
