/* ================================================================
   RCY DEVELOPMENT — style.css
   Inspired by Groot Development (groot-development.tebex.io)
   Dark Charcoal aesthetic (#111114 / #16161a) — Clean FiveM Script Store
   ================================================================ */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap");

:root {
  --color-primary: #dadada;
  --color-primary-hover: #ffffff;
  --red: #e11d48;
  --red-h: #f43f5e;
  --red-dim: rgba(225, 29, 72, 0.12);
  --dark-color-primary: #111114;
  --dark-color-secondary: #16161a;
  --dark-color-tertiary: #1c1c22;
  --dark-color-card: #16161a;
  --bdr: rgba(255, 255, 255, 0.08);
  --bdr-hover: rgba(255, 255, 255, 0.2);
  --bdr-red: rgba(225, 29, 72, 0.35);
  --t1: #ffffff;
  --t2: rgba(255, 255, 255, 0.68);
  --t3: rgba(255, 255, 255, 0.42);
  --t4: rgba(255, 255, 255, 0.25);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--dark-color-primary);
  color: var(--t1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Subtle top gradient glow from Groot Development */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 500px;
  background: radial-gradient(ellipse at top, rgba(225, 29, 72, 0.08) 0%, rgba(22, 22, 26, 0.4) 50%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

a { text-decoration: none; color: inherit; }
img { display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-color-primary); }
::-webkit-scrollbar-thumb { background: #2a2a32; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

main, section, footer, aside,
.hero-section, .services-section, .slider-section,
.store-stats-section, .faq-section, .reviews-section, .discord-section {
  position: relative;
  z-index: 1;
}

.store-ambient-bg, .ambient-glow { display: none !important; }

/* ================================================================
   NAVBAR (Groot Development Style)
   ================================================================ */
.nav-wrap {
  position: relative;
  z-index: 1000;
  max-width: 1240px;
  margin: 24px auto 0;
  padding: 0 20px;
}

.nav {
  position: relative;
  z-index: 1000;
  background: rgba(22, 22, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.25s;
}
.nav-logo:hover { opacity: 0.85; }

.nav-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--dark-color-secondary);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}
.nav-brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.nav-brand-title em {
  color: var(--red);
  font-style: normal;
}
.nav-brand-sub {
  font-size: 0.72rem;
  color: var(--t3);
  font-weight: 400;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Custom Currency Selector */
.currency-dropdown {
  position: relative;
}
.currency-btn {
  background: var(--dark-color-tertiary);
  border: 1px solid var(--bdr);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--t2);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.currency-btn:hover {
  border-color: var(--bdr-hover);
  color: #fff;
}
.currency-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--dark-color-secondary);
  border: 1px solid var(--bdr);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7);
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  min-width: 170px;
  z-index: 1000;
}
.currency-dropdown:focus-within .currency-menu {
  display: grid;
}
.currency-opt {
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--t2);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.currency-opt:hover {
  background: #ffffff;
  color: #111114;
}

/* Cfx.re / Login Button (Groot style light pill) */
.btn-login-cfx {
  background: #e5e5e5;
  color: #111114;
  border-radius: 10px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
}
.btn-login-cfx:hover {
  background: #ffffff;
  transform: translateY(-1px);
}
.btn-login-cfx svg {
  width: 16px;
  height: 16px;
  pointer-events: none;
}
.btn-login-cfx span {
  pointer-events: none;
}

