/* ═══════════════════════════════════════════════════════
   SAFO — Premium Cinematic Design System v2.0
   Professional B2B Marketplace — Inspired by top platforms
   ═══════════════════════════════════════════════════════ */

/* ── Premium Design Tokens ──────────────────────────── */
:root {
  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.25);
  --glass-blur: 24px;
  --cinema-gradient: linear-gradient(135deg, #49B47B 0%, #3D9A68 50%, #1E7A4A 100%);
  --cinema-accent: linear-gradient(135deg, #49B47B 0%, #2E9963 50%, #1E7A4A 100%);
  --cinema-gold: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --premium-shadow: 0 2px 12px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.03);
  --premium-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  --premium-shadow-float: 0 16px 48px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
  --glow-green: 0 0 40px rgba(73, 180, 123, 0.12);
  --text-gradient: linear-gradient(135deg, #49B47B, #2E9963);
  --surface-elevated: #FFFFFF;
  --surface-reduced: #F8FAFB;
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-medium: rgba(0, 0, 0, 0.1);
}

/* ── Global Premium Foundation ──────────────────────── */
body {
  background: #F5F7FA;
  background-attachment: fixed;
}

/* ═══════════════════════════════════════════════════════
   HERO SECTION — Premium Split Design
   ═══════════════════════════════════════════════════════ */
.cinema-hero {
  position: relative;
  min-height: 220px;
  background: var(--cinema-gradient);
  overflow: hidden;
  margin: 0;
  border-radius: 0 0 24px 24px;
}

.cinema-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 15% 85%, rgba(73, 180, 123, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 85% 15%, rgba(30, 122, 74, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 400px 300px at 50% 40%, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
  animation: auroraShift 12s ease-in-out infinite alternate;
}

@keyframes auroraShift {
  0% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 0.8; transform: scale(1); }
}

.cinema-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M40 0l40 40-40 40L0 40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cinema-hero-content {
  position: relative;
  z-index: 2;
  padding: 24px 20px 28px;
  color: #fff;
}

/* ── Hero Split Slider Layout ──────────────────────── */
.hero-split-slider {
  display: flex;
  min-height: 200px;
  position: relative;
  z-index: 2;
}

.hero-split-left {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 20px 16px;
  position: relative;
  z-index: 2;
}

.hero-split-left-inner {
  width: 100%;
}

.hero-split-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: fadeInDown 0.5s ease;
}

.cinema-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(73, 180, 123, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(73, 180, 123, 0.25);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 12px;
  animation: fadeInDown 0.4s ease;
  letter-spacing: 0.02em;
}

.cinema-hero h1 {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
  animation: fadeInUp 0.4s ease 0.1s both;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.01em;
}

.cinema-hero h1 .highlight,
.cinema-hero h1 .hero-brand {
  background: linear-gradient(135deg, #49B47B, #7DD9A4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-brand::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #49B47B, #F59E0B);
  border-radius: 2px;
  animation: brandGlow 2.5s ease-in-out infinite alternate;
}

@keyframes brandGlow {
  0% { opacity: 0.4; transform: scaleX(0.7); }
  100% { opacity: 1; transform: scaleX(1); }
}

.cinema-hero p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 280px;
  line-height: 1.5;
  animation: fadeInUp 0.4s ease 0.2s both;
}

/* ── Hero Rotating Text ────────────────────────────── */
.hero-rotating-wrap {
  display: flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 8px;
  animation: fadeInUp 0.5s ease 0.2s both;
}

.hero-rotating-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #F59E0B;
  text-shadow: 0 1px 12px rgba(245, 158, 11, 0.25);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 85vw;
}

.hero-cursor {
  display: inline-block;
  width: 2.5px;
  height: 1.2em;
  background: #F59E0B;
  margin-right: 3px;
  border-radius: 2px;
  animation: cursorBlink 0.8s step-end infinite;
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-split-title {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 6px;
  color: #fff;
  animation: fadeInUp 0.5s ease 0.1s both;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.hero-split-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 280px;
  line-height: 1.5;
  animation: fadeInUp 0.4s ease 0.25s both;
}

/* ── Hero Right — Image Slider ─────────────────────── */
.hero-split-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  position: relative;
  z-index: 2;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.hero-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-slider-dot.active {
  background: #fff;
  width: 18px;
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.2s ease;
  opacity: 0;
}

.hero-slider-container:hover .hero-slider-arrow {
  opacity: 1;
}

.hero-slider-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev { right: 8px; }
.hero-slider-next { left: 8px; }

.hero-slider-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  gap: 8px;
}

.hero-slider-empty-icon {
  font-size: 28px;
  opacity: 0.5;
}

/* ── Hero Stats ────────────────────────────────────── */
.cinema-hero-stats {
  display: flex;
  gap: 20px;
  margin-top: 14px;
  animation: fadeInUp 0.4s ease 0.3s both;
}

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

.cinema-stat-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  display: block;
  letter-spacing: -0.02em;
}

.cinema-stat-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

