:root {
  --primary: #4b77c9;
  --secondary: #2a5a8f;
  --accent: #6c9ff8;
  --light: #f4f6f9;
  --text-dark: #333;
  --text-light: #666;
}

body {
  font-family: "Nunito", "Arial", sans-serif;
  background-color: var(--light);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Products Section */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.product-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 30px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 30px rgba(75, 119, 201, 0.15);
}

.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(75, 119, 201, 0.1) 0%,
    rgba(255, 255, 255, 0) 60%
  );
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.product-card:hover::after {
  opacity: 1;
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  height: 80px;
}

.logo {
  font-size: 1.8em;
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  padding: 15px;
  position: relative;
}

.logo::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.product-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--secondary);
  text-align: center;
  transition: all 0.3s ease;
}

.product-card:hover .product-title {
  transform: scale(1.05);
}

.product-description {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95em;
  text-align: center;
}

/* Features Section */
.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  transition: all 0.3s ease;
  background-color: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(75, 119, 201, 0.15);
}

.feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: top;
}

.feature-item:hover::before {
  transform: scaleY(1);
}

.number-section {
  margin-right: 25px;
  flex-shrink: 0;
}

.number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(75, 119, 201, 0.2);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.feature-item:hover .number {
  transform: scale(1.1) rotate(10deg);
}

.content-section {
  flex-grow: 1;
}

.feature-title {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.feature-description {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95em;
}

/* Summary Section */
section h1 {
  font-size: 2.2em;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

section h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 2px;
}

section p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05em;
}

/* Section Spacing & General */
.section-container {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5em;
  font-weight: 800;
  color: var(--secondary);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: 2px;
}

/* Cookie Consent */
.cookie-consent-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-consent-container.show {
  transform: translateY(0);
}

.cookie-consent-popup {
  background-color: white;
  box-shadow: 0 -5px 30px rgba(75, 119, 201, 0.15);
  width: 80%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(75, 119, 201, 0.2);
  animation: slideUp 0.5s forwards;
}

.cookie-content {
  padding: 25px;
}

.cookie-content h3 {
  color: var(--secondary);
  margin-top: 0;
  font-weight: 700;
  font-size: 1.3rem;
}

.cookie-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 10px 25px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.accept-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}

.reject-btn {
  background-color: #f0f0f0;
  color: var(--text-dark);
  border: 1px solid #ddd;
}

/* Animations */
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    flex-direction: column;
  }

  .number-section {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .cookie-consent-container {
    padding: 10px;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 8px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(75, 119, 201, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(75, 119, 201, 0.3);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
}

/* Custom scroll bar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Added section spacing */
section {
  padding: 80px 0;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(75, 119, 201, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