/* User Dropdown (Logged in FiveM account) */
.user-dropdown-wrap {
  position: relative;
  z-index: 1005;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.btn-login-cfx.user-btn-logged {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 7px 16px 7px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s var(--ease);
}

.btn-login-cfx.user-btn-logged > * {
  pointer-events: none;
}

.btn-login-cfx.user-btn-logged:hover,
.user-dropdown-wrap.open .btn-login-cfx.user-btn-logged {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.user-btn-chevron {
  width: 13px;
  height: 13px;
  color: var(--t3);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
  pointer-events: none;
}

.user-dropdown-wrap.open .user-btn-chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 250px;
  background: #16161a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 99999;
  display: none;
  flex-direction: column;
  gap: 5px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Deployed exclusively on click via .open or .show */
.user-dropdown-wrap.open .user-dropdown-menu,
.user-dropdown-menu.show {
  display: flex !important;
  animation: userDropIn 0.18s var(--ease) forwards;
}

@keyframes userDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.user-dropdown-header {
  padding: 10px 12px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  user-select: none;
}

.user-dropdown-name {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.user-dropdown-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #111114;
  flex-shrink: 0;
}

.user-dropdown-status {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.user-dropdown-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
  display: inline-block;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  min-height: 42px;
  box-sizing: border-box;
  cursor: pointer !important;
  user-select: none;
  transition: all 0.18s var(--ease);
  font-family: inherit;
  text-align: left;
}

.user-dropdown-item > * {
  pointer-events: none;
}

.user-dropdown-item svg {
  width: 17px;
  height: 17px;
  color: var(--t2);
  flex-shrink: 0;
  transition: color 0.18s, transform 0.18s;
}

.user-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: translateX(3px);
}

.user-dropdown-item:hover svg {
  color: #ffffff;
  transform: scale(1.1);
}

.user-dropdown-item:active {
  transform: scale(0.98);
}

.user-dropdown-item.logout {
  color: #f87171;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
  margin-top: 4px;
  padding: 11px 14px;
}

.user-dropdown-item.logout svg {
  color: #f87171;
}

.user-dropdown-item.logout:hover {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  transform: translateX(3px);
}

.user-dropdown-item.logout:hover svg {
  color: #fca5a5;
  transform: scale(1.1);
}

/* Cart Button */
.btn-nav-cart {
  background: var(--dark-color-tertiary);
  border: 1px solid var(--bdr);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--t1);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: all 0.2s;
}
.btn-nav-cart:hover {
  border-color: var(--red);
  background: var(--red-dim);
}
.btn-nav-cart svg { width: 16px; height: 16px; }
.cart-badge {
  background: var(--red);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  position: absolute;
  top: -6px;
  right: -6px;
  border: 2px solid var(--dark-color-secondary);
}

/* Nav Category Links Bar */
.nav-categories-row {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.nav-tab-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--t2);
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-tab-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}
.nav-tab-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

/* ================================================================
   HERO SECTION (Centered Groot Development Style)
   ================================================================ */
.hero-section {
  min-height: 580px;
  padding: 70px 20px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Announcement Tag */
.hero-announce {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 999px;
  transition: all 0.2s;
}
.hero-announce:hover {
  background: rgba(225, 29, 72, 0.12);
  border-color: var(--bdr-red);
}

.hero-welcome {
  color: var(--t2);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
}
.hero-title em {
  color: var(--red);
  font-style: normal;
}

.hero-description {
  color: var(--t2);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  max-width: 680px;
}

.hero-powered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--t3);
  font-size: 0.8rem;
  font-weight: 500;
}
.hero-powered-logo {
  height: 18px;
  opacity: 0.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 28px;
  transition: all 0.25s var(--ease);
}
.hero-btn-primary {
  background-color: #e5e5e5;
  color: #111114;
}
.hero-btn-primary:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.hero-btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.hero-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

/* ================================================================
   SERVICES / WHY CHOOSE US (Groot Development 3 Cards)
   ================================================================ */
.services-section {
  max-width: 1240px;
  margin: 60px auto 0;
  padding: 0 20px;
}
.section-header-center {
  text-align: center;
  margin-bottom: 36px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--t2);
  font-weight: 400;
}

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

.service-card {
  background: var(--dark-color-secondary);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: all 0.3s var(--ease);
}
.service-card:hover {
  border-color: var(--bdr-hover);
  transform: translateY(-4px);
  background: #1a1a20;
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 4px;
}
.service-icon-box svg { width: 28px; height: 28px; }

.service-title {
  font-size: 1.18rem;
  font-weight: 600;
  color: #ffffff;
}
.service-desc {
  font-size: 0.85rem;
  color: var(--t2);
  line-height: 1.65;
  max-width: 320px;
}

/* ================================================================
   PACKAGES / SCRIPTS GRID (Groot Style Cards)
   ================================================================ */
.packages-section {
  max-width: 1240px;
  margin: 80px auto 0;
  padding: 0 20px;
}

