/* Design System - All colors in HSL */
:root {
  --background: 0 0% 98%;
  --foreground: 0 0% 10%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 10%;
  --primary: 355 85% 45%;
  --primary-foreground: 0 0% 100%;
  --secondary: 0 0% 15%;
  --secondary-foreground: 0 0% 98%;
  --muted: 0 0% 96%;
  --muted-foreground: 0 0% 45%;
  --accent: 38 92% 50%;
  --accent-foreground: 0 0% 10%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 98%;
  --border: 0 0% 90%;
  --input: 0 0% 90%;
  --ring: 355 85% 45%;
  --radius: 0.75rem;
  --hero-gradient: linear-gradient(135deg, hsl(355 85% 25%), hsl(0 0% 10%));
  --card-gradient: linear-gradient(180deg, hsl(0 0% 100%), hsl(0 0% 97%));
  --primary-glow: 355 85% 55%;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-elegant: 0 10px 40px -10px hsl(355 85% 45% / 0.3);
  --shadow-card: 0 4px 20px -4px hsl(0 0% 0% / 0.1);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
  padding: 1rem 0;
  z-index: 1000;
}

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

.navbar .logo img {
  height: 40px;
  width: auto;
}

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

.navbar a {
  color: hsl(var(--foreground));
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

.navbar .mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.btn-primary:hover {
  background: hsl(355 85% 35%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-elegant);
}

.btn-outline {
  border: 2px solid hsl(var(--border));
  background: transparent;
  color: hsl(var(--foreground));
}

.btn-outline:hover {
  background: hsl(var(--muted));
}

.btn-hero {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  color: white;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: hsl(var(--primary) / 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--primary) / 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  color: hsl(var(--primary));
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.trust-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-elegant);
}

/* Products Section */
.products {
  padding: 6rem 0;
  background: hsl(var(--muted) / 0.3);
}

.section-header {
  text-align: center;
  max-width: 768px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.product-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: var(--shadow-elegant);
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.product-content {
  padding: 1.5rem;
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  transition: var(--transition-smooth);
}

.product-card:hover h3 {
  color: hsl(var(--primary));
}

.product-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--primary));
  margin-top: 1rem;
}

/* About Section */
.about {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-elegant);
}

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

.feature-card {
  padding: 1rem;
  border-radius: var(--radius);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.feature-card:hover {
  background: hsl(var(--muted) / 0.5);
}

.feature-icon {
  height: 3rem;
  width: 3rem;
  border-radius: var(--radius);
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  background: hsl(var(--primary) / 0.2);
}

/* Footer */
.footer {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h3 {
  margin-bottom: 1rem;
}

.footer a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: var(--transition-smooth);
  display: block;
  margin-bottom: 0.75rem;
}

.footer a:hover {
  color: hsl(var(--primary));
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--background));
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

/* Table Styles */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid hsl(var(--border));
}

.table th {
  font-weight: 600;
  background: hsl(var(--muted));
}

.table tr:hover {
  background: hsl(var(--muted) / 0.3);
}

/* Card */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.card-header {
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-default {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

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

.badge-destructive {
  background: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: hsl(var(--muted-foreground));
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.pt-28 { padding-top: 7rem; }
.pb-12 { padding-bottom: 3rem; }

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

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar nav {
    display: none;
  }
  
  .navbar .mobile-menu-btn {
    display: block;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .products,
  .about {
    padding: 3rem 0;
  }
  
  .trust-badges {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .table {
    display: block;
    overflow-x: auto;
  }
  
  .btn-hero {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  .btn {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
  
  .product-content {
    padding: 1rem;
  }
  
  .table th,
  .table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.875rem;
  }
}

/* Mobile Navigation Slide-out */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: hsl(var(--card));
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
  z-index: 1001;
  padding: 2rem 1.5rem;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: hsl(var(--foreground));
}

.mobile-nav a {
  display: block;
  padding: 1rem 0;
  color: hsl(var(--foreground));
  text-decoration: none;
  font-size: 1.125rem;
  border-bottom: 1px solid hsl(var(--border));
}

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

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
  }
  
  .navbar a {
    padding: 0.5rem 0;
  }
  
  .product-card:hover {
    transform: none;
  }
  
  .feature-card:hover {
    background: transparent;
  }
}