/* ============================================================================
   The public website (Pages/Home + Shared/_LayoutWebsite), built from the Figma
   design "Loopa Pulse Website" (1440px desktop frame). Black page, Poppins, pink
   #fa36cd accent, purple #94218b on white buttons. Sections stack on small screens.
   ============================================================================ */
:root {
  --web-pink: #fa36cd;
  --web-purple: #94218b;
  --web-black: #000;
}

/* Sizes below are the Figma frame sizes, padding included (this layout has no Bootstrap
   reset, so set it here). */
body.website *,
body.website *::before,
body.website *::after {
  box-sizing: border-box;
}

body.website {
  margin: 0;
  background: var(--web-black);
  color: #fff;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.website main {
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}

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

.web-kicker {
  color: var(--web-pink);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.48px;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.web-h2 {
  font-weight: 700;
  font-size: 46px;
  line-height: 1.2;
  letter-spacing: -1.38px;
  margin: 0;
}

.web-body {
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.48px;
}

.web-body p {
  margin: 0 0 1.6em;
}

.web-body p:last-child {
  margin-bottom: 0;
}

/* ---- Buttons (Figma "Main CTA": pill, Poppins SemiBold 15) ---- */
.web-btn {
  display: inline-block;
  padding: 13px 21px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.45px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.web-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.web-btn-sm {
  padding: 9px 18px;
  font-size: 14px;
  letter-spacing: -0.42px;
}

.web-btn-white { background: #fff; color: #000; }
.web-btn-white:hover { color: #000; }
.web-btn-pink { background: var(--web-pink); color: #fff; }
.web-btn-pink:hover { color: #fff; }
.web-btn-purple-text { background: #fff; color: var(--web-purple); }
.web-btn-purple-text:hover { color: var(--web-purple); }

.web-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ---- Header ---- */
.web-header {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 30px;
}

.web-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.web-header-left {
  display: flex;
  align-items: center;
  gap: 51px;
}

.web-logo img {
  height: 59px;
  width: auto;
  display: block;
}

.web-menu {
  display: flex;
  gap: 50px;
  padding: 8px;
}

.web-menu a,
.web-login {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -0.56px;
  text-decoration: none;
}

.web-menu a:hover,
.web-login:hover {
  color: var(--web-pink);
}

.web-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ---- Hero + posts, over the pink glow ---- */
.web-hero {
  position: relative;
  margin-top: -89px; /* the glow runs up behind the header */
  padding-top: 201px;
}

/* The design's blurred pink/purple ellipses, as layered radial gradients: a bright band
   behind the sample posts that runs off both edges and fades out under "Never run out". */
.web-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 45% 17% at 8% 47%, rgba(250, 54, 205, 1), transparent 75%),
    radial-gradient(ellipse 40% 17% at 92% 45%, rgba(236, 44, 200, 0.95), transparent 75%),
    radial-gradient(ellipse 62% 26% at 50% 55%, rgba(222, 34, 198, 1), transparent 72%),
    radial-gradient(ellipse 58% 22% at 50% 74%, rgba(186, 18, 186, 1), transparent 74%),
    radial-gradient(ellipse 70% 16% at 50% 90%, rgba(120, 8, 140, 0.9), transparent 78%);
  pointer-events: none;
}

.web-hero > * {
  position: relative;
  z-index: 1;
}

.web-hero-text {
  text-align: center;
  max-width: 1158px;
  margin: 0 auto;
}

.web-hero-title {
  font-weight: 700;
  font-size: 55px;
  line-height: 1.15;
  letter-spacing: -1.65px;
  max-width: 940px;
  margin: 0 auto 29px;
}

.web-hero-lead {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.42px;
  max-width: 820px;
  min-height: 50px;
  margin: 0 auto;
}

.web-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 377px));
  justify-content: space-between;
  gap: 30px;
  max-width: 1193px;
  margin: 77px auto 0;
}

.web-post {
  background: #fff;
  color: #000;
  border-radius: 32px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: "Inter", system-ui, sans-serif;
}

.web-post-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: -0.16px;
}

.web-post-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.web-post-image {
  width: 100%;
  aspect-ratio: 325 / 244;
  object-fit: cover;
  border-radius: 7.4px;
  display: block;
}

.web-post-icons {
  width: 100%;
  height: auto;
  display: block;
}

.web-post-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.web-never {
  text-align: center;
  padding: 100px 1.5rem;
}

.web-never-title {
  font-weight: 700;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -1.44px;
  margin: 0 auto 34px; /* 29px gap + the 5px padding above the subheading in Figma */
  max-width: 756px;
}

.web-never-sub {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.48px;
  margin: 0 0 18px;
}

.web-never-text {
  max-width: 475px;
  margin: 0 auto 34px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.48px;
}

.web-never .web-btn-row {
  justify-content: center;
}

/* ---- Photo sections (Figma exports in wwwroot/images/website/). CoupleWithAgent-2.png and
   AgentReactions.png fade to transparent on the side facing the text, so the black page
   shows through; no extra overlay needed on desktop. ---- */
.web-photo-section {
  position: relative;
  background-color: #000;
  background-repeat: no-repeat;
  background-size: cover;
}

.web-problem {
  min-height: 727px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 135px 99px 135px 104px;
  background-image: url("/images/website/CoupleWithAgent-2.png");
  background-size: 66% auto;
  background-position: -87px bottom;
}

.web-problem-text {
  max-width: 609px;
}

.web-problem .web-h2 {
  margin-bottom: 29px;
}

.web-problem .web-body {
  max-width: 429px;
  margin-bottom: 44px;
}

.web-meet {
  display: grid;
  grid-template-columns: 617fr 663fr;
  max-width: 1280px;
  margin: 100px auto 0;
  padding: 0 1.5rem;
}

.web-meet-panel {
  background: var(--web-pink);
  border-radius: 44px 0 0 44px;
  padding: 100px 50px 100px 71px;
}

.web-meet-title {
  font-weight: 700;
  font-size: 62px;
  line-height: 1;
  letter-spacing: -1.86px;
  margin: 0 0 34px;
}

.web-meet .web-kicker {
  color: #fff;
}

.web-meet-sub {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: -0.66px;
  margin: 0 0 44px;
}

.web-meet-points {
  list-style: none;
  padding: 0;
  margin: 0 0 44px;
  display: flex;
  flex-direction: column;
  gap: 34px;
  max-width: 456px;
}

.web-meet-points li {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: -0.39px;
}

.web-meet-points img {
  width: 58px;
  height: 58px;
  flex: none;
}

.web-meet-photo {
  background-color: #1a1a1a;
  border-radius: 0 44px 44px 0;
  min-height: 720px;
  background-image: url("/images/website/LadyOnComputer.png");
  background-position: 60% center;
}

.web-how {
  text-align: center;
  padding: 100px 1.5rem;
  scroll-margin-top: 20px;
}

.web-how .web-kicker {
  margin-bottom: 10px;
}

.web-how .web-h2 {
  max-width: 612px;
  margin: 0 auto 45px;
}

.web-how-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 282px));
  justify-content: center;
  gap: 32px;
}

