/*
Theme Name: Shmark Clone
Theme URI: https://shmark-clone.local
Author: Shmark Developer
Author URI: https://shmark-clone.local
Description: A modern digital marketplace theme with wallet and order management system
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shmark-clone
Tags: e-commerce, marketplace, dark, modern, responsive
*/

/* ============================================
   CSS CUSTOM PROPERTIES
============================================ */
:root {
  --primary: #6c63ff;
  --primary-dark: #5a52e0;
  --primary-light: #8b84ff;
  --secondary: #ff6584;
  --accent: #43e97b;
  --bg-dark: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-card2: #16213e;
  --bg-surface: #1e1e35;
  --text-primary: #ffffff;
  --text-secondary: #a0a0c0;
  --text-muted: #6a6a8a;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(108,99,255,0.5);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(108,99,255,0.3);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Light mode */
body.light-mode {
  --bg-dark: #f0f2ff;
  --bg-card: #ffffff;
  --bg-card2: #f8f9ff;
  --bg-surface: #eef0ff;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a6a;
  --text-muted: #8a8aaa;
  --border: rgba(0,0,0,0.08);
  --shadow: 0 4px 24px rgba(108,99,255,0.1);
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { color: var(--text-secondary); }

/* ============================================
   LAYOUT
============================================ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }

/* ============================================
   HEADER
============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(15, 15, 26, 0.97);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.site-logo span { color: var(--accent); -webkit-text-fill-color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.9rem;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--text-primary);
  background: rgba(108,99,255,0.12);
}

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

.btn-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem;
}
.btn-icon:hover { background: var(--primary); color: white; border-color: var(--primary); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem;
  cursor: pointer; border: none;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.3px;
  position: relative; overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.98); }

.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(108,99,255,0.4); color: white; }

.btn-secondary { background: var(--bg-surface); color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); background: rgba(108,99,255,0.1); }

.btn-accent { background: linear-gradient(135deg, var(--accent), #38d65a); color: #0f2010; }
.btn-accent:hover { box-shadow: 0 8px 24px rgba(67,233,123,0.4); color: #0f2010; }

.btn-danger { background: linear-gradient(135deg, #ff4757, #d63030); color: white; }

.btn-ghost { background: transparent; color: var(--text-secondary); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text-primary); border-color: var(--text-secondary); }

.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-xl { padding: 20px 48px; font-size: 1.1rem; border-radius: var(--radius); }
.btn-block { width: 100%; }

/* ============================================
   CARDS
============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-glow); transform: translateY(-2px); }

.card-glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(108,99,255,0.15) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 80% 60%, rgba(255,101,132,0.08) 0%, transparent 60%),
              var(--bg-dark);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 { width: 500px; height: 500px; background: rgba(108,99,255,0.2); top: -100px; right: -100px; animation: orb-float 8s ease-in-out infinite; }
.hero-orb-2 { width: 300px; height: 300px; background: rgba(255,101,132,0.15); bottom: 100px; left: -50px; animation: orb-float 10s ease-in-out infinite reverse; }

@keyframes orb-float { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-30px) scale(1.05); } }

.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(108,99,255,0.15); border: 1px solid rgba(108,99,255,0.3);
  border-radius: 50px; padding: 8px 16px;
  font-size: 0.8rem; font-weight: 600; color: var(--primary-light);
  margin-bottom: 24px; letter-spacing: 0.5px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

.hero-title { margin-bottom: 24px; }
.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 520px; line-height: 1.8; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-value { font-size: 1.8rem; font-weight: 800; font-family: var(--font-display); color: var(--text-primary); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

.hero-visual {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 45%; display: flex; align-items: center; justify-content: center;
}

/* ============================================
   PRODUCT GRID
============================================ */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .label {
  display: inline-block;
  background: rgba(108,99,255,0.12); color: var(--primary);
  padding: 6px 16px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 500px; margin: 0 auto; }

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: var(--border-hover); }

.product-card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--primary); color: white;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 10px; border-radius: 50px; text-transform: uppercase;
}
.product-card-badge.hot { background: linear-gradient(135deg, #ff4757, #ff6b81); }
.product-card-badge.new { background: linear-gradient(135deg, var(--accent), #38d65a); color: #0f2010; }

.product-card-img {
  width: 100%; aspect-ratio: 16/10;
  background: var(--bg-surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; position: relative; overflow: hidden;
}
.product-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5));
}

.product-card-body { padding: 20px; }
.product-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.product-card-desc { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; }
.product-card-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.product-price { font-size: 1.3rem; font-weight: 800; color: var(--primary); font-family: var(--font-display); }
.product-price-original { font-size: 0.85rem; text-decoration: line-through; color: var(--text-muted); margin-left: 6px; }
.product-rating { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; color: #ffd700; }

/* ============================================
   COUNTDOWN TIMER
============================================ */
.countdown-section {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card2) 100%);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 48px; text-align: center; position: relative; overflow: hidden;
}
.countdown-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.countdown-timer { display: flex; justify-content: center; gap: 16px; margin: 32px 0; flex-wrap: wrap; }
.timer-block {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  min-width: 80px;
  text-align: center;
}
.timer-value {
  font-size: 2.5rem; font-weight: 900; font-family: var(--font-display);
  color: var(--primary); line-height: 1; font-variant-numeric: tabular-nums;
}
.timer-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 8px; }
.timer-colon { font-size: 2.5rem; font-weight: 900; color: var(--text-muted); display: flex; align-items: center; }

