/* Pulse Theme - Tech & Electronics */
/* Modern, sleek design for gadgets and technology */

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

:root {
  --primary: #8B5CF6;
  --primary-rgb: 139, 92, 246;
  --primary-dark: #7C3AED;
  --hov-primary: #A78BFA;
  --soft-primary: rgba(139, 92, 246, 0.15);
  --secondary: #1E1B4B;
  --accent: #22D3EE;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --light: #F5F3FF;
  --dark: #FFFFFF;
  --gray: #9CA3AF;
  --gray-light: #4B5563;
  --background: #0F0F23;
  --card-bg: #1A1A2E;
  --border-color: #3B3B5C;
  --border-radius: 12px;
  --header-bg: #0F0F23;
  --footer-bg: #0A0A15;
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
}

body {
  font-family: var(--font-primary);
  background: var(--background);
  color: #E5E7EB;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #FFFFFF;
}

h1 { font-size: 3rem; letter-spacing: -0.03em; }
h2 { font-size: 2.25rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; }

/* Header */
.top-navbar, header, .header {
  background: var(--header-bg) !important;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(10px);
}

.navbar-brand, .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: #FFFFFF !important;
}

.nav-link {
  font-weight: 500;
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.9rem;
}

.nav-link:hover {
  color: var(--accent) !important;
}

/* Buttons */
.btn-primary, .btn-landing-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #7C3AED 100%);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  border-radius: var(--radius-md);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
}

/* Cards */
.card, .product-card {
  background: var(--card-bg);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.card:hover, .product-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
}

.product-card .product-image {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  background: #16162A;
}

.product-card img {
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card .product-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #FFFFFF;
}

.product-card .product-price {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Hero Section */
.hero-section, .banner-section {
  background: linear-gradient(135deg, var(--background) 0%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

/* Categories */
.category-card {
  background: var(--card-bg);
  border: 1px solid rgba(139, 92, 246, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.category-card:hover {
  border-color: var(--primary);
  background: rgba(139, 92, 246, 0.1);
}

.category-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Footer */
footer, .footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}

footer h5, .footer h5, .footer-title {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

footer a, .footer a {
  color: rgba(255,255,255,0.6);
}

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

/* Override primary background color for navbar */
.bg-primary {
  background-color: var(--primary) !important;
}

/* Badges */
.badge-primary, .badge.bg-primary {
  background: var(--primary) !important;
}

.badge-sale {
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
}

/* Forms */
.form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  color: #FFFFFF;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
  background: rgba(255,255,255,0.08);
}

.form-control::placeholder {
  color: rgba(255,255,255,0.4);
}

/* Section styling */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* Glow effects */
.glow-primary {
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.glow-accent {
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.3);
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
  50% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.5); }
}

.animate-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}
