:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --secondary-color: #64748b;
  --light-bg: #f8fafc;
  --dark-bg: #1e293b;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --warning-color: #f59e0b;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  padding: 0.75rem 2rem;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(30, 64, 175, 0.8));
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
}

.category-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.category-content {
  padding: 1.5rem;
}

.category-content h4 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.info-box {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.info-box h5 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.advantage-item {
  margin-bottom: 1.5rem;
}

.advantage-item h5 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.bg-warning-light {
  background-color: #fff3cd;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

.faq-item {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-item h5 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

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

.product-content {
  padding: 1.5rem;
}

.product-content h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.product-description {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.product-features {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.product-use {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.product-note {
  font-size: 0.85rem;
  margin-top: 1rem;
}

.choosing-guide {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.guide-item h5 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.approach-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.approach-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.approach-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.principle-box {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  height: 100%;
}

.principle-box h5 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.why-choose .why-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

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

.why-choose h5 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.commitment-list {
  list-style: none;
  padding-left: 0;
}

.commitment-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.commitment-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-details {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 12px;
}

.contact-item h5 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.contact-item a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--primary-color);
}

.help-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.help-card h5 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  background-color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  margin: 0 auto;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-bg);
  color: white;
  padding: 1rem 0;
  z-index: 9999;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
  display: none;
}

.cookie-banner.show {
  display: block;
}

footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white !important;
}

@media (max-width: 768px) {
  .hero-section {
    height: 400px;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .btn-lg {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
  }

  .product-image,
  .category-image {
    height: 180px;
  }
}
