/* SMTP for LMS — extends home-v3.css + migration.css */

.so-page-smtp-for-lms .sol-hero {
  min-height: min(760px, 100vh);
  padding: 120px 0 64px;
}

.sol-hero__layout {
  align-items: center;
}

.sol-hero .so3-hero__title {
  max-width: 18ch;
}

.sol-hero .so3-hero__sub {
  max-width: 36ch;
}

.sol-hero-art {
  justify-self: end;
  width: min(100%, 480px);
  padding: 22px 22px 18px;
  border-radius: var(--so3-r-panel, 24px);
  background: linear-gradient(165deg, rgba(55, 55, 85, 0.72) 0%, rgba(38, 38, 64, 0.88) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(-20px);
}

.sol-hero-art__flow {
  display: grid;
  grid-template-columns: 92px 28px minmax(88px, 1fr) 28px 104px;
  align-items: center;
  gap: 0 4px;
}

.sol-hero-art__lms,
.sol-hero-art__inbox {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px 14px;
  border-radius: 16px;
  background: rgba(34, 34, 59, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sol-hero-art__lms {
  min-height: 168px;
}

.sol-hero-art__inbox {
  align-items: center;
  justify-content: center;
  min-height: 132px;
  color: #fff;
}

.sol-hero-art__inbox .so3-ico {
  color: #cc75ff;
}

.sol-hero-art__caption {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.sol-hero-art__row {
  display: block;
  height: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.sol-hero-art__row--active {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  color: #fff;
  background: rgba(129, 87, 246, 0.28);
  border: 1px solid rgba(225, 117, 255, 0.55);
  box-shadow: 0 0 16px rgba(129, 87, 246, 0.28);
}

.sol-hero-art__smtp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sol-hero-art__smtp-node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 35% 30%, #9b6cff 0%, #8157f6 55%, #5b35c9 100%);
  box-shadow: 0 0 0 6px rgba(129, 87, 246, 0.18), 0 0 36px rgba(193, 93, 224, 0.45);
}

.sol-hero-art__arrow {
  height: 2px;
  background: linear-gradient(90deg, #c55de0 0%, #7f56f6 100%);
  border-radius: 2px;
  position: relative;
}

.sol-hero-art__flow > .sol-hero-art__arrow:nth-child(2) {
  transform: translateX(15px);
}

.sol-hero-art__flow > .sol-hero-art__arrow:nth-child(4) {
  transform: translateX(-15px);
}

.sol-hero-art__arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #7f56f6;
  border-top: 2px solid #7f56f6;
  transform: translateY(-50%) rotate(45deg);
}

.sol-hero-art__return {
  height: 28px;
  margin: 4px 46px 0 46px;
  border: 0;
  border-bottom: 1.5px dashed rgba(225, 117, 255, 0.45);
  border-left: 1.5px dashed rgba(225, 117, 255, 0.45);
  border-right: 1.5px dashed rgba(225, 117, 255, 0.45);
  border-radius: 0 0 16px 16px;
}

.sol-hero-art__status {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.sol-hero-art__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.sol-hero-art__chip--ok {
  color: #32ff7e;
  background: rgba(50, 255, 126, 0.12);
  border: 1px solid rgba(50, 255, 126, 0.35);
}

.sol-hero-art__chip--fail {
  color: #ff8a8a;
  background: rgba(212, 79, 79, 0.14);
  border: 1px solid rgba(212, 79, 79, 0.4);
}

@media (max-width: 900px) {
  .sol-hero-art {
    justify-self: stretch;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .so-page-smtp-for-lms .sol-hero {
    min-height: auto;
    padding: 96px 0 48px;
  }

  .sol-hero-art__flow {
    grid-template-columns: 1fr 20px 72px 20px 1fr;
  }

  .sol-hero-art__lms,
  .sol-hero-art__inbox {
    min-height: 120px;
  }

  .sol-hero-art__smtp-node {
    width: 56px;
    height: 56px;
  }
}

.sol-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.sol-benefits__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border-radius: var(--so3-r-card, 20px);
  background: var(--so3-white, #fff);
  border: 1px solid var(--so3-border, #e7e7e7);
}

.sol-benefits__card h3 {
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.25;
}

.sol-benefits__card p {
  margin: 0;
  color: var(--so3-muted, #8e8e9e);
  font-size: 1rem;
  line-height: 1.5;
}

.sol-pairs {
  display: grid;
  gap: 16px;
}

.sol-pairs__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.sol-pairs__problem,
.sol-pairs__solution {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
  border-radius: var(--so3-r-card, 20px);
  min-height: 100%;
}

.sol-pairs__problem {
  background: #ececf2;
  border: 1px solid transparent;
}

.sol-pairs__solution {
  background: linear-gradient(135deg, #373755 0%, #22223b 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(129, 87, 246, 0.18);
}

.sol-pairs__problem h3,
.sol-pairs__solution h3 {
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.3;
}

.sol-pairs__problem p,
.sol-pairs__solution p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
}

.sol-pairs__problem p {
  color: #5c5c6b;
}

.sol-pairs__solution p {
  color: rgba(255, 255, 255, 0.78);
}

.sol-pairs__problem-head,
.sol-pairs__solution-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sol-pairs__problem-head .so3-ico {
  color: #c45c5c;
  flex-shrink: 0;
}

.sol-pairs__solution-head .so3-ico {
  color: #e175ff;
  flex-shrink: 0;
}

.sol-audiences {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sol-audiences__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border-radius: var(--so3-r-card, 20px);
  background: var(--so3-white, #fff);
  border: 1px solid var(--so3-border, #e7e7e7);
}

.sol-audiences__tag {
  margin: 0;
  color: var(--so3-purple, #8157f6);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sol-audiences__card h3 {
  margin: 0;
  font-family: Unbounded, sans-serif;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.25;
}

.sol-audiences__text {
  margin: 0;
  color: var(--so3-muted, #8e8e9e);
  font-size: 1rem;
  line-height: 1.5;
}

.sol-audiences__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  flex: 1;
}

.sol-audiences__points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.98rem;
  line-height: 1.4;
}

.sol-audiences__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3d9a5f;
  font-weight: 700;
}

.sol-audiences__cta {
  align-self: flex-start;
  margin-top: 8px;
}

.sol-grid {
  display: grid;
  gap: 20px;
}

.sol-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sol-card {
  padding: 24px;
  border-radius: var(--so3-r-card, 20px);
  background: var(--so3-white, #fff);
  border: 1px solid var(--so3-border, #e7e7e7);
}

.sol-card--soft {
  background: var(--so3-soft, #f9f8fb);
}

.sol-card h3 {
  margin: 14px 0 8px;
  font-family: Unbounded, sans-serif;
  font-size: 1.05rem;
  line-height: 1.3;
}

.sol-card p {
  margin: 0;
  color: var(--so3-muted, #8e8e9e);
  font-size: 0.98rem;
  line-height: 1.5;
}

a.sol-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

a.sol-card--link:hover {
  border-color: var(--so3-purple, #8157f6);
  transform: translateY(-2px);
}

.sol-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  padding: 28px;
  border-radius: var(--so3-r-card, 20px);
  background: var(--so3-bg, #22223b);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}

.sol-flow span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.sol-flow__brand {
  background: linear-gradient(90deg, #c55de0 0%, #7f56f6 100%) !important;
  border-color: transparent !important;
}

.sol-flow i {
  opacity: 0.55;
  font-style: normal;
}

.sol-proof--inline {
  margin: 28px 0 0;
}

.sol-flow-letters {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 16px;
}

.sol-flow-letters li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0;
}

.sol-flow-letters__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(129, 87, 246, 0.1);
  color: var(--so3-purple, #8157f6);
}

.sol-flow-letters__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sol-flow-letters__copy strong {
  font-size: 0.92rem;
  line-height: 1.3;
  color: var(--so3-text, #000);
}

.sol-flow-letters__copy span {
  color: var(--so3-muted, #8e8e9e);
  font-size: 0.84rem;
  line-height: 1.35;
}

.sol-path-cases {
  margin-top: 52px;
}

.sol-steps {
  padding-bottom: calc(var(--so3-space-band, 96px) - 10px);
}

.sol-path-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.sol-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sol-proof__card {
  display: grid;
  gap: 8px;
  padding: 20px 16px;
  border-radius: var(--so3-r-card, 20px);
  background: var(--so3-white, #fff);
  border: 1px solid var(--so3-border, #e7e7e7);
  text-align: center;
}

.sol-proof__card strong {
  font-family: Unbounded, sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  background: linear-gradient(90deg, #e175ff 0%, #8157f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sol-proof__card span {
  color: var(--so3-muted, #8e8e9e);
  font-size: 0.9rem;
  line-height: 1.35;
}

.sol-note {
  margin: 24px 0 0;
  color: var(--so3-muted, #8e8e9e);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 820px;
}

.som-form__field select {
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238e8e9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.som-form__field textarea {
  width: 100%;
  min-height: 110px;
  padding: 12px 14px;
  border: 1px solid var(--so3-border, #e7e7e7);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: inherit;
  line-height: 1.45;
  resize: vertical;
}

@media (max-width: 960px) {
  .sol-audiences,
  .sol-benefits,
  .sol-grid--3,
  .sol-proof,
  .sol-path-cases__grid,
  .sol-flow-letters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sol-pairs__row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sol-audiences,
  .sol-benefits,
  .sol-grid--3,
  .sol-proof,
  .sol-path-cases__grid,
  .sol-flow-letters {
    grid-template-columns: 1fr;
  }

  .sol-flow {
    flex-direction: column;
  }

  .sol-flow i {
    transform: rotate(90deg);
  }
}
