/* ===================================================
   NGUONX - DIGITAL RESOURCE MARKETPLACE
   Design System & Styling Inspired by Modern MMO Shops
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-glow: rgba(2, 132, 199, 0.35);
  
  --sidebar-bg: #0f172a;
  --sidebar-gradient: linear-gradient(180deg, #0b132b 0%, #1c2541 50%, #0284c7 100%);
  --sidebar-text: #ffffff;
  --sidebar-hover: rgba(2, 132, 199, 0.25);
  
  --bg-main: #f0f7ff;
  --bg-card: #ffffff;
  --bg-card-hover: #f5faff;
  --border-color: #dbeafe;
  --border-light: #eff6ff;
  
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --accent-green: #059669;
  --accent-green-light: #ecfdf5;
  --accent-red: #ef4444;
  --accent-red-light: #fef2f2;
  --accent-orange: #f59e0b;
  --accent-purple: #0284c7;
  --accent-blue: #0ea5e9;
  --accent-cyan: #06b6d4;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
  --shadow-glow: 0 0 20px rgba(2, 132, 199, 0.4);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --bg-main: #0b132b;
  --bg-card: #1c2541;
  --bg-card-hover: #233154;
  --border-color: #2d3e66;
  --border-light: #1c2541;
  --text-dark: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --sidebar-gradient: linear-gradient(180deg, #070d1e 0%, #0b132b 50%, #0284c7 100%);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
}

/* ===================================================
   LAYOUT STRUCTURE: SIDEBAR + MAIN CONTENT
   =================================================== */

.app-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 250px;
  background: var(--sidebar-gradient);
  color: var(--sidebar-text);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: var(--transition);
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
  padding: 18px 16px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.brand-logo-img {
  width: 100%;
  max-width: 218px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  object-fit: contain;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
  margin: 0 auto;
}

.brand-logo-img:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.brand-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}

.brand-info h2 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin: 0;
}

.brand-info span {
  font-size: 11px;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}

.sidebar-menu {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.sidebar-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
  margin: 18px 12px 6px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  margin-bottom: 4px;
  cursor: pointer;
}

.sidebar-link:hover, .sidebar-link.active {
  background: var(--sidebar-hover);
  color: #ffffff;
  transform: translateX(3px);
}

.sidebar-link i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.sidebar-link .badge-count {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.25);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Sidebar Submenu Dropdown */
.sidebar-sublink {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12.5px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  margin-bottom: 2px;
}

.sidebar-sublink:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(3px);
}

.sidebar-dropdown-group.open .dropdown-arrow {
  transform: rotate(180deg);
}

.sidebar-dropdown-group.open .sidebar-submenu {
  display: block !important;
  animation: slideDown 0.25s ease-out;
}

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

/* Footer Accordion Dropdown */
.footer-accordion {
  margin-top: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-main);
  overflow: hidden;
  transition: all 0.25s ease;
}

.footer-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-accordion-btn:hover {
  color: var(--primary);
  background: rgba(2, 132, 199, 0.05);
}

.footer-accordion-btn .acc-arrow {
  font-size: 11px;
  transition: transform 0.25s ease;
}

.footer-accordion.open .footer-accordion-btn .acc-arrow {
  transform: rotate(180deg);
}

.footer-accordion-content {
  display: none;
  padding: 8px 14px 12px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-card);
}

.footer-accordion.open .footer-accordion-content {
  display: block;
  animation: slideDown 0.2s ease-out;
}

.footer-accordion-content a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.footer-accordion-content a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.admin-badge-link {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  margin-top: 10px;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

/* Main Content Area */
.main-wrapper {
  flex: 1;
  margin-left: 250px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: calc(100vw - 250px);
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Top Navigation Bar */
.top-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-dark);
  cursor: pointer;
}

.wallet-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.wallet-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.category-counter-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Search Box */
.search-container {
  flex: 1;
  max-width: 520px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 10px 48px 10px 16px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.search-btn {
  position: absolute;
  right: 4px;
  background: var(--primary);
  color: #fff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover {
  background: var(--primary-hover);
}

/* Header Right Actions */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===================================================
   COMPACT LANGUAGE DROPDOWN WITH FLAGS
   =================================================== */
.lang-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.lang-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 0 10px;
  height: 38px;
  border-radius: var(--radius-md);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.lang-dropdown-trigger:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.lang-current-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-flag-svg {
  display: block;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.lang-current-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-dark);
}

