/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #e3f2fd 0%, #e8f5e8 50%, #e0f2f1 100%);
  min-height: 100vh;
}
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Header Styles */
.header {
  text-align: center;
  margin-bottom: 4rem;
}
.hero {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero__logo {
  max-width: 240px;
  margin-right: auto;
  position: relative;
  bottom: 150px;
}
.hero__img {
  width: 570px;
  box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.15),
    -15px -15px 40px rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
}
.hero__col {
  flex: 1 0 49%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.divider {
  width: 6rem;
  height: 4px;
  background: linear-gradient(90deg, #4caf50, #2196f3);
  margin: 2rem auto;
  border-radius: 2px;
}

.subtitle {
  font-size: 1.25rem;
  color: #5a6c7d;
  margin: 0 auto 0 0;
  line-height: 1.7;
}

/* Section Styles */
section {
  margin-bottom: 3rem;
}

h2 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #34495e;
  margin-bottom: 1rem;
}

p {
  color: #5a6c7d;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Benefits Section */
.benefits-section {
  /* background: rgba(255, 255, 255, 0.7); */
  /* backdrop-filter: blur(10px); */
  /* border-radius: 2rem; */
  /* padding: 3rem 2rem; */
  /* box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff; */
  /* border: 1px solid rgba(255, 255, 255, 0.3); */
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1),
    -10px -10px 30px rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.15),
    -15px -15px 40px rgba(255, 255, 255, 0.9);
}

.benefit-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.3s ease;
}
.benefit-icon svg {
  stroke: #fff;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
}

.benefit-icon.green {
  background: linear-gradient(135deg, #4caf50, #66bb6a);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.benefit-icon.blue {
  background: linear-gradient(135deg, #2196f3, #42a5f5);
  box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
}

.benefit-icon.teal {
  background: linear-gradient(135deg, #009688, #26a69a);
  box-shadow: 0 8px 20px rgba(0, 150, 136, 0.3);
}

.benefit-icon i {
  color: white;
  font-size: 1.5rem;
}

/* Community Section */
.community-section {
  background: linear-gradient(
    135deg,
    rgba(33, 150, 243, 0.1),
    rgba(76, 175, 80, 0.1)
  );
  border-radius: 2rem;
  padding: 3rem 2rem;
  border: 1px solid rgba(33, 150, 243, 0.2);
}

.community-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.community-header h2 {
  margin-bottom: 0;
}

.community-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #2196f3, #4caf50);
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.community-icon i {
  color: white;
  font-size: 1.25rem;
}
.community-icon svg {
  stroke: #fff;
}

.benefits-list {
  margin: 2rem 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 1rem;
  transition: transform 0.2s ease;
}

.benefit-item:hover {
  transform: translateX(5px);
}

.benefit-item i {
  color: #4caf50;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.link-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #2196f3, #4caf50);
  color: white;
  text-decoration: none;
  border-radius: 1rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 1rem;
}

.link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(33, 150, 243, 0.3);
}

/* Customization Section */
.customization-section {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  padding: 3rem 2rem;
  box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.topic-checkbox {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.topic-checkbox:hover {
  border-color: #4caf50;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.topic-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;

  right: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #e0e0e0;
  border-radius: 0.3rem;
  transition: all 0.3s ease;
}

.topic-checkbox input:checked ~ .checkmark {
  background: #4caf50;
}

.topic-checkbox input:checked ~ .checkmark:after {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.2rem;
  width: 0.3rem;
  height: 0.6rem;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.topic-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topic-content i {
  color: #4caf50;
  font-size: 1.25rem;
}

.email-input-section,
#email-change-form {
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.1),
    rgba(33, 150, 243, 0.1)
  );
  border-radius: 1rem;
  border: 1px solid rgba(76, 175, 80, 0.2);
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

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

.email-input-section label,
#email-change-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2c3e50;
}

.email-input-section input,
#email-change-form input {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 0.8rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  margin-bottom: 1rem;
}

.email-input-section input:focus,
#email-change-form input:focus {
  outline: none;
  border-color: #4caf50;
}

.change-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2196f3;
  text-decoration: none;
  font-weight: 600;
  margin-top: 2rem;
  transition: color 0.3s ease;
}

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

/* Loss Section */
.loss-section {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.1),
    rgba(255, 152, 0, 0.1)
  );
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.warning-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #ff9800, #ffc107);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.warning-icon i {
  color: white;
  font-size: 1.5rem;
}

/* Final Section */
.final-section {
  text-align: center;
  padding: 3rem 2rem;
}

.action-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.btn-stay {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, #005eff, #2674fa);
  color: white;
  border: none;
  border-radius: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.btn-stay:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(76, 175, 80, 0.4);
}
.btn-stay svg {
  fill: #ff2929;
  stroke: #ff2929;
}

.btn-unsubscribe {
  padding: 1rem 2rem;
  background: #e0e0e0;
  color: #666;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-unsubscribe:hover {
  background: #d0d0d0;
}

.btn-primary {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #2196f3, #4caf50);
  color: white;
  border: none;
  border-radius: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
}

/* Unsubscribed State */
.unsubscribed-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.success-card {
  max-width: 600px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 2rem;
  padding: 4rem 3rem;
  box-shadow: 30px 30px 80px #bebebe, -30px -30px 80px #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.success-icon {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, #005eff, #2674fa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  animation: scaleIn 0.6s ease;
}
.success-icon svg {
  stroke: #fff;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.success-icon i {
  color: white;
  font-size: 2rem;
}

.success-icon svg {
  fill: #ff2929;
  stroke: #ff2929;
}

.success-card h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.success-card p {
  font-size: 1.2rem;
  color: #5a6c7d;
  margin-bottom: 2rem;
}

.signature {
  font-size: 1.1rem;
  color: #34495e;
  line-height: 1.6;
}

.signature strong {
  color: #2196f3;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero__logo {
    bottom: 0;
    max-width: 120px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-stay,
  .btn-unsubscribe {
    width: 100%;
    max-width: 300px;
  }

  .topics-grid {
    grid-template-columns: 1fr;
  }

  .community-header {
    flex-direction: column;
    text-align: center;
  }

  .benefit-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero__logo {
    margin-bottom: 20px;
  }
  h1 {
    font-size: 2rem;
    text-align: center;
  }
  h2 {
    font-size: 1.7rem;
  }
  h3 {
    text-align: center;
  }
  p {
    text-align: center;
  }
  .email-input-section {
    text-align: center;
  }

  .subtitle {
    font-size: 1rem;
    text-align: center;
  }

  .benefits-section,
  .customization-section {
    padding: 2rem 1rem;
  }

  .success-card {
    padding: 2rem 1.5rem;
  }

  .success-card h1 {
    font-size: 1.8rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation for icons */
.feather {
  transition: all 0.3s ease;
}

.feather:hover {
  transform: scale(1.1);
}