/* ── Hero Tagline ──────────────────────────────────── */
.hero-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
  margin: 0 auto 10px;
  line-height: 1.5;
  animation: fadeInUp 0.5s ease 0.35s both;
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS — Smooth & Professional
   ═══════════════════════════════════════════════════════ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ── Floating Particles (subtle) ───────────────────── */
.cinema-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cinema-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: floatParticle 12s ease-in-out infinite;
  will-change: transform, opacity;
}

.cinema-particle:nth-child(1) { left: 12%; top: 25%; animation-delay: 0s; }
.cinema-particle:nth-child(2) { left: 55%; top: 65%; animation-delay: 4s; width: 2px; height: 2px; }
.cinema-particle:nth-child(3) { left: 82%; top: 20%; animation-delay: 8s; }

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
  15% { opacity: 0.5; }
  50% { transform: translateY(-25px) translateX(12px); opacity: 0.2; }
  85% { opacity: 0.5; }
}

/* ═══════════════════════════════════════════════════════
   GLASSMORPHISM ELEMENTS
   ═══════════════════════════════════════════════════════ */

/* ── Top Tabs — Glass Effect ───────────────────────── */
.top-tabs {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--border-subtle) !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
}

/* ── Search Bar — Premium ──────────────────────────── */
.smart-search {
  border: none !important;
  background: var(--surface-elevated) !important;
  border: 1px solid var(--border-medium) !important;
  box-shadow: var(--premium-shadow), var(--glow-green) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.smart-search:focus-within {
  box-shadow: var(--premium-shadow-hover), 0 0 50px rgba(73, 180, 123, 0.12) !important;
  border-color: rgba(73, 180, 123, 0.35) !important;
  transform: translateY(-1px);
}

.search-btn-orange {
  background: var(--cinema-accent) !important;
  box-shadow: 0 4px 14px rgba(73, 180, 123, 0.3);
  transition: all 0.2s ease;
}

.search-btn-orange:hover {
  box-shadow: 0 6px 20px rgba(73, 180, 123, 0.4);
  transform: scale(1.05);
}

/* ── Quick Actions — Elevated Cards ────────────────── */
.quick-action-card {
  background: var(--surface-elevated) !important;
  border: 1px solid var(--border-subtle) !important;
  box-shadow: var(--premium-shadow) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  border-radius: 14px !important;
}

.quick-action-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--premium-shadow-hover) !important;
  border-color: rgba(73, 180, 123, 0.25) !important;
}

.quick-action-card:active {
  transform: translateY(-1px) scale(0.98) !important;
}

/* ── Promo Banner — Gradient Glass ─────────────────── */
.promo-banner {
  background: linear-gradient(135deg, rgba(73, 180, 123, 0.04) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(245, 158, 11, 0.04) 100%) !important;
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle) !important;
  box-shadow: var(--premium-shadow) !important;
  border-radius: 16px !important;
}

/* ═══════════════════════════════════════════════════════
   PRODUCT CARDS — Premium Design
   ═══════════════════════════════════════════════════════ */
.product-card {
  background: var(--surface-elevated) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 14px !important;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  box-shadow: var(--premium-shadow) !important;
}

.product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--premium-shadow-hover) !important;
  border-color: rgba(73, 180, 123, 0.2) !important;
}

.product-card-img-wrap {
  border-radius: 0 !important;
  position: relative;
  overflow: hidden;
}

.product-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.03) 100%);
  pointer-events: none;
}

.product-card:hover .product-card-img {
  transform: scale(1.08) !important;
}

/* ── Product Card Hover Overlay ────────────────────── */
.product-card-overlay {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6)) !important;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  pointer-events: none;
}

.product-card:hover .product-card-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.overlay-btn {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #065F46 !important;
  padding: 7px 16px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.25s ease !important;
}

.overlay-btn:hover {
  background: var(--primary, #49B47B) !important;
  color: #fff !important;
  transform: scale(1.05) !important;
  box-shadow: 0 6px 24px rgba(73, 180, 123, 0.3) !important;
}

/* ── Deal Cards — Premium ──────────────────────────── */
.deal-card {
  background: var(--surface-elevated) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 14px !important;
  box-shadow: var(--premium-shadow) !important;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.deal-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--premium-shadow-hover) !important;
}

.deal-card-img {
  border-radius: 0 !important;
}

.deal-card-price {
  color: #E53935 !important;
  font-weight: 800 !important;
}

/* ── Category Cards — Premium ──────────────────────── */
.pro-cat-card {
  background: var(--surface-elevated) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: 16px !important;
  box-shadow: var(--premium-shadow) !important;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  overflow: hidden;
}

.pro-cat-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--premium-shadow-hover) !important;
}

