:root {
  --primary: #b01717;
  --primary-dark: #710f0f;
  --primary-light: #e68f8f;
  --accent-blue: #006bdd;
  --link-blue: #2240e5;
  --ink: #211d1d;
  --ink-secondary: #323232;
  --ink-muted: #565656;
  --ink-light: #b6b6b6;
  --white: #ffffff;
  --surface: #f1f1f1;
  --border: #b6b6b6;
  --shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06);
  --radius: 4px;
  --radius-lg: 16px;
  --font: "Montserrat", sans-serif;
  --header-h: 56px;
  --header-h-mobile: 40px;
  --footer-bg: #333333;
  --title-size: clamp(2rem, 4.5vw, 2.5rem);
  --transition: 0.2s linear;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link-blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-blue); }
.container { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }

.text-accent { color: var(--primary); }

/* Buttons — matched to soulfuldate.com */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border-radius: var(--radius);
  outline: none;
  font-family: var(--font);
  font-weight: 500;
  white-space: nowrap;
  border: none;
  text-decoration: none;
}

/* Create an account style (.btn_form) */
.btn--account {
  color: var(--white);
  background-color: var(--primary);
  font-size: 20px;
  line-height: 24px;
  height: 56px;
  padding: 0 32px;
}
.btn--account:hover {
  color: var(--white);
  background-color: var(--primary-dark);
}
.btn--account:active {
  background-color: var(--primary-light);
}

/* Login style (.btn_login) */
.btn--login {
  color: var(--primary-dark);
  background-color: transparent;
  border: 1px solid var(--primary);
  font-size: 16px;
  line-height: 20px;
  height: 41px;
  padding: 0 24px;
}
.btn--login:hover,
.btn--login:active {
  color: var(--primary-dark);
  background-color: transparent;
}

.btn--nav {
  min-width: 80px;
  height: 41px;
  font-size: 16px;
  line-height: 20px;
  padding: 0 16px;
}
.btn--nav__icon {
  display: none;
}
.btn--nav.btn--account {
  color: var(--white);
  background-color: var(--primary);
  border: none;
}
.btn--nav.btn--account:hover {
  color: var(--white);
  background-color: var(--primary-dark);
}
.btn--nav.btn--account:active {
  background-color: var(--primary-light);
}

.btn--lg.btn--account {
  max-width: 380px;
}
.btn--cta.btn--account {
  color: var(--primary-dark);
  background-color: var(--white);
  border: none;
}
.btn--cta.btn--account:hover {
  color: var(--primary-dark);
  background-color: rgba(255, 255, 255, 0.92);
}
.btn--cta.btn--account:active {
  background-color: rgba(255, 255, 255, 0.85);
}

/* Coming soon modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal[hidden] {
  display: none;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(33, 29, 29, 0.55);
}
.modal__dialog {
  position: relative;
  width: min(100%, 420px);
  padding: 2rem 1.75rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}
.modal__close {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}
.modal__close:hover {
  background: var(--surface);
  color: var(--ink);
}
.modal__title {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.modal__text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}
.modal__action {
  min-width: 140px;
  height: 48px;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0 1.5rem;
}

.btn--lg.btn--login {
  min-width: 180px;
}

/* Store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.store-badges--cta {
  justify-content: center;
  margin-bottom: 0;
}
.store-badges--cta .store-badge {
  background-color: #000;
  border: none;
  box-shadow: none;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
}
.store-badges--cta .store-badge:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.store-badges--cta .store-badge img {
  display: block;
  width: 181px;
  height: 60px;
  border: none;
  outline: none;
  object-fit: fill;
  object-position: center;
  background-color: #000;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 181px;
  height: 60px;
  line-height: 0;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}
.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.92;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}
.store-badge img {
  display: block;
  width: 181px;
  height: 60px;
  object-fit: contain;
  object-position: center;
}

/* Portal intro */
.portal-intro {
  padding: 3rem 0 0.5rem;
  text-align: center;
  flex-shrink: 0;
}
.portal-intro__title {
  font-family: var(--font);
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--ink);
  animation: portal-fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.portal-intro__accent {
  display: inline-block;
  color: var(--primary);
  animation: portal-accent-glow 3s ease-in-out infinite;
}
@keyframes portal-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes portal-accent-glow {
  0%, 100% {
    color: var(--primary);
    text-shadow: 0 0 0 transparent;
    transform: scale(1);
  }
  50% {
    color: var(--primary-dark);
    text-shadow: 0 0 24px rgba(176, 23, 23, 0.35);
    transform: scale(1.03);
  }
}
@media (prefers-reduced-motion: reduce) {
  .portal-intro__title,
  .portal-intro__accent {
    animation: none;
  }
}

