:root {
  --bg-deep: #050914;
  --bg-main: #0a1020;
  --bg-card: #0f172a;
  --bg-card-hover: #131e36;
  --bg-elevated: #1e293b;
  --border: rgba(148, 163, 184, 0.14);
  --border-hover: rgba(56, 189, 248, 0.5);
  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;
  --brand-blue: #2563eb;
  --brand-cyan: #38bdf8;
  --brand-green: #10b981;
  --brand-amber: #f59e0b;
  --radius-lg: 20px;
  --radius-md: 13px;
  --max-w: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100vw; }
body {
  margin: 0;
  max-width: 100vw;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 14% 6%, rgba(37, 99, 235, 0.17), transparent 38%),
    radial-gradient(circle at 86% 10%, rgba(16, 185, 129, 0.12), transparent 35%),
    radial-gradient(circle at 50% 60%, rgba(56, 189, 248, 0.05), transparent 45%);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--brand-cyan); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #7dd3fc; }
img { max-width: 100%; height: auto; display: block; }

.rtk-ico {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 22px; }

/* ==================== STICKY GLASSMORPHIC HEADER (ZERO WRAPPING) ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(5, 9, 20, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 14px;
  flex-wrap: nowrap;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text-main) !important;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-link img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: transform 0.25s ease;
}
.brand-link:hover img { transform: rotate(-4deg) scale(1.05); }
.brand-link span { line-height: 1.15; }
.brand-link span em {
  display: block;
  font-style: normal;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--brand-cyan);
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--text-sub);
  font-size: 0.89rem;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.nav-links a:hover {
  color: #fff;
  background: rgba(56, 189, 248, 0.09);
}
.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28), rgba(56, 189, 248, 0.16));
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.18);
}
.nav-links a .rtk-ico { color: var(--brand-cyan); opacity: 0.9; }
.nav-links a.active .rtk-ico { color: #7dd3fc; opacity: 1; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.search-mini {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-mini:focus-within {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
.search-mini input {
  background: transparent;
  border: 0;
  color: var(--text-main);
  font-size: 0.85rem;
  width: 150px;
  outline: none;
}
.search-mini input::placeholder { color: #64748b; }
.search-mini button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px;
  transition: color 0.18s ease;
}
.search-mini button:hover { color: var(--brand-cyan); }

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ==================== BUTTONS & STRUCTURED DOWNLOAD BUTTONS ==================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.93rem;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1), box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.34);
}
.btn-primary:hover {
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.42);
}
.btn-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}
.btn-green:hover {
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.44);
}
.btn-outline {
  background: rgba(30, 41, 59, 0.65);
  border-color: rgba(148, 163, 184, 0.24);
  color: var(--text-main) !important;
}
.btn-outline:hover {
  border-color: var(--brand-cyan);
  background: rgba(30, 41, 59, 0.95);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.14);
}
.btn-sm { padding: 7px 14px; font-size: 0.84rem; border-radius: 9px; }

/* Official Multi-Platform Download Button */
.dl-btn {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 12px 15px;
  border-radius: 13px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.dl-btn:hover { transform: translateY(-2px); }
.dl-btn .dl-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.dl-btn .dl-txt { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.dl-btn .dl-txt strong { font-size: 0.94rem; font-weight: 700; color: #fff; line-height: 1.25; }
.dl-btn .dl-txt span { font-size: 0.76rem; color: rgba(255, 255, 255, 0.8); margin-top: 2px; }
.dl-btn-win {
  background: linear-gradient(135deg, #2563eb, #0284c7);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.32);
}
.dl-btn-apk {
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.28);
}
.dl-btn-ios {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-color: rgba(148, 163, 184, 0.32);
}
.dl-btn-ios:hover { border-color: var(--brand-cyan); box-shadow: 0 8px 22px rgba(56, 189, 248, 0.18); }

/* ==================== HERO SECTION & AMBIENT ANIMATIONS ==================== */
@keyframes auroraPulse {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.65; }
  50% { transform: translate3d(18px, -14px, 0) scale(1.08); opacity: 0.95; }
}
@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero {
  position: relative;
  padding: 58px 0 44px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: 8%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, transparent 70%);
  pointer-events: none;
  animation: auroraPulse 9s ease-in-out infinite;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 38px;
  align-items: center;
}
.hero-grid > *, .detail-top > *, .detail-layout > *, .product-grid > *, .post-grid > *, .footer-grid > * {
  min-width: 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.38);
  color: #93c5fd;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.12);
}
.hero h1 {
  font-size: clamp(2rem, 3.5vw, 3.05rem);
  line-height: 1.18;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 55%, #7dd3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0 0 26px;
  max-width: 620px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.stat-item strong {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.15rem;
  color: var(--brand-cyan);
}
.stat-item span { font-size: 0.82rem; color: var(--text-muted); }

.spotlight-card {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.96), rgba(8, 13, 26, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.52), 0 0 40px rgba(37, 99, 235, 0.14);
  animation: floatGentle 6s ease-in-out infinite;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.spotlight-card:hover {
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.6), 0 0 50px rgba(56, 189, 248, 0.22);
}
.spotlight-card img.cover {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

/* ==================== SECTIONS & CATEGORY PILLS ==================== */
.section { padding: 44px 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.section-head h2 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-head h2 .sec-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: var(--brand-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.section-head p { margin: 5px 0 0; color: var(--text-muted); font-size: 0.95rem; }

.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-sub);
  font-weight: 600;
  font-size: 0.89rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cat-pill:hover {
  border-color: var(--brand-cyan);
  color: #fff;
  transform: translateY(-1px);
}
.cat-pill.active {
  background: linear-gradient(135deg, #2563eb, #0284c7);
  border-color: var(--brand-cyan);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}
.cat-pill .cnt {
  background: rgba(255, 255, 255, 0.16);
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
}

/* ==================== PRODUCT & BLOG CARDS WITH HOVER FX ==================== */
.product-grid, .post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1), border-color 0.25s ease, box-shadow 0.28s ease, background 0.25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.48), 0 0 28px rgba(56, 189, 248, 0.12);
}
.product-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #070c18;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.product-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(.2,.8,.2,1);
}
.product-card:hover .product-thumb-wrap img {
  transform: scale(1.05);
}
.badge-float {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(5, 9, 20, 0.86);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #7dd3fc;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 999px;
}
.product-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-title-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.product-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.product-title-row h3 { margin: 0; font-size: 1.14rem; font-weight: 800; }
.product-title-row h3 a { color: var(--text-main); }
.product-title-row h3 a:hover { color: var(--brand-cyan); }
.meta-sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.product-desc {
  color: var(--text-sub);
  font-size: 0.9rem;
  margin: 0 0 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.plat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
.plat-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 7px;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.86rem;
}