/* ============================================
   WALLET CARD
============================================ */
.wallet-card {
  background: linear-gradient(135deg, #1a1a3e 0%, #2d1b69 50%, #1a1a3e 100%);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative; overflow: hidden;
}
.wallet-card::before {
  content: ''; position: absolute;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(108,99,255,0.15);
  top: -50px; right: -50px;
}
.wallet-balance { font-size: 2.5rem; font-weight: 900; font-family: var(--font-display); }
.wallet-balance-label { font-size: 0.85rem; color: var(--text-muted); }
.wallet-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* ============================================
   DASHBOARD LAYOUT
============================================ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 72px);
  margin-top: 72px;
}

.sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 32px 16px;
  position: sticky; top: 72px; height: calc(100vh - 72px); overflow-y: auto;
}

.sidebar-logo { padding: 0 16px; margin-bottom: 32px; }
.sidebar-section { margin-bottom: 8px; }
.sidebar-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-muted); padding: 8px 16px; margin-bottom: 4px;
}

.sidebar-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: var(--radius-sm);
  color: var(--text-secondary); font-weight: 500; font-size: 0.9rem;
  transition: var(--transition); cursor: pointer;
}
.sidebar-link:hover { background: rgba(108,99,255,0.1); color: var(--text-primary); }
.sidebar-link.active { background: rgba(108,99,255,0.15); color: var(--primary); border-left: 3px solid var(--primary); }
.sidebar-link .icon { width: 20px; text-align: center; font-size: 1rem; }
.sidebar-badge {
  margin-left: auto;
  background: var(--primary); color: white;
  font-size: 0.7rem; font-weight: 700;
  padding: 2px 8px; border-radius: 50px;
}

.dashboard-main { padding: 32px; background: var(--bg-dark); }
.dashboard-header { margin-bottom: 32px; }
.page-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 4px; }
.page-subtitle { color: var(--text-muted); font-size: 0.9rem; }