.web-how-step {
  background: rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  padding: 25px 22px;
  min-height: 152px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.web-how-step h3 {
  font-weight: 700;
  font-size: 23px;
  line-height: 1.6;
  letter-spacing: -0.69px;
  margin: 0;
}

.web-how-step p {
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.42px;
  margin: 0;
}

.web-content {
  min-height: 625px;
  display: flex;
  align-items: center;
  padding: 151px 115px;
  background-image: url("/images/website/AgentReactions.png");
  background-size: 59% auto;
  background-position: right center;
}

.web-content-text {
  max-width: 596px;
}

.web-content-title {
  font-weight: 700;
  font-size: 55px;
  line-height: 1.2;
  letter-spacing: -1.65px;
  margin: 0 0 20px;
}

.web-content .web-body {
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.42px;
  max-width: 407px;
}

.web-cta {
  background: var(--web-pink);
  text-align: center;
  padding: 108px 1.5rem;
}

.web-cta-title {
  font-weight: 700;
  font-size: 52px;
  line-height: 1.2;
  letter-spacing: -1.56px;
  max-width: 571px;
  margin: 0 auto;
}

.web-cta-sub {
  font-weight: 700;
  font-size: 22px;
  line-height: 2.3;
  letter-spacing: -0.48px;
  margin: 5px 0 0;
}

.web-cta-text {
  font-size: 16px;
  line-height: 2.3;
  letter-spacing: -0.48px;
  margin: 0 0 25px;
}

/* ---- Tablet and phone ---- */
@media (max-width: 1199.98px) {
  .web-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 1.5rem; }
  .web-problem { padding: 100px 48px; }
  .web-content { padding: 100px 48px; }
  .web-how-steps { grid-template-columns: repeat(2, minmax(0, 282px)); }
}

