.smtp-page {
  background: #f6f9fc;
  color: #10192b;
}

.smtp-page main {
  overflow: hidden;
}

.smtp-hero {
  position: relative;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(7, 19, 33, 0.96) 0%, rgba(18, 60, 140, 0.82) 50%, rgba(8, 145, 178, 0.62) 100%),
    linear-gradient(135deg, rgba(7, 19, 33, 0.72), rgba(8, 145, 178, 0.34)),
    url("https://webres.netsol.co.th/2025/05/smtp-service-relay-1024x576.webp");
  background-size: cover;
  background-position: center right;
  isolation: isolate;
}

.smtp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    radial-gradient(circle at 78% 28%, rgba(141, 227, 237, 0.22), transparent 24%),
    radial-gradient(circle at 88% 72%, rgba(34, 197, 94, 0.14), transparent 18%);
  background-size: 88px 88px, 88px 88px, auto, auto;
  opacity: 0.72;
}

.smtp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: clamp(540px, 66vh, 700px);
  padding: clamp(70px, 8vw, 108px) 0;
}

.smtp-hero-copy {
  max-width: 980px;
}

.smtp-page .eyebrow {
  margin: 0 0 18px;
  color: #8de3ed;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.smtp-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(50px, 5.4vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

.smtp-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.65;
}

.smtp-section {
  padding: clamp(70px, 8vw, 108px) 0;
}

.smtp-section-alt {
  background:
    linear-gradient(90deg, rgba(47, 102, 236, 0.08), transparent 35%),
    #f6f9fc;
}

.smtp-heading {
  max-width: 1040px;
  margin: 0 auto 42px;
  text-align: center;
}

.smtp-heading h2 {
  margin: 0;
  color: #10192b;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
}

.smtp-heading p {
  max-width: 900px;
  margin: 18px auto 0;
  color: #5b6a7d;
  font-size: 18px;
  line-height: 1.7;
}

.smtp-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: 34px;
  align-items: stretch;
}

.smtp-copy-card,
.smtp-definition-card,
.smtp-reason-card,
.smtp-price-card,
.smtp-note {
  border: 1px solid #c7d8ec;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(20, 48, 88, 0.08);
}

.smtp-copy-card {
  padding: clamp(28px, 4vw, 46px);
}

.smtp-copy-card p,
.smtp-definition-card p,
.smtp-reason-card p,
.smtp-note p {
  margin: 0;
  color: #5b6a7d;
  font-size: 18px;
  line-height: 1.7;
}

.smtp-copy-card p + p {
  margin-top: 18px;
}

.smtp-definition-card {
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(47, 102, 236, 0.08), rgba(20, 184, 166, 0.08)),
    rgba(255, 255, 255, 0.92);
}

.smtp-definition-card h2 {
  margin: 0 0 20px;
  color: #10192b;
  font-size: 28px;
}

.smtp-definition-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.smtp-definition-list div {
  padding-top: 18px;
  border-top: 1px solid #d7e4f1;
}

.smtp-definition-list dt {
  color: #0f7892;
  font-weight: 950;
}

.smtp-definition-list dd {
  margin: 6px 0 0;
  color: #5b6a7d;
  line-height: 1.6;
}

.smtp-reason-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.smtp-reason-card {
  position: relative;
  min-height: 260px;
  padding: 34px;
  overflow: hidden;
}

.smtp-reason-card::before,
.smtp-price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #2f66ec, #13a8be, #22c55e);
}

.smtp-reason-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #2f66ec, #13a8be);
  font-weight: 950;
}

.smtp-reason-card h3 {
  margin: 24px 0 12px;
  color: #10192b;
  font-size: 25px;
  line-height: 1.15;
}

.smtp-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.smtp-price-card {
  position: relative;
  overflow: hidden;
}

.smtp-price-card h3 {
  margin: 0;
  padding: 28px 30px 16px;
  color: #10192b;
  font-size: 28px;
}

.smtp-price-table {
  width: 100%;
  border-collapse: collapse;
}

.smtp-price-table th,
.smtp-price-table td {
  padding: 16px 30px;
  text-align: left;
  border-top: 1px solid #e4edf6;
}

.smtp-price-table th {
  color: #536377;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.smtp-price-table td {
  color: #10192b;
  font-size: 18px;
  font-weight: 800;
}

.smtp-price-table td:last-child {
  color: #0f7892;
  text-align: right;
}

.smtp-note {
  margin-top: 26px;
  padding: 24px 28px;
}

.smtp-note p {
  font-size: 14px;
}

@media (min-width: 901px) {
  .smtp-heading h2 {
    text-wrap: balance;
  }
}

@media (max-width: 1100px) {
  .smtp-intro-grid {
    grid-template-columns: 1fr;
  }

  .smtp-reason-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .smtp-price-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .smtp-hero-grid {
    min-height: auto;
    padding: 58px 0 64px;
  }

  .smtp-hero h1 {
    font-size: 42px;
  }

  .smtp-copy-card,
  .smtp-definition-card,
  .smtp-reason-card {
    padding: 24px;
  }

  .smtp-price-table th,
  .smtp-price-table td {
    padding: 14px 18px;
  }
}