.lang-chevron {
  font-size: 11px;
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 2px;
}

.lang-dropdown-wrapper.open .lang-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.lang-dropdown-wrapper.open .lang-dropdown-trigger {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 190px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.97);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.lang-dropdown-wrapper.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-dropdown-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--text-dark);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.lang-dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

[data-theme="dark"] .lang-dropdown-item:hover {
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
}

.lang-dropdown-item.active {
  background: rgba(2, 132, 199, 0.12);
  color: var(--primary);
  font-weight: 700;
}

[data-theme="dark"] .lang-dropdown-item.active {
  background: rgba(2, 132, 199, 0.25);
  color: #38bdf8;
}

.lang-item-name {
  flex: 1;
  white-space: nowrap;
}

.lang-item-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-main);
  padding: 2px 6px;
  border-radius: 4px;
}

.lang-check-icon {
  font-size: 12px;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.lang-dropdown-item.active .lang-check-icon {
  opacity: 1;
}

/* Fallback for legacy .lang-switch */
.lang-switch {
  display: none;
}


.theme-toggle-btn {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--border-color);
}

.auth-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-login {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-login:hover {
  background: var(--primary);
  color: #fff;
}

.btn-register {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
}

.btn-register:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.user-profile-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.user-profile-menu:hover {
  background: var(--bg-main);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

/* ===================================================
   MAIN PAGE CONTENT
   =================================================== */

.content-area {
  padding: 24px;
  flex: 1;
}

/* Breadcrumb & Ticker */
.breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb-bar a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.ticker-banner {
  background: linear-gradient(90deg, #fef3c7 0%, #ede9fe 100%);
  border-left: 4px solid var(--accent-orange);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #92400e;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Category Filter Tags (Capsule / Pill Badges) */
.category-tags-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.cat-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.cat-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.cat-pill i {
  font-size: 14px;
}

.category-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  border-radius: 3px;
  display: inline-block;
}

.category-block-title .category-icon-img {
  width: 22px;
  height: 22px;
}

.product-icon-box .category-icon-img {
  width: 22px;
  height: 22px;
}

/* ===================================================
   PRODUCT CATEGORY SECTIONS & TABLES
   =================================================== */

.category-section-block {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.category-section-block:hover {
  box-shadow: var(--shadow-md);
}

.category-block-header {
  background: linear-gradient(90deg, #0284c7 0%, #0d9488 100%);
  color: #ffffff;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-block-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-block-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

/* Product Table */
.product-table {
  width: 100%;
  border-collapse: collapse;
}

.product-table th {
  background: var(--bg-main);
  padding: 12px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

.product-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
  font-size: 13.5px;
}

.product-table tr:last-child td {
  border-bottom: none;
}

.product-table tr:hover {
  background-color: var(--bg-card-hover);
}

/* Product Info Cell */
.product-cell-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.product-icon-box {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

.product-name-title {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 14px;
  margin-bottom: 4px;
  line-height: 1.4;
}

.product-format-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-main);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  display: inline-block;
  border: 1px solid var(--border-color);
}

.product-country-flag {
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stock Badge */
.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-green);
  background: var(--accent-green-light);
  padding: 4px 10px;
  border-radius: var(--radius-md);
}

.stock-badge.out-of-stock {
  color: var(--accent-red);
  background: var(--accent-red-light);
}

/* Price Cell */
.price-tag {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
}

.price-strike {
  font-size: 11px;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 4px;
}

/* Action Button */
.btn-buy-now {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.btn-buy-now:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-buy-now:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ===================================================
   PRODUCT VIEW TOOLBAR & 5-COLUMN GRID LAYOUT
   =================================================== */
.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 10px;
}

.toolbar-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-main);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.view-btn:hover:not(.active) {
  color: var(--text-dark);
  background: rgba(0, 0, 0, 0.04);
}

.view-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}



/* ===================================================
   MODALS (PURCHASE, DEPOSIT, AUTH, ORDERS)
   =================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
}

.modal-backdrop.show {
  display: flex;
}

.modal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-card.large {
  max-width: 800px;
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-main);
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  padding: 4px;
}

.modal-close-btn:hover {
  color: var(--accent-red);
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  background: var(--bg-main);
}

/* Form Controls */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.quantity-stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-step {
  width: 40px;
  height: 40px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-step:hover {
  background: var(--primary);
  color: #fff;
}

.quick-qty-chips {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.qty-chip {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  background: var(--bg-main);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.qty-chip:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.qty-chip.active,
.amount-preset-chip.active {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Purchase Summary Card */
.order-summary-box {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid var(--border-color);
  margin-top: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 8px;
}

.summary-row.total {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  border-top: 1px dashed var(--border-color);
  padding-top: 8px;
  margin-bottom: 0;
}

/* Delivered Data Box */
.data-output-box {
  width: 100%;
  height: 180px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  padding: 12px;
  background: #0f172a;
  color: #38bdf8;
  border: 1px solid #334155;
  border-radius: var(--radius-md);
  resize: vertical;
  white-space: pre;
  overflow-x: auto;
}

/* Live Purchase Toast (Bottom Left) - Compact & Elegant */
.live-purchase-toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-left: 3.5px solid var(--primary);
  padding: 7px 12px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 999;
  transform: translateY(140%);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 290px;
  pointer-events: none;
}

.live-purchase-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.toast-text {
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-muted);
  flex: 1;
  min-width: 0;
}

.toast-text strong {
  color: #0284c7;
  font-weight: 700;
}

.toast-prod-title {
  font-weight: 700;
  color: #1e293b;
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
  display: block;
}

.toast-time {
  font-size: 10px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 1px;
}

/* Floating Support Button */
.floating-support-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 998;
}

.support-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  transition: var(--transition);
}

.support-btn.telegram {
  background: #0088cc;
}

.support-btn.zalo {
  background: #0068ff;
}

.support-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 136, 204, 0.5);
}

