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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  background-attachment: fixed;
  color: #2c3e50;
  line-height: 1.6;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1976d2;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  color: #1565c0;
  transform: scale(1.03);
}

.nav-link {
  color: #546e7a;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #1976d2;
}

.hero-section {
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: #546e7a;
  margin-bottom: 2rem;
}

.kpi-widget {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.kpi-widget:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.kpi-widget h3 {
  font-size: 2rem;
  color: #1976d2;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.kpi-widget p {
  color: #78909c;
  font-size: 0.9rem;
  margin: 0;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a237e;
  margin: 0;
}

.status-badge {
  background: linear-gradient(135deg, #76ff03 0%, #64dd17 100%);
  color: #1b5e20;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.section {
  margin-bottom: 4rem;
}

.card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: none;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 2px solid #1976d2;
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #f5f5f5;
}

.card-body {
  padding: 1.5rem;
}

.product-badge {
  display: inline-block;
  background: #e3f2fd;
  color: #1976d2;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 0.75rem;
}

.card-text {
  color: #546e7a;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1976d2;
  margin-bottom: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

.btn-secondary {
  background: #eceff1;
  color: #546e7a;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #cfd8dc;
  color: #37474f;
  transform: scale(1.03);
}

.guide-step {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.guide-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.guide-step h4 {
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.guide-step p {
  color: #546e7a;
  font-size: 0.9rem;
  margin: 0;
}

.area-widget {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid #1976d2;
}

.area-widget:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.area-widget h4 {
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.area-widget p {
  color: #546e7a;
  font-size: 0.9rem;
  margin: 0;
}

.user-log {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
}

.user-log-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  gap: 0.75rem;
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.user-name {
  color: #1a237e;
  font-weight: 600;
  font-size: 0.95rem;
}

.user-log p {
  color: #546e7a;
  font-size: 0.9rem;
  margin: 0;
}

.faq-item {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.faq-item h5 {
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: #546e7a;
  font-size: 0.9rem;
  margin: 0;
}

.system-rule {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
}

.system-rule:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.rule-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.system-rule h5 {
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.system-rule p {
  color: #546e7a;
  font-size: 0.85rem;
  margin: 0;
}

.footer {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

.footer h5 {
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

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

.footer a {
  color: #546e7a;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer a:hover {
  color: #1976d2;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eceff1;
  text-align: center;
  color: #78909c;
  font-size: 0.85rem;
}

.form-control {
  border-radius: 12px;
  border: 2px solid #eceff1;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.form-group label {
  color: #1a237e;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.legal-page {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin: 2rem 0;
}

.legal-page h1 {
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.legal-page h2 {
  color: #1a237e;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-page h3 {
  color: #546e7a;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.legal-page p {
  color: #546e7a;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-page ul, .legal-page ol {
  color: #546e7a;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(26, 35, 126, 0.98);
  color: white;
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

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

.cookie-banner p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.cookie-banner .btn {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.comparison-module {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-top: 3rem;
}

.comparison-module h3 {
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.comparison-field {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border-left: 4px solid #1976d2;
}

.comparison-field strong {
  color: #1a237e;
  display: block;
  margin-bottom: 0.25rem;
}

.comparison-field span {
  color: #546e7a;
  font-size: 0.9rem;
}

.thank-you-container {
  background: white;
  padding: 4rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  margin: 4rem auto;
  max-width: 600px;
}

.thank-you-container h1 {
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.thank-you-container p {
  color: #546e7a;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.usage-guide {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
}

.usage-guide h3 {
  color: #1a237e;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.usage-guide ol {
  color: #546e7a;
  padding-left: 1.5rem;
}

.usage-guide li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

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

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

  .section-header h2 {
    font-size: 1.5rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .product-price {
    font-size: 1.5rem;
  }

  .legal-page {
    padding: 1.5rem;
  }

  .thank-you-container {
    padding: 2rem 1rem;
  }
}