@media (max-width: 991.98px) {
  .web-menu { display: none; }
  .web-hero-title { font-size: 40px; }
  .web-never-title, .web-h2, .web-content-title, .web-cta-title { font-size: 36px; }
  .web-meet-title { font-size: 46px; }
  .web-posts { grid-template-columns: minmax(0, 377px); justify-content: center; }
  .web-posts .web-post:nth-child(n+2) { display: none; } /* one sample post on small screens */
  .web-problem {
    justify-content: flex-start;
    min-height: 0;
    padding: 360px 1.5rem 64px;
    background-image: linear-gradient(180deg, transparent 20%, #000 55%), url("/images/website/CoupleWithAgent-2.png");
    background-size: 100% 100%, 100% auto;
    background-position: left top, center top;
  }
  .web-meet { grid-template-columns: 1fr; }
  .web-meet-panel { border-radius: 32px 32px 0 0; padding: 56px 1.5rem; }
  .web-meet-photo { border-radius: 0 0 32px 32px; min-height: 360px; }
  .web-content {
    min-height: 0;
    padding: 64px 1.5rem 360px;
    background-image: linear-gradient(0deg, transparent 20%, #000 60%), url("/images/website/AgentReactions.png");
    background-size: 100% 100%, 100% auto;
    background-position: left top, center bottom;
  }
}

@media (max-width: 575.98px) {
  .web-header { padding-top: 20px; }
  .web-logo img { height: 40px; }
  .web-login { display: none; }
  .web-hero { padding-top: 150px; }
  .web-hero-title { font-size: 32px; }
  .web-how-steps { grid-template-columns: minmax(0, 1fr); }
  .web-cta { padding: 72px 1.5rem; }
}

/* ============================================================================
   Internal pages (Shared/_LayoutWebsitePage): the black header, then a white content
   area, then the black footer. About Us, Solutions, Contact Us and the legal pages.
   ============================================================================ */
.web-page {
  background: #fff;
  color: #1a1a1a;
  margin-top: 30px;
}

.web-page-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 1.5rem 100px;
}

.web-page-heading {
  max-width: 900px;
  margin-bottom: 48px;
}

.web-page-heading .web-kicker {
  margin-bottom: 14px;
}

.web-page-title {
  font-weight: 700;
  font-size: 46px;
  line-height: 1.2;
  letter-spacing: -1.38px;
  margin: 0;
  color: #000;
}

.web-page-lead {
  margin: 14px 0 0;
  font-size: 14px;
  color: #6b6b6b;
}

.web-page a {
  color: var(--web-purple);
}

.web-page a.web-btn-pink {
  color: #fff;
}

.web-prose {
  max-width: 820px;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.2px;
}

.web-prose p,
.web-prose ul,
.web-prose ol {
  margin: 0 0 1.1em;
}

.web-prose h2 {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.84px;
  margin: 2.2rem 0 0.8rem;
  color: #000;
}

.web-prose h3 {
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
  margin: 1.6rem 0 0.5rem;
  color: #000;
}

/* Legal pages keep their existing markup (.legal-content), restyled for the website. */
.web-page .legal-content {
  max-width: 820px;
  font-size: 15px;
  line-height: 1.7;
}

.web-page .legal-content h2 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 2.2rem 0 0.7rem;
  color: #000;
}

.web-page .legal-content h3 {
  font-weight: 600;
  font-size: 17px;
  margin: 1.4rem 0 0.4rem;
  color: #000;
}

.web-page .legal-content p,
.web-page .legal-content ul,
.web-page .legal-content ol {
  margin: 0 0 1rem;
}

.web-page .badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #6b6b6b;
}

.web-page .badge.text-bg-success { background: #1f8a4c; }
.web-page .badge.text-bg-warning { background: #e0a100; color: #000; }

/* Cards used on Solutions and About Us. */
.web-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 8px 0 56px;
}

.web-card {
  background: #f6f4f6;
  border-radius: 20px;
  padding: 28px 26px;
}

.web-card h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  color: #000;
}

.web-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.web-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--web-pink);
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
}

.web-band {
  background: var(--web-pink);
  color: #fff;
  border-radius: 32px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.web-band h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.96px;
  margin: 0 0 6px;
}

.web-band p {
  margin: 0;
  font-size: 16px;
}

.web-page .web-band a.web-btn-purple-text {
  color: var(--web-purple);
}

/* ---- Contact Us ---- */
.web-contact {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.web-contact-details p {
  margin: 0 0 1.2em;
  font-size: 16px;
  line-height: 1.6;
}

.web-contact-details h3 {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 4px;
  color: #000;
}

.web-form {
  background: #f6f4f6;
  border-radius: 24px;
  padding: 36px;
}

.web-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.web-field {
  margin-bottom: 18px;
}

.web-field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: #000;
}

.web-field input,
.web-field select,
.web-field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #d8d2d8;
  border-radius: 12px;
  background: #fff;
  color: #000;
}

.web-field textarea {
  min-height: 150px;
  resize: vertical;
}

.web-field input:focus,
.web-field select:focus,
.web-field textarea:focus {
  outline: none;
  border-color: var(--web-pink);
  box-shadow: 0 0 0 3px rgba(250, 54, 205, 0.2);
}

.web-field-error,
.web-form-errors {
  color: #c0223b;
  font-size: 13px;
  margin-top: 4px;
}

.web-form-errors ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.web-form button.web-btn {
  border: 0;
  cursor: pointer;
}

.web-form-sent {
  background: #eaf7ef;
  border-radius: 16px;
  padding: 20px 22px;
  color: #145c33;
  margin-bottom: 20px;
}

/* The honeypot field: hidden from people, filled in by bots. */
.web-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .web-page-title { font-size: 34px; }
  .web-cards { grid-template-columns: 1fr; }
  .web-contact { grid-template-columns: 1fr; gap: 32px; }
  .web-page-inner { padding: 56px 1.5rem 72px; }
}

@media (max-width: 575.98px) {
  .web-form { padding: 22px; }
  .web-form-row { grid-template-columns: 1fr; gap: 0; }
  .web-band { padding: 32px 24px; }
}
