/* ============================================================
   IDXBIG - Toko Tamiya Mini 4WD
   Design System & Global Styles
   Tema: Dark + aksen cyan (brand), modern, full animation
   ============================================================ */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Warna brand */
  --brand: #12b0f0;
  --brand-light: #4fc9ff;
  --brand-dark: #0a86c4;
  --accent: #ff4d3d;
  --accent-2: #ffb020;

  /* Netral / background gelap */
  --bg: #070b16;
  --bg-2: #0b1120;
  --surface: #0f1729;
  --surface-2: #16203a;
  --surface-3: #1d2a49;
  --border: rgba(120, 160, 220, 0.14);
  --border-strong: rgba(120, 160, 220, 0.28);

  /* Teks */
  --text: #eaf1ff;
  --text-muted: #9db0d3;
  --text-dim: #6b7d9e;

  /* Gradients */
  --grad-brand: linear-gradient(120deg, var(--brand) 0%, #2ce0ff 100%);
  --grad-hot: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  --grad-dark: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);

  /* Efek */
  --glow: 0 0 40px rgba(18, 176, 240, 0.35);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Font */
  --font-head: "Sora", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-mono: "Orbitron", "Sora", sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.45s;

  --header-h: 76px;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--brand);
  color: #04121c;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-track {
  background: var(--bg-2);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-dark), var(--brand));
  border-radius: 10px;
  border: 2px solid var(--bg-2);
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section {
  padding-block: clamp(64px, 9vw, 128px);
  position: relative;
}

.section--tight {
  padding-block: clamp(48px, 6vw, 84px);
}

.bg-alt {
  background: var(--bg-2);
}

.text-center {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-light);
  padding: 7px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: rgba(18, 176, 240, 0.08);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: pulse 1.8s infinite;
}

.section-title {
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  margin-bottom: 18px;
}

.section-title .hl {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-lead {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 1.05rem;
}

.section-head {
  margin-bottom: 56px;
}

.section-head.text-center .section-lead {
  margin-inline: auto;
}

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--grad-brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  font-family: var(--font-head);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  isolation: isolate;
  white-space: nowrap;
}

.btn svg {
  width: 19px;
  height: 19px;
}

.btn-primary {
  background: var(--grad-brand);
  color: #04121c;
  box-shadow: 0 10px 30px rgba(18, 176, 240, 0.35);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
  z-index: -1;
}

.btn-primary:hover::before {
  transform: translateX(130%);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(18, 176, 240, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-light);
  transform: translateY(-3px);
  background: rgba(18, 176, 240, 0.08);
}

.btn-wa {
  background: linear-gradient(120deg, #1faf52, #25d366);
  color: #04140a;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.45);
}

.btn-lg {
  padding: 18px 38px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ---------- 5. Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}

.site-header.scrolled {
  background: rgba(7, 11, 22, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1002;
}

.brand img {
  height: 30px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta .btn {
  padding: 11px 22px;
  font-size: 0.9rem;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  min-width: 220px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.dropdown a::after { display: none; }
.dropdown a:hover {
  background: rgba(18, 176, 240, 0.1);
  color: var(--brand-light);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  z-index: 1002;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--grad-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 14s ease-in-out infinite;
}
.orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(18,176,240,0.6), transparent 70%);
  top: -120px; right: -80px;
}
.orb-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,77,61,0.4), transparent 70%);
  bottom: -140px; left: -100px;
  animation-delay: -5s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(44,224,255,0.4), transparent 70%);
  top: 40%; left: 45%;
  animation-delay: -9s;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  opacity: 0.5;
  animation: gridMove 20s linear infinite;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero-copy h1 .hl {
  position: relative;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy p.lead {
  font-size: 1.14rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 34px;
}

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

.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.hero-stat .num {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.hero-stat .num .plus { color: var(--brand); }
.hero-stat .lbl {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: var(--shadow-lg), var(--glow);
  animation: floatY 6s ease-in-out infinite;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-card .shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: cardShine 5s ease-in-out infinite;
}

.hero-badge {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 11px;
  backdrop-filter: blur(10px);
}
.hero-badge .ic {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--grad-brand);
  color: #04121c;
}
.hero-badge .ic svg { width: 20px; height: 20px; }
.hero-badge b { font-size: 0.92rem; }
.hero-badge span { font-size: 0.76rem; color: var(--text-dim); display: block; }

.hero-badge.b1 { top: 22px; left: -34px; animation: floatY 5s ease-in-out infinite; }
.hero-badge.b2 { bottom: 30px; right: -30px; animation: floatY 5.5s ease-in-out infinite reverse; }

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 24px; height: 40px;
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  position: relative;
}
.scroll-hint .mouse::before {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  border-radius: 3px;
  background: var(--brand);
  animation: scrollDot 1.8s infinite;
}