/* ============================================
   STATS GRID
============================================ */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.stat-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.stat-card::after {
  content: ''; position: absolute;
  width: 80px; height: 80px; border-radius: 50%;
  top: -20px; right: -20px;
  opacity: 0.15;
}
.stat-card.purple::after { background: var(--primary); }
.stat-card.pink::after { background: var(--secondary); }
.stat-card.green::after { background: var(--accent); }
.stat-card.blue::after { background: #4facfe; }

.stat-card-icon { font-size: 1.5rem; margin-bottom: 16px; }
.stat-card-value { font-size: 1.8rem; font-weight: 900; font-family: var(--font-display); }
.stat-card-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.stat-card-change { font-size: 0.75rem; font-weight: 600; margin-top: 8px; }
.stat-card-change.up { color: var(--accent); }
.stat-card-change.down { color: var(--secondary); }

/* ============================================
   TABLES
============================================ */
.table-container { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.table-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.table-title { font-weight: 700; font-size: 1rem; }

table { width: 100%; border-collapse: collapse; }
thead th {
  background: var(--bg-surface);
  padding: 14px 20px;
  text-align: left; font-size: 0.78rem; font-weight: 700;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px;
}
tbody td {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.88rem; color: var(--text-secondary);
}
tbody tr:hover { background: rgba(255,255,255,0.02); }

.badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.73rem; font-weight: 700;
}
.badge-success { background: rgba(67,233,123,0.12); color: var(--accent); }
.badge-warning { background: rgba(255,193,7,0.12); color: #ffc107; }
.badge-danger { background: rgba(255,71,87,0.12); color: #ff4757; }
.badge-info { background: rgba(79,172,254,0.12); color: #4facfe; }
.badge-default { background: rgba(255,255,255,0.08); color: var(--text-muted); }

/* ============================================
   FORMS
============================================ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.form-input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,99,255,0.15); }
.form-input::placeholder { color: var(--text-muted); }
.form-input-icon { position: relative; }
.form-input-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.form-input-icon input { padding-left: 40px; }
.form-help { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }
.form-error { font-size: 0.78rem; color: #ff4757; margin-top: 6px; }

/* ============================================
   MODAL
============================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
  padding: 20px;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 460px;
  max-height: 90vh; overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: var(--transition);
  position: relative;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-header {
  padding: 28px 28px 0;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.modal-title { font-size: 1.4rem; font-weight: 800; }
.modal-close {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface); border: 1px solid var(--border);
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 1.1rem;
}
.modal-close:hover { background: rgba(255,71,87,0.15); color: #ff4757; border-color: rgba(255,71,87,0.3); }
.modal-body { padding: 0 28px 28px; }

.modal-tabs { display: flex; gap: 4px; background: var(--bg-surface); border-radius: var(--radius-sm); padding: 4px; margin-bottom: 24px; }
.modal-tab {
  flex: 1; padding: 10px; text-align: center;
  border-radius: 6px; cursor: pointer;
  font-size: 0.88rem; font-weight: 600;
  color: var(--text-muted); transition: var(--transition);
}
.modal-tab.active { background: var(--primary); color: white; }

/* ============================================
   TOAST NOTIFICATIONS
============================================ */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 3000;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow);
  transform: translateX(100%); opacity: 0;
  transition: var(--transition);
  min-width: 280px; max-width: 380px;
  pointer-events: all;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast-icon { font-size: 1.2rem; }
.toast-text { flex: 1; font-size: 0.88rem; font-weight: 500; }
.toast.success { border-left: 4px solid var(--accent); }
.toast.error { border-left: 4px solid #ff4757; }
.toast.warning { border-left: 4px solid #ffc107; }
.toast.info { border-left: 4px solid var(--primary); }

/* ============================================
   FEATURES SECTION
============================================ */
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--radius);
  background: rgba(108,99,255,0.12); border: 1px solid rgba(108,99,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.feature-icon.pink { background: rgba(255,101,132,0.1); border-color: rgba(255,101,132,0.2); }
.feature-icon.green { background: rgba(67,233,123,0.1); border-color: rgba(67,233,123,0.2); }
.feature-icon.blue { background: rgba(79,172,254,0.1); border-color: rgba(79,172,254,0.2); }
.feature-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feature-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }

/* ============================================
   HOW IT WORKS
============================================ */
.steps-list { display: flex; flex-direction: column; gap: 24px; }
.step-item { display: flex; gap: 20px; align-items: flex-start; }
.step-number {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; font-weight: 800; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(108,99,255,0.4);
}
.step-content h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.step-content p { font-size: 0.85rem; color: var(--text-muted); }

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { }
.footer-logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; margin-bottom: 16px; }
.footer-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--bg-surface); border: 1px solid var(--border);
  color: var(--text-muted); display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; transition: var(--transition);
}
.social-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

.footer-col-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: var(--text-muted); transition: var(--transition); }
.footer-links a:hover { color: var(--text-primary); transform: translateX(4px); }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 0.82rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.82rem; color: var(--text-muted); }
.footer-legal a:hover { color: var(--text-primary); }

