.main-sec {
  overflow-x: hidden;
}

.email-info {
  background: #fff;
}

.email-info .section-header {
  margin-bottom: 2rem;
}

.email-info-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.email-info-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.email-info strong {
  color: var(--primary-purple);
  font-weight: 600;
}

.email-info-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mail-mockup {
  width: min(340px, 100%);
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.mail-header {
  height: 40px;
  background: var(--card-bg-light);
}

.mail-body {
  padding: 1.5rem;
}

.mail-line {
  height: 10px;
  background: rgba(148, 163, 184, 0.3);
  border-radius: 4px;
  margin-bottom: 12px;
}

.mail-line.large { width: 90%; }
.mail-line.medium { width: 70%; }
.mail-line.short { width: 50%; }

.how-it-works {
  background: var(--card-bg-light);
}

.how-it-works ol {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  color: var(--text-secondary);
  padding-left: 0;
  list-style: none;
  counter-reset: email-steps;
}

.how-it-works li {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.25rem 1.5rem 1.25rem 3.75rem;
  position: relative;
}

.how-it-works li::before {
  counter-increment: email-steps;
  content: counter(email-steps, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--card-bg-light);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--text-tertiary);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.benefits {
  background: #fff;
}

.brand-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.brand-card {
  background: var(--card-bg-light);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.brand-card p {
  color: var(--text-secondary);
}

.email-template-showcase {
  background: var(--card-bg-light);
}

.template-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.template-content {
  max-width: 520px;
}

.template-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.template-content ul {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--text-secondary);
  display: grid;
  gap: 0.5rem;
}

.template-content .btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  background: var(--primary-purple);
  color: #0f172a;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(102, 204, 255, 0.4);
  transition: all var(--transition-smooth);
}

.template-content .btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(102, 204, 255, 0.5);
}

.template-visual {
  display: flex;
  justify-content: center;
}

.mockup {
  width: min(320px, 100%);
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.mockup-header {
  height: 40px;
  background: rgba(112, 138, 175, 0.2);
}

.mockup-body {
  padding: 1.5rem;
}

.mockup-line {
  height: 10px;
  background: rgba(148, 163, 184, 0.3);
  border-radius: 4px;
  margin-bottom: 12px;
}

.mockup-line.large { width: 90%; }
.mockup-line.medium { width: 70%; }
.mockup-line.short { width: 50%; }

@media (max-width: 900px) {
  .email-info-inner {
    grid-template-columns: 1fr;
  }

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

  .template-content {
    max-width: 100%;
  }
}