.pro-cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cat-gradient, var(--cinema-accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pro-cat-card:hover::before {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════
   FLOATING BANNER — Premium
   ═══════════════════════════════════════════════════════ */
.floating-banner {
  background: linear-gradient(135deg, #49B47B 0%, #3D9A68 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15) !important;
  border-radius: 16px 16px 0 0 !important;
}

.floating-banner .btn-primary {
  background: var(--cinema-accent) !important;
  box-shadow: 0 4px 14px rgba(73, 180, 123, 0.3);
}

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════ */
.section-block,
.services-section,
.promo-banner,
.quick-actions,
.ui2-benefits,
.ui2-suppliers {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Only hide when JS adds .reveal class (progressive enhancement) */
.section-block.reveal,
.services-section.reveal,
.promo-banner.reveal,
.quick-actions.reveal,
.ui2-benefits.reveal,
.ui2-suppliers.reveal {
  opacity: 0;
  transform: translateY(15px);
}

.section-block.visible,
.services-section.visible,
.promo-banner.visible,
.quick-actions.visible,
.ui2-benefits.visible,
.ui2-suppliers.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   MOBILE HEADER — Premium
   ═══════════════════════════════════════════════════════ */
.safo-mobile-header {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03) !important;
  position: sticky;
  top: 0;
  z-index: 100;
}

.safo-header-logo {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.safo-header-name {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #065F46 !important;
  letter-spacing: -0.02em;
}

.safo-header-tagline {
  font-size: 10px !important;
  color: #9CA3AF !important;
  letter-spacing: 0.02em;
}

.safo-header-btn {
  width: 38px !important;
  height: 38px !important;
  border-radius: 12px !important;
  background: var(--surface-reduced) !important;
  border: 1px solid var(--border-subtle) !important;
  transition: all 0.2s ease !important;
}

.safo-header-btn:hover {
  background: var(--surface-elevated) !important;
  box-shadow: var(--premium-shadow) !important;
  transform: translateY(-1px);
}

.safo-notif-dot {
  width: 8px !important;
  height: 8px !important;
  background: #E53935 !important;
  border: 2px solid #fff !important;
  box-shadow: 0 0 8px rgba(229, 57, 53, 0.4);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Hero
   ═══════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .hero-split-slider {
    flex-direction: column;
    min-height: auto;
  }

  .hero-split-left {
    padding: 16px;
  }

  .hero-split-right {
    padding: 0 16px 16px;
  }

  .hero-slider-container {
    max-width: 100%;
    aspect-ratio: 16/9;
  }

  .cinema-hero h1 {
    font-size: 1.2rem;
  }

  .hero-rotating-text {
    font-size: 0.95rem;
  }

  /* Hide hero logo + title on mobile (duplicate of mobile header) */
  .hero-split-logo,
  .cinema-hero-badge,
  .hero-split-title,
  .hero-split-tagline {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .hero-split-slider {
    max-width: 960px;
    margin: 0 auto;
  }

  .cinema-hero {
    border-radius: 0 0 28px 28px;
  }
}

@media (min-width: 1024px) {
  .hero-split-slider {
    max-width: 1100px;
  }

  .cinema-hero h1 {
    font-size: 1.8rem;
  }

  .hero-rotating-text {
    font-size: 1.3rem;
  }

  .hero-slider-container {
    max-width: 400px;
    aspect-ratio: 16/10;
  }
}

/* ═══════════════════════════════════════════════════════
   CATEGORY ICON CARDS — Premium Grid (Homepage)
   ═══════════════════════════════════════════════════════ */
.pro-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pro-cat-card {
  background: var(--surface-elevated, #fff);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 16px 12px;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.pro-cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cat-gradient, linear-gradient(135deg, #49B47B, #2E9963));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pro-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  border-color: rgba(73, 180, 123, 0.15);
}

.pro-cat-card:hover::before {
  opacity: 1;
}

.pro-cat-card:active {
  transform: translateY(-1px) scale(0.98);
}

.pro-cat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cat-gradient, linear-gradient(135deg, #49B47B, #2E9963));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.pro-cat-card:hover .pro-cat-icon-wrap {
  transform: scale(1.08);
}

.pro-cat-emoji {
  font-size: 1.4rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.pro-cat-info {
  flex: 1;
  min-width: 0;
}

.pro-cat-name {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.pro-cat-hints {
  display: flex;
  gap: 4px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.pro-cat-hints span {
  font-size: 9px;
  color: #6B7280;
  background: #F3F4F6;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
}

.pro-cat-arrow {
  color: #D1D5DB;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.pro-cat-card:hover .pro-cat-arrow {
  color: #49B47B;
  transform: translateX(-3px);
}

/* ═══════════════════════════════════════════════════════
   TOAST — Premium
   ═══════════════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  animation: toastIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: auto;
  max-width: 360px;
  text-align: center;
}

.toast.success { border-right: 4px solid #10B981; }
.toast.error { border-right: 4px solid #E53935; }
.toast.info { border-right: 4px solid #3B82F6; }
.toast.warning { border-right: 4px solid #F59E0B; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ═══════════════════════════════════════════════════════
   SPINNER — Premium
   ═══════════════════════════════════════════════════════ */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #E5E7EB;
  border-top-color: #49B47B;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Category Grid
   ═══════════════════════════════════════════════════════ */
@media (min-width: 600px) {
  .pro-categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 769px) {
  .pro-categories-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1024px) {
  .pro-categories-grid {
    grid-template-columns: repeat(6, 1fr);
    max-width: 1100px;
  }
}
