@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&family=Barlow+Condensed:wght@700;800&display=swap');

.imou-newsletter-section {
  width: 100%;
  padding: 48px 0;
  margin: 0;
  background: #f8f9fa;
}

.imou-newsletter-section * {
  box-sizing: border-box;
}

:root {
  --imou-blue: #ff6200;
  --imou-blue-dim: #cc4e00;
  --imou-text: #141414;
  --imou-muted: #6b7280;
  --imou-border: rgba(0, 0, 0, .09);
  --r: 10px;
  --ff: 'Barlow', Arial, sans-serif;
  --ff-cond: 'Barlow Condensed', 'Barlow', Arial, sans-serif;
}

.imou-newsletter-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.imou-newsletter-content {
  flex: 1;
  min-width: 0;
}

.imou-newsletter-title {
  margin: 0 0 12px;
  color: var(--imou-text);
  font-family: var(--ff-cond);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.1;
}

.imou-newsletter-desc {
  max-width: 100%;
  margin: 0;
  color: var(--imou-muted);
  font-size: 14px;
  line-height: 1.6;
}

.imou-newsletter-form {
  flex: 1;
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.imou-newsletter-input {
  flex: 1;
  min-width: 180px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--imou-border);
  border-radius: var(--r);
  color: var(--imou-text);
  font-family: var(--ff);
  font-size: 14px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.imou-newsletter-input::placeholder {
  color: var(--imou-muted);
}

.imou-newsletter-input:focus {
  border-color: var(--imou-blue);
  box-shadow: 0 0 0 3px rgba(255, 98, 0, .1);
}

.imou-newsletter-btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 12px 28px;
  background: var(--imou-blue);
  border: 1px solid var(--imou-blue);
  border-radius: var(--r);
  color: #fff;
  cursor: pointer;
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
  white-space: nowrap;
}

.imou-newsletter-btn:hover {
  background: var(--imou-blue-dim);
  border-color: var(--imou-blue-dim);
  transform: translateY(-2px);
}

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

.imou-newsletter-message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 14px 18px;
  background: rgba(0, 176, 122, .95);
  border-radius: var(--r);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: none;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  animation: slideInRight .3s ease;
}

.imou-newsletter-message.show {
  display: block;
}

.imou-newsletter-message.error {
  background: rgba(255, 98, 0, .95);
}

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

/* Tablet */
@media (max-width: 1024px) {
  .imou-newsletter-container {
    flex-direction: column;
    gap: 24px;
  }

  .imou-newsletter-form {
    width: 100%;
  }

  .imou-newsletter-input {
    flex: 1;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .imou-newsletter-section {
    padding: 36px 0;
  }

  .imou-newsletter-container {
    padding: 0 12px;
    flex-direction: column;
    gap: 20px;
  }

  .imou-newsletter-title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 10px;
  }

  .imou-newsletter-desc {
    font-size: 13px;
  }

  .imou-newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .imou-newsletter-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 13px;
  }

  .imou-newsletter-btn {
    width: 100%;
    min-height: 40px;
    padding: 10px 20px;
    font-size: 13px;
  }
}