:root {
  --color-main: #556250;
  --color-primary: #b89a68;
}

.demo-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: white;
  border-radius: 8px;
  text-align: center;
}

.demo-content h1 {
  color: var(--color-main);
  margin-bottom: 20px;
}

.demo-content p {
  color: #666;
  margin-bottom: 15px;
}

/* Modal Styles */
.newsletter-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  backdrop-filter: blur(3px);
  animation: fadeIn 0.3s ease-out;
}

.newsletter-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  max-width: 420px;
  width: 90%;
  position: relative;
  transform: translateY(-20px);
  animation: slideUp 0.4s ease-out forwards;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f0f0f0;
  color: #666;
}

.modal-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-main));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}

.modal-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-main);
  margin-bottom: 8px;
  text-align: center;
}

.modal-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.5;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.email-input {
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s ease;
  outline: none;
}

.email-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(184, 154, 104, 0.1);
}

.submit-btn {
  background: linear-gradient(135deg, var(--color-primary), var(--color-main));
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(85, 98, 80, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.loading-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}

.modal-footer {
  margin-top: 20px;
  text-align: center;
}

.trust-text {
  font-size: 12px;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.success-message {
  display: none;
  text-align: center;
  padding: 20px;
}

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
}

.success-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-main);
  margin-bottom: 8px;
}

.success-text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.error-message {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 8px;
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 480px) {
  .modal-content {
    padding: 24px;
    margin: 20px;
  }

  .modal-title {
    font-size: 20px;
  }
}
