@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-glow: rgba(37, 99, 235, 0.15);
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --dark: #0b0f19;
  --dark-2: #111827;
  --light: #f8fafc;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* Particles canvas */
#particles-canvas {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  pointer-events: none;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 40px rgba(0,0,0,0.3);
  padding: 0.9rem 2rem;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1002;
}

.logo svg { width: 28px; height: 28px; }
.logo-accent { color: var(--accent-light); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s;
  opacity: 0.85;
}

.nav-links a:hover { opacity: 1; color: var(--accent-light); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 50%;
  width: 0; height: 2px;
  background: var(--accent-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.nav-links a:hover::after { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5), 0 0 0 1px rgba(255,255,255,0.15) inset;
}

.btn-secondary {
  background: var(--glass);
  color: white;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
}

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

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

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

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

.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-in.visible {
  animation: fadeInUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.delay-1.visible { animation-delay: 0.15s; }
.delay-2.visible { animation-delay: 0.3s; }
.delay-3.visible { animation-delay: 0.45s; }
.delay-4.visible { animation-delay: 0.6s; }
.delay-5.visible { animation-delay: 0.75s; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 10rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
              var(--dark);
}

.hero::before {
  content: '';
  position: absolute;
  top: 10%; right: 15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  filter: blur(60px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 5%; left: 10%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
  filter: blur(60px);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

.hero-text h1 .highlight {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-text p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.iphone-mockup {
  position: relative;
  width: 300px;
  height: 600px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5)) drop-shadow(0 0 40px rgba(37, 99, 235, 0.15));
  animation: float 6s ease-in-out infinite;
}

.iphone-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #e2e0dd 0%, #c8c6c3 30%, #b8b6b3 70%, #d4d2cf 100%);
  border-radius: 55px;
  padding: 14px;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.6), inset 0 -2px 4px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.1);
  border: 1px solid #888;
}

.iphone-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 55px;
  border: 1px solid rgba(255,255,255,0.2);
  pointer-events: none;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1e3a5f 0%, #0f172a 100%);
  border-radius: 42px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.3);
}

.iphone-screen::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 60%);
  animation: glow 4s ease-in-out infinite;
}

.iphone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 42px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1), inset 0 0 40px rgba(0,0,0,0.3);
  pointer-events: none;
  z-index: 5;
}

.iphone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.dynamic-island {
  width: 90px;
  height: 26px;
  background: #000;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 2px 8px rgba(0,0,0,0.5);
}

.dynamic-island::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #1a1a2e;
  border-radius: 50%;
  box-shadow: inset 0 0 2px rgba(255,255,255,0.2);
}

.iphone-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.iphone-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 5px;
  background: rgba(255,255,255,0.4);
  border-radius: 3px;
  z-index: 10;
}

.iphone-buttons {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}

.iphone-button-left {
  position: absolute;
  left: -4px;
  top: 100px;
  width: 5px;
  height: 40px;
  background: linear-gradient(90deg, #999, #666);
  border-radius: 3px 0 0 3px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), inset 0 -1px 1px rgba(0,0,0,0.2);
}

.iphone-button-left.volume-up {
  top: 155px;
  height: 65px;
}

.iphone-button-left.volume-down {
  top: 230px;
  height: 65px;
}

.iphone-button-right {
  position: absolute;
  right: -4px;
  top: 175px;
  width: 5px;
  height: 95px;
  background: linear-gradient(90deg, #666, #999);
  border-radius: 0 3px 3px 0;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), inset 0 -1px 1px rgba(0,0,0,0.2);
}

.iphone-favicon {
  width: 80px; height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.3);
  position: relative;
  z-index: 1;
  animation: faviconPulse 3s ease-in-out infinite;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}

.iphone-favicon img { width: 50px; height: 50px; object-fit: contain; animation: faviconRotate 8s ease-in-out infinite; }

@keyframes faviconPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(37, 99, 235, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 60px rgba(37, 99, 235, 0.5); }
}

@keyframes faviconRotate {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  75% { transform: rotate(-5deg); }
}

/* Features */
.features {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.section-title p {
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--glass);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(150%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(37, 99, 235, 0.1) inset;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-glow) 0%, var(--accent-glow) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-icon svg { width: 28px; height: 28px; color: var(--primary-light); transition: all 0.4s ease; }

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  transform: scale(1.1) rotate(-5deg);
  border-color: transparent;
}

.feature-card:hover .feature-icon svg { color: white; }

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
}

.feature-card p {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Stats bar */
.stats-bar {
  background: linear-gradient(180deg, var(--dark-2) 0%, #1a1f35 100%);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.5;
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.6;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--dark);
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  z-index: 1;
}

.footer .logo { justify-content: center; margin-bottom: 1rem; }
.footer p { color: rgba(255,255,255,0.4); font-size: 0.9rem; }

/* Auth pages */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
}

.auth-card {
  background: var(--glass);
  border-radius: 24px;
  padding: 3rem;
  width: 100%;
  max-width: 480px;
  backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  position: relative;
  z-index: 1;
}

.auth-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-card .subtitle {
  text-align: center;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.03);
  color: white;
}

.form-group input::placeholder { color: rgba(255,255,255,0.3); }

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

.auth-footer a {
  color: var(--primary-light);
  font-weight: 600;
  transition: color 0.3s;
}

.auth-footer a:hover { color: var(--accent-light); }

/* Alert */
.alert {
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  display: none;
  animation: fadeIn 0.3s ease;
  border: 1px solid transparent;
}