.packages-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.search-input-wrap {
  position: relative;
}
.search-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--t3);
  width: 16px;
  height: 16px;
}
.search-field {
  background: var(--dark-color-secondary);
  border: 1px solid var(--bdr);
  border-radius: 10px;
  padding: 10px 16px 10px 40px;
  font-size: 0.85rem;
  color: #ffffff;
  outline: none;
  font-family: inherit;
  width: 260px;
  transition: all 0.2s;
}
.search-field::placeholder { color: var(--t3); }
.search-field:focus {
  border-color: var(--bdr-hover);
  width: 310px;
}

.framework-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.fw-filter-pill, .framework-pill {
  background: var(--dark-color-secondary);
  border: 1px solid var(--bdr);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--t2);
  cursor: pointer;
  transition: all 0.2s;
}
.fw-filter-pill:hover, .framework-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.fw-filter-pill.active, .framework-pill.active {
  background: #ffffff;
  color: #111114;
  font-weight: 600;
  border-color: #ffffff;
}

/* ================================================================
   SIDEBAR & CATEGORIES (Groot Development Clean Style)
   ================================================================ */
.store-sidebar-col {
  width: 250px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-widget {
  background: var(--dark-color-secondary);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.sidebar-widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-widget-icon {
  width: 15px;
  height: 15px;
  color: var(--t3);
  flex-shrink: 0;
}

.sidebar-widget-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--t3);
  font-family: var(--font-mono);
  margin: 0;
}

.sidebar-cats-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--t2);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  font-family: var(--font-main);
  user-select: none;
}

.sidebar-cat-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.sidebar-cat-svg {
  width: 15px;
  height: 15px;
  color: var(--t3);
  flex-shrink: 0;
  transition: color 0.2s, transform 0.2s;
}

.sidebar-cat-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-cat-count {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--t3);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: all 0.2s;
}

/* Hover State */
.sidebar-cat:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  transform: translateX(3px);
}

.sidebar-cat:hover .sidebar-cat-svg {
  color: #ffffff;
  transform: scale(1.08);
}

.sidebar-cat:hover .sidebar-cat-count {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

/* Active State */
.sidebar-cat.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.sidebar-cat.active .sidebar-cat-svg {
  color: #ffffff;
}

.sidebar-cat.active .sidebar-cat-count {
  background: #ffffff;
  color: #111114;
  border-color: #ffffff;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .store-sidebar-col {
    width: 100%;
    position: static;
  }
  .sidebar-cats-nav {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
  }
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

.package-card {
  background: var(--dark-color-secondary);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  position: relative;
}
.package-card:hover {
  border-color: var(--bdr-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.package-thumb-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #0d0d10;
  overflow: hidden;
  cursor: pointer;
}
.package-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.package-card:hover .package-img {
  transform: scale(1.05);
}

/* Tag Overlays */
.package-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}
.badge-tag {
  background: rgba(17, 17, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
}
.badge-hot {
  background: var(--red);
  color: #fff;
  border: none;
}

.package-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.package-tags-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.package-mini-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--t2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.package-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  cursor: pointer;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.package-title:hover { color: var(--red); }

.package-desc {
  font-size: 0.82rem;
  color: var(--t2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}

.package-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.package-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.package-price-label {
  font-size: 0.75rem;
  color: var(--t3);
  font-weight: 500;
}
.package-price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
}

/* Groot style full-width button */
.package-cart-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s;
  cursor: pointer;
}
.package-cart-btn:hover {
  background: #ffffff;
  color: #111114;
  border-color: #ffffff;
  transform: translateY(-1px);
}
.package-cart-btn svg { width: 16px; height: 16px; }

/* ================================================================
   CUSTOMER REVIEWS (Groot Development Style)
   ================================================================ */
.reviews-section {
  max-width: 1240px;
  margin: 90px auto 0;
  padding: 0 20px;
}
.reviews-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark-color-secondary);
  border: 1px solid var(--bdr);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.reviews-stars {
  color: #ffb53d;
  display: flex;
  gap: 2px;
  font-size: 1.1rem;
}
.reviews-score {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.reviews-total {
  font-size: 0.8rem;
  color: var(--t3);
  font-weight: 500;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--dark-color-secondary);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.25s;
}
.review-card:hover {
  border-color: var(--bdr-hover);
  transform: translateY(-3px);
}
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dark-color-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
}
.review-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}
.review-tag {
  font-size: 0.7rem;
  color: #10b981;
  font-family: var(--font-mono);
}
.review-stars-small {
  color: #ffb53d;
  font-size: 0.85rem;
}
.review-text {
  font-size: 0.84rem;
  color: var(--t2);
  line-height: 1.65;
}

