:root {
  --primary-blue: #0066cc;
  --primary-dark: #00264d;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #f5f7fa;
  --border-color: #e0e0e0;
  --white: #ffffff;
  --success: #28a745;
  --accent-blue: #0099ff;
}

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

html,
body {
  height: 100%;
  background-color: var(--white);
}

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

main {
  min-height: calc(100vh - 200px);
}

.main-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  padding: 1rem 0;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.navbar-nav {
  gap: 2rem;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 1rem;
}

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

.hero {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
}

.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
}

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

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

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

.page-header {
  background-color: var(--bg-light);
  padding: 3rem 0;
  text-align: center;
  border-bottom: 2px solid var(--primary-blue);
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.categories-preview {
  padding: 4rem 0;
  background-color: var(--white);
}

.categories-preview h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.category-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.category-card:hover {
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
  transform: translateY(-5px);
}

.category-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.category-content {
  padding: 2rem;
}

.category-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.category-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.features {
  padding: 4rem 0;
  background-color: var(--bg-light);
}

.features h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.feature-box {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-blue);
  margin-bottom: 2rem;
}

.feature-box h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.feature-box p {
  color: var(--text-light);
}

.content-section {
  padding: 3rem 0;
}

.product-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 8px 16px rgba(0, 102, 204, 0.12);
  transform: translateY(-3px);
}

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

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.product-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.category-block {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-blue);
}

.category-block h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.contact-info {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.contact-form-wrapper {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: 8px;
}

.contact-form-wrapper h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.contact-form .form-control {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.75rem;
}

.contact-form .form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.contact-form label {
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-check-label {
  color: var(--text-dark);
  margin-left: 0.5rem;
}

.form-check-label a {
  color: var(--primary-blue);
  text-decoration: none;
}

.form-check-label a:hover {
  text-decoration: underline;
}

.thank-you-section {
  padding: 4rem 0;
}

.thank-you-content {
  text-align: center;
  background-color: var(--bg-light);
  padding: 3rem;
  border-radius: 8px;
  border-left: 5px solid var(--success);
}

.thank-you-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 1rem;
}

.thank-you-content p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.thank-you-name {
  font-weight: 600;
  color: var(--primary-blue);
}

.thank-you-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.policy-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.policy-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.policy-content li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.policy-content p {
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.policy-content a {
  color: var(--primary-blue);
  text-decoration: none;
}

.policy-content a:hover {
  text-decoration: underline;
}

.last-updated {
  color: var(--text-light);
  font-style: italic;
  font-size: 0.95rem;
}

.main-footer {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-content h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent-blue);
}

.footer-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 1.5rem;
  z-index: 1000;
  border-top: 3px solid var(--primary-blue);
  display: none;
}

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

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-content h4 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cookie-content p {
  font-size: 0.9rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-content a {
  color: var(--accent-blue);
  text-decoration: none;
}

.cookie-content a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-settings-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  max-width: 500px;
  width: 90%;
}

.cookie-settings-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.cookie-setting-item {
  margin-bottom: 1.5rem;
}

.cookie-setting-item label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  gap: 1rem;
}

.cookie-setting-item input[type="checkbox"] {
  margin-top: 0.25rem;
  cursor: pointer;
  accent-color: var(--primary-blue);
}

.cookie-setting-item strong {
  color: var(--text-dark);
  display: block;
}

.cookie-setting-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0.25rem 0 0 0;
}

.cookie-settings-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

.overlay.show {
  display: block;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .categories-preview h2 {
    font-size: 1.5rem;
  }

  .features h2 {
    font-size: 1.5rem;
  }

  .navbar-nav {
    gap: 0;
    margin-top: 1rem;
  }

  .nav-link {
    padding: 0.5rem 0;
  }

  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .thank-you-actions {
    flex-direction: column;
  }

  .thank-you-actions a {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 2rem 0;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .page-header {
    padding: 2rem 0;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

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

  .footer-content {
    margin-bottom: 1.5rem;
  }

  .footer-content h5 {
    font-size: 1rem;
  }
}
