* { scroll-behavior: smooth; }
body { 
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
}

/* Athletic Color System */
:root {
  --primary: #00d9ff;
  --primary-dark: #00a8cc;
  --primary-light: #33e5ff;
  --accent: #ffed4e;
  --accent-dark: #ffd700;
  --success: #00ff41;
  --warning: #ff6b35;
  --bg-dark: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --border: #404040;
}

.grain { 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  pointer-events: none; 
  z-index: 9999; 
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.theme-dark { 
  background-color: #0a0a0a; 
  color: #ffffff; 
}
.theme-dark .bg-primary { background-color: #0a0a0a; }
.theme-dark .bg-secondary { background-color: #1a1a1a; }
.theme-dark .text-primary { color: #ffffff; }
.theme-dark .text-secondary { color: #d1d5db; }
.theme-dark .border-primary { border-color: #404040; }
.theme-dark .text-accent { color: #00d9ff; }

.theme-light { 
  background-color: #f5f5f5; 
  color: #0a0a0a; 
}
.theme-light .bg-primary { background-color: #ffffff; }
.theme-light .bg-secondary { background-color: #f9f9f9; }
.theme-light .text-primary { color: #0a0a0a; }
.theme-light .text-secondary { color: #404040; }
.theme-light .border-primary { border-color: #e5e5e5; }

/* Navigation with glassmorphism */
#global-nav { 
  backdrop-filter: blur(24px) saturate(180%);
  background-color: rgba(10, 10, 10, 0.85);
  border-bottom: 1px solid rgba(0, 217, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0, 217, 255, 0.05);
}

#global-nav:hover {
  background-color: rgba(10, 10, 10, 0.95);
  border-bottom-color: rgba(0, 217, 255, 0.4);
  box-shadow: 0 12px 40px rgba(0, 217, 255, 0.1);
}

/* Hero Section */
section#landing .relative.h-screen {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  position: relative;
  overflow: hidden;
}

section#landing .relative.h-screen::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}

section#landing .relative.h-screen::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 237, 74, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}

/* Section Backgrounds */
.max-w-7xl.mx-auto.px-4.py-24 {
  position: relative;
  z-index: 1;
}

.max-w-7xl.mx-auto.px-4.py-24:nth-child(2)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: radial-gradient(ellipse at center top, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Page Transitions */
.page-transition { 
  opacity: 0; 
  transform: translateY(20px); 
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-transition.active { 
  opacity: 1; 
  transform: translateY(0); 
}

/* Product Card */
.product-card { 
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(42, 42, 42, 0.5) 100%);
  backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 16px;
  overflow: hidden;
}

.product-card:hover { 
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(42, 42, 42, 0.7) 100%);
  border-color: rgba(0, 217, 255, 0.6);
}

.product-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
}

.product-card:hover img {
  transform: scale(1.08) rotate(2deg);
  filter: brightness(1.15) saturate(1.1);
}

.cart-drawer { 
  transform: translateX(100%); 
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
}
.cart-drawer.open { transform: translateX(0); }

.toast { 
  transform: translateY(100px); 
  opacity: 0; 
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.96) 0%, rgba(26, 26, 26, 0.96) 100%);
  backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.1);
}
.toast.show { 
  transform: translateY(0); 
  opacity: 1; 
}

.blog-content h1 { 
  font-size: 2.5rem; 
  font-weight: 900; 
  margin: 2rem 0 1rem; 
  line-height: 1.2;
  background: linear-gradient(135deg, #00d9ff 0%, #ffed4e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blog-content h2 { 
  font-size: 1.75rem; 
  font-weight: 700; 
  margin: 1.5rem 0 0.75rem;
  color: #00d9ff;
}
.blog-content p { 
  margin-bottom: 1.25rem; 
  line-height: 1.8;
  font-size: 1.05rem;
  color: #d1d5db;
}
.blog-content img { 
  width: 100%; 
  margin: 2rem 0; 
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 217, 255, 0.2);
}
.blog-content img:hover {
  transform: scale(1.02);
  box-shadow: 0 24px 72px rgba(0, 217, 255, 0.2);
}
.blog-content iframe { 
  width: 100%; 
  aspect-ratio: 16/9; 
  margin: 2rem 0; 
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.2);
}

.reveal { 
  opacity: 0; 
  transform: translateY(30px); 
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { 
  opacity: 1; 
  transform: translateY(0); 
}

.marquee-container { 
  overflow: hidden; 
  white-space: nowrap;
  background: linear-gradient(90deg, rgba(0, 217, 255, 0.05) 0%, rgba(255, 237, 74, 0.05) 100%);
  padding: 20px 0;
  border-top: 1px solid rgba(0, 217, 255, 0.1);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
}
.marquee-content { 
  display: inline-block; 
  animation: marquee 40s linear infinite;
  font-weight: 800;
  letter-spacing: 8px;
  background: linear-gradient(90deg, #00d9ff 0%, #ffed4e 50%, #00ff41 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
}
@keyframes marquee { 
  0% { transform: translateX(0); } 
  100% { transform: translateX(-50%); } 
}

.hover-lift { 
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease; 
}
.hover-lift:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.text-gradient { 
  background: linear-gradient(135deg, #00d9ff 0%, #ffed4e 50%, #00ff41 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(10deg); }
}

.theme-light .text-gradient { 
  background: linear-gradient(135deg, #00a8cc 0%, #ffb700 50%, #00cc33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-card { 
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; 
  overflow: hidden;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(42, 42, 42, 0.5) 100%);
  backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 16px;
}
.blog-card::before { 
  content: ''; 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, rgba(0, 217, 255, 0.05) 50%, transparent 100%);
  opacity: 0; 
  transition: opacity 0.4s; 
  z-index: 1; 
}
.blog-card:hover::before { opacity: 1; }
.blog-card:hover { 
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
  border-color: rgba(0, 217, 255, 0.6);
}
.blog-card img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
}
.blog-card:hover img { 
  transform: scale(1.1);
  filter: brightness(1.15) saturate(1.2);
}
.blog-card .card-content { 
  position: relative; 
  z-index: 2; 
  transform: translateY(20px); 
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover .card-content { 
  transform: translateY(0); 
}

.feature-icon { 
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.12) 0%, rgba(0, 255, 65, 0.08) 100%);
}
.feature-card:hover .feature-icon { 
  transform: scale(1.15) rotate(8deg);
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.2) 0%, rgba(0, 255, 65, 0.15) 100%);
}

/* Feature Card Improvements */
.feature-card {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(42, 42, 42, 0.5) 100%);
  backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(0, 217, 255, 0.2) !important;
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(42, 42, 42, 0.7) 100%);
  border-color: rgba(0, 217, 255, 0.6) !important;
}