/* ================================================================
   FAQ SECTION
   ================================================================ */
.faq-section {
  max-width: 860px;
  margin: 90px auto 0;
  padding: 0 20px;
}
.faq-list {
  background: var(--dark-color-secondary);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--bdr);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  text-align: left;
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(255, 255, 255, 0.03); }
.faq-chevron {
  transition: transform 0.3s var(--ease);
  color: var(--t3);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 0.85rem;
  color: var(--t2);
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 300px;
}

/* ================================================================
   DISCORD CTA
   ================================================================ */
.discord-cta-wrap {
  max-width: 1240px;
  margin: 90px auto 0;
  padding: 0 20px;
}
.discord-card {
  background: var(--dark-color-secondary);
  border: 1px solid var(--bdr);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.discord-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.discord-text-side {
  max-width: 600px;
}
.discord-heading {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}
.discord-heading em {
  color: #5865f2;
  font-style: normal;
}
.discord-desc {
  font-size: 0.9rem;
  color: var(--t2);
  line-height: 1.6;
  margin-bottom: 24px;
}
.discord-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #5865f2;
  color: #ffffff;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.35);
}
.discord-cta-btn:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
}
.discord-cta-btn svg { width: 20px; height: 20px; }

/* ================================================================
   FOOTER (Groot Development Clean Style)
   ================================================================ */
.footer {
  margin-top: 100px;
  border-top: 1px solid var(--bdr);
  background: var(--dark-color-primary);
  padding: 60px 0 30px;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--bdr);
  margin-bottom: 30px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--t3);
  line-height: 1.6;
  max-width: 320px;
}
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 16px;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-links a {
  font-size: 0.85rem;
  color: var(--t2);
  transition: color 0.2s;
}
.footer-col-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--t3);
}
.footer-copy a { color: var(--t2); }
.footer-badges {
  display: flex;
  gap: 10px;
}
.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dark-color-secondary);
  border: 1px solid var(--bdr);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.72rem;
  color: var(--t2);
  font-weight: 500;
}
.footer-pill svg { width: 14px; height: 14px; color: #10b981; }

/* ================================================================
   MODAL & CART OVERLAY (Standard Functions)
   ================================================================ */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.overlay.open { opacity: 1; pointer-events: all; }

.cart-panel {
  position: fixed; top: 0; right: 0; width: 360px; max-width: 100vw; height: 100%;
  background: var(--dark-color-secondary); border-left: 1px solid var(--bdr);
  z-index: 201; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.32s var(--ease);
  box-shadow: -20px 0 50px rgba(0,0,0,0.7);
}
.cart-panel.open { transform: translateX(0); }
.cart-hd { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--bdr); }
.cart-hd-title { font-weight: 700; font-size: 1rem; color: #fff; }
.cart-close {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--dark-color-tertiary); display: flex; align-items: center; justify-content: center;
  color: var(--t2); border: 1px solid var(--bdr); transition: all 0.2s;
}
.cart-close:hover { color: #fff; background: rgba(255,255,255,0.1); }
.cart-close svg { width: 14px; height: 14px; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 12px; color: var(--t3); font-size: 0.85rem; }
.cart-empty svg { width: 38px; height: 38px; opacity: 0.25; }
.cart-line {
  display: flex; align-items: center; gap: 12px;
  background: var(--dark-color-primary); border: 1px solid var(--bdr);
  border-radius: 10px; padding: 12px; margin-bottom: 10px;
}
.cart-line-img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-name { font-size: 0.85rem; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-line-price { font-size: 0.8rem; color: var(--color-primary); font-weight: 700; margin-top: 2px; }
.cart-line-rm { width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--t3); transition: all 0.15s; }
.cart-line-rm:hover { color: var(--red); background: var(--red-dim); }
.cart-line-rm svg { width: 13px; height: 13px; }
.cart-ft { padding: 18px 20px; border-top: 1px solid var(--bdr); }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-total-lbl { font-size: 0.85rem; color: var(--t2); }
.cart-total-val { font-weight: 800; font-size: 1.25rem; color: #fff; font-family: var(--font-mono); }
.checkout-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #e5e5e5; color: #111114; border-radius: 10px; padding: 13px;
  font-weight: 700; font-size: 0.92rem; font-family: inherit; transition: all 0.2s;
}
.checkout-btn:hover { background: #ffffff; transform: translateY(-1px); }
.checkout-btn svg { width: 16px; height: 16px; }
.cart-note { text-align: center; font-size: 0.7rem; color: var(--t3); margin-top: 10px; }

/* Toast */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--dark-color-secondary); border: 1px solid var(--bdr);
  border-radius: 8px; padding: 10px 18px; font-size: 0.82rem; font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6); animation: toast-in 0.3s var(--ease) forwards;
  color: #fff;
}
.toast.ok { border-color: rgba(34, 197, 94, 0.4); }
.toast.err { border-color: rgba(225, 29, 72, 0.4); }
.toast.inf { border-color: rgba(59, 130, 246, 0.4); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.btn-nav-mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bdr);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.btn-nav-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Free Package Badges and Pricing */
.price-free {
  color: #10b981;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
}
.prod-free-badge {
  background: rgba(16, 185, 129, 0.14) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #34d399 !important;
  font-weight: 800 !important;
}
.btn-cart-free {
  background: rgba(16, 185, 129, 0.14) !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  color: #34d399 !important;
}
.btn-cart-free:hover {
  background: #10b981 !important;
  color: #0b130e !important;
  border-color: #10b981 !important;
}
.fw-chip-free {
  border-color: rgba(16, 185, 129, 0.35) !important;
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.08) !important;
}

