.lp-es-page {
  color: #e8eef5;
  background: #07101a;
  font-family: "Manrope", "Open Sans", sans-serif;
}

/* V11: keep the contact ribbon and the primary navigation available on desktop. */
:root {
  --lp-contact-bar-height: 29px;
  --lp-sticky-stack-height: 99px;
}

html { scroll-padding-top: var(--lp-sticky-stack-height); }

@media (min-width: 768px) {
  body.lp-product-page > header {
    position: sticky;
    top: 0;
    z-index: 1210;
    background: rgba(5, 14, 23, .97);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .07);
    backdrop-filter: blur(12px);
    min-height: 29px !important;
    padding: 5px 0 !important;
    font-size: 11px;
    line-height: 19px;
  }

  body.lp-product-page > .navbar-default.templatemo-nav {
    position: sticky !important;
    top: var(--lp-contact-bar-height) !important;
    z-index: 1200;
    margin-bottom: 0 !important;
    background: rgba(7, 20, 32, .96);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
    backdrop-filter: blur(14px);
    min-height: 58px;
  }

  body.lp-product-page > .templatemo-nav .navbar-brand {
    height: 58px !important;
    padding-left: 44px !important;
    font-size: 20px !important;
  }

  body.lp-product-page > .templatemo-nav .navbar-brand::before {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 10px;
  }

  body.lp-product-page > .templatemo-nav .navbar-nav > li > a {
    height: 58px !important;
    padding: 9px 11px !important;
    line-height: 40px !important;
    font-size: 10px !important;
  }

  body.lp-product-page > .templatemo-nav .navbar-nav > li > a::after {
    right: 11px;
    bottom: 8px;
    left: 11px;
  }

  body.lp-product-page > .templatemo-nav .lp-ea-menu,
  body.lp-product-page > .templatemo-nav .lp-ea-toggle {
    height: 58px;
  }

  body.lp-product-page > .templatemo-nav .lp-ea-toggle {
    padding: 0 11px;
  }

  body.lp-product-page > .templatemo-nav .lang-switch {
    gap: 4px;
    padding: 0 5px;
  }
}

