/* Scavengo Design System - Migrated from React/Tailwind */

/* CSS Variables for Design System */
:root {
  /* Base Colors */
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  
  /* Card Colors */
  --card: 0 0% 100%;
  --card-foreground: 222.2 84% 4.9%;
  
  /* Primary Colors */
  --primary: 142 76% 36%;
  --primary-foreground: 0 0% 100%;
  
  /* Secondary Colors */
  --secondary: 198 93% 60%;
  --secondary-foreground: 0 0% 100%;
  
  /* Muted Colors */
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  
  /* Accent Colors */
  --accent: 142 76% 36%;
  --accent-foreground: 0 0% 100%;
  
  /* Border and Input */
  --border: 214.3 31.8% 91.4%;
  --input: 214.3 31.8% 91.4%;
  --ring: 142 76% 36%;
  
  /* Scavengo Brand Colors */
  --scavengo-green: 142 76% 36%;
  --scavengo-blue: 198 93% 60%;
  
  /* Gradients */
  --scavengo-gradient: linear-gradient(135deg, hsl(142 76% 36%) 0%, hsl(198 93% 60%) 100%);
  --scavengo-gradient-soft: linear-gradient(135deg, hsla(142, 76%, 36%, 0.1) 0%, hsla(198, 93%, 60%, 0.1) 100%);
  
  /* Shadows */
  --shadow-brand: 0 4px 20px hsla(142, 76%, 36%, 0.3);
  --shadow-glow: 0 0 30px hsla(142, 76%, 36%, 0.5);
  
  /* Border Radius */
  --radius: 0.5rem;
}

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

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsla(var(--background), 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  height: 4rem;
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: hsl(var(--foreground));
}

.navbar .logo img {
  height: 2.5rem;
  width: auto;
}

.navbar .nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.navbar .nav-links a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s ease;
}

.navbar .nav-links a:hover {
  color: hsl(var(--primary));
}

@media (min-width: 768px) {
  .navbar .nav-links {
    display: flex;
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--scavengo-gradient-soft);
}

.hero-bg-elements {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.hero-bg-elements::before,
.hero-bg-elements::after {
  content: '';
  position: absolute;
  border-radius: 9999px;
  filter: blur(3rem);
  animation: pulse 2s infinite;
}

.hero-bg-elements::before {
  top: 25%;
  left: 25%;
  width: 8rem;
  height: 8rem;
  background: var(--scavengo-gradient);
}

.hero-bg-elements::after {
  top: 75%;
  right: 25%;
  width: 6rem;
  height: 6rem;
  background: var(--scavengo-gradient);
  animation-delay: 1s;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 64rem;
  padding: 4rem 0;
}

.hero-logo {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.hero-logo img {
  height: 8rem;
  width: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  background: var(--scavengo-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--scavengo-gradient);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.btn-secondary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Features Section */
.features {
  padding: 6rem 0;
  background-color: hsl(var(--muted));
}

.features-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--scavengo-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-subtitle {
  text-align: center;
  color: hsl(var(--muted-foreground));
  margin-bottom: 4rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: hsl(var(--card));
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  background: var(--scavengo-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 3rem 0 1rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: hsl(var(--background));
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copyright {
  opacity: 0.6;
  font-size: 0.875rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.pt-16 { padding-top: 4rem; }
.pb-3 { padding-bottom: 0.75rem; }

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

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Content Pages */
.content-page {
  padding: 6rem 0 4rem;
  max-width: 48rem;
  margin: 0 auto;
}

.content-page h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: var(--scavengo-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.content-page h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: hsl(var(--foreground));
}

.content-page p {
  margin-bottom: 1rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

.content-page ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.content-page li {
  margin-bottom: 0.5rem;
  color: hsl(var(--muted-foreground));
}