/* ---------- 7. Marquee ---------- */
.marquee {
  border-block: 1px solid var(--border);
  background: var(--bg-2);
  padding: 18px 0;
  overflow: hidden;
  display: flex;
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
  padding-right: 48px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.marquee-item svg { width: 22px; height: 22px; color: var(--brand); }

/* ---------- 8. Cards / Products ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.08); }

.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  color: #04121c;
  background: var(--grad-brand);
}
.tag.hot { background: var(--grad-hot); color: #180400; }
.tag.new { background: linear-gradient(120deg,#7c5cff,#b28bff); color:#0c0420; }

.product-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-cat {
  font-size: 0.76rem;
  color: var(--brand-light);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.product-body h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.product-body h3 a { transition: color 0.3s var(--ease); }
.product-card:hover .product-body h3 a { color: var(--brand-light); }
.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.price {
  display: flex;
  flex-direction: column;
}
.price .now {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.18rem;
  color: var(--text);
}
.price .was {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-decoration: line-through;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.84rem;
  color: var(--accent-2);
  font-weight: 700;
}
.rating svg { width: 15px; height: 15px; }

.btn-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #04121c;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  flex-shrink: 0;
}
.btn-icon:hover { transform: scale(1.08); box-shadow: var(--glow); }
.btn-icon svg { width: 20px; height: 20px; }

/* ---------- 9. Feature cards ---------- */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-ic {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(18,176,240,0.1);
  border: 1px solid var(--border-strong);
  color: var(--brand);
  margin-bottom: 20px;
  transition: transform 0.5s var(--ease);
}
.feature-card:hover .feature-ic { transform: rotate(-8deg) scale(1.05); }
.feature-ic svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- 10. Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- 11. Testimonials ---------- */
.testi-slider {
  position: relative;
  overflow: hidden;
}
.testi-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}
.testi-card {
  flex: 0 0 100%;
  padding: 8px;
}
.testi-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}
.testi-inner .quote-mark {
  font-family: var(--font-head);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--brand);
  opacity: 0.4;
}
.testi-inner p {
  font-size: 1.16rem;
  color: var(--text);
  margin: 18px 0 26px;
  font-weight: 500;
}
.testi-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.testi-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  background: var(--grad-brand);
  color: #04121c;
}
.testi-author .who b { display: block; }
.testi-author .who span { font-size: 0.84rem; color: var(--text-dim); }

.testi-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.testi-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--surface-3);
  transition: all 0.3s var(--ease);
}
.testi-dot.active {
  width: 30px;
  border-radius: 6px;
  background: var(--grad-brand);
}