.lp-es-page .navbar-brand { font-weight: 800; letter-spacing: .04em; }
.lp-es-page .navbar-brand span,
.lp-es-page .accent { color: #28a7e9; }
.lp-es-page .lang-switch { display: flex; align-items: center; gap: 6px; padding: 18px 8px; }
.lp-es-page .lang-switch a { color: #d8e2ec; font-weight: 700; }
.lp-es-page .lang-switch a[aria-current] { color: #28a7e9; }
.lp-es-page .lp-hero-es { min-height: 610px; display: flex; align-items: center; text-align: center; }
.lp-es-page .lp-hero-es .container { padding-top: 90px; padding-bottom: 80px; }
.lp-es-page .lp-hero-es h1 { color: #fff; font-size: clamp(34px, 6vw, 62px); font-weight: 800; line-height: 1.08; margin: 0 auto 18px; max-width: 980px; }
.lp-es-page .lp-hero-es p { color: #d2dde7; font-size: 19px; line-height: 1.75; max-width: 850px; margin: 0 auto 28px; }
.lp-es-page .lp-hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.lp-es-page .lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; transition: .2s ease; }
.lp-es-page .lp-btn-primary { color: #07101a; background: #fbc10b; }
.lp-es-page .lp-btn-secondary { color: #fff; border: 1px solid #28a7e9; background: rgba(40,167,233,.12); }
.lp-es-page .lp-btn:hover { transform: translateY(-2px); text-decoration: none; filter: brightness(1.06); }
.lp-es-page .lp-section { padding: 84px 0; }
.lp-es-page .lp-section-dark { background: #091521; }
.lp-es-page .lp-section-blue { background: linear-gradient(135deg,#081521,#0d2435); }
.lp-es-page .lp-kicker { color: #fbc10b; font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; text-align: center; }
.lp-es-page .lp-section-title { color: #fff; font-size: clamp(30px,4vw,44px); line-height: 1.15; font-weight: 800; text-align: center; margin: 10px auto 18px; max-width: 900px; }
.lp-es-page .lp-section-intro { color: #bdcad6; max-width: 850px; margin: 0 auto 38px; text-align: center; font-size: 17px; line-height: 1.8; }
.lp-es-page .lp-grid { display: grid; gap: 22px; }
.lp-es-page .lp-grid-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.lp-es-page .lp-grid-2 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.lp-es-page .lp-card { height: 100%; padding: 28px; border: 1px solid rgba(255,255,255,.10); border-radius: 14px; background: rgba(255,255,255,.045); box-shadow: 0 16px 42px rgba(0,0,0,.17); }
.lp-es-page .lp-card h3 { color: #fff; font-size: 22px; margin-top: 0; }
.lp-es-page .lp-card p, .lp-es-page .lp-card li { color: #bdcad6; font-size: 15px; line-height: 1.75; }
.lp-es-page .lp-card ul { padding-left: 20px; margin-bottom: 0; }
.lp-es-page .lp-long-copy { max-width: 940px; margin: 0 auto; }
.lp-es-page .lp-long-copy h3 { color: #fff; font-size: 25px; margin: 34px 0 12px; }
.lp-es-page .lp-long-copy p { color: #bdcad6; font-size: 16px; line-height: 1.85; margin: 0 0 18px; }
.lp-es-page .lp-long-copy strong { color: #f1f6fa; }
.lp-es-page .lp-checklist { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 24px; margin: 26px 0; padding: 0; list-style: none; }
.lp-es-page .lp-checklist li { position: relative; color: #c5d2dd; line-height: 1.7; padding: 13px 14px 13px 42px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.03); }
.lp-es-page .lp-checklist li::before { content: "✓"; position: absolute; left: 15px; top: 12px; color: #fbc10b; font-weight: 900; }
.lp-es-page .lp-price-details { color: #aebdca; font-size: 14px; line-height: 1.7; min-height: 72px; }
.lp-es-page .lp-disclaimer { max-width: 1000px; margin: 0 auto; text-align: left; }
.lp-es-page .lp-disclaimer h2 { color: #fff; font-size: 22px; }
.lp-es-page .lp-disclaimer p { margin-bottom: 14px; }
.lp-es-page .lp-specs { margin-top: -46px; position: relative; z-index: 3; }
.lp-es-page .lp-spec { text-align: center; }
.lp-es-page .lp-spec strong { display: block; color: #28a7e9; font-size: 21px; margin-bottom: 5px; }
.lp-es-page .lp-product-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lp-es-page .lp-product-card img.lp-box { width: auto; max-width: 100%; height: 260px; object-fit: contain; margin-bottom: 15px; }
.lp-es-page .lp-fxblue-banner { max-width: 100%; min-height: 50px; height: auto; margin: 6px auto 18px; }
.lp-es-page .lp-evidence { align-items: center; }
.lp-es-page .lp-backtest-preview { width: 100%; max-width: 780px; border: 1px solid rgba(255,255,255,.16); border-radius: 8px; background: #fff; }
.lp-es-page .lp-evidence-copy { text-align: left; }
.lp-es-page .lp-evidence-copy h3 { color: #fff; }
.lp-es-page .lp-evidence-copy p { color: #bdcad6; line-height: 1.75; }
.lp-es-page .lp-chart { width: 100%; height: 390px; border: 0; border-radius: 10px; background: #fff; }
.lp-es-page .lp-price { text-align: center; position: relative; }
.lp-es-page .lp-price .lp-price-value { color: #fbc10b; font-size: 42px; font-weight: 800; }
.lp-es-page .lp-price .lp-lifetime { color: #8da3b6; margin-top: -7px; }
.lp-es-page .lp-price.featured { border-color: #28a7e9; box-shadow: 0 18px 48px rgba(40,167,233,.15); }
.lp-es-page .lp-badge { display: inline-block; color: #07101a; background: #fbc10b; border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 800; margin-bottom: 12px; }
.lp-es-page .lp-install { counter-reset: lpstep; }
.lp-es-page .lp-install article { position: relative; padding-left: 72px; }
.lp-es-page .lp-install article::before { counter-increment: lpstep; content: counter(lpstep); position: absolute; left: 22px; top: 24px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #07101a; background: #fbc10b; font-weight: 800; }
.lp-es-page details { border-bottom: 1px solid rgba(255,255,255,.11); padding: 18px 0; }
.lp-es-page summary { cursor: pointer; color: #fff; font-weight: 750; font-size: 17px; }
.lp-es-page details p { color: #bdcad6; line-height: 1.75; margin: 12px 0 0; }
.lp-es-page .lp-contact { text-align: center; }
.lp-es-page .lp-contact a { color: #28a7e9; }
.lp-es-page .lp-footer { padding: 40px 0; color: #8ea1b3; background: #050b11; font-size: 12px; line-height: 1.65; text-align: center; }
.lp-es-page .lp-footer a { color: #28a7e9; }
.lp-es-page .navbar-nav > li > a { white-space: nowrap; }
.lp-es-page img { max-width: 100%; }

/* Japanese localisation: native system fonts and balanced line wrapping. */
.lp-ja-page {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-break: strict;
  overflow-wrap: anywhere;
}

.lp-ja-page .lp-hero-es h1 {
  max-width: 1040px;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: .01em;
}

.lp-ja-page .lp-section-title,
.lp-ja-page .lp-card h3,
.lp-ja-page summary {
  letter-spacing: .01em;
}

.lp-ja-page .lp-btn { text-transform: none; }

@media (max-width: 991px) {
  .lp-es-page .lp-grid-3 { grid-template-columns: 1fr; }
  .lp-es-page .lp-grid-2 { grid-template-columns: 1fr; }
  .lp-es-page .lp-specs { margin-top: 0; padding-top: 30px; }
  .lp-es-page .lang-switch { padding: 10px 15px; }
  .lp-es-page .lp-checklist { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .lp-es-page .lp-hero-es { min-height: 540px; }
  .lp-es-page .lp-hero-es .container { padding-top: 64px; }
  .lp-es-page .lp-section { padding: 62px 0; }
  .lp-es-page .lp-card { padding: 22px; }
  .lp-es-page .lp-chart { height: 310px; }
  .lp-es-page .lp-btn { width: 100%; }
  .lp-es-page .lp-install article { padding-left: 60px; }
  .lp-es-page .lp-install article::before { left: 15px; }
}

/* V9 homepage motion: restrained movement and a clearer premium hero image. */
body.lp-home-page #home.lp-hero-es {
  --lp-hero-parallax: 0px;
  isolation: isolate;
  background-image:
    linear-gradient(110deg, rgba(3, 10, 18, .76) 2%, rgba(4, 17, 29, .52) 51%, rgba(2, 9, 16, .34) 100%),
    url('../images/home-bg.jpg') !important;
  background-position: center calc(50% + var(--lp-hero-parallax)) !important;
  background-size: cover !important;
  box-shadow: inset 0 -90px 110px rgba(3, 10, 18, .48);
  will-change: background-position;
}

body.lp-home-page #home.lp-hero-es::before {
  z-index: 0;
  opacity: .72;
  background:
    radial-gradient(circle at 74% 27%, rgba(57, 169, 255, .23), transparent 27%),
    radial-gradient(circle at 18% 78%, rgba(255, 196, 71, .11), transparent 28%);
  animation: lpHeroLightDrift 18s ease-in-out infinite alternate;
}

body.lp-home-page #home.lp-hero-es::after {
  z-index: 0;
  opacity: .72;
  animation: lpHeroRings 22s ease-in-out infinite alternate;
}

body.lp-home-page #home.lp-hero-es .container {
  position: relative;
  z-index: 2;
}

body.lp-home-page #home.lp-hero-es h1,
body.lp-home-page #home.lp-hero-es > .container > p {
  text-shadow: 0 3px 26px rgba(0, 0, 0, .72), 0 1px 3px rgba(0, 0, 0, .9);
}

body.lp-home-page #home.lp-hero-es .lp-kicker,
body.lp-home-page #home.lp-hero-es h1,
body.lp-home-page #home.lp-hero-es .container > p:not(.lp-kicker),
body.lp-home-page #home.lp-hero-es .lp-hero-actions {
  animation: lpHeroContentIn .9s cubic-bezier(.2, .72, .2, 1) both;
}

body.lp-home-page #home.lp-hero-es h1 { animation-delay: .1s; }
body.lp-home-page #home.lp-hero-es .container > p:not(.lp-kicker) { animation-delay: .2s; }
body.lp-home-page #home.lp-hero-es .lp-hero-actions { animation-delay: .3s; }

/* Signature Lucky Pips typewriter ribbon, restored on every EA product page. */
body.lp-motion-page #home.lp-hero-es .lp-typing-block {
  position: relative;
  overflow: hidden;
  width: min(100%, 900px);
  min-height: 94px;
  margin: -3px auto 26px;
  padding: 12px 20px 13px;
  border: 1px solid rgba(89, 184, 255, .28);
  border-radius: 13px;
  background: linear-gradient(105deg, rgba(5, 18, 31, .78), rgba(8, 32, 53, .57), rgba(5, 18, 31, .76));
  box-shadow: 0 16px 45px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .045);
  text-align: center;
  backdrop-filter: blur(10px);
  animation: lpHeroContentIn .9s .26s cubic-bezier(.2, .72, .2, 1) both;
}

body.lp-motion-page #home.lp-hero-es .lp-typing-block::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -34%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(88, 188, 255, .1), rgba(255, 210, 116, .08), transparent);
  transform: skewX(-18deg);
  animation: lpTypingRibbonGlow 9s ease-in-out infinite;
  pointer-events: none;
}

body.lp-motion-page #home.lp-hero-es .lp-typing-label,
body.lp-motion-page #home.lp-hero-es .lp-typing-line {
  position: relative;
  z-index: 1;
}

body.lp-motion-page #home.lp-hero-es .lp-typing-label {
  margin-bottom: 5px;
  color: #ffc447;
  font-size: 9px;
  letter-spacing: .16em;
}

body.lp-motion-page #home.lp-hero-es .lp-typing-line {
  min-height: 48px;
  align-items: flex-start;
  justify-content: center;
  color: #e4f2ff;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.6;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .66);
}

body.lp-motion-page #home.lp-hero-es .lp-typing-line i {
  flex: 0 0 2px;
  background: #55b9ff;
  box-shadow: 0 0 12px rgba(57, 169, 255, .72);
}

.lp-market-waves {
  position: absolute;
  inset: 16% -8% 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: .56;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 76%, transparent 100%);
}

.lp-market-wave {
  position: absolute;
  left: -8%;
  width: 116%;
  height: 240px;
  border-top: 1px solid rgba(91, 188, 255, .64);
  border-radius: 50%;
  filter: drop-shadow(0 0 8px rgba(57, 169, 255, .22));
  transform: rotate(-5deg);
  animation: lpMarketWave 20s ease-in-out infinite alternate;
}

.lp-market-wave:nth-child(1) { top: 34%; opacity: .44; }
.lp-market-wave:nth-child(2) { top: 45%; opacity: .72; animation-delay: -5s; animation-duration: 24s; }
.lp-market-wave:nth-child(3) { top: 57%; border-color: rgba(255, 206, 103, .52); opacity: .58; animation-delay: -10s; animation-duration: 27s; }
.lp-market-wave:nth-child(4) { top: 69%; opacity: .34; animation-delay: -14s; animation-duration: 31s; }

body.lp-home-page .lp-section,
body.lp-home-page .lp-specs {
  position: relative;
  overflow: hidden;
}

body.lp-home-page .lp-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 140%;
  height: 1px;
  background: linear-gradient(90deg, transparent 8%, rgba(63, 175, 255, .34), rgba(255, 196, 71, .22), transparent 92%);
  transform: translateX(-8%);
  animation: lpSectionLine 16s ease-in-out infinite alternate;
  pointer-events: none;
}

body.lp-home-page .lp-card {
  transition: transform .48s cubic-bezier(.2, .72, .2, 1), border-color .48s ease, box-shadow .48s ease, background-color .48s ease;
}

body.lp-home-page .lp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(57, 169, 255, .34);
  background-color: rgba(255, 255, 255, .06);
  box-shadow: 0 25px 62px rgba(0, 0, 0, .27), 0 0 0 1px rgba(57, 169, 255, .04);
}

body.lp-home-page .lp-price.featured:hover { border-color: rgba(57, 169, 255, .64); }

body.lp-home-page .lp-btn {
  transition: transform .34s cubic-bezier(.2, .72, .2, 1), box-shadow .34s ease, filter .34s ease, border-color .34s ease;
}

body.lp-home-page .lp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .22);
}

body.lp-home-page .lp-btn-primary:hover { box-shadow: 0 18px 42px rgba(255, 193, 11, .2); }
body.lp-home-page .lp-btn-secondary:hover { box-shadow: 0 18px 42px rgba(40, 167, 233, .18); }

body.lp-home-page .lp-reveal {
  transform: translateY(30px);
  transition-duration: .82s;
  transition-timing-function: cubic-bezier(.2, .72, .2, 1);
}

body.lp-home-page .lp-reveal.lp-visible { transform: translateY(0); }

body.lp-home-page details { transition: border-color .3s ease, background-color .3s ease, padding-inline .3s ease; }
body.lp-home-page details:hover { padding-inline: 12px; border-color: rgba(57, 169, 255, .3); background: rgba(57, 169, 255, .025); }

@keyframes lpHeroContentIn {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes lpHeroLightDrift {
  from { transform: translate3d(-1.2%, 0, 0) scale(1); }
  to { transform: translate3d(1.2%, -1%, 0) scale(1.035); }
}

@keyframes lpHeroRings {
  from { transform: translate3d(-1.5%, 1%, 0) scale(.98); }
  to { transform: translate3d(1.5%, -1%, 0) scale(1.04); }
}

@keyframes lpMarketWave {
  from { transform: translate3d(-1.4%, 0, 0) rotate(-5deg) scaleX(1.01); }
  to { transform: translate3d(1.4%, -10px, 0) rotate(-4deg) scaleX(.99); }
}

@keyframes lpSectionLine {
  from { transform: translateX(-8%); opacity: .38; }
  to { transform: translateX(8%); opacity: .8; }
}

@keyframes lpTypingRibbonGlow {
  0%, 18% { left: -34%; opacity: 0; }
  34% { opacity: .78; }
  58% { left: 110%; opacity: 0; }
  100% { left: 110%; opacity: 0; }
}

@media (max-width: 767px) {
  body.lp-home-page #home.lp-hero-es {
    background-position: 61% center !important;
    box-shadow: inset 0 -70px 90px rgba(3, 10, 18, .5);
  }
  .lp-market-waves { inset-inline: -28%; opacity: .42; }
  .lp-market-wave { width: 150%; }
  body.lp-motion-page #home.lp-hero-es .lp-typing-block {
    min-height: 124px;
    margin-top: 0;
    padding: 12px 14px;
  }
  body.lp-motion-page #home.lp-hero-es .lp-typing-line {
    min-height: 72px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.55;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.lp-home-page #home.lp-hero-es { background-position: center !important; }
  body.lp-home-page #home.lp-hero-es::before,
  body.lp-home-page #home.lp-hero-es::after,
  .lp-market-wave,
  body.lp-home-page .lp-section::before,
  body.lp-motion-page #home.lp-hero-es .lp-typing-block::before { animation: none !important; }
  body.lp-home-page .lp-reveal { opacity: 1; transform: none; }
}
