:root {
  --primary-600: #2563eb;
  --primary-700: #1e40af;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --slate-50: #f8fafc;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-600: #475569;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--slate-900);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.layout-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.hero-section {
  background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.hero-title {
  font-size: 3em;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25em;
  opacity: 0.9;
  margin-bottom: var(--space-6);
  font-weight: 500;
}

.hero-description {
  margin: var(--space-6) 0;
  font-size: 1.1em;
}

.hero-description p {
  margin: 10px 0;
  font-weight: 500;
}

.cta-button {
  display: inline-block;
  background: var(--emerald-500);
  color: var(--white);
  padding: var(--space-4) 40px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  margin-top: var(--space-6);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.cta-button:hover {
  background: var(--emerald-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.content-section {
  padding: var(--space-12) 0;
}

.seo-intro {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.seo-intro h2 {
  color: var(--slate-900);
  margin-bottom: var(--space-4);
  font-size: 1.875em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.seo-intro p {
  margin-bottom: 12px;
  line-height: 1.75;
  color: var(--slate-600);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.stat-item {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: all 0.2s ease;
}

.stat-item:hover {
  box-shadow: var(--shadow-md);
}

.stat-value {
  display: block;
  font-size: 2.5em;
  font-weight: 800;
  color: var(--primary-600);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  color: var(--slate-600);
  font-size: 0.95em;
  font-weight: 500;
}

.filter-section {
  margin-bottom: var(--space-8);
}

.search-input {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  font-size: 1em;
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
  background: var(--white);
}

.search-input:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-image-container {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, #f1f5f9 0%, var(--slate-200) 100%);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: var(--space-6);
}

.product-title {
  display: block;
  font-size: 1.125em;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--slate-900);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.product-price {
  font-size: 1.875em;
  font-weight: 800;
  color: var(--primary-600);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: var(--space-4);
}

.action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.action-button--primary {
  background: var(--primary-600);
}

.action-button--primary:hover {
  background: var(--primary-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.action-button--success {
  background: var(--emerald-500);
}

.action-button--success:hover {
  background: var(--emerald-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.share-button {
  background: transparent;
  border: 1.5px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  color: var(--slate-600);
  font-size: 0.875em;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  font-weight: 500;
  font-family: inherit;
}

.share-button:hover {
  color: var(--primary-600);
  border-color: var(--primary-600);
  background: rgba(37, 99, 235, 0.05);
}

.status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--emerald-500);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.loading-state {
  text-align: center;
  padding: 80px var(--space-6);
  font-size: 1.125em;
  color: var(--slate-600);
  font-weight: 500;
}

.faq-section {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.faq-section h2 {
  color: var(--slate-900);
  margin-bottom: 28px;
  font-size: 1.875em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.faq-item {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--slate-200);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  color: var(--slate-900);
  margin-bottom: 12px;
  font-size: 1.125em;
  font-weight: 600;
}

.faq-item p {
  color: var(--slate-600);
  line-height: 1.75;
}

.site-footer {
  background: var(--slate-800);
  color: var(--white);
  padding: var(--space-8) 0;
  text-align: center;
  margin-top: 64px;
}

.site-footer a {
  color: var(--emerald-500);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.site-footer a:hover {
  opacity: 0.8;
}

.legal-notice {
  margin-top: 12px;
  font-size: 0.875em;
  opacity: 0.7;
}

.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--white);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  min-width: 320px;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  font-weight: 500;
  border-left: 4px solid;
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast--visible {
  opacity: 1;
  transform: translateX(0);
}

.toast--success {
  border-left-color: var(--emerald-500);
  color: #065f46;
}

.toast--error {
  border-left-color: #ef4444;
  color: #991b1b;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2em;
  }
  
  .layout-container {
    padding: 0 var(--space-4);
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .seo-intro,
  .faq-section {
    padding: var(--space-6);
  }
  
  .toast-container {
    right: 16px;
    left: 16px;
  }
  
  .toast {
    min-width: auto;
  }
  
  .product-actions {
    grid-template-columns: 1fr;
  }
}