/* ==================== FEATURE VALUE CARDS ==================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.value-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(10, 16, 32, 0.9));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}
.value-card .v-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22), rgba(56, 189, 248, 0.14));
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--brand-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.value-card h3 { margin: 0 0 8px; font-size: 1.03rem; }
.value-card p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

/* ==================== PRODUCT & BLOG DETAIL PAGES ==================== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 20px 0 14px;
}
.detail-hero {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 30px;
  margin-bottom: 28px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.32);
}
.detail-top {
  display: grid;
  grid-template-columns: 1fr 355px;
  gap: 30px;
  align-items: start;
}
.detail-id { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.detail-id img { width: 78px; height: 78px; border-radius: 18px; border: 1px solid var(--border); flex-shrink: 0; }
.detail-id h1 { margin: 0 0 6px; font-size: clamp(1.55rem, 2.6vw, 2.2rem); line-height: 1.22; }
.detail-tagline { color: var(--brand-cyan); font-weight: 600; font-size: 1rem; margin: 0; }

.specs-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
  padding: 15px;
  background: var(--bg-main);
  border-radius: 14px;
  border: 1px solid var(--border);
}
.spec-box span { display: block; font-size: 0.75rem; color: var(--text-muted); margin-bottom: 2px; }
.spec-box strong { font-size: 0.92rem; color: var(--text-main); }

.download-box {
  background: var(--bg-main);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}
.download-box h3 {
  margin: 0 0 2px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 355px;
  gap: 28px;
  align-items: start;
}
.prose-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
}
.prose-card h2 {
  color: var(--brand-cyan);
  font-size: 1.35rem;
  margin-top: 28px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.prose-card h2:first-child { margin-top: 0; }
.prose-card h3 { color: #f8fafc; font-size: 1.12rem; margin-top: 22px; margin-bottom: 8px; }
.prose-card p, .prose-card li { color: var(--text-sub); font-size: 0.98rem; line-height: 1.72; }
.prose-card ul, .prose-card ol { padding-left: 22px; }
.prose-card li { margin-bottom: 7px; }
.prose-card blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--brand-cyan);
  background: rgba(56, 189, 248, 0.08);
  border-radius: 0 12px 12px 0;
  color: #e2e8f0;
}
.prose-card code {
  background: var(--bg-main);
  color: #7dd3fc;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.88em;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.gallery-strip img {
  border-radius: 14px;
  border: 1px solid var(--border);
  width: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.gallery-strip img:hover {
  transform: translateY(-2px);
  border-color: var(--brand-cyan);
}

.faq-item {
  border: 1px solid var(--border);
  background: var(--bg-main);
  border-radius: 13px;
  padding: 15px 18px;
  margin-bottom: 10px;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(56, 189, 248, 0.4); }
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.97rem;
}
.faq-item p { margin: 10px 0 0; color: var(--text-sub); font-size: 0.93rem; }

.toc-box {
  background: var(--bg-main);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.toc-box strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--brand-cyan);
  font-size: 0.96rem;
}
.toc-box ul { margin: 0; padding-left: 18px; }
.toc-box li { margin-bottom: 6px; font-size: 0.91rem; }

/* ==================== SCROLL REVEAL & FLOATING BACK-TO-TOP ==================== */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(.2,.8,.2,1);
}
.js-anim .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.back-top-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0284c7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.back-top-btn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top-btn:hover { transform: translateY(-3px); }

/* ==================== FOOTER ==================== */
.site-footer {
  margin-top: 64px;
  background: #040710;
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.15fr;
  gap: 28px;
  margin-bottom: 30px;
}
.footer-col h4 { margin: 0 0 14px; font-size: 0.96rem; color: #fff; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; font-size: 0.88rem; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
}
.footer-col a:hover { color: var(--brand-cyan); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1120px) {
  .nav-links, .search-mini { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(8, 13, 25, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 16px 22px 20px;
    gap: 6px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  }
  .nav-links.open a { padding: 11px 14px; font-size: 0.95rem; }
}

@media (max-width: 980px) {
  .hero-grid, .detail-top, .detail-layout { grid-template-columns: 1fr; }
  .product-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .hero { padding: 28px 0 22px; }
  .hero-badge { font-size: 0.68rem; padding: 5px 11px; max-width: 100%; white-space: normal; line-height: 1.35; }
  .hero h1 { font-size: 1.72rem; line-height: 1.24; }
  .hero p.lead { font-size: 0.96rem; }
  .hero-ctas .btn { width: 100%; }
  .product-grid, .post-grid, .value-grid, .footer-grid { grid-template-columns: 1fr; }
  .specs-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-hero, .prose-card { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