/* ============================================
   SEARCH BAR
============================================ */
.search-bar {
  display: flex; align-items: center;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: var(--transition);
}
.search-bar:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(108,99,255,0.15); }
.search-bar input {
  flex: 1; background: none; border: none; outline: none;
  padding: 12px 16px; color: var(--text-primary); font-size: 0.9rem;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar button {
  padding: 12px 16px;
  background: var(--primary); border: none; color: white;
  cursor: pointer; transition: var(--transition); font-size: 1rem;
}
.search-bar button:hover { background: var(--primary-dark); }

/* ============================================
   PROGRESS BAR
============================================ */
.progress-wrap { margin-bottom: 12px; }
.progress-header { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 8px; }
.progress-bar { background: var(--bg-surface); border-radius: 50px; height: 8px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 50px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); transition: width 1s cubic-bezier(0.4,0,0.2,1); }
.progress-fill.green { background: linear-gradient(90deg, var(--accent), #38d65a); }
.progress-fill.pink { background: linear-gradient(90deg, var(--secondary), #ff8fa3); }

/* ============================================
   REFERRAL
============================================ */
.referral-box {
  background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(255,101,132,0.05));
  border: 1px solid rgba(108,99,255,0.2); border-radius: var(--radius);
  padding: 24px;
}
.referral-link-input { display: flex; gap: 8px; margin-top: 12px; }
.referral-link-input input { flex: 1; }
.copy-tooltip { position: relative; }

/* ============================================
   EMPTY STATE
============================================ */
.empty-state { text-align: center; padding: 64px 24px; }
.empty-state-icon { font-size: 4rem; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-muted); font-size: 0.9rem; max-width: 300px; margin: 0 auto 24px; }

/* ============================================
   LOADING SKELETON
============================================ */
.skeleton { background: linear-gradient(90deg, var(--bg-surface) 25%, rgba(255,255,255,0.05) 50%, var(--bg-surface) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

/* ============================================
   MOBILE NAV
============================================ */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg-dark);
  padding: 88px 24px 32px;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { font-size: 1.1rem; padding: 14px 20px; border-radius: var(--radius-sm); display: block; color: var(--text-secondary); font-weight: 600; }
.mobile-menu a:hover { background: rgba(108,99,255,0.1); color: var(--text-primary); }

/* ============================================
   SCROLLBAR
============================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(108,99,255,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(108,99,255,0.5); }

/* ============================================
   UTILITIES
============================================ */
.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-accent { color: var(--accent) !important; }
.text-purple { color: var(--primary) !important; }
.text-pink { color: var(--secondary) !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }
.d-none { display: none; }
.rounded-full { border-radius: 50px; }
.fw-bold { font-weight: 700; }
.fw-900 { font-weight: 900; }
.separator { height: 1px; background: var(--border); margin: 24px 0; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-visual { display: none; }
  .dashboard-layout { grid-template-columns: 220px 1fr; }
}

@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  .section { padding: 56px 0; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .dashboard-main { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .countdown-section { padding: 32px 20px; }
  .timer-value { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