/* ===================================================
   RESPONSIVE DESIGN
   =================================================== */

@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-wrapper {
    margin-left: 0;
    max-width: 100vw;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .top-header {
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .search-container {
    order: 3;
    max-width: 100%;
    margin-top: 6px;
  }

  .content-area {
    padding: 14px;
  }

  .product-table th:nth-child(2),
  .product-table td:nth-child(2) {
    display: none; /* Hide country on tiny screen */
  }

  .live-purchase-toast {
    left: 12px;
    bottom: 12px;
    right: 12px;
    max-width: none;
  }
}

/* ===================================================
   USER PROFILE & SETTINGS MODAL STYLING
   =================================================== */

.profile-nav-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.profile-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.profile-nav-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.profile-nav-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.profile-tab-pane {
  display: none;
}

.profile-tab-pane.active {
  display: block;
}

.preset-avatars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 10px;
  margin: 12px 0 16px;
}

.preset-avatar-item {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  cursor: pointer;
  padding: 2px;
  background: var(--bg-main);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preset-avatar-item img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.preset-avatar-item:hover {
  transform: scale(1.1);
  border-color: var(--primary);
}

.preset-avatar-item.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.35);
  transform: scale(1.08);
}

/* ===================================================
   SITE ENTRANCE NOTICE MODAL STYLING (MODERN & ELEGANT)
   =================================================== */
.notice-popup-card {
  max-width: 800px !important;
  width: 94% !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(2, 132, 199, 0.25), 0 15px 30px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(2, 132, 199, 0.2);
  animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg-card);
}

.notice-popup-card .modal-header {
  background: var(--bg-card);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notice-popup-header-title {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
}

.notice-popup-header-title i {
  color: #0284c7;
  background: rgba(2, 132, 199, 0.12);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.notice-brand-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #0284c7 100%);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.3);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.notice-brand-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.notice-brand-banner i {
  font-size: 19px;
  color: #38bdf8;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
}

.notice-content-box {
  background: linear-gradient(180deg, rgba(240, 247, 255, 0.7) 0%, rgba(248, 250, 252, 0.9) 100%);
  border-left: 4px solid #0284c7;
  border-radius: 10px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.notice-alert-warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 12px 0;
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.6;
}

.notice-feature-callout {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.notice-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.notice-cta-link {
  color: #0284c7;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.notice-cta-link:hover {
  color: #0369a1;
  text-decoration: underline;
  transform: translateX(3px);
}

[data-theme="dark"] .notice-content-box {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(2, 132, 199, 0.25);
  border-left-color: #38bdf8;
}

[data-theme="dark"] .notice-content-box p {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .notice-alert-warning {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fde68a;
}

.btn-hide-notice-2h {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-hide-notice-2h:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.5);
}

/* ==========================================
   PRODUCTS TOOLBAR & 5-COLUMN GRID LAYOUT
   ========================================== */
.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.products-toolbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.products-toolbar-title i {
  color: var(--primary);
}

.view-mode-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3px;
  gap: 4px;
}

.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-btn i {
  font-size: 13px;
}

.view-btn:hover {
  color: var(--text-dark);
}

.view-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

/* ===================================================
   GRID 5 COLUMNS CONTAINER & PRODUCT CARD STYLES
   =================================================== */
.product-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
}