.alert.show { display: block; }
.alert-success { background: rgba(16, 185, 129, 0.1); color: #34d399; border-color: rgba(16, 185, 129, 0.2); }
.alert-error { background: rgba(239, 68, 68, 0.1); color: #f87171; border-color: rgba(239, 68, 68, 0.2); }
.alert-info { background: rgba(37, 99, 235, 0.1); color: #60a5fa; border-color: rgba(37, 99, 235, 0.2); }

/* Dashboard */
.dashboard {
  min-height: 100vh;
  background: var(--dark);
  padding-top: 0;
}

.dashboard-header {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.dashboard-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.dashboard-header p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-badge {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.dashboard-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Stats cards */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--glass);
  border-radius: 20px;
  padding: 1.75rem;
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.stat-card-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.stat-card-icon.blue { background: linear-gradient(135deg, rgba(37,99,235,0.15) 0%, rgba(37,99,235,0.05) 100%); color: var(--primary-light); border: 1px solid rgba(37,99,235,0.2); }
.stat-card-icon.green { background: linear-gradient(135deg, rgba(16,185,129,0.15) 0%, rgba(16,185,129,0.05) 100%); color: var(--success); border: 1px solid rgba(16,185,129,0.2); }
.stat-card-icon.orange { background: linear-gradient(135deg, rgba(245,158,11,0.15) 0%, rgba(245,158,11,0.05) 100%); color: var(--accent-light); border: 1px solid rgba(245,158,11,0.2); }
.stat-card-icon.red { background: linear-gradient(135deg, rgba(239,68,68,0.15) 0%, rgba(239,68,68,0.05) 100%); color: var(--danger); border: 1px solid rgba(239,68,68,0.2); }

.stat-card:hover .stat-card-icon { transform: scale(1.1) rotate(-3deg); }

.stat-card-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Table */
.table-card {
  background: var(--glass);
  border-radius: 20px;
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.table-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
}

.table-responsive { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }

thead { background: rgba(255,255,255,0.02); }

th, td {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.9rem;
}

th {
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

tr { border-bottom: 1px solid rgba(255,255,255,0.05); transition: background 0.2s; }
tbody tr:hover { background: rgba(37, 99, 235, 0.03); }

.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.badge-pending { background: rgba(245, 158, 11, 0.15); color: var(--accent-light); border: 1px solid rgba(245, 158, 11, 0.2); }
.badge-approved { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
.badge-rejected { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.2); }
.badge-admin { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white; box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3); }
.badge-store { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%); color: var(--dark); }
.badge-customer { background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%); color: white; }

/* Action buttons */
.btn-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 700;
}

.btn-approve { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); }
.btn-approve:hover { background: var(--success); color: white; transform: scale(1.15); box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }

.btn-reject { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.2); }
.btn-reject:hover { background: var(--danger); color: white; transform: scale(1.15); box-shadow: 0 0 20px rgba(239, 68, 68, 0.3); }

.btn-view { background: rgba(37, 99, 235, 0.15); color: #60a5fa; border: 1px solid rgba(37, 99, 235, 0.2); }
.btn-view:hover { background: var(--primary); color: white; transform: scale(1.15); box-shadow: 0 0 20px rgba(37, 99, 235, 0.3); }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255,255,255,0.4);
}

.empty-state-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }

/* Notification bell */
.notification-bell {
  position: relative;
  cursor: pointer;
  font-size: 1.25rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}

.notification-bell:hover { color: white; }

.notification-badge {
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  background: var(--danger);
  color: white;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s ease-in-out infinite;
}

/* Affiliate code */
.affiliate-code {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(245, 158, 11, 0.15) 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: all;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}

.affiliate-code:hover {
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.2);
}

.affiliate-code .copy-hint {
  font-size: 0.75rem;
  opacity: 0.6;
  font-weight: 400;
  letter-spacing: normal;
  font-family: 'Inter', sans-serif;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  background: var(--glass);
  border-radius: 24px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

.modal-overlay.active .modal { transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-text p { margin: 0 auto 2rem; }
  .hero-buttons { justify-content: center; }
  .iphone-mockup { transform: scale(0.7); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 15, 25, 0.97);
    backdrop-filter: blur(20px) saturate(180%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
  }
  .nav-links.active { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; opacity: 1; }
  .nav-links a::after { display: none; }
  .nav-links .btn { font-size: 1rem; padding: 0.7rem 1.5rem; }

  .navbar { padding: 1rem 1.25rem; }
  .hero { padding: 7rem 1.25rem 3rem; min-height: auto; }
  .hero-text h1 { font-size: 2rem; letter-spacing: -1px; }
  .hero-text p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; gap: 0.75rem; }
  .hero-buttons .btn { width: 100%; }

  .features { padding: 4rem 1.25rem; }
  .section-title h2 { font-size: 1.8rem; }
  .section-title p { font-size: 0.95rem; }
  .feature-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .feature-card { padding: 1.75rem; }
  .feature-icon { width: 52px; height: 52px; }

  .stats-bar { padding: 3rem 1.25rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-number { font-size: 2rem; }
  .stat-label { font-size: 0.8rem; }

  .cta-section { padding: 4rem 1.25rem; }
  .cta-section h2 { font-size: 1.8rem; }
  .cta-section .btn { width: 100%; }

  .footer { padding: 2.5rem 1.25rem; }
  .footer .logo { font-size: 1.3rem; }

  .stats-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .dashboard-header { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.7rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 2.5rem; }
  .section-title h2 { font-size: 1.5rem; }
  .cta-section h2 { font-size: 1.5rem; }
  .logo { font-size: 1.3rem; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--dark-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray); }

/* Selection */
::selection { background: rgba(37, 99, 235, 0.3); color: white; }

/* Loading */
.spinner {
  width: 24px; height: 24px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