/* 1-Click Buy Now Button */
.btn-buy-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #ffffff;
  border-radius: 12px;
  padding: 13px 24px;
  font-size: .92rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  flex: 1;
  text-decoration: none;
}
.btn-buy-now:hover {
  background: var(--red-h);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(225, 29, 72, 0.35);
}
.btn-buy-now svg { width: 17px; height: 17px; }

/* Discord CTA Badge graphic */
.discord-visual-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.15) 0%, rgba(22, 22, 26, 0.4) 70%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(225, 29, 72, 0.15);
  max-width: 260px;
}
.discord-badge-img {
  max-height: 170px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

@media (max-width: 768px) {
  .btn-nav-mobile-toggle {
    display: inline-flex;
  }
  .nav-categories-row {
    display: none;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 6px;
    padding-top: 14px;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-categories-row.mobile-open {
    display: flex !important;
  }
  .nav-tab-link {
    padding: 10px 14px;
    font-size: 0.9rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-tab-link:hover, .nav-tab-link.active {
    background: rgba(255, 255, 255, 0.08);
  }
  .packages-grid { grid-template-columns: 1fr; }
  .discord-card { flex-direction: column; text-align: center; padding: 32px 24px; gap: 24px; }
  .discord-visual-badge { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.3rem; }
  .search-field { width: 100%; }
}

/* ================================================================
   CARD COMPATIBILITY ALIASES FOR MAIN.JS
   ================================================================ */
.prod-grid, .packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 22px;
}
.prod-card, .package-card {
  background: var(--dark-color-secondary);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
  position: relative;
}
.prod-card:hover, .package-card:hover {
  border-color: var(--bdr-hover);
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.prod-img-wrap, .package-thumb-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  background: #0d0d10;
  overflow: hidden;
  cursor: pointer;
}
.prod-img, .package-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.prod-card:hover .prod-img, .package-card:hover .package-img {
  transform: scale(1.05);
}
.prod-badges-top, .package-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}
.prod-top-pill, .badge-tag {
  background: rgba(17, 17, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.prod-top-pill .pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}
.prod-cat-pill {
  background: rgba(17, 17, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--t2);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
.prod-sale-badge, .badge-hot {
  background: var(--red);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}
.prod-body, .package-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.prod-framework-chips, .package-tags-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.fw-chip, .package-mini-tag {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--t2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
}
.prod-name, .package-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  cursor: pointer;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod-name:hover, .package-title:hover { color: var(--red); }
.prod-desc, .package-desc {
  font-size: 0.82rem;
  color: var(--t2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.prod-features-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.prod-feat-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--t3);
  font-family: var(--font-mono);
}
.prod-feat-item svg { color: #10b981; }
.prod-footer, .package-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}
.prod-price-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price-lbl {
  font-size: 0.65rem;
  color: var(--t3);
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.prod-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
}
.prod-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-cart, .package-cart-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s;
  cursor: pointer;
}
.btn-cart:hover, .package-cart-btn:hover {
  background: #ffffff;
  color: #111114;
  border-color: #ffffff;
  transform: translateY(-1px);
}
.btn-info {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--t2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-info:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.prod-img-quick-view { display: none; }

/* ================================================================
   FLOATING PROMO CARD (10% Discount)
   ================================================================ */
.floating-promo-card {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--dark-color-secondary);
  border: 1px solid var(--bdr);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 350;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65);
  animation: promoSlideIn 0.4s var(--ease);
}
@keyframes promoSlideIn {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.promo-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.promo-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.promo-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.promo-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}
.promo-headline {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
}
.promo-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-mono);
}
.promo-code-btn:hover {
  background: #ffffff;
  color: #111114;
  border-color: #ffffff;
}
.promo-close-btn {
  color: var(--t3);
  font-size: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}