@media (max-width: 1550px) {
  .product-grid-5 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 1200px) {
  .product-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 850px) {
  .product-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
  }
}

@media (max-width: 520px) {
  .product-grid-5 {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 8px;
  }
}

/* Product Card in Grid */
.product-card-grid {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 14px 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 4px 12px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.product-card-grid:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 12px 24px -4px rgba(2, 132, 199, 0.16), 0 4px 10px rgba(0, 0, 0, 0.04);
}

.product-card-body {
  display: flex;
  flex-direction: column;
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.product-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(14, 165, 233, 0.15) 100%);
  border: 1px solid rgba(2, 132, 199, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(2, 132, 199, 0.08);
}

.product-card-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 3px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.product-card-logo-badge:hover {
  transform: scale(1.1);
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.2);
}

.card-web-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.product-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.42;
  margin-top: 2px;
  margin-bottom: 8px;
  min-height: 37px;
  max-height: 37px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-format {
  font-size: 10.5px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-main);
  padding: 4px 7px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-card-format i {
  color: var(--primary);
  font-size: 10px;
  flex-shrink: 0;
}

.product-card-format .format-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-footer {
  margin-top: auto;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-top: 9px;
  border-top: 1px dashed var(--border-color);
}

.product-card-price-box {
  display: flex;
  flex-direction: column;
}

.product-card-price {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.3px;
  font-family: 'JetBrains Mono', sans-serif;
}

.product-card-price .currency-symbol {
  font-size: 12.5px;
  font-weight: 700;
  margin-left: 1px;
}

.product-card-price-old {
  font-size: 11px;
  color: var(--text-light);
  text-decoration: line-through;
  margin-top: -2px;
}

.stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
  white-space: nowrap;
}

.stock-badge.out-of-stock {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border-color: rgba(239, 68, 68, 0.25);
}

.btn-card-buy {
  width: 100%;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  border: none;
  padding: 8.5px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);
}

.btn-card-buy:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(2, 132, 199, 0.38);
}

.btn-card-buy.disabled,
.btn-card-buy:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

/* ===================================================
   SEEDING PORTAL 2.0 (BALANCED & RESPONSIVE ON-CANVAS)
   =================================================== */

.seeding-main-page-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  margin-bottom: 20px;
  max-width: 100%;
  box-sizing: border-box;
}

.seeding-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 12px;
}

.seeding-portal-layout {
  display: flex;
  gap: 14px;
  align-items: stretch;
  min-height: 480px;
}

/* Left Sidebar 14 Nền tảng */
.seeding-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  max-height: 560px;
  overflow-y: auto;
}

.seeding-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px 8px 8px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 6px;
}

.seeding-sidebar-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.seeding-sidebar-count {
  font-size: 10.5px;
  color: var(--text-muted);
  font-weight: 700;
  background: var(--bg-card);
  padding: 1px 6px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.seeding-platform-nav-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.seeding-platform-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  user-select: none;
  background: transparent;
}

.seeding-platform-nav-item:hover {
  background: var(--bg-card);
  border-color: var(--border-color);
  transform: translateX(2px);
}

.seeding-platform-nav-item.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(37, 99, 235, 0.08));
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.08);
}

.seeding-nav-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.seeding-nav-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  flex-shrink: 0;
}

.seeding-nav-item-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.seeding-platform-nav-item.active .seeding-nav-item-name {
  color: var(--primary);
  font-weight: 800;
}

.seeding-nav-item-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.seeding-nav-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.seeding-platform-nav-item.active .seeding-nav-badge {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.seeding-nav-arrow {
  font-size: 10px;
  color: var(--text-light);
}

.seeding-platform-nav-item.active .seeding-nav-arrow {
  color: var(--primary);
}

/* Right Content Pane */
.seeding-main-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Category Filter Pills (Level 2) */
.seeding-cat-pills-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 2px;
}

.seeding-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 14px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.seeding-cat-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.seeding-cat-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.seeding-cat-pill .pill-count {
  font-size: 9.5px;
  padding: 0 5px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.08);
}

.seeding-cat-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Level 3: Server Cards Grid (Spacious & Fully Readable) */
.seeding-servers-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding: 2px 4px 4px 2px;
  scrollbar-width: thin;
}