/* ---------- 12. Accordion / FAQ ---------- */
.accordion { max-width: 820px; margin-inline: auto; }
.acc-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.3s var(--ease);
}
.acc-item.open { border-color: var(--border-strong); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--text);
}
.acc-head .plus-ic {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.acc-head .plus-ic::before,
.acc-head .plus-ic::after {
  content: "";
  position: absolute;
  background: var(--brand);
  border-radius: 2px;
}
.acc-head .plus-ic::before { width: 12px; height: 2px; }
.acc-head .plus-ic::after { width: 2px; height: 12px; transition: transform 0.4s var(--ease); }
.acc-item.open .plus-ic { background: var(--brand); transform: rotate(180deg); }
.acc-item.open .plus-ic::before,
.acc-item.open .plus-ic::after { background: #04121c; }
.acc-item.open .plus-ic::after { transform: scaleY(0); }
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.acc-body-inner {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ---------- 13. CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(circle at 20% 20%, rgba(18,176,240,0.35), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(255,77,61,0.28), transparent 55%),
    var(--surface-2);
  border: 1px solid var(--border-strong);
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-band p { color: var(--text-muted); max-width: 560px; margin: 0 auto 30px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 14. Footer ---------- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { height: 30px; margin-bottom: 18px; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; max-width: 320px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}
.footer-social a:hover { background: var(--grad-brand); color: #04121c; transform: translateY(-3px); border-color: transparent; }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.3s var(--ease), padding 0.3s var(--ease);
}
.footer-col ul a:hover { color: var(--brand-light); padding-left: 6px; }

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-contact svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--brand-light); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- 15. Page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
  background: var(--grad-dark);
  border-bottom: 1px solid var(--border);
}
.page-hero .orb { opacity: 0.35; }
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--brand-light); }
.breadcrumb .sep { color: var(--text-dim); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.page-hero p { color: var(--text-muted); max-width: 640px; font-size: 1.08rem; }

/* ---------- 16. Filter chips ---------- */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}
.chip {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip.active { background: var(--grad-brand); color: #04121c; border-color: transparent; }

/* Product hide animation for filtering */
.product-item.hide { display: none; }

/* ---------- 17. Product detail ---------- */
.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.pd-gallery {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.pd-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  aspect-ratio: 1/1;
}
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.pd-thumb {
  width: 84px; height: 84px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s;
}
.pd-thumb.active { border-color: var(--brand); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-info h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 14px; }
.pd-meta { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.pd-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}
.pd-price .now { font-family: var(--font-mono); font-size: 2rem; font-weight: 800; color: var(--brand-light); }
.pd-price .was { font-size: 1.05rem; color: var(--text-dim); text-decoration: line-through; }
.pd-price .save {
  font-size: 0.8rem;
  background: var(--grad-hot);
  color: #180400;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
.pd-desc { color: var(--text-muted); margin-bottom: 26px; }
.pd-specs {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 20px;
  margin-bottom: 26px;
}
.pd-specs .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.pd-specs .row:last-child { border-bottom: none; }
.pd-specs .row .k { color: var(--text-dim); }
.pd-specs .row .v { color: var(--text); font-weight: 600; text-align: right; }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.pd-usp { display:flex; gap:20px; flex-wrap:wrap; margin-top:26px; }
.pd-usp div { display:flex; align-items:center; gap:9px; font-size:0.86rem; color:var(--text-muted); }
.pd-usp svg { width:18px;height:18px;color:var(--brand); }

/* ---------- 18. Article / prose ---------- */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 50px;
  align-items: start;
}
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.15em; }
.prose p { color: var(--text-muted); font-size: 1.04rem; }
.prose h2 {
  font-size: 1.7rem;
  margin-top: 1.8em;
  padding-top: 0.4em;
  scroll-margin-top: 100px;
}
.prose h3 { font-size: 1.28rem; margin-top: 1.5em; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; color: var(--text-muted); }
.prose ul li, .prose ol li { margin-bottom: 0.6em; }
.prose ul li::marker { color: var(--brand); }
.prose strong { color: var(--text); }
.prose a { color: var(--brand-light); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  border-left: 3px solid var(--brand);
  padding: 6px 20px;
  background: var(--surface);
  border-radius: 0 12px 12px 0;
  color: var(--text);
  font-style: italic;
}
.prose img { border-radius: var(--radius); border: 1px solid var(--border); margin-block: 1.5em; }
.prose figure figcaption { font-size: 0.82rem; color: var(--text-dim); text-align: center; margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; }
.prose th { background: var(--surface-2); color: var(--text); font-family: var(--font-head); }
.prose td { color: var(--text-muted); }

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-dim); }

.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
}
.toc h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 14px; }
.toc ul li { margin-bottom: 10px; }
.toc ul a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.3s, padding 0.3s; }
.toc ul a:hover { color: var(--brand-light); padding-left: 5px; }