/* Header — matched to soulfuldate.com */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-h);
  margin: 0;
  padding: 0 50px;
  background-color: var(--white);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.2s linear;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  gap: 1rem;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.header__logo-img {
  width: 300px;
  height: 40px;
  max-width: none;
  object-fit: contain;
}
.header__portal {
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  color: var(--primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  flex-shrink: 0;
}
.header__link {
  color: var(--ink-secondary);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  transition: color 0.2s linear;
}
.header__link:hover {
  color: var(--primary);
}

/* Full-viewport screen blocks */
.screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.screen--hero {
  padding-top: var(--header-h);
}
.screen--hero .hero {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  min-height: 0;
  padding: 0 1rem 1.5rem;
}
.screen--why {
  padding-top: var(--header-h);
  justify-content: center;
}
.screen--why.section {
  padding-top: var(--header-h);
  padding-bottom: 4.5rem;
}
.screen--reviews {
  padding-top: var(--header-h);
  justify-content: center;
}
.screen--reviews .community-banner {
  flex-shrink: 0;
  padding: 1.5rem 0 0;
}
.screen--reviews .reviews {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0 3rem;
}
.screen--reviews .reviews .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 0;
  background: var(--white);
}
.hero__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
}
.hero__content.container {
  margin-inline: 0;
}
.hero__title {
  font-family: var(--font);
  font-size: var(--title-size);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--ink);
}
.hero__title-accent {
  color: var(--primary);
}
.hero__text {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  line-height: 28px;
  max-width: 32rem;
  margin-bottom: 1.75rem;
}
.hero__content .btn--account {
  margin-top: 0.25rem;
}

/* Hero visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-shrink: 0;
}
.hero__visual img {
  width: 100%;
  max-width: min(760px, 94vw);
  max-height: min(72vh, 760px);
  height: auto;
  object-fit: contain;
}

@media (min-width: 1221px) {
  .screen--hero .hero,
  .hero {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3rem 4rem;
    width: min(1400px, 100%);
    margin-inline: auto;
    padding-inline: 2rem;
  }
  .hero__visual {
    flex: 0 1 58%;
    width: 58%;
    max-width: 58%;
    align-self: center;
  }
  .hero__visual img {
    max-width: 100%;
    max-height: min(78vh, 820px);
  }
  .hero__content {
    flex: 0 1 42%;
    max-width: 42%;
    text-align: left;
    align-self: center;
  }
}

/* Trust section */
.trust {
  padding: 2.5rem 0;
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
.trust__item { text-align: center; }
.trust__number {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.trust__label {
  font-size: 20px;
  color: var(--ink-muted);
  font-weight: 500;
}
.trust__divider {
  width: 1px;
  height: 52px;
  background: rgba(0, 0, 0, 0.1);
}

/* Sections */
.section { padding: 4.5rem 0; }
.section__title {
  font-family: var(--font);
  font-size: var(--title-size);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--ink);
}
.section__title--left {
  text-align: left;
  margin-bottom: 1.75rem;
}

/* Community banner */
.community-banner {
  padding: 2rem 0 0;
  background: var(--white);
}
.community-banner img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

/* Reviews — carousel */
.reviews { background: #ffffff; }
.reviews__carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}
.reviews__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.reviews__track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.5s ease;
  will-change: transform;
}
.reviews__arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) {
  .reviews__arrow:hover {
    background-color: var(--white);
    color: var(--primary);
  }
}
.reviews__arrow:active {
  background-color: var(--primary-dark);
  color: var(--white);
}
.reviews__arrow:focus {
  outline: none;
}
.reviews__arrow:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.review-card {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  font-family: Georgia, "Times New Roman", serif;
}
.review-card__profile {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
}
.review-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(176, 23, 23, 0.15);
}
.review-card__meta {
  min-width: 0;
  font-family: var(--font);
}
.review-card__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.review-card__location {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-light);
  line-height: 1.3;
  margin-top: 0.125rem;
}
.review-card__stars {
  position: relative;
  display: inline-block;
  font-size: 1.125rem;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 1rem;
  font-family: var(--font);
}
.review-card__stars-base {
  color: #e5e5e5;
}
.review-card__stars-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f5a623;
}
.review-card blockquote {
  flex: 1;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0;
}