.promo-close-btn:hover {
  color: #ffffff;
}

/* ================================================================
   LEGAL & CART POLICY NOTICE
   ================================================================ */
.cart-legal-notice {
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--t3);
  margin-bottom: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--bdr);
  border-radius: 8px;
}
.cart-legal-notice a {
  color: var(--t2);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.cart-legal-notice a:hover {
  color: #fff;
}

/* ================================================================
   TERMS & POLICIES PAGE (terms.html)
   ================================================================ */
.terms-page {
  max-width: 1240px;
  margin: 36px auto 90px;
  padding: 0 20px;
}

.terms-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
}

.terms-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bdr);
  font-size: 0.76rem;
  color: var(--t2);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.terms-badge svg {
  width: 14px;
  height: 14px;
  color: #3b82f6;
}

.terms-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.terms-subtitle {
  font-size: 0.95rem;
  color: var(--t2);
  line-height: 1.6;
}

.terms-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.terms-sidebar {
  position: sticky;
  top: 100px;
  background: var(--dark-color-secondary);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  padding: 16px;
}

.terms-sidebar-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--t3);
  padding: 8px 12px;
  margin-bottom: 4px;
}

.terms-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.terms-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
  color: var(--t2);
  text-decoration: none;
  transition: all 0.15s var(--ease);
}

.terms-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transform: translateX(3px);
}

.terms-nav-item svg {
  width: 16px;
  height: 16px;
  color: var(--t3);
  flex-shrink: 0;
  transition: color 0.15s;
}

.terms-nav-item:hover svg {
  color: #fff;
}

.terms-card {
  background: var(--dark-color-secondary);
  border: 1px solid var(--bdr);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  scroll-margin-top: 100px;
}

.terms-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bdr);
}

.terms-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
}

.terms-card-icon svg {
  width: 18px;
  height: 18px;
}

.terms-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.terms-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--t2);
  margin-bottom: 16px;
}

.terms-card p:last-child {
  margin-bottom: 0;
}

.terms-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  margin: 22px 0 10px;
}

.terms-alert {
  padding: 16px 18px;
  border-radius: 10px;
  margin: 18px 0;
  font-size: 0.84rem;
  line-height: 1.6;
}

.terms-alert-warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fde68a;
}

.terms-alert-danger {
  background: rgba(225, 29, 72, 0.08);
  border: 1px solid rgba(225, 29, 72, 0.35);
  color: #fecdd3;
}

.terms-alert-info {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #bfdbfe;
}

.terms-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.terms-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--t2);
}

.terms-list-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}

.terms-list-icon.ok { color: #22c55e; }
.terms-list-icon.warn { color: #eab308; }
.terms-list-icon.cross { color: #f43f5e; }

@media (max-width: 900px) {
  .terms-layout {
    grid-template-columns: 1fr;
  }
  .terms-sidebar {
    position: static;
  }
  .terms-card {
    padding: 24px;
  }
  .terms-title {
    font-size: 1.8rem;
  }
}