/* Article cards */
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.article-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.article-media { aspect-ratio: 16/10; overflow: hidden; }
.article-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.article-card:hover .article-media img { transform: scale(1.07); }
.article-content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.article-cat {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brand-light); margin-bottom: 10px;
}
.article-content h3 { font-size: 1.2rem; margin-bottom: 10px; line-height: 1.3; }
.article-content p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 16px; flex: 1; }
.article-link { display:inline-flex; align-items:center; gap:8px; color: var(--brand-light); font-weight:700; font-size:0.9rem; }
.article-link svg { width:16px;height:16px; transition: transform 0.3s var(--ease); }
.article-card:hover .article-link svg { transform: translateX(4px); }

/* ---------- 19. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.contact-line { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-line:last-child { border-bottom: none; }
.contact-line .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(18,176,240,0.1);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center; color: var(--brand); flex-shrink: 0;
}
.contact-line .ic svg { width: 20px; height: 20px; }
.contact-line h4 { font-size: 0.98rem; margin-bottom: 3px; }
.contact-line p, .contact-line a { color: var(--text-muted); font-size: 0.92rem; }
.contact-line a:hover { color: var(--brand-light); }

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(18,176,240,0.15);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 340px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.9) hue-rotate(180deg); }

/* ---------- 20. Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.9); }
[data-reveal="left"].in,
[data-reveal="right"].in,
[data-reveal="scale"].in { transform: none; }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* ---------- 21. Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.loader-wrap { text-align: center; }
.loader-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 3px solid var(--surface-3);
  border-top-color: var(--brand);
  animation: spin 0.9s linear infinite;
  margin: 0 auto 18px;
}
.loader-wrap span {
  font-family: var(--font-mono);
  letter-spacing: 0.3em;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ---------- 22. Back to top ---------- */
.to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #04121c;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
  z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- 23. Floating WA button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, #1faf52, #25d366);
  color: #04140a;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 900;
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float .wa-ic {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: grid; place-items: center;
  position: relative;
}
.wa-float .wa-ic::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: ripple 2s infinite;
}
.wa-float svg { width: 20px; height: 20px; }

/* ---------- 24. Misc / mini components ---------- */
.pill-list { display: flex; gap: 10px; flex-wrap: wrap; }
.pill {
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--surface);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  position: relative;
}
.media-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.check-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-muted);
}
.check-list li svg {
  width: 22px; height: 22px;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--dur) var(--ease), border-color var(--dur);
}
.value-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.value-card .vnum {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--brand);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
.value-card h3 { font-size: 1.14rem; margin: 12px 0 8px; }
.value-card p { color: var(--text-muted); font-size: 0.92rem; }

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-band .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-band .stat-lbl { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; }

.note-box {
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--brand);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  color: var(--text-muted);
  font-size: 0.94rem;
}
.note-box strong { color: var(--text); }

/* ---------- 25. Keyframes ---------- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes gridMove {
  from { background-position: 0 0; }
  to { background-position: 60px 60px; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes cardShine {
  0%, 100% { transform: translateX(-100%); }
  50%, 70% { transform: translateX(100%); }
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- 26. Responsive ---------- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-copy p.lead { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { max-width: 460px; margin-inline: auto; order: -1; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
}

@media (max-width: 820px) {
  .nav-links, .nav-cta .btn-desktop { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
    padding: calc(var(--header-h) + 20px) 24px 40px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    overflow-y: auto;
  }
  .nav-links.open { display: flex; transform: translateX(0); }
  .nav-links a { padding: 13px 16px; font-size: 1rem; border-radius: 12px; }
  .nav-links a::after { display: none; }
  .nav-links a:hover, .nav-links a.active { background: rgba(18,176,240,0.1); }
  .has-dropdown .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 0 0 0 14px;
    min-width: 0;
  }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s;
    z-index: 999;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .split, .pd-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .pd-gallery, .toc { position: static; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}

@media (max-width: 540px) {
  body { font-size: 15px; }
  .container { padding-inline: 18px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .hero-badge { display: none; }
  .testi-inner { padding: 28px 22px; }
  .wa-float span { display: none; }
  .wa-float { padding: 12px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- 27. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