/* Why */
.why { background: var(--white); }
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
.why__image {
  min-height: 0;
}
.why__image img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}
.why__list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.why__list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: #fafafa;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.why__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
}
.why__icon svg {
  display: block;
}
.why__list strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.why__list p {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  line-height: 28px;
}

/* Final CTA */
.cta {
  padding: 5rem 0;
  background: var(--primary);
  border-top: none;
  text-align: center;
}
.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: min(1180px, calc(100% - 1rem));
}
.cta__title {
  font-family: var(--font);
  font-size: var(--title-size);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  text-wrap: balance;
}
.cta__text {
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 40rem;
}
.cta .btn--lg.btn--account {
  width: 100%;
  max-width: 380px;
}

/* Footer — matched to soulfuldate.com */
.footer {
  z-index: 10;
  display: flex;
  width: 100%;
  padding: 2.5rem 0;
  background: var(--footer-bg);
  color: var(--white);
  text-align: center;
  font-family: "Montserrat", sans-serif;
}
.footer__inner {
  width: 100%;
}
.footer__logo {
  margin: 0 auto 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  height: 30px;
  width: auto;
  max-width: 160px;
}
.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}
.footer__links a {
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  transition: opacity 0.2s linear;
}
.footer__links a:hover {
  color: var(--white);
  opacity: 0.8;
}
.footer__copy {
  font-size: 12px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive — breakpoints matched to soulfuldate.com */
@media (max-width: 1220px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero__text { margin-inline: auto; }
  .store-badges { justify-content: center; }
  .hero__visual img { max-width: min(520px, 94vw); max-height: none; }
  .hero__content .btn--account { margin-inline: auto; }
  .reviews__carousel { gap: 0.625rem; }
  .reviews__arrow {
    width: 38px;
    height: 38px;
  }
  .why__inner { grid-template-columns: 1fr; }
  .why__image { order: -1; }
  .why__image img { height: auto; }
  .section__title--left { text-align: center; }
  .trust__inner { flex-direction: column; gap: 1.5rem; }
  .trust__divider { width: 60px; height: 1px; }
  .screen--hero .hero { padding: 0.5rem 0 1.5rem; }
  .screen--why.section { padding-bottom: 3rem; }
  .screen--reviews .reviews { padding: 1.5rem 0 2rem; }
}

@media (max-width: 768px) {
  .header { padding: 0 16px; }
  .portal-intro { padding-top: 2rem; }
  .portal-intro__title {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }
  .hero__title,
  .section__title,
  .cta__title {
    font-size: 28px;
    line-height: 36px;
  }
  .hero__text {
    font-size: 16px;
    line-height: 22px;
  }
  .cta__text {
    font-size: 16px;
    line-height: 24px;
  }
  .why__list strong,
  .why__list p {
    font-size: 16px;
    line-height: 22px;
  }
  .trust__label {
    font-size: 18px;
  }
  .store-badges:not(.store-badges--cta) .store-badge,
  .store-badges:not(.store-badges--cta) .store-badge img {
    width: min(181px, 100%);
    height: auto;
    aspect-ratio: 181 / 60;
  }
  .store-badges--cta .store-badge,
  .store-badges--cta .store-badge img {
    width: 181px;
    height: 60px;
    aspect-ratio: auto;
  }
  .btn--lg.btn--account { width: 100%; max-width: 380px; }
}

@media (max-width: 540px) {
  .header {
    position: static;
    height: var(--header-h-mobile);
    padding: 0 16px;
  }
  .header__logo-img {
    width: auto;
    height: 30px;
    aspect-ratio: 300 / 40;
  }
  .header__portal {
    font-size: 1.3rem;
  }
  .header__link { display: none; }
  .btn--nav {
    min-width: 32px;
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .btn--nav__text { display: none; }
  .btn--nav__icon { display: block; }
  .screen--hero,
  .screen--why,
  .screen--reviews {
    padding-top: 0;
    min-height: auto;
  }
  .portal-intro { padding-top: 1.25rem; }
  .hero__title,
  .section__title,
  .cta__title {
    font-size: 28px;
    line-height: 31px;
  }
  .section { padding: 2.5rem 0; }
  .screen--why.section { padding-bottom: 2.5rem; }
  .community-banner { padding-top: 1rem; }
  .cta { padding: 3rem 0; }
  .container { width: min(1180px, calc(100% - 2rem)); }
}

@media (max-width: 374px) {
  .hero__title,
  .section__title,
  .cta__title {
    font-size: 24px;
    line-height: 26px;
  }
  .portal-intro__title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  .hero__text,
  .why__list p {
    line-height: 21px;
  }
}