.seeding-server-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 11px 14px;
  background: var(--bg-main);
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  gap: 12px;
  min-height: 68px;
}

.seeding-server-card:hover {
  border-color: rgba(2, 132, 199, 0.6);
  background: var(--bg-card);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.seeding-server-card.active {
  border-color: #0284c7;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.09), rgba(37, 99, 235, 0.04));
  box-shadow: 0 0 0 1.5px #0284c7, 0 4px 12px rgba(2, 132, 199, 0.15);
}

.seeding-server-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.seeding-server-radio {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s;
}

.seeding-server-card.active .seeding-server-radio {
  border-color: #0284c7;
  background: #0284c7;
}

.seeding-server-radio::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transform: scale(0);
}

.seeding-server-card.active .seeding-server-radio::after {
  opacity: 1;
  transform: scale(1);
}

.seeding-server-info {
  flex: 1;
  min-width: 0;
}

.seeding-server-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.45;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.seeding-server-card.active .seeding-server-title {
  color: #0284c7;
}

.seeding-server-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.seeding-server-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  display: inline-block;
  margin-right: 2px;
}

.seeding-server-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
  text-align: right;
}

.seeding-server-price {
  font-size: 14px;
  font-weight: 800;
  color: #0284c7;
  font-family: 'JetBrains Mono', monospace;
  white-space: nowrap;
}

.seeding-server-limits {
  font-size: 10.5px;
  color: var(--text-muted);
}

/* Service Description Panel */
.seeding-desc-panel {
  background: rgba(2, 132, 199, 0.05);
  border: 1px dashed rgba(2, 132, 199, 0.4);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-dark);
  max-height: 200px;
  overflow-y: auto;
  box-sizing: border-box;
}

.seeding-desc-panel p {
  margin: 0 0 6px 0;
}

.seeding-desc-panel p:last-child {
  margin-bottom: 0;
}

.seeding-desc-panel span {
  background-color: transparent !important;
}

/* Quick Qty Preset Chips */
.seeding-qty-presets {
  display: flex;
  gap: 5px;
  margin-top: 5px;
  flex-wrap: wrap;
}

.qty-preset-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.qty-preset-chip:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Mobile & Tablet Responsive */
@media (max-width: 992px) {
  .seeding-portal-layout {
    flex-direction: column;
    gap: 12px;
  }

  .seeding-sidebar {
    width: 100%;
    max-height: none;
    padding: 6px 8px;
    box-sizing: border-box;
  }

  .seeding-sidebar-header {
    display: none;
  }

  .seeding-platform-nav-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 6px;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .seeding-platform-nav-item {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 6px 10px;
  }

  .seeding-nav-arrow {
    display: none;
  }

  .seeding-servers-list {
    grid-template-columns: 1fr;
    max-height: 220px;
  }
}

@media (max-width: 768px) {
  .seeding-main-page-card {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .seeding-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  #form-user-seeding-order > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* Order History Table Styling */
.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
}

.product-table th {
  background: #f1f5f9;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 11px 14px;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

.product-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  color: var(--text-dark);
}

.product-table tbody tr {
  transition: background 0.15s ease;
}

.product-table tbody tr:hover {
  background: rgba(2, 132, 199, 0.04);
}

.product-table tbody tr:last-child td {
  border-bottom: none;
}

/* ===================================================
   LANDING PAGE (PUBLIC HOMEPAGE FOR GUESTS)
   =================================================== */
.landing-page-wrapper {
  min-height: 100vh;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
}

/* Landing Top Bar */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .landing-header {
  background: rgba(15, 23, 42, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.landing-brand img {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.landing-brand-text h1 {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin: 0;
  background: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-brand-text span {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-nav-links a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.landing-nav-links a:hover {
  color: #0284c7;
}

.landing-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Landing Hero Section */
.landing-hero {
  position: relative;
  padding: 70px 24px 60px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-hero-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.18) 0%, rgba(99, 102, 241, 0.12) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.landing-hero-content {
  position: relative;
  z-index: 1;
}

.landing-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(99, 102, 241, 0.15) 100%);
  border: 1px solid rgba(2, 132, 199, 0.3);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 800;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.15);
}

.landing-hero-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.landing-hero-title span {
  background: linear-gradient(135deg, #0284c7 0%, #3b82f6 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.landing-hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.landing-btn-cta {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 800;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  border: none;
}

.landing-btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
}

.landing-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.55);
}

.landing-btn-secondary {
  background: var(--bg-card);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.landing-btn-secondary:hover {
  background: var(--bg-hover);
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-2px);
}

/* Stats Counter Grid */
.landing-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1050px;
  margin: 0 auto;
}

