/* Revolutionary Peptides - Futuristic Tech Theme */

:root {
  /* Colors */
  --primary: #00D4FF;
  --secondary: #39FF14;
  --accent: #FF1493;
  --background: #0A0A0A;
  --text: #FFFFFF;
  --text-muted: #B0B0B0;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  --gradient-dark: linear-gradient(180deg, #0A0A0A 0%, #1A1A2E 100%);

  /* Spacing (8px base) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;

  /* Typography */
  --font-header: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Borders */
  --border-radius: 4px;
  --border-glow: 0 0 10px var(--primary);

  /* Animations */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: 3.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  animation: glitch 3s infinite;
}

h2 {
  font-size: 2.5rem;
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary);
}

h3 {
  font-size: 1.75rem;
  color: var(--secondary);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-muted);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
}

a:hover {
  color: var(--secondary);
  text-shadow: 0 0 10px var(--secondary);
}

/* Navigation */
.nav-header {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--space-md) var(--space-xl);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-menu a {
  font-family: var(--font-header);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid transparent;
  transition: var(--transition-normal);
}

.nav-menu a:hover {
  border: 1px solid var(--primary);
  box-shadow: var(--border-glow);
  background: rgba(0, 212, 255, 0.1);
}

/* Hero Section */
.hero {
  padding: var(--space-2xl) var(--space-xl);
  background: var(--gradient-dark);
  background-image: url('../images/hero-peptide-revolution.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  border-bottom: 3px solid var(--primary);
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  opacity: 0.05;
  animation: scan 4s linear infinite;
}

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

.hero h1 {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-header);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
  z-index: -1;
}

.btn:hover {
  color: var(--background);
  box-shadow: 0 0 20px var(--primary);
}

.btn:hover::before {
  left: 0;
}

/* Content Sections */
.section {
  padding: var(--space-2xl) var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--primary);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: -1;
  border-radius: var(--border-radius);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.card:hover::before {
  opacity: 0.1;
}

.card h3 {
  margin-bottom: var(--space-md);
}

/* Footer */
.footer {
  background: rgba(10, 10, 10, 0.95);
  border-top: 2px solid var(--primary);
  padding: var(--space-xl);
  margin-top: var(--space-2xl);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.footer-section h4 {
  color: var(--secondary);
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

/* Animations */
@keyframes glitch {
  0%, 90%, 100% {
    text-shadow:
      0 0 10px var(--primary),
      0 0 20px var(--primary);
  }
  95% {
    text-shadow:
      -2px 0 var(--accent),
      2px 0 var(--secondary);
  }
}

@keyframes scan {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.glow {
  text-shadow: 0 0 10px currentColor;
}

.neon-border {
  border: 2px solid var(--primary);
  box-shadow:
    0 0 5px var(--primary),
    inset 0 0 5px var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-menu {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}
