/* Money Loop landing overrides */

/* Brand color: swap template purple for Money Loop orange (#FF3A00) */
:root,
:host,
:root.dark {
  --color-primary-50: #fff1ec;
  --color-primary-100: #ffe3da;
  --color-primary-200: #ffc4b0;
  --color-primary-300: #ff9b7d;
  --color-primary-400: #ff6a3c;
  --color-primary-500: #ff3a00;
  --color-primary-600: #d62f00;
  --color-primary-700: #b32700;
}

/* Hero: brand orange background */
.moneyloop-hero {
  background-color: #ff3a00 !important;
}

/* Hero: all text light on the orange background */
.moneyloop-hero h1,
.moneyloop-hero h2,
.moneyloop-hero h3,
.moneyloop-hero p,
.moneyloop-hero span,
.moneyloop-hero a {
  color: #ffffff !important;
}

.moneyloop-hero .badge {
  background-color: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.moneyloop-hero .space-y-3 > p {
  margin-top: 16px !important;
}

/* Keep app-store buttons (black pills) text light, untouched layout */
.moneyloop-hero .bg-black span,
.moneyloop-hero .bg-black span * {
  color: #ffffff !important;
}

/* Hero concentric rings: lighter + stronger opacity over orange */
.moneyloop-hero .border-\[\#DCD4FF\] {
  border-color: rgba(255, 255, 255, 0.03) !important;
}

.moneyloop-hero .bg-\[\#ece8ff\]\/30 {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Nudge the hero rings down, keep horizontally centered */
.moneyloop-hero-rings {
  left: 50% !important;
  right: auto !important;
  bottom: -70%;
}

/* Landing header: white shell aligned to hero container width */
.moneyloop-landing-header__wrap {
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 1.5rem;
}

@media (min-width: 768px) {
  .moneyloop-landing-header__wrap {
    max-width: 700px;
  }
}

@media (min-width: 1024px) {
  .moneyloop-landing-header__wrap {
    max-width: 980px;
  }
}

@media (min-width: 1280px) {
  .moneyloop-landing-header__wrap {
    max-width: 1240px;
  }
}

@media (min-width: 1536px) {
  .moneyloop-landing-header__wrap {
    max-width: 1440px;
  }
}

.moneyloop-landing-header__shell {
  margin-top: 1rem;
  background-color: #ffffff;
  border-radius: 2rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .moneyloop-landing-header__shell {
    border: 10px solid #ffffff;
  }
}

.moneyloop-landing-header__inner {
  width: 100%;
  max-width: none !important;
}

.moneyloop-landing-header__inner > div:last-child {
  margin-right: 16px;
}

.moneyloop-landing .hero-section {
  padding-top: 0 !important;
}

/* Sub-pages: breathing room before hero band */
.moneyloop-legal header {
  padding-bottom: 24px;
}

.header-five {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  z-index: auto !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.header-five.header-five-scroll {
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.header-five nav,
.sidebar,
.nav-hamburger,
.nav-hamburger-close {
  display: none !important;
}

.moneyloop-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 24px;
  text-decoration: none;
}

.moneyloop-brand__mark {
  display: block;
  height: 38px;
  margin-top: 12px;
  width: auto;
  aspect-ratio: 170 / 104;
  flex-shrink: 0;
  color: #000000;
}

/* Stats bar: light card on gray section */
.moneyloop-why-section {
  background-color: #f9fafb !important;
}

.moneyloop-stats-bar {
  background-color: #ffffff !important;
  border: 1px solid #e4e4e7;
}

.moneyloop-stats-bar__label {
  color: #1a1a1c !important;
}

.moneyloop-stats-bar > div {
  border: none !important;
}

.moneyloop-feature-card img {
  border-radius: 20px;
  object-fit: contain;
  width: 100%;
  height: auto;
  display: block;
}

/* Badges: Money Loop orange branding */
.badge-green,
.badge-yellow,
.badge-primary-light {
  background-color: var(--color-primary-50) !important;
  color: var(--color-primary-500) !important;
}

:root.dark .badge-green,
:root.dark .badge-yellow,
:root.dark .badge-primary-light,
.dark .badge-green,
.dark .badge-yellow,
.dark .badge-primary-light {
  background-color: rgba(255, 58, 0, 0.14) !important;
  color: var(--color-primary-400) !important;
}

/* Services banner: keep original arc image */
.moneyloop-services-banner {
  background-color: #1a1a1c !important;
  background-image: url("../images/ns-img-242.png") !important;
  background-position: bottom center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.moneyloop-services-banner .badge {
  background-color: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

.moneyloop-services-banner h2,
.moneyloop-services-banner h3,
.moneyloop-services-banner p,
.moneyloop-services-banner span {
  color: #ffffff !important;
}

.moneyloop-services-banner p {
  opacity: 0.85;
}

.moneyloop-services-banner h3 {
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.moneyloop-services-banner .space-y-2 > p {
  min-height: 4.5em;
}

.moneyloop-review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

.moneyloop-review-avatar span {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

/* Reviews swiper: active card uses Money Loop orange */
.reviews-swiper .swiper-slide-active > div:before,
.reviews-swiper .swiper-slide-active > div:where(.dark, .dark *):before {
  background-color: #ff3a00 !important;
}

.reviews-swiper .swiper-slide-active .review-text,
.reviews-swiper .swiper-slide-active .review-name,
.reviews-swiper .swiper-slide-active .review-text:where(.dark, .dark *),
.reviews-swiper .swiper-slide-active .review-name:where(.dark, .dark *) {
  color: #ffffff !important;
}

.reviews-swiper .swiper-slide-active .review-title,
.reviews-swiper .swiper-slide-active .review-title:where(.dark, .dark *) {
  color: rgba(255, 255, 255, 0.75) !important;
}

.reviews-swiper .swiper-slide-active .moneyloop-review-avatar {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

.reviews-swiper .swiper-slide-active .moneyloop-review-avatar span {
  color: #ffffff !important;
}

/* Features stack: services + compare in one flow */
.moneyloop-features-stack {
  background-color: #f9fafb !important;
}

.moneyloop-compare-panel {
  background-color: #ffffff !important;
}

.moneyloop-compare-visual {
  margin-right: 40px;
}

.moneyloop-compare-visual img {
  border-radius: 20px;
}

/* Minimal download CTA */
.moneyloop-cta__copy {
  font-size: 17px;
  line-height: 1.6;
}

.moneyloop-cta__note {
  font-size: 14px;
  letter-spacing: 0.01em;
}

/* Money Loop footer — minimal */
.moneyloop-footer {
  background-color: #ffffff !important;
  border-top: 1px solid #eceef1;
}

.moneyloop-footer__logo {
  margin-left: 0 !important;
}

.moneyloop-footer__logo .moneyloop-brand__mark {
  margin-top: 0;
  height: 32px;
  color: #ff3a00;
}

.moneyloop-footer__link {
  color: #64748b !important;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.moneyloop-footer__link:hover {
  color: #ff3a00 !important;
}

.moneyloop-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  background-color: #ffffff;
  border: 1px solid #e4e4e7;
  color: #1a1a1c;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.moneyloop-footer__social-link:hover {
  background-color: #ff3a00;
  border-color: #ff3a00;
  color: #ffffff;
  transform: translateY(-2px);
}

.moneyloop-footer__divider {
  background-color: #eceef1;
  height: 1px;
  width: 100%;
}

.moneyloop-footer__copy {
  color: #94a3b8;
  font-size: 13px;
}

#theme-toggle {
  display: none !important;
}

html[data-force-theme="light"] {
  color-scheme: light only;
}

/* =========================
   Legal pages (privacy / terms)
   ========================= */
.moneyloop-legal {
  background-color: #ffffff;
}

.moneyloop-legal-hero {
  background: linear-gradient(135deg, #ff3a00 0%, #b32700 100%);
}

.moneyloop-legal-hero__eyebrow {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}

.moneyloop-legal-hero h1 {
  color: #ffffff;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  text-align: left;
}

.moneyloop-legal-hero p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  text-align: left;
}

.moneyloop-legal-hero__meta {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 13px;
}

.moneyloop-legal-card {
  background-color: #ffffff;
  border: 1px solid #e9ebee;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.moneyloop-legal-card section {
  margin-bottom: 2.5rem;
}

.moneyloop-legal-card section:last-of-type {
  margin-bottom: 0;
}

.moneyloop-legal-card h2 {
  color: #1a1a1c;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0.9rem;
  text-align: left;
}

.moneyloop-legal-card p {
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 0.75rem;
  text-align: left;
}

.moneyloop-legal-card ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin: 0.25rem 0 0.75rem;
}

.moneyloop-legal-card li {
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  text-align: left;
}

.moneyloop-legal-card strong {
  color: #1a1a1c;
  font-weight: 600;
}

.moneyloop-legal-card a {
  color: #ff3a00;
  font-weight: 600;
  text-decoration: none;
}

.moneyloop-legal-card a:hover {
  text-decoration: underline;
}

.moneyloop-legal__back {
  border-top: 1px solid #e9ebee;
  color: #64748b !important;
  font-size: 14px;
}

@media (min-width: 640px) {
  .moneyloop-legal-hero h1 {
    font-size: 40px;
  }
}