.landing-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.landing-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.35);
}

.landing-stat-num {
  font-size: 28px;
  font-weight: 900;
  color: #0284c7;
  margin-bottom: 4px;
}

.landing-stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Sections General */
.landing-section {
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.landing-section-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.landing-section-title {
  font-size: 30px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.landing-section-sub {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Service Pillar Cards (MMO & Seeding) */
.landing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.landing-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.landing-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #0284c7;
}

.landing-card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.icon-bg-blue { background: linear-gradient(135deg, #0284c7, #2563eb); }
.icon-bg-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.icon-bg-amber { background: linear-gradient(135deg, #ea580c, #f59e0b); }
.icon-bg-emerald { background: linear-gradient(135deg, #059669, #10b981); }
.icon-bg-pink { background: linear-gradient(135deg, #db2777, #f43f5e); }
.icon-bg-cyan { background: linear-gradient(135deg, #0891b2, #06b6d4); }

.landing-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.landing-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.landing-card-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}

.landing-card-features-list li {
  font-size: 12.5px;
  color: var(--text-dark);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-card-features-list li i {
  color: #10b981;
  font-size: 11px;
}

.landing-card-btn {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  background: var(--bg-hover);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.landing-card-btn:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

/* Feature Benefits Box (Why Choose Us) */
.landing-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.landing-benefit-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.landing-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.landing-benefit-text h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 6px 0;
}

.landing-benefit-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Steps Process Section */
.landing-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.landing-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  position: relative;
}

.landing-step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.landing-step-icon {
  font-size: 32px;
  color: #0284c7;
  margin: 12px 0 16px;
}

.landing-step-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.landing-step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Big Bottom CTA Banner */
.landing-cta-banner {
  background: linear-gradient(135deg, #0284c7 0%, #1e40af 50%, #4338ca 100%);
  border-radius: 24px;
  padding: 50px 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(2, 132, 199, 0.3);
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
}

.landing-cta-banner h3 {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.landing-cta-banner p {
  font-size: 15px;
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.landing-cta-banner-btn {
  background: #ffffff;
  color: #0284c7;
  font-size: 15px;
  font-weight: 800;
  padding: 14px 36px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.landing-cta-banner-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* ==========================================
   RICH MODERN FOOTER STYLING
   ========================================== */
.site-footer,
.landing-footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-card);
  padding: 0;
  font-size: 13.5px;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

/* 1. Footer Features Strip */
.footer-features-strip {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 20px;
}

.footer-features-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.footer-feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.25s ease;
}

.footer-feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.12);
}

.footer-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.footer-feature-info h4 {
  margin: 0 0 2px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-color);
}

.footer-feature-info p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* 2. Main Footer Content Grid */
.footer-main-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
}

.footer-col h3.footer-col-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-color);
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), #8b5cf6);
  border-radius: 2px;
}

/* Brand Column */
.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.footer-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-color);
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-social-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

/* Links List */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.footer-links-list a i {
  font-size: 10px;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-links-list a:hover i {
  transform: translateX(2px);
}

/* Contact Column */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-text strong {
  display: block;
  font-size: 13px;
  color: var(--text-color);
}

.footer-contact-text span,
.footer-contact-text a {
  font-size: 12.5px;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-contact-text a:hover {
  color: var(--primary);
}

/* Payment Methods Grid */
.footer-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.footer-payment-chip {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* 3. Footer Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid var(--border-color);
  background: var(--bg-main);
  padding: 16px 20px;
}

.footer-bottom-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-features-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main-body {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .footer-features-container {
    grid-template-columns: 1fr;
  }

  .footer-main-body {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px;
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .landing-nav-links {
    display: none;
  }

  .landing-hero-title {
    font-size: 30px;
  }

  .landing-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .landing-header {
    padding: 12px 16px;
  }

  .landing-hero {
    padding: 40px 16px 30px;
  }

  .landing-hero-title {
    font-size: 25px;
  }

  .landing-stats-grid {
    grid-template-columns: 1fr;
  }

  .landing-cta-banner {
    padding: 32px 16px;
  }

  .landing-cta-banner h3 {
    font-size: 23px;
  }
}