.feature-card:hover::before {
  top: -20%;
  right: -10%;
}

/* CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(0, 255, 65, 0.08) 100%);
  border: 1px solid rgba(0, 217, 255, 0.3);
  border-radius: 24px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-section:hover {
  box-shadow: 0 24px 72px rgba(0, 217, 255, 0.2);
  border-color: rgba(0, 217, 255, 0.6);
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.15) 0%, rgba(0, 255, 65, 0.12) 100%);
}

.stat-counter { 
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #00d9ff 0%, #ffed4e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button Styles */
button, a.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 600;
}

button:hover, a.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
}

button:active, a.btn:active {
  transform: translateY(0);
}

/* Input Styling */
input[type="email"],
input[type="text"],
textarea,
select {
  background-color: rgba(42, 42, 42, 0.5);
  border: 1px solid rgba(0, 217, 255, 0.3);
  color: #ffffff;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 10px 14px;
}

input[type="email"]::placeholder,
input[type="text"]::placeholder,
textarea::placeholder {
  color: #9ca3af;
}

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus,
select:focus {
  background-color: rgba(42, 42, 42, 0.8);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.15);
  border-color: #00d9ff;
  outline: none;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2.25rem; line-height: 1.2; }
h3 { font-size: 1.875rem; line-height: 1.3; }
h4 { font-size: 1.5rem; line-height: 1.4; }

/* Modern Link Styles */
a {
  position: relative;
  color: #00d9ff;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

a:hover {
  color: #ffed4e;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Selection Style */
::selection {
  background: linear-gradient(135deg, #00d9ff, #ffed4e);
  color: #0a0a0a;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00d9ff, #00ff41);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #33e5ff, #33ff66);
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-cart-btn { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    z-index: 40;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 16px 48px rgba(0, 217, 255, 0.3);
    background: linear-gradient(135deg, #00d9ff 0%, #ffed4e 100%);
    color: #0a0a0a;
    border: none;
    padding: 16px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
  }
  
  .mobile-cart-btn:active {
    transform: scale(0.95);
  }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
}
