/* School Connect public website marketing refresh.
 * Keeps the core stylesheet stable while strengthening the 30-day trial
 * and WhatsApp conversion paths across the official website.
 */

.trial-strip {
  position: relative;
  z-index: 20;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(82, 164, 255, .28), transparent 30%),
    linear-gradient(110deg, #071b53 0%, #0b56f0 58%, #2476ff 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.trial-strip::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -95px;
  top: -120px;
  border: 42px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  pointer-events: none;
}

.trial-strip-inner {
  position: relative;
  z-index: 1;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-block: 10px;
  text-align: center;
}

.trial-strip-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff;
  color: var(--sc-blue);
  box-shadow: 0 8px 24px rgba(4, 28, 86, .18);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.trial-strip-copy {
  color: rgba(255, 255, 255, .9);
  font-size: .93rem;
}

.trial-strip-copy strong {
  color: #fff;
  font-weight: 900;
}

.trial-strip-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .32);
  color: #fff;
  font-size: .86rem;
  font-weight: 900;
  transition: transform .2s, background .2s, border-color .2s;
}

.trial-strip-link:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: #fff;
  color: var(--sc-blue);
}

.nav-trial {
  white-space: nowrap;
  box-shadow: 0 12px 26px rgba(11, 86, 240, .22);
}

.hero .trial-eyebrow {
  margin-bottom: 16px;
}

.hero .trial-eyebrow::before {
  background: var(--sc-green);
  box-shadow: 0 0 0 5px rgba(16, 168, 108, .12);
}

.btn-trial {
  color: #fff;
  background: linear-gradient(135deg, #0b56f0 0%, #1d78ff 56%, #08a873 135%);
  box-shadow: 0 16px 34px rgba(11, 86, 240, .3);
}

.btn-trial:hover {
  box-shadow: 0 22px 44px rgba(11, 86, 240, .38);
}

.trial-reassurance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 650px;
  margin: 18px 0 0;
  color: #51617f;
  font-size: .91rem;
  font-weight: 700;
}

.trial-reassurance .icon {
  margin-top: 2px;
  color: var(--sc-green);
}

.badge.trial-badge {
  border-color: rgba(16, 168, 108, .24);
  background: #ecfbf5;
  color: #087a4e;
}

.trial-showcase {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 38px 42px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 88% 15%, rgba(72, 157, 255, .35), transparent 34%),
    linear-gradient(130deg, #071b53 0%, #0b56f0 65%, #257dff 100%);
  box-shadow: 0 28px 70px rgba(11, 86, 240, .22);
}

.trial-showcase::before {
  content: "30";
  position: absolute;
  right: 26px;
  top: -42px;
  color: rgba(255, 255, 255, .07);
  font-size: 12rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.08em;
  pointer-events: none;
}

.trial-showcase-copy,
.trial-showcase-actions {
  position: relative;
  z-index: 1;
}

.trial-showcase-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #bfe2ff;
  font-size: .8rem;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.trial-showcase h2 {
  margin: 0;
  max-width: 760px;
  color: #fff;
  font-size: clamp(1.9rem, 3.7vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}

.trial-showcase p {
  max-width: 740px;
  margin: 13px 0 0;
  color: #dce9ff;
}

.trial-showcase-actions {
  min-width: min(100%, 300px);
  display: grid;
  gap: 10px;
}

.trial-showcase-actions .btn {
  width: 100%;
}

.trial-showcase .btn-secondary {
  border-color: rgba(255, 255, 255, .68);
  background: #fff;
}

.whatsapp-cta-section {
  padding: 20px 0 88px;
  background: var(--sc-white);
}

.whatsapp-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 500px);
  gap: 34px;
  align-items: center;
  padding: 34px 38px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 5%, rgba(57, 130, 209, .22), transparent 34%),
    linear-gradient(120deg, #173b69 0%, #214d78 100%);
  box-shadow: 0 24px 58px rgba(13, 45, 87, .2);
  color: #fff;
}

.whatsapp-cta::before,
.whatsapp-cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.whatsapp-cta::before {
  width: 240px;
  height: 240px;
  top: -168px;
  left: 66px;
  border: 54px solid rgba(255, 255, 255, .045);
  transform: rotate(45deg);
}

.whatsapp-cta::after {
  width: 360px;
  height: 360px;
  right: -210px;
  bottom: -260px;
  border-radius: 50%;
  border: 62px solid rgba(255, 255, 255, .04);
}

.whatsapp-cta-copy,
.whatsapp-cta-button {
  position: relative;
  z-index: 1;
}

.whatsapp-cta-copy span {
  display: block;
  margin-bottom: 5px;
  color: #b9d2eb;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.whatsapp-cta-copy strong {
  display: block;
  color: #fff;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.16;
  letter-spacing: -.03em;
}

.whatsapp-cta-copy p {
  margin: 8px 0 0;
  color: #d9e7f5;
}

.whatsapp-cta-button {
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 16px 24px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #078a43, #0e9f4d);
  box-shadow: 0 18px 40px rgba(2, 90, 44, .3);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  font-weight: 900;
  text-align: center;
  transition: transform .2s, box-shadow .2s, filter .2s;
}

.whatsapp-cta-button .icon {
  width: 28px;
  height: 28px;
}

.whatsapp-cta-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 24px 46px rgba(2, 90, 44, .38);
}

.whatsapp-float {
  background: linear-gradient(135deg, #078a43, #0e9f4d);
}

.whatsapp-float span {
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .trial-strip-inner {
    justify-content: flex-start;
  }

  .trial-strip-copy {
    flex: 1 1 auto;
    text-align: left;
  }

  .trial-showcase,
  .whatsapp-cta {
    grid-template-columns: 1fr;
  }

  .trial-showcase-actions {
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .whatsapp-cta-button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .trial-strip-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 10px;
    padding-block: 11px;
  }

  .trial-strip-badge {
    justify-self: start;
  }

  .trial-strip-copy {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: .82rem;
  }

  .trial-strip-link {
    grid-column: 2;
    grid-row: 1;
    padding: 8px 11px;
    font-size: .78rem;
  }

  .trial-strip-link .trial-link-long {
    display: none;
  }

  .trial-showcase {
    padding: 30px 24px;
  }

  .trial-showcase-actions {
    grid-template-columns: 1fr;
  }

  .whatsapp-cta-section {
    padding: 8px 0 70px;
  }

  .whatsapp-cta {
    padding: 28px 22px;
    text-align: center;
  }

  .whatsapp-cta-button {
    min-height: 62px;
    padding-inline: 18px;
  }
}

@media (max-width: 520px) {
  .trial-strip-inner {
    grid-template-columns: 1fr;
  }

  .trial-strip-badge,
  .trial-strip-link {
    grid-column: 1;
    justify-self: stretch;
    justify-content: center;
  }

  .trial-strip-badge {
    grid-row: 1;
  }

  .trial-strip-link {
    grid-row: 3;
  }

  .trial-strip-copy {
    grid-row: 2;
    text-align: center;
  }
}
