/* =========================
   Full site stylesheet
   (paste into public/css/style.css)
   ========================= */

/* ---------- RESET & BASE ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; }
body {
  font-family: "Inter", "Arial", sans-serif;
  line-height: 1.5;
  color: #243240;
  background: #f6f8fb;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Utility */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- NAVBAR ---------- */
/* Fixed top bar */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  background: linear-gradient(90deg, #20364a 0%, #254a63 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(8,20,30,0.12);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* inner wrapper (script adds .scrolled to this element) */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.25s, padding 0.2s, box-shadow 0.2s;
}

/* smaller nav style when scrolled */
.nav-container.scrolled {
  padding: 8px 20px;
  box-shadow: 0 8px 28px rgba(8,20,30,0.18);
}

/* left / center / right */
.nav-left, .nav-center, .nav-right { display:flex; align-items:center; }
.nav-left { gap: 12px; }
.logo { color:#2ad6b6; font-weight:700; font-size:1.2rem; text-decoration:none; }

/* center links & search */
.nav-center { gap: 18px; flex: 1; justify-content: center; }
.nav-links { list-style: none; display:flex; gap: 18px; align-items:center; }
.nav-links li a { color: rgba(255,255,255,0.92); text-decoration:none; font-weight:600; padding:4px 6px; border-radius:4px; }
.nav-links li a:hover { color: #fff; background: rgba(255,255,255,0.04); }

/* search */
.search-container {
  display:flex; align-items:center; gap:8px;
  background: rgba(255,255,255,0.06);
  padding:6px 10px; border-radius:20px;
}
.search-container input {
  background:transparent; border:0; outline:none; color:#fff; min-width:160px;
  font-size:0.95rem;
}
.search-btn { background:transparent; border:0; color:#fff; cursor:pointer; font-size:1rem; }

/* right side buttons */
.nav-right { gap: 10px; align-items:center; }
.nav-btn { padding:8px 12px; border-radius:8px; border:0; font-weight:700; cursor:pointer; }
.topup-btn { background: linear-gradient(45deg,#3b82f6,#7c3aed); color:#fff; }
.seller-btn { background: linear-gradient(45deg,#ffb86b,#ff6b6b); color:#111; }

/* auth links (anchor style) */
.signup-btn, .signup-link {
  display:inline-block;
  background: #2ad6b6 !important;
  color: #052426 !important;
  padding:8px 12px;
  border-radius:8px;
  font-weight:700;
  text-decoration:none;
}
.login-btn, .login-link {
  display:inline-block;
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  padding:8px 12px;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
}

/* small inline user area (added by JS) */
.nav-user-inline { display:flex; align-items:center; gap:12px; }
.user-avatar { width:36px; height:36px; border-radius:50%; background:#2ad6b6; color:#052426; display:inline-flex; align-items:center; justify-content:center; font-weight:700; }

/* space to push content below fixed navbar */
.page-top-space { height:64px; }

/* ---------- PREMUM HERO ---------- */
.hero {
  padding: 120px 20px 80px;
  color: white;
  text-align: center;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 25%, #24243e 50%, #4e4376 75%, #162447 100%);
  position: relative;
  overflow: hidden;
  animation: heroBgShift 20s infinite alternate ease-in-out;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
  animation: heroParticles 15s infinite alternate ease-in-out;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 900;
  background: linear-gradient(45deg, #00d4ff 0%, #ff6b6b 50%, #ffd700 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 4px 20px rgba(0, 212, 255, 0.5);
  animation: heroTitleFadeIn 2s ease-out, heroGlow 3s infinite alternate;
  z-index: 2;
  position: relative;
}

.hero p {
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.95;
  font-size: 18px;
  line-height: 1.6;
  color: #e2e8f0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  animation: heroTextFadeIn 2.5s ease-out;
  z-index: 2;
  position: relative;
}

@keyframes heroBgShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes heroParticles {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(5deg); }
}

@keyframes heroTitleFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroGlow {
  0% { text-shadow: 0 4px 20px rgba(0, 212, 255, 0.5); }
  100% { text-shadow: 0 4px 30px rgba(0, 212, 255, 0.8); }
}

@keyframes heroTextFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero buttons */
.cta-button {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1em;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 10px;
}

.primary-btn {
  background: #2ad6b6;
  color: #052426;
  border: 2px solid #2ad6b6;
}

.primary-btn:hover {
  background: #20b99f;
  border-color: #20b99f;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid #fff;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ---------- PRODUCT / SERVICES GRID ---------- */
.product-grid, .services-grid {
  display: grid;
  gap: 20px;
}

/* default: product grid 3 up, services 4 up */
.product-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.services-grid { grid-template-columns: repeat(4, 1fr); }

/* item cards */
.product-item, .service-item {
  background:#fff;
  border-radius:12px;
  padding:18px;
  text-align:center;
  box-shadow: 0 8px 22px rgba(20,30,50,0.06);
  transition: transform .18s ease, box-shadow .18s ease;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}
.product-item:hover, .service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(10,20,40,0.08);
}
.product-icon, .service-icon { font-size:34px; margin-bottom:10px; }

/* textual */
.product-item h3, .service-item h3 { color:#243240; margin-bottom:8px; font-size:1.05rem; }
.product-item p, .service-item p { color:#566b7b; font-size:0.95rem; }

/* ---------- PRICING CARDS ---------- */
.pricing { background:#f4f6f9; padding: 40px 0; }
.pricing-cards { display:grid; grid-template-columns: repeat(3, 1fr); gap:24px; }
.card {
  background:#fff; border-radius:12px; padding:22px;
  box-shadow: 0 12px 36px rgba(15,30,50,0.06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(10,20,40,0.09); }
.card h3 { color:#243240; margin-bottom:8px; font-size:1.1rem; }
.card .price { font-size:26px; color:#2b6cff; margin:10px 0; }
.card ul { list-style:none; padding-left:0; margin:12px 0 16px; }
.card li { margin-bottom:8px; color:#3b4a57; }
.card .card-cta { display:inline-block; padding:10px 14px; background:#2b6cff; color:#fff; border-radius:8px; text-decoration:none; font-weight:700; }

/* featured */
.card.featured { border: 2px solid rgba(43,108,255,0.12); transform: translateY(-2px); }

/* badge */
.badge { display:inline-block; background:#ffdd57; color:#222; padding:4px 8px; border-radius:6px; font-weight:700; font-size:12px; margin-bottom:8px; }

/* ---------- AUTH (Signup / Login) ---------- */
.auth-page {
  min-height: calc(100vh - 64px);
  display:flex; align-items:center; justify-content:center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
}
.auth-box {
  width:100%; max-width:520px; background:#fff; border-radius:14px; padding:32px;
  box-shadow: 0 18px 60px rgba(6,18,30,0.24);
  animation: fadeInUp .45s ease;
}
.auth-box h2 { text-align:center; color:#10263a; margin-bottom:18px; font-size:22px; font-weight:700; }
.auth-form { display:flex; flex-direction:column; gap:12px; }
.auth-form label { color:#2b3b45; font-weight:700; font-size:0.95rem; }
.auth-input {
  width:100%; padding:10px 12px; border-radius:10px; border:1px solid #e6e9ef; font-size:1rem;
}
.auth-input:focus { outline:none; border-color:#2ad6b6; box-shadow: 0 10px 30px rgba(42,214,182,0.12); }
.password-wrapper { position:relative; display:flex; align-items:center; }
.password-toggle {
  position:absolute; right:12px; top:50%; transform:translateY(-50%); font-weight:700; color:#566b7b;
  cursor:pointer; user-select:none;
}
.auth-btn {
  margin-top:6px; padding:12px 14px; border-radius:10px; border:0; cursor:pointer;
  background:#2ad6b6; color:#052426; font-weight:800; font-size:1rem;
}
.auth-btn:hover { transform: translateY(-3px); background:#20b99f; }
.auth-footer { margin-top:12px; text-align:center; color:#6b7a89; }
.auth-footer a { color:#2ad6b6; font-weight:800; text-decoration:none; }

/* small text under forms */
.form-note { font-size:0.9rem; color:#667985; }

/* ---------- FOOTER ---------- */
.footer { background:#243240; color:#fff; padding:28px 20px; margin-top:36px; }
.footer .footer-links { display:flex; gap:14px; justify-content:center; margin-bottom:8px; flex-wrap:wrap; }
.footer a { color:#fff; text-decoration:none; }

/* ---------- NOTIFICATIONS ---------- */
/* script sometimes creates only class "notification" - these styles cover both generic and typed ones */
.notification { position: fixed; top: 18px; right: 18px; z-index: 9999; background:#1abc9c; color:#042820;
  padding:10px 14px; border-radius:8px; font-weight:700; box-shadow: 0 10px 30px rgba(10,20,30,0.18);
}
.notification.error { background:#e74c3c; color:#fff; }
.notification.info { background:#3498db; color:#fff; }
.notification.success { background:#1abc9c; }

/* ---------- SMALL UI HELPERS ---------- */
.hidden-service { display:none !important; }
.center { text-align:center; }

/* ---------- COMPREHENSIVE RESPONSIVENESS ---------- */

/* Base responsive containers */
@media (max-width: 1200px) {
  .container { max-width: 95%; }
  .product-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .services-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

/* Tablet and smaller desktop */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-cards { grid-template-columns: repeat(2, 1fr); }
  .nav-center { display:none; } /* hide center links on smaller screens (script may toggle) */
}

/* Small tablet and large mobile */
@media (max-width: 880px) {
  .nav-links { gap: 12px; }
  .nav-links li a { padding:4px 4px; font-size: 0.9rem; }
  .logo { font-size: 16px; }
}

/* Mobile landscape */
@media (max-width: 760px) {
  /* Grid adjustments for mobile */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }

  /* Hero section optimization */
  .hero { padding: 60px 16px; text-align: center; }
  .hero h1 { font-size: 40px; }

  /* Authentication forms */
  .auth-page { padding: 20px 10px; }
  .auth-box { padding:20px; margin: 0; width: 100%; max-width: 100%; }

  /* Navigation optimization */
  .nav-right { gap:4px; }
  .nav-btn { padding:6px 8px; font-size: 0.9rem; }
  .signup-btn, .signup-link { padding:6px 8px; font-size: 0.9rem; }
  .login-btn, .login-link { padding:6px 8px; font-size: 0.9rem; }
  .search-container input { min-width: 120px; }

  /* Card layouts */
  .pricing { padding: 60px 20px; }
  .pricing-cards { grid-template-columns: 1fr; }
  .card { padding: 20px; }

  /* Footer optimization */
  .footer { padding: 40px 20px; }
  .footer-links { justify-content: center; gap: 15px; }
}

/* Mobile portrait */
@media (max-width: 650px) {
  /* Further mobile optimizations */
  .nav-right { gap: 3px; }

  /* Better button spacing */
  .auth-buttons { gap: 5px; }
  .nav-btn { padding:5px 6px; font-size: 0.85rem; }
  .signup-btn, .signup-link { padding:5px 6px; font-size: 0.85rem; }
  .login-btn, .login-link { padding:5px 6px; font-size: 0.85rem; }

  /* Full-width product grids */
  .product-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  /* Optimize hero buttons */
  .cta-button { margin: 10px 0; width: 100%; }
}

/* Small mobile (320px+) */
@media (max-width: 420px) {
  /* Complete mobile optimization */
  .services-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }

  /* Flexible navigation */
  .nav-container { padding:8px 10px; flex-wrap: wrap; gap: 8px; height: auto; min-height: 64px; }
  .nav-left { order: 1; flex: 0 0 auto; }
  .nav-center { order: 3; flex: 1 1 100%; justify-content: flex-start; display: flex; }
  .nav-right { order: 2; flex: 0 0 auto; justify-content: flex-end; }

  /* Mobile-first search */
  .search-container { order: 4; flex: 1 1 100%; margin-top: 5px; }
  .search-container input { min-width: 100px; font-size: 0.9rem; padding: 8px 10px; }

  /* Button size for touch */
  .nav-btn { padding:4px 6px; font-size: 0.8rem; min-height: 40px; min-width: 44px; }
  .signup-btn, .signup-link { padding:4px 6px; font-size: 0.8rem; }
  .login-btn, .login-link { padding:4px 6px; font-size: 0.8rem; }

  /* Padding adjustments */
  .container { padding: 0 15px; }

  /* Text sizing for mobile */
  .hero h1 { font-size: 32px; line-height: 1.2; }
  .hero p { font-size: 16px; padding: 0 10px; }
}

/* Very small screens (320px and below) */
@media (max-width: 320px) {
  .nav-container { padding: 6px 8px; }

  .hero h1 { font-size: 28px; }
  .hero p { font-size: 14px; }

  .container { max-width: 100%; padding: 0 10px; }
}

/* High-resolution displays */
@media (min-width: 1201px) {
  .container { max-width: 1300px; }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  /* Improve touch targets for mobile */
  .nav-links li a { padding: 8px 8px; }
  .nav-btn { min-height: 44px; padding: 10px 12px; }
  .cta-button { min-height: 48px; padding: 16px 32px; }

  /* Reduce hover effects for touch devices */
  .product-item:hover { transform: none; box-shadow: 0 8px 22px rgba(20,30,50,0.06); }
  .service-item:hover { transform: none; box-shadow: 0 8px 22px rgba(20,30,50,0.06); }
  .card:hover { transform: none; box-shadow: 0 12px 36px rgba(15,30,50,0.06); }
}

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
  .hero { padding: 30px 20px 20px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 14px; margin-bottom: 20px; }
}

/* Enhanced typography for mobile */
@media (max-width: 768px) {
  body { font-size: 15px; line-height: 1.5; }

  h1 { font-size: 2rem; line-height: 1.3; }
  h2 { font-size: 1.75rem; line-height: 1.4; }
  h3 { font-size: 1.5rem; line-height: 1.4; }
  h4 { font-size: 1.25rem; line-height: 1.4; }
  h5 { font-size: 1.1rem; line-height: 1.4; }
}

/* Mobile-specific layout classes */
.mobile-stack { flex-direction: column !important; }

@media (max-width: 576px) {
  .mobile-stack > * { margin-bottom: 15px; }
}

/* Responsive tables */
@media (max-width: 768px) {
  .table-responsive tbody tr {
    display: block;
    border: 1px solid #dee2e6;
    border-bottom: none;
    margin-bottom: 10px;
    padding: 10px;
  }

  .table-responsive tbody tr:last-child {
    border-bottom: 1px solid #dee2e6;
  }

  .table-responsive th,
  .table-responsive td {
    display: block;
    text-align: left;
    border: none;
    padding: 5px 0;
  }

  .table-responsive th:before {
    content: attr(data-label) ": ";
    font-weight: bold;
  }
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp { from { opacity:0; transform: translateY(12px); } to { opacity:1; transform: translateY(0); } }
/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  text-align: center;
}
.alert.success {
  background: #e6ffed;
  color: #0f5132;
  border: 1px solid #a3cfbb;
}
.alert.error {
  background: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

/* Auth checkbox */
.auth-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 16px;
  font-size: 14px;
}
.auth-checkbox input {
  width: 16px;
  height: 16px;
}

/* ---------- PREMIUM TOP-UP STYLES ---------- */
.topup-layout {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 20px auto;
  max-width: 1200px;
}

.exchange-rates {
  flex: 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.exchange-rates h3 {
  margin-bottom: 15px;
  font-size: 1.5em;
  display: flex;
  align-items: center;
}

.exchange-rates h3::before {
  content: '📊';
  margin-right: 10px;
}

.topup-section {
  flex: 2;
}

.funder, .payment-methods {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.funder h2 {
  margin-bottom: 20px;
  color: #333;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.funder h2::before {
  content: '💰';
  margin-right: 10px;
}

#amountForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#amountForm input, #amountForm button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
}

#amountForm input {
  border: 1px solid #ddd;
}

#amountForm button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

#amountForm button:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
}

#calculatedRUB {
  color: #22c55e;
  font-weight: bold;
  margin-top: 10px;
}

.payment-methods h3 {
  margin-bottom: 15px;
  font-size: 1.3em;
  display: flex;
  align-items: center;
}

.payment-methods h3::before {
  content: '💳';
  margin-right: 10px;
}

.method-btn {
  display: inline-block;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 8px;
  margin: 5px;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}

.method-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.crypto-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.crypto-coin {
  flex: 1;
  min-width: 250px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: 2px solid #ddd;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.crypto-coin:hover {
  border-color: #667eea;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.crypto-coin h3 {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.crypto-coin[data-coin="usdt-trc20"] h3::before {
  content: '💰';
}

.crypto-coin[data-coin="btc"] h3::before {
  content: '₿';
}

.crypto-coin p {
  color: #666;
  line-height: 1.4;
}

.crypto-coin button {
  margin-top: 15px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.crypto-coin button:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

#paymentDetails {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-top: 20px;
}

.qr-code img {
  max-width: 150px;
  margin: 10px auto;
  display: block;
}

.wallet-address p {
  margin: 10px 0;
  color: #333;
  font-family: monospace;
}

#confirmPaymentForm button {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 1em;
  font-weight: bold;
}

#confirmPaymentForm button:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

/* Responsive for Top-Up */
@media (max-width: 768px) {
  .topup-layout {
    flex-direction: column;
  }
  .exchange-rates, .topup-section {
    flex: none;
  }
}

/* Premium Logo Enhancement */
.logo::before {
  content: '🚀';
  margin-right: 5px;
}

/* Premium Navbar Styles */
.premium-nav {
  background: linear-gradient(90deg, #162447 0%, #1f4068 50%, #1b1b2f 100%) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}

.premium-logo {
  color: #00d4ff !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 10px rgba(0,212,255,0.5) !important;
  animation: premiumGlow 2s infinite alternate !important;
}

@keyframes premiumGlow {
  0% { text-shadow: 0 2px 10px rgba(0,212,255,0.5); }
  100% { text-shadow: 0 2px 20px rgba(0,212,255,0.8); }
}

.premium-links li a {
  color: rgba(255,255,255,0.95) !important;
  transition: all 0.3s ease !important;
}

.premium-links li a:hover {
  color: #00d4ff !important;
  background: rgba(0,212,255,0.1) !important;
  transform: translateY(-2px) !important;
}

.premium-search {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  transition: all 0.3s ease !important;
}

.premium-search:hover {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(0,212,255,0.5) !important;
  transform: scale(1.02) !important;
}

.premium-input {
  color: #fff !important;
}

.premium-input::placeholder {
  color: rgba(255,255,255,0.7) !important;
}

.premium-btn {
  transition: all 0.3s ease !important;
}

.premium-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
}

.premium-user-menu:hover .user-avatar {
  transform: scale(1.1) !important;
  box-shadow: 0 5px 15px rgba(0,212,255,0.6) !important;
}

.premium-dropdown {
  background: linear-gradient(135deg, #1e3c72, #2a5298) !important;
  border: 1px solid rgba(0,212,255,0.3) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
  animation: slideIn 0.3s ease !important;
}

@keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.premium-auth .signup-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(42,214,182,0.4) !important;
}

.premium-auth .login-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(255,255,255,0.3) !important;
}

/* ========== MOBILE-FRIENDLY PROFESSIONAL NAVBAR STYLES ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  background: linear-gradient(90deg, #1e3c72 0%, #2a5298 50%, #162447 100%);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

.professional-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.1);
}

.mobile-menu-toggle:hover {
  background: rgba(255,255,255,0.2);
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.nav-left {
  display: flex;
  align-items: center;
}

.professional-logo {
  font-size: 1.3em;
  font-weight: 700;
  color: #00d4ff !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
}

.professional-logo:hover {
  transform: scale(1.02);
  color: #33e0ff !important;
}

.logo-icon {
  font-size: 1.4em;
  animation: logoPulse 2s infinite;
}

.logo-text {
  display: inline;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.professional-links {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #00d4ff;
  background: rgba(0,212,255,0.1);
  transform: translateY(-2px);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.professional-search {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 6px 12px;
  transition: all 0.3s ease;
}

.professional-search:hover {
  background: rgba(255,255,255,0.15);
}

.search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: 4px 8px;
  font-size: 0.9em;
  min-width: 200px;
}

.search-input::placeholder {
  color: rgba(255,255,255,0.7);
}

.search-btn {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.search-btn:hover {
  background: rgba(255,255,255,0.2);
}

.user-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-balance {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 15px;
  font-weight: 600;
  color: #fff;
}

.balance-icon {
  font-size: 1.1em;
}

.balance-text {
  font-size: 0.9em;
}

.user-menu {
  position: relative;
}

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  color: #fff;
}

.user-menu-trigger:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff, #33e0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9em;
  color: #1e3c72;
}

.user-name {
  font-size: 0.9em;
  font-weight: 600;
  white-space: nowrap;
}

.menu-arrow {
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.user-menu-trigger:hover .menu-arrow {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: 50px;
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1000;
}

.user-menu:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-radius: 12px 12px 0 0;
}

.user-full-name {
  font-size: 1.1em;
  font-weight: 700;
  margin-bottom: 4px;
}

.user-email {
  font-size: 0.9em;
  opacity: 0.9;
}

.dropdown-menu {
  padding: 8px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  gap: 12px;
  text-decoration: none;
  color: #34495e;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
  width: 100%;
  cursor: pointer;
  font-size: 0.9em;
}

.dropdown-item:hover {
  background: #f8f9fa;
  color: #667eea;
  padding-left: 25px;
}

.item-icon {
  font-size: 1.1em;
  width: 16px;
  text-align: center;
}

.dropdown-divider {
  height: 1px;
  background: #ecf0f1;
  margin: 8px 0;
}

.highlighted {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff !important;
}

.highlighted:hover {
  background: linear-gradient(135deg, #5a6fd8, #6a5fad);
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.admin-item {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #e74c3c;
  font-weight: 600;
}

.admin-item:hover {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #fff;
}

.logout-item {
  background: linear-gradient(135deg, #fdbb2d 0%, #22c1c3 100%);
  color: #fff;
  font-weight: 600;
}

.logout-item:hover {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: #fff;
}

.logout-form {
  margin: 0;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-btn {
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.9em;
}

.signup-btn {
  background: linear-gradient(135deg, #2ad6b6, #20b99f);
  color: #052426;
  border: none;
}

.signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42,214,182,0.3);
}

.login-btn {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.login-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}

/* ========== MOBILE NAVIGATION OVERLAY ========== */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(5px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 20px rgba(0,0,0,0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-nav-overlay.active .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-title {
  font-size: 1.2em;
  font-weight: 700;
}

.mobile-nav-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 1.2em;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobile-nav-close:hover {
  background: rgba(255,255,255,0.3);
}

.mobile-nav-links {
  padding: 20px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  color: #34495e;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: #667eea;
  padding-left: 10px;
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-user {
  padding: 20px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
}

.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.mobile-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d4ff, #33e0ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1em;
  color: #1e3c72;
}

.mobile-user-details {
  flex: 1;
}

.mobile-user-name {
  font-size: 1em;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 2px;
}

.mobile-user-email {
  font-size: 0.85em;
  color: #6c757d;
}

.mobile-balance {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.8);
  padding: 10px 15px;
  border-radius: 20px;
  font-weight: 600;
  color: #2c3e50;
}

.mobile-balance-icon {
  font-size: 1.1em;
  color: #f39c12;
}

.mobile-balance-text {
  font-size: 0.9em;
  color: #f39c12;
}

.mobile-nav-user-links {
  padding: 0 20px 20px 20px;
}

.mobile-nav-user-links .mobile-nav-link {
  padding: 12px 0;
  font-size: 0.9em;
}

.mobile-nav-auth {
  padding: 20px;
  border-top: 1px solid #e9ecef;
}

.mobile-auth-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.mobile-login-btn {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border: 2px solid #667eea;
}

.mobile-login-btn:hover {
  background: #667eea;
  color: #fff;
}

.mobile-signup-btn {
  background: linear-gradient(135deg, #2ad6b6, #20b99f);
  color: #052426;
  border: none;
}

.mobile-signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42,214,182,0.3);
}

.mobile-logout-form {
  margin: 0;
}

.mobile-logout-btn {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #fdbb2d 0%, #22c1c3 100%);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-logout-btn:hover {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  transform: translateY(-2px);
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Tablet and smaller desktop */
@media (max-width: 1024px) {
  .nav-center {
    display: none;
  }

  .professional-search {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }
}

/* Mobile landscape */
@media (max-width: 768px) {
  .professional-nav {
    padding: 0 15px;
    height: 56px;
  }

  .professional-logo {
    font-size: 1.1em;
  }

  .logo-text {
    display: none;
  }

  .user-section {
    gap: 8px;
  }

  .top-balance {
    padding: 4px 8px;
    font-size: 0.8em;
  }

  .user-name {
    display: none;
  }

  .mobile-nav-content {
    width: 260px;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .professional-nav {
    height: 50px;
    padding: 0 12px;
  }

  .professional-logo {
    font-size: 1em;
  }

  .user-section {
    gap: 6px;
  }

  .top-balance {
    display: none;
  }

  .mobile-nav-content {
    width: 100%;
  }

  .mobile-nav-header {
    padding: 15px;
  }

  .mobile-nav-links {
    padding: 15px;
  }

  .mobile-nav-link {
    padding: 12px 0;
    font-size: 0.9em;
  }

  .mobile-nav-user {
    padding: 15px;
  }

  .mobile-user-info {
    gap: 10px;
  }

  .mobile-avatar {
    width: 45px;
    height: 45px;
    font-size: 1em;
  }

  .mobile-user-name {
    font-size: 0.9em;
  }

  .mobile-user-email {
    font-size: 0.8em;
  }

  .mobile-balance {
    padding: 8px 12px;
    font-size: 0.8em;
  }

  .mobile-nav-user-links {
    padding: 0 15px 15px 15px;
  }

  .mobile-nav-auth {
    padding: 15px;
  }

  .mobile-auth-btn {
    padding: 10px 16px;
    font-size: 0.9em;
  }
}

/* Small mobile */
@media (max-width: 360px) {
  .professional-nav {
    height: 48px;
  }

  .mobile-menu-toggle {
    padding: 6px;
  }

  .hamburger-line {
    width: 20px;
    height: 2px;
    margin: 2px 0;
  }

  .mobile-nav-content {
    width: 100%;
  }

  .mobile-nav-header {
    padding: 12px;
  }

  .mobile-nav-title {
    font-size: 1.1em;
  }

  .mobile-nav-links {
    padding: 12px;
  }

  .mobile-nav-link {
    padding: 10px 0;
    font-size: 0.85em;
  }
}

/* ========== MODERN HERO & PRICING CARD STYLES ========== */

/* Modern Hero Section */
.modern-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.modern-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
  animation: heroParticles 15s infinite alternate ease-in-out;
  z-index: 1;
}

@keyframes heroParticles {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(5deg); }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-header {
  text-align: center;
  margin-bottom: 50px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff, #f8f9fa, #e9ecef);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 400;
}

/* Categories Grid Layout */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin-bottom: 30px;
}

.other-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

/* Category Section */
.category-section {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-section:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 120px rgba(0,0,0,0.15);
}

/* Mini Category (for Twitter, Google Voice, etc.) */
.mini-category {
  padding: 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mini-category:hover {
  transform: translateY(-8px);
}

/* Category Header */
.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(0,0,0,0.05);
}

.category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.category-title i {
  font-size: 2rem;
}

.category-title .mini {
  font-size: 1.2rem;
}

.see-all-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.see-all-link:hover {
  color: #5a6fd8;
  transform: translateX(5px);
}

.see-all-link.mini {
  font-size: 0.85rem;
}

/* Pricing Cards - Horizontal Row Layout */
.pricing-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-cards-grid.mini {
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* ==============================
   ENTERPRISE-GRADE CARD SYSTEM
   Professional Digital Design Architecture
   ============================== */

/* ===== MICRO-INTERACTIONS & STATE MANAGEMENT ===== */
.pricing-card {
  /* Interactive State Variables */
  --interaction-scale: 1;
  --interaction-rotation: 0deg;
  --interaction-blur: 0px;
  --interaction-brightness: 1;
  --interaction-contrast: 1;

  /* Performance Optimizations */
  will-change: transform, filter, box-shadow;
  contain: layout style paint;
  transform-origin: center;
}

/* Advanced Interaction Patterns */
.pricing-card:active {
  --interaction-scale: 0.98;
  --interaction-brightness: 0.95;
  --interaction-contrast: 1.05;
  transform: var(--interaction-scale) !important;
  animation: none !important;
  transition-duration: 0.1s !important;
}

/* Haptic Feedback Simulation */
@media (pointer: fine) {
  .pricing-card {
    cursor: pointer;
  }

  .pricing-card:active {
    transform: scale(0.98) rotateZ(1deg) !important;
  }
}

/* Reduced Motion Support - Accessibility First */
@media (prefers-reduced-motion: reduce) {
  .pricing-card,
  .pricing-card * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== ACCESSIBILITY & ACCESSIBLE DESIGN ===== */
.pricing-card {
  /* Focus Management */
  --focus-outline: 0px solid transparent;
  --focus-shadow: 0 0 0 0px transparent;
}

.pricing-card:focus-visible {
  --focus-outline: 2px solid var(--primary);
  --focus-shadow: 0 0 0 4px rgba(102, 126, 234, 0.3);
  outline: var(--focus-outline);
  box-shadow: var(--shadow-focus), var(--focus-shadow);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --neutral-50: #ffffff;
    --neutral-100: #f8f9fa;
    --neutral-200: #e9ecef;
    --neutral-800: #495057;
  }
}

/* Color Scheme Preferences */
@media (prefers-color-scheme: dark) {
  :root {
    /* Dark Mode Color Overrides */
    --primary-hue: 220;
    --secondary-hue: 250;
    --neutral-50: #1a1a1a;
    --neutral-100: #2a2a2a;
    --neutral-200: #3a3a3a;
    --neutral-800: #f5f5f5;
  }

  .pricing-card {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.95) 0%, rgba(26, 26, 26, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.1);
  }
}

/* ===== DESIGN SYSTEM FOUNDATION ===== */
:root {
  /* Professional Color Palette */
  --primary-hue: 215;
  --primary-saturation: 100%;
  --primary-lightness: 60%;
  --secondary-hue: 260;
  --secondary-saturation: 100%;
  --secondary-lightness: 70%;

  /* Spacing Scale - Perfectly Balanced */
  --space-0_5: 0.125rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Typography Scale - Harmonious Proportions */
  --font-size-xs: clamp(0.75rem, 2vw, 0.875rem);
  --font-size-sm: clamp(0.875rem, 3vw, 1rem);
  --font-size-base: clamp(1rem, 4vw, 1.125rem);
  --font-size-lg: clamp(1.125rem, 5vw, 1.25rem);
  --font-size-xl: clamp(1.25rem, 6vw, 1.5rem);
  --font-size-2xl: clamp(1.5rem, 8vw, 2rem);
  --font-size-3xl: clamp(2rem, 10vw, 2.5rem);

  /* Professional Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Enterprise-Grade Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.10), 0 1px 2px -1px rgb(0 0 0 / 0.10);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.10), 0 2px 4px -2px rgb(0 0 0 / 0.10);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.10), 0 4px 6px -4px rgb(0 0 0 / 0.10);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.10), 0 8px 10px -6px rgb(0 0 0 / 0.10);

  /* Professional Animations */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Glass Effects */
  --backdrop-blur: blur(12px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.2);
}

/* CSS Custom Properties for Theme Auto-Theming */
@property --card-scale {
  syntax: '<number>';
  initial-value: 1;
  inherits: false;
}

@property --card-rotation {
  syntax: '<number>';
  initial-value: 0;
  inherits: false;
}

@property --card-glow-intensity {
  syntax: '<number>';
  initial-value: 0;
  inherits: false;
}

/* Professional Font Loading and Fallbacks */
@font-face {
  font-family: 'Inter';
  src: url('https://rsms.me/inter/font-files/Inter-roman.var.woff2?v=3.19') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  font-variant-numeric: oldstyle-nums;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  line-height: 1.6;
  color: hsl(var(--primary-hue) 20% 20%);
  background:
    radial-gradient(circle at 20% 50%, hsla(220, 100%, 70%, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, hsla(280, 100%, 65%, 0.05) 0%, transparent 50%),
    linear-gradient(135deg, hsl(220, 40%, 98%) 0%, hsl(220, 45%, 95%) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Master Card Component */
.pricing-card {
  /* Sophia Color Harmony Palette */
  --primary: #667eea;
  --primary-light: #764ba2;
  --secondary: #f093fb;
  --secondary-light: #f5576c;
  --accent: #4ecdc4;
  --accent-light: #44a08d;
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-800: #1e293b;

  /* Glass Morphism Foundation */
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.95) 50%, rgba(248,249,255,0.92) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(248,250,252,0.5) 100%);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 24px;
  padding: 24px;

  /* Advanced Shadow System */
  box-shadow:
    /* Outer shadows for depth */
    0 20px 40px rgba(102, 126, 234, 0.08),
    0 10px 20px rgba(102, 126, 234, 0.06),
    /* Inner light reflection */
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 -1px 0 rgba(102, 126, 234, 0.02),
    /* Inner depth */
    inset 0 0 0 1px rgba(248,250,252,0.8);

  /* Professional Layout Grid */
  display: grid;
  grid-template-columns: 2fr 0.8fr 1.5fr;
  grid-template-rows: auto auto auto;
  gap: 20px;
  min-height: 180px;

  /* Enterprise Micro-animations */
  transition:
    transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.4s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.3s ease,
    background 0.3s ease;

  /* CSS Custom Properties for Dynamic Theming */
  --card-transform: scale(1);
  --card-rotation: rotateY(0deg);
  --card-glow: 0px;
  --blur: 0px;

  transform: var(--card-transform) var(--card-rotation);
  filter: blur(var(--blur));
  overflow: hidden;
  position: relative;

  /* Professional Hover States */
  &:hover {
    --card-transform: scale(1.03);
    --card-glow: 20px;
    border-color: rgba(102, 126, 234, 0.3);

    /* Enhanced Shadow System on Hover */
    box-shadow:
      0 25px 50px rgba(102, 126, 234, 0.12),
      0 15px 30px rgba(102, 126, 234, 0.08),
      0 8px 16px rgba(102, 126, 234, 0.06),
      inset 0 1px 0 rgba(255,255,255,0.9),
      inset 0 -1px 0 rgba(102, 126, 234, 0.04);

    /* Premium Border Animation */
    animation:
      borderGlow 2s ease-in-out infinite alternate,
      cardFloat 3s ease-in-out infinite;
  }
}

/* Professional Keyframe Animations */
@keyframes borderGlow {
  0% { border-color: rgba(102, 126, 234, 0.3); }
  100% { border-color: rgba(78, 205, 196, 0.4); }
}

@keyframes cardFloat {
  0% { transform: translateY(0px) scale(1.03); }
  100% { transform: translateY(-5px) scale(1.03); }
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #ffb347, #4ecdc4, #667eea, #764ba2);
  background-size: 300% 100%;
  animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Vibrant hover effects */
.pricing-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.15),
    0 10px 30px rgba(0,0,0,0.1),
    0 0 80px rgba(255,179,71,0.3),
    0 0 40px rgba(255,107,107,0.2);
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 10px 30px rgba(0,0,0,0.1), 0 0 80px rgba(255,179,71,0.3), 0 0 40px rgba(255,107,107,0.2); }
  50% { box-shadow: 0 25px 70px rgba(0,0,0,0.18), 0 15px 35px rgba(0,0,0,0.12), 0 0 100px rgba(255,179,71,0.4), 0 0 60px rgba(255,107,107,0.3); }
}

/* Individual Column Styles */
.pricing-card .col-1 {
  display: flex;
  align-items: center;
  gap: 12px;
  grid-row: 1;
  grid-column: 1;
}

.pricing-card .col-2 {
  grid-row: 1;
  grid-column: 2;
  font-size: 0.75rem;
  color: #6c757d;
  text-align: right;
}

.pricing-card .col-3 {
  grid-row: 1;
  grid-column: 3;
  text-align: center;
  max-width: 200px;
}

.pricing-card .col-4 {
  grid-row: 2;
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #28a745;
  font-size: 0.8rem;
  font-weight: 500;
}

.pricing-card .col-5 {
  grid-row: 2;
  grid-column: 2;
  text-align: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #2c3e50;
}

.pricing-card .col-6 {
  grid-row: 2;
  grid-column: 3;
  text-align: center;
  font-weight: 600;
  color: #28a745;
  font-size: 0.85rem;
}

.pricing-card .col-7 {
  grid-row: 3;
  grid-column: 3;
  text-align: center;
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
}

.pricing-card .col-8 {
  grid-row: 2 / span 2;
  grid-column: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card .col-8 .buy-button {
  max-height: 36px;
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Guarantee Icon */
.clock-icon {
  color: #28a745;
  font-size: 1rem;
}

.guarantee-text {
  color: #28a745;
  font-weight: 600;
}

/* Sales Count */
.sales-count {
  color: #6c757d;
}

/* Promo Badge */
.col-2::before {
  content: '✦';
  transition: none;
}

/* Special styling for Facebook cards */
.pricing-card.facebook-card {
  padding: 8px 8px 8px 16px;
  border-radius: 16px 32px 32px 16px;
  background: #F2F5FA;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid rgba(66, 103, 177, 0.1);
  transition: background-color 0.3s ease;
}

.pricing-card.facebook-card:hover {
  background: #E8F0FE;
  border-color: rgba(66, 103, 177, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.pricing-card.facebook-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #1877f2, #42a5f5);
  border-radius: 16px 32px 0 0;
}

.pricing-card:nth-child(1) { animation-delay: 0.1s; }
.pricing-card:nth-child(2) { animation-delay: 0.2s; }
.pricing-card:nth-child(3) { animation-delay: 0.3s; }
.pricing-card:nth-child(4) { animation-delay: 0.4s; }
.pricing-card:nth-child(5) { animation-delay: 0.5s; }
.pricing-card:nth-child(6) { animation-delay: 0.6s; }
.pricing-card:nth-child(7) { animation-delay: 0.7s; }
.pricing-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes cardEntry {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  z-index: 1;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15), 0 10px 25px rgba(0,0,0,0.1);
  border-color: rgba(102, 126, 234, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.pricing-card:hover::before {
  background: linear-gradient(90deg, #ff6b6b, #ee5a52);
  box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
  height: 6px;
}

/* Left Section - Icon & Content */
.pricing-card .card-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 200px;
}

.card-left .card-icon {
  flex-shrink: 0;
}

.card-left .card-details {
  flex: 1;
  min-width: 0;
}

/* Middle Section - Price & Stock */
.pricing-card .card-middle {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  text-align: center;
}

.card-middle .current-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: #2c3e50;
  line-height: 1;
}

.card-middle .stock-info {
  font-size: 0.8rem;
  color: #28a745;
  font-weight: 600;
  white-space: nowrap;
}

.card-middle .sales-info {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 500;
}

/* Right Section - Buy Button */
.pricing-card .card-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 90px;
  padding-left: 10px;
}

.card-right .buy-button {
  min-width: 85px;
  max-width: 95px;
  padding: 6px 10px;
  font-size: 0.7rem;
  border-radius: 5px;
  height: 30px;
}

/* Mobile Responsive - Stack vertically on mobile */
@media (max-width: 768px) {
  .pricing-card {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 16px;
  }

  .pricing-card .card-left,
  .pricing-card .card-middle,
  .pricing-card .card-right {
    flex-shrink: 0;
    width: 100%;
    min-width: unset;
  }

  .pricing-card .card-left {
    flex-direction: column;
    gap: 12px;
  }

  .card-left .card-details {
    text-align: center;
  }

  .pricing-card .card-middle {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .card-middle .current-price,
  .card-middle .stock-info,
  .card-middle .sales-info {
    flex: 1;
    text-align: center;
  }

  .pricing-card .card-right {
    justify-content: center;
  }

  .card-right .buy-button {
    width: 100%;
    max-width: 200px;
    min-width: unset;
  }
}

.pricing-card.mini {
  padding: 15px;
  border-radius: 12px;
}

.pricing-card.mini .product-title {
  font-size: 0.85rem;
  line-height: 1.3;
}

.pricing-card.mini .current-price {
  font-size: 0.9rem;
}

.pricing-card.mini .stock-info {
  font-size: 0.75rem;
}

/* Bestseller Badge */
.bestseller-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: #fff;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(238, 90, 82, 0.4);
  z-index: 10;
}

/* Card Icon */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.card-icon.small {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.card-icon i {
  font-size: 1.8rem;
  color: #fff;
}

.card-icon.small i {
  font-size: 1.3rem;
}

/* Platform Icon Colors */
.gmail-icon { background: linear-gradient(135deg, #ea4335, #d33b2c); }
.instagram-icon { background: linear-gradient(135deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.facebook-icon { background: linear-gradient(135deg, #1877f2, #42a5f5); }
.youtube-icon { background: linear-gradient(135deg, #ff0000, #cc0000); }
.twitter-icon { background: linear-gradient(135deg, #1da1f2, #42a5f5); }
.google-icon { background: linear-gradient(135deg, #4285f4, #1565c0); }
.threads-icon { background: linear-gradient(135deg, #000000, #333333); }
.tiktok-icon { background: linear-gradient(135deg, #000000, #00f2ea); }
.linkedin-icon { background: linear-gradient(135deg, #0077b5, #42a5f5); }

/* Product Title */
.product-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-title.small {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Product Description */
.product-description {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 15px;
  line-height: 1.4;
}

/* Rating Section */
.rating-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

.stars {
  display: flex;
  align-items: center;
  gap: 3px;
}

.stars i {
  font-size: 0.9rem;
  color: #ffd700;
}

.reviews-count {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 500;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #28a745;
  text-transform: uppercase;
}

/* Pricing Info */
.pricing-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 15px;
}

.pricing-info.mini {
  margin-bottom: 10px;
}

.current-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2c3e50;
}

.stock-info {
  font-size: 0.75rem;
  color: #28a745;
  font-weight: 600;
}

/* Buy Button */
.buy-button {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.buy-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a6fd8, #6a5fad);
}

.buy-button.small {
  padding: 8px 12px;
  font-size: 0.75rem;
  border-radius: 8px;
}

.buy-button.small i {
  font-size: 0.8rem;
}

.buy-button i {
  font-size: 1rem;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Desktop and Large Screens */
@media (max-width: 1400px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .other-categories-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablet Landscape */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .pricing-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .categories-grid {
    gap: 30px;
  }

  .category-section {
    padding: 25px;
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  .hero-container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-header {
    margin-bottom: 30px;
  }

  .modular-hero {
    padding: 60px 0 30px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .other-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .mini-category {
    padding: 15px;
  }

  .pricing-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .pricing-cards-grid.mini {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category-section {
    padding: 20px;
  }

  .category-title {
    font-size: 1.4rem;
  }

  .product-title {
    font-size: 0.9rem;
  }

  .current-price {
    font-size: 1.1rem;
  }
}

/* Mobile Landscape */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .category-section {
    padding: 15px;
  }

  .category-title {
    font-size: 1.2rem;
  }

  .pricing-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pricing-cards-grid.mini {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .other-categories-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  .hero-container {
    padding: 0 10px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .modern-hero {
    padding: 50px 0 20px;
  }

  .categories-grid {
    gap: 20px;
  }

  .category-section {
    padding: 12px;
    border-radius: 12px;
  }

  .mini-category {
    padding: 12px;
  }

  .category-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
  }

  .category-title {
    font-size: 1.1rem;
  }

  .pricing-card {
    padding: 15px;
  }

  .pricing-card.mini {
    padding: 12px;
  }

  .card-icon {
    width: 50px;
    height: 50px;
  }

  .card-icon.small {
    width: 35px;
    height: 35px;
  }

  .card-icon i {
    font-size: 1.4rem;
  }

  .card-icon.small i {
    font-size: 1rem;
  }

  .product-title {
    font-size: 0.85rem;
  }

  .product-title.small {
    font-size: 0.7rem;
  }

  .current-price {
    font-size: 1rem;
  }

  .stars i {
    font-size: 0.75rem;
  }

  .reviews-count {
    font-size: 0.65rem;
  }

  .verified-badge {
    font-size: 0.6rem;
  }

  .stock-info {
    font-size: 0.6rem;
  }

  .buy-button {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .buy-button.small {
    padding: 6px 10px;
    font-size: 0.7rem;
  }
}

/* Small Mobile */
@media (max-width: 320px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .category-title {
    font-size: 1rem;
  }

  .pricing-cards-grid.mini {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .pricing-card.mini {
    padding: 10px;
  }
}

/* ========== TOP SELLING STORES STYLES ========== */
.top-stores {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 60px 0;
  margin-top: 40px;
}

.top-stores .section-title {
  font-size: 2.2em;
  margin-bottom: 10px;
  color: #2c3e50;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1em;
  color: #6c757d;
  margin-bottom: 40px;
  margin-top: 0;
}

.top-stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.store-rank-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.store-rank-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.rank-badge {
  position: absolute;
  top: -10px;
  left: 20px;
  z-index: 10;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #333;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 1em;
  box-shadow: 0 4px 15px rgba(255,215,0,0.4);
  animation: rankPulse 2s infinite;
}

@keyframes rankPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.store-card-content {
  position: relative;
  padding: 0;
}

.store-banner {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #f8f9fa;
}

.store-logo {
  position: absolute;
  top: 130px;
  left: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  background-size: cover;
  background-position: center;
  z-index: 5;
}

.store-info {
  padding: 30px 20px 0 20px;
}

.store-info .store-name {
  font-size: 1.4em;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  display: block;
}

.store-owner {
  font-size: 0.95em;
  color: #6c757d;
  margin-bottom: 12px;
  display: block;
}

.store-category {
  display: inline-block;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  color: #1976d2;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  text-transform: capitalize;
  font-size: 0.85em;
  margin-bottom: 15px;
}

.store-sales {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f39c12;
  font-weight: 600;
  font-size: 0.9em;
  margin-bottom: 15px;
}

.i {
  color: #f39c12;
}

.store-actions {
  padding: 0 20px 20px 20px;
}

.visit-store-btn {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95em;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.visit-store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a6fd8, #6a5fad);
}

.see-all-section {
  text-align: center;
  margin-top: 40px;
}

.see-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: #fff;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1em;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.see-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
  background: linear-gradient(135deg, #34495e, #2c3e50);
}

.stores-search {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  text-align: center;
  margin-top: 30px;
}

.stores-search h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.3em;
}

.search-container {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 25px;
  padding: 8px 15px;
  gap: 10px;
  margin-bottom: 20px;
}

.search-input {
  background: transparent;
  border: none;
  outline: none;
  padding: 10px;
  font-size: 1em;
  flex: 1;
  min-width: 300px;
  color: #2c3e50;
}

.search-input::placeholder {
  color: #6c757d;
}

.search-btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
  background: linear-gradient(135deg, #5a6fd8, #6a5fad);
}

.search-results {
  text-align: left;
  margin-top: 20px;
  padding: 15px;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border-left: 4px solid #667eea;
}

.search-results .no-results {
  color: #dc3545;
  font-weight: 600;
  font-size: 0.95em;
  padding: 10px 0;
}

.search-results .results-count {
  color: #28a745;
  font-weight: 600;
  font-size: 0.95em;
  padding: 10px 0;
}

.search-results.no-results {
  border-left-color: #dc3545;
}

.no-stores-message {
  text-align: center;
  grid-column: 1 / -1;
  padding: 40px 20px;
}

.no-stores-message h3 {
  color: #6c757d;
  margin-bottom: 10px;
  font-size: 1.5em;
}

.no-stores-message p {
  color: #95a5a6;
  font-size: 1em;
  margin-bottom: 20px;
}

.explore-btn {
  display: inline-block;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.explore-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
  background: linear-gradient(135deg, #218838, #1bb87c);
}

/* Responsive for Top Stores */
@media (max-width: 768px) {
  .top-stores-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .store-rank-card {
    margin: 0 10px;
  }

  .store-logo {
    width: 50px;
    height: 50px;
    top: 130px;
  }

  .search-input {
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .search-input {
    min-width: 150px;
  }

  .search-container {
    flex-direction: column;
    gap: 8px;
  }
}

/* FontAwesome for icons if needed */
.fas {
  font-family: 'Font Awesome 5 Free', sans-serif;
  font-weight: 900;
}

.fa-chart-line:before {
  content: "\f201";
}

.fa-arrow-right:before {
  content: "\f061";
}

/* ========== SUPPORT WIDGET STYLES ========== */

/* Footer Support Link */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 25px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(102, 126, 234, 0.05));
  transition: all 0.3s ease;
}

.support-link:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.support-link i {
  font-size: 1em;
}

/* Floating Support Button */
.support-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
}

.support-floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

.support-floating-btn:active {
  transform: scale(0.95);
}

/* Support Widget Modal */
.support-widget {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 380px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.support-widget.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Support Header */
.support-header {
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.support-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
}

.support-info {
  flex: 1;
}

.support-info h3 {
  margin: 0 0 4px 0;
  font-size: 1.2em;
  font-weight: 700;
}

.support-info p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.9em;
}

.support-close {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.1em;
}

.support-close:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}

/* Support Content */
.support-content {
  padding: 0;
}

.support-options {
  display: flex;
  flex-direction: column;
}

.support-option {
  display: flex;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.support-option:hover {
  background: #f8f9fa;
  transform: translateX(5px);
}

.support-option:last-child {
  border-bottom: none;
}

.option-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  margin-right: 15px;
}

.whatsapp-icon {
  background: linear-gradient(135deg, #25d366, #22c55e);
  color: #fff;
}

.telegram-icon {
  background: linear-gradient(135deg, #0088cc, #27a4d9);
  color: #fff;
}

.email-icon {
  background: linear-gradient(135deg, #ea4335, #dc2626);
  color: #fff;
}

.option-text {
  flex: 1;
}

.option-text h4 {
  margin: 0 0 5px 0;
  font-size: 1.1em;
  font-weight: 600;
  color: #2c3e50;
}

.option-text p {
  margin: 0;
  color: #6c757d;
  font-size: 0.9em;
}

.option-arrow {
  color: #c0c0c0;
  font-size: 1.2em;
  transition: all 0.3s ease;
}

.support-option:hover .option-arrow {
  color: #667eea;
  transform: translateX(5px);
}

/* Support Footer */
.support-footer {
  padding: 15px 20px;
  background: #f8f9fa;
  border-top: 1px solid #e9ecef;
  text-align: center;
}

.support-footer p {
  margin: 0;
  color: #6c757d;
  font-size: 0.85em;
  font-style: italic;
}

/* Responsive Support Widget */
@media (max-width: 768px) {
  .support-widget {
    width: 90vw;
    max-width: 350px;
    right: 20px;
    bottom: 90px;
  }

  .support-floating-btn {
    bottom: 20px;
    right: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .support-link {
    order: 1;
  }

  .footer p {
    order: 2;
  }
}

@media (max-width: 480px) {
  .support-widget {
    right: 15px;
    bottom: 80px;
    width: 95vw;
  }

  .support-floating-btn {
    bottom: 15px;
    right: 15px;
    width: 55px;
    height: 55px;
    font-size: 1.3em;
  }

  .support-header {
    padding: 15px;
  }

  .support-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3em;
  }

  .support-option {
    padding: 15px;
  }

  .option-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3em;
  }
}

/* Animation for widget appearance */
@keyframes supportSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.support-widget.animated {
  animation: supportSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== LIVE CHAT INTERFACE STYLES ========== */

/* Live Chat Header */
.chat-header {
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 1.5s infinite;
}

.status-indicator.online {
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
}

.status-indicator.offline {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3);
}

.chat-status span {
  font-weight: 600;
  font-size: 0.95em;
}

.status-text {
  font-size: 0.85em;
  opacity: 0.8;
  font-weight: 500;
}

.chat-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-settings {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.9em;
}

.chat-settings:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.status-indicator.online {
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
}

.status-indicator.offline {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3);
}

.chat-status span {
  font-weight: 600;
  font-size: 0.95em;
}

.back-to-options {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.1em;
}

.back-to-options:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(-90deg);
}

/* Chat Messages */
.chat-messages {
  height: 300px;
  padding: 20px;
  overflow-y: auto;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.chat-messages::-webkit-scrollbar {
  width: 5px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #a8a8a8;
  border-radius: 5px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: #888;
}

.message {
  display: flex;
  margin-bottom: 10px;
  animation: messageSlideIn 0.3s ease-out;
}

.message.user-message {
  justify-content: flex-end;
}

.message.bot-message {
  justify-content: flex-start;
}

.message-content {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.9em;
  line-height: 1.4;
  position: relative;
}

.user-message .message-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  margin-left: auto;
  text-align: left;
}

.bot-message .message-content {
  background: #fff;
  color: #34495e;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-right: auto;
}

.welcome-message {
  margin-bottom: 20px;
}

.welcome-message .message-content {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: #fff;
}

.message-time {
  font-size: 0.75em;
  opacity: 0.7;
  margin-top: 8px;
  display: block;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typing Indicator */
.typing-indicator {
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.typing-dots {
  display: flex;
  gap: 4px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #667eea;
  animation: typingBounce 1.4s infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.1s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes typingBounce {
  0%, 80%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.typing-text {
  color: #6c757d;
  font-size: 0.9em;
  font-style: italic;
}

/* Chat Input */
.chat-input-container {
  padding: 0;
  background: #fff;
  border-top: 1px solid #e9ecef;
}

.chat-input-wrapper {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  gap: 12px;
}

.chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  outline: none;
  font-size: 0.95em;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.chat-input:focus {
  border-color: #667eea;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.chat-input::placeholder {
  color: #6c757d;
}

.send-button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.1em;
}

.send-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.send-button:active {
  transform: scale(0.9);
}

/* Live Chat Icon */
.live-chat-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

/* Responsive Live Chat */
@media (max-width: 768px) {
  .support-widget.show {
    width: 95vw;
    max-width: 400px;
    right: 10px;
    bottom: 90px;
  }

  .chat-messages {
    height: 250px;
    padding: 15px;
  }

  .chat-input-wrapper {
    padding: 15px;
  }

  .chat-input {
    font-size: 0.9em;
    padding: 10px 14px;
  }

  .send-button {
    width: 40px;
    height: 40px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .chat-messages {
    height: 200px;
  }

  .message-content {
    font-size: 0.85em;
    padding: 10px 14px;
  }

  .support-widget.show {
    right: 5px;
    bottom: 80px;
  }
}

/* Enhanced Live Chat Styles */
#liveChatInterface {
  background: #f8f9fa;
}

/* Quick Response Suggestions */
.quick-responses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 20px;
  border-bottom: 1px solid #e9ecef;
}

.quick-response-btn {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 15px;
  font-size: 0.8em;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #6c757d;
}

.quick-response-btn:hover {
  background: #667eea;
  border-color: #667eea;
  color: #fff;
  transform: translateY(-2px);
}

/* Chat Suggestions */
.chat-suggestions {
  padding: 15px 20px;
  background: #e9ecef;
  text-align: center;
  border-bottom: 1px solid #dee2e6;
}

.chat-suggestions p {
  margin: 0;
  color: #6c757d;
  font-size: 0.85em;
  font-style: italic;
}

/* Message Status */
.message-status {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
}

.message-status i {
  font-size: 0.8em;
  opacity: 0.7;
}

.message-status i.fa-check-double {
  color: #4ade80;
}

/* Message Bubble Effects */
.message-content:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
}

.user-message .message-content:before {
  left: auto;
  right: -8px;
  top: 15px;
  border-left: 8px solid #667eea;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.bot-message .message-content:before {
  left: -8px;
  top: 15px;
  border-right: 8px solid #fff;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

/* Emoji Support */
.message-content {
  word-wrap: break-word;
}

/* Product Tags */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
  justify-content: center;
}

.tag {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #495057;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.tag:hover {
  background: linear-gradient(135deg, #e3f2fd, #bbdefa);
  color: #1976d2;
  transform: scale(1.02);
}

/* Smooth Auto-Scroll */
.messages-container {
  will-change: transform;
}

/* Enhancement for Live Chat */
.support-widget.show {
  transform: none;
  box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}

/* Professional Chat Interface */
.live-chat-interface {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Input Focus Enhancement */
.chat-input:focus + .send-button {
  animation: pulse 1s infinite;
}

@keyframes liveChatPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
