/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* Root Variables */
:root {
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(215, 30%, 12%);
  --primary: hsl(215, 50%, 18%);
  --primary-foreground: hsl(210, 40%, 98%);
  --secondary: hsl(210, 25%, 93%);
  --accent: hsl(152, 60%, 42%);
  --accent-foreground: hsl(0, 0%, 100%);
  --muted-foreground: hsl(215, 15%, 45%);
  --border: hsl(214, 25%, 88%);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-soft: 0 4px 24px -4px rgba(33, 60, 91, 0.08);
  --shadow-elevated: 0 12px 40px -8px rgba(33, 60, 91, 0.12);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4rem 0 3rem;
  background: var(--primary);
  color: var(--primary-foreground);
  overflow: hidden;
  margin-top: 80px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.3) 1px, transparent 0);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(52, 168, 121, 0.2);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
   animation: fadeInUp 0.6s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  
  animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

/* Products Section */
.products-section {
  padding: 6rem 0;
  background: var(--background);
}

.products-container {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  scroll-margin-top: 120px;
}

@media (min-width: 1024px) {
  .product-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .product-row-reverse {
    direction: rtl;
  }
  
  .product-row-reverse > * {
    direction: ltr;
  }
}

.product-content {
  max-width: 36rem;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.badge-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.badge-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.badge-emerald {
  background: linear-gradient(135deg, #10b981, #059669);
}

.badge-orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.badge-green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.badge-purple {
  background: linear-gradient(135deg, #a855f7, #9333ea);
}

.badge-cyan {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.badge-indigo {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.badge-amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.product-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--foreground);
}

.product-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.product-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.benefit-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.benefit-item span {
  font-size: 1rem;
  color: var(--foreground);
}

.product-features-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.product-features-card:hover {
  box-shadow: var(--shadow-elevated);
}

.features-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.feature-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  background: var(--secondary);
  transition: all 0.3s ease;
}

.feature-chip:hover {
  background: rgba(52, 168, 121, 0.1);
}

.feature-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.dot-emerald {
  background: linear-gradient(135deg, #10b981, #059669);
}

.dot-orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.dot-green {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.dot-purple {
  background: linear-gradient(135deg, #a855f7, #9333ea);
}

.dot-cyan {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.dot-indigo {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.dot-amber {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.feature-chip span {
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.4;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(52, 168, 121, 0.05) 0%, transparent 50%, rgba(33, 60, 91, 0.05) 100%);
}

.cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.section-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(52, 168, 121, 0.1);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--foreground);
}

.cta-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.625rem;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 0 40px rgba(52, 168, 121, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(52, 168, 121, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Footer */
.footer {
  padding: 2rem 0;
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-section {
    padding: 8rem 0 4rem;
  }
  
  .products-section {
    padding: 4rem 0;
  }
  
  .products-container {
    gap: 4rem;
  }
  
  .product-row {
    gap: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-row {
  animation: fadeInUp 0.6s ease-out;
}

.product-row:nth-child(2) {
  animation-delay: 0.1s;
}

.product-row:nth-child(3) {
  animation-delay: 0.2s;
}

.product-row:nth-child(4) {
  animation-delay: 0.3s;
}

.product-row:nth-child(5) {
  animation-delay: 0.4s;
}

.product-row:nth-child(6) {
  animation-delay: 0.5s;
}

.product-row:nth-child(7) {
  animation-delay: 0.6s;
}

.product-row:nth-child(8) {
  animation-delay: 0.7s;
}