
/* =========================================================
   Novamor English LP only
   Applies only to /en/ page via page-en.php
========================================================= */

.page-en-lp {
  --en-black: #050712;
  --en-ink: #101225;
  --en-muted: #667085;
  --en-soft: #f6f7fb;
  --en-line: rgba(124, 60, 255, .18);
  --en-purple: #7c3cff;
  --en-blue: #2f80ff;
  --en-cyan: #63d8ff;
  --en-white: #fff;
  background: #fff;
  color: var(--en-ink);
  overflow: hidden;
}

.page-en-lp * {
  box-sizing: border-box;
}

.en-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.en-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--en-purple);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.en-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--en-purple), var(--en-blue));
  box-shadow: 0 0 18px rgba(124, 60, 255, .7);
}

.en-gradient-text {
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 52%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.en-section {
  position: relative;
  padding: 110px 0;
}

.en-section--soft {
  background:
    radial-gradient(circle at 12% 8%, rgba(124, 60, 255, .12), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(47, 128, 255, .11), transparent 26%),
    #f8f9ff;
}

.en-section--dark {
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(124, 60, 255, .34), transparent 30%),
    radial-gradient(circle at 82% 32%, rgba(47, 128, 255, .22), transparent 30%),
    linear-gradient(135deg, #03040b 0%, #080d21 48%, #12113a 100%);
}

.en-section__head {
  max-width: 760px;
  margin-bottom: 46px;
}

.en-section__head--center {
  margin-inline: auto;
  text-align: center;
}

.en-section__title {
  margin: 14px 0 0;
  font-size: clamp(34px, 5.4vw, 66px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 850;
}

.en-section__lead {
  margin-top: 22px;
  max-width: 700px;
  color: var(--en-muted);
  font-size: 17px;
  line-height: 1.85;
}

.en-section--dark .en-section__lead {
  color: rgba(255, 255, 255, .72);
}

.en-hero {
  position: relative;
  min-height: 860px;
  padding: 178px 0 110px;
  color: #fff;
  background:
    radial-gradient(circle at 75% 24%, rgba(99, 216, 255, .35), transparent 18%),
    radial-gradient(circle at 76% 54%, rgba(124, 60, 255, .44), transparent 32%),
    linear-gradient(115deg, #02040d 0%, #070b1a 42%, #12143a 100%);
  isolation: isolate;
}

.en-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .86) 0 1px, transparent 1.7px);
  background-size: 64px 64px;
  opacity: .22;
  animation: enStars 26s linear infinite;
  z-index: -2;
}

.en-hero::after {
  content: "";
  position: absolute;
  right: max(-180px, -10vw);
  top: 140px;
  width: min(680px, 58vw);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .95), transparent 5%),
    radial-gradient(circle at 42% 44%, rgba(124, 60, 255, .64), transparent 31%),
    radial-gradient(circle at 68% 64%, rgba(47, 128, 255, .5), transparent 30%),
    linear-gradient(135deg, #07142d, #172b7d 48%, #070911);
  box-shadow:
    0 0 120px rgba(47, 128, 255, .45),
    0 0 180px rgba(124, 60, 255, .26),
    inset 0 0 80px rgba(255, 255, 255, .12);
  opacity: .9;
  z-index: -1;
  animation: enOrb 9s ease-in-out infinite alternate;
}

@keyframes enStars {
  to { transform: translate3d(0, -90px, 0); }
}

@keyframes enOrb {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(20px) scale(1.025); }
}

.en-hero__content {
  max-width: 690px;
}

.en-hero__badge {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 700;
}

.en-hero__title {
  margin: 24px 0 24px;
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: .98;
  letter-spacing: -.07em;
  font-weight: 900;
}

.en-hero__text {
  max-width: 650px;
  color: rgba(255, 255, 255, .76);
  font-size: 18px;
  line-height: 1.82;
}

.en-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.en-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: -.01em;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.en-btn:hover {
  transform: translateY(-3px);
}

.en-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--en-purple), var(--en-blue));
  box-shadow: 0 20px 60px rgba(124, 60, 255, .36);
}

.en-btn--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(14px);
}

.en-hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 680px;
  margin-top: 64px;
}

.en-metric {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(16px);
}

.en-metric strong {
  display: block;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.04em;
}

.en-metric span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .64);
  font-size: 13px;
  line-height: 1.5;
}

.en-grid {
  display: grid;
  gap: 18px;
}

.en-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.en-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.en-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.en-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--en-line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78));
  box-shadow: 0 24px 80px rgba(16, 18, 37, .08);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}

.en-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% -30%;
  height: 120px;
  background: radial-gradient(circle, rgba(124, 60, 255, .15), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
}

.en-card:hover {
  transform: translateY(-7px);
  border-color: rgba(124, 60, 255, .38);
  box-shadow: 0 34px 100px rgba(124, 60, 255, .16);
}

.en-card:hover::after {
  opacity: 1;
}

.en-card--dark {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
}

.en-card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--en-purple), var(--en-blue));
  box-shadow: 0 16px 40px rgba(124, 60, 255, .26);
  font-weight: 900;
}

.en-card h3 {
  margin: 18px 0 10px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -.03em;
}

.en-card p,
.en-card li {
  color: var(--en-muted);
  font-size: 14px;
  line-height: 1.75;
}

.en-card--dark p,
.en-card--dark li {
  color: rgba(255, 255, 255, .68);
}

.en-card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.en-split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

.en-market-map {
  position: relative;
  min-height: 470px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 36px;
  background:
    radial-gradient(circle at 64% 26%, rgba(124, 60, 255, .4), transparent 26%),
    radial-gradient(circle at 28% 64%, rgba(47, 128, 255, .28), transparent 22%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(255, 255, 255, .04);
}

.en-market-map::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 320px;
  right: 26%;
  top: 16%;
  border-radius: 54% 46% 48% 52%;
  border: 1px solid rgba(255,255,255,.36);
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(124,60,255,.08));
  filter: blur(.1px);
  transform: rotate(18deg);
  box-shadow: 0 0 80px rgba(124,60,255,.32);
}

.en-market-map::after {
  content: "JAPAN";
  position: absolute;
  right: 11%;
  bottom: 13%;
  color: rgba(255,255,255,.16);
  font-size: 86px;
  font-weight: 900;
  letter-spacing: -.08em;
}

.en-market-list {
  display: grid;
  gap: 12px;
}

.en-market-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.78);
}

.en-case-num {
  display: block;
  margin: 18px 0 10px;
  color: var(--en-purple);
  font-size: 58px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.06em;
}

.en-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.en-step {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--en-line);
  background: #fff;
  box-shadow: 0 18px 60px rgba(16, 18, 37, .06);
}

.en-step span {
  display: block;
  margin-bottom: 12px;
  color: var(--en-purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
}

.en-step h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -.03em;
}

.en-step p {
  margin: 0;
  color: var(--en-muted);
  font-size: 13px;
  line-height: 1.65;
}

.en-final-cta {
  padding: 92px 0;
  color: #fff;
  background:
    radial-gradient(circle at 74% 20%, rgba(124, 60, 255, .42), transparent 28%),
    radial-gradient(circle at 20% 90%, rgba(47, 128, 255, .3), transparent 28%),
    linear-gradient(135deg, #03040b, #10173b);
}

.en-final-cta__inner {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}

.en-final-cta h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -.06em;
}

.en-final-cta p {
  max-width: 560px;
  color: rgba(255, 255, 255, .72);
  font-size: 17px;
  line-height: 1.8;
}

.en-sticky-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  padding: 14px 19px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--en-purple), var(--en-blue));
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 22px 70px rgba(124, 60, 255, .35);
  transition: transform .25s ease;
}

.en-sticky-cta:hover {
  transform: translateY(-3px);
}

@media (max-width: 980px) {
  .en-hero {
    min-height: 760px;
  }

  .en-hero::after {
    opacity: .34;
    right: -250px;
    width: 620px;
  }

  .en-grid--4,
  .en-grid--3,
  .en-grid--2,
  .en-process,
  .en-hero__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .en-split,
  .en-final-cta__inner {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 640px) {
  .en-container {
    width: min(100% - 28px, 1120px);
  }

  .en-section {
    padding: 78px 0;
  }

  .en-hero {
    min-height: 720px;
    padding: 136px 0 78px;
  }

  .en-hero__title {
    font-size: clamp(44px, 13vw, 66px);
  }

  .en-grid--4,
  .en-grid--3,
  .en-grid--2,
  .en-process,
  .en-hero__metrics {
    grid-template-columns: 1fr;
  }

  .en-card,
  .en-step {
    padding: 22px;
  }

  .en-market-map {
    min-height: 340px;
  }

  .en-market-map::after {
    font-size: 54px;
  }

  .en-sticky-cta {
    left: 16px;
    right: 16px;
    text-align: center;
  }
}


/* =========================================================
   Upgraded visual illustrations for /en/
========================================================= */

.en-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 54px;
  align-items: center;
}

.en-hero-visual {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 42px;
  background:
    radial-gradient(circle at 52% 44%, rgba(124,60,255,.28), transparent 24%),
    radial-gradient(circle at 72% 22%, rgba(99,216,255,.22), transparent 20%),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  box-shadow:
    0 30px 120px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.14);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.en-hero-visual::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle, rgba(255,255,255,.75) 0 1px, transparent 1.6px);
  background-size: 54px 54px;
  opacity: .18;
  animation: enVisualStars 32s linear infinite;
}

.en-hero-visual::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 38% 30%, rgba(255,255,255,.9), transparent 5%),
    radial-gradient(circle at 40% 44%, rgba(124,60,255,.56), transparent 28%),
    radial-gradient(circle at 66% 64%, rgba(47,128,255,.46), transparent 32%),
    linear-gradient(135deg, #081327, #192e86 48%, #050712);
  box-shadow:
    0 0 90px rgba(47,128,255,.34),
    0 0 160px rgba(124,60,255,.22),
    inset -34px -28px 72px rgba(0,0,0,.38),
    inset 26px 18px 60px rgba(255,255,255,.08);
  opacity: .88;
  animation: enPlanetFloat 8s ease-in-out infinite alternate;
}

@keyframes enVisualStars {
  to { transform: translate3d(-80px, -80px, 0); }
}

@keyframes enPlanetFloat {
  from { transform: translate(-50%, -50%) rotate(-4deg) scale(1); }
  to { transform: translate(-50%, -47%) rotate(4deg) scale(1.025); }
}

.en-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  transform: translate(-50%, -50%) rotate(-18deg);
  z-index: 2;
}

.en-orbit::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 18%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 22px rgba(255,255,255,.95), 0 0 38px rgba(124,60,255,.7);
}

.en-orbit--outer {
  width: 560px;
  height: 270px;
  animation: enOrbitRotate 12s linear infinite;
}

.en-orbit--middle {
  width: 420px;
  height: 205px;
  transform: translate(-50%, -50%) rotate(28deg);
  animation: enOrbitRotateReverse 16s linear infinite;
}

@keyframes enOrbitRotate {
  to { transform: translate(-50%, -50%) rotate(342deg); }
}

@keyframes enOrbitRotateReverse {
  to { transform: translate(-50%, -50%) rotate(-332deg); }
}

.en-japan-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 164px;
  height: 164px;
  transform: translate(-50%, -50%);
  border-radius: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(20px);
}

.en-japan-core__dot {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: radial-gradient(circle, #fff 0 22%, rgba(124,60,255,.95) 23% 55%, rgba(47,128,255,.8) 56% 100%);
  box-shadow: 0 0 36px rgba(124,60,255,.72);
  top: 24px;
}

.en-japan-core__label {
  display: block;
  margin-top: 54px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .02em;
}

.en-floating-panel {
  position: absolute;
  z-index: 5;
  width: 212px;
  padding: 16px;
  border-radius: 22px;
  color: #fff;
  background: rgba(5,7,18,.48);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(18px);
  animation: enPanelFloat 5.4s ease-in-out infinite alternate;
}

.en-floating-panel small {
  display: block;
  color: rgba(255,255,255,.54);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.en-floating-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.3;
}

.en-floating-panel span {
  display: block;
  height: 6px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124,60,255,1), rgba(99,216,255,.9));
}

.en-floating-panel--top {
  top: 64px;
  left: 46px;
}

.en-floating-panel--right {
  top: 230px;
  right: 34px;
  animation-delay: .6s;
}

.en-floating-panel--bottom {
  left: 62px;
  bottom: 62px;
  animation-delay: 1.2s;
}

@keyframes enPanelFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}

.en-mini-chart {
  position: absolute;
  right: 52px;
  bottom: 56px;
  z-index: 5;
  display: flex;
  align-items: end;
  gap: 8px;
  width: 150px;
  height: 112px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(18px);
}

.en-mini-chart i {
  flex: 1;
  display: block;
  min-height: 18px;
  border-radius: 999px 999px 5px 5px;
  background: linear-gradient(180deg, #fff, #7dd3fc 42%, #7c3cff);
  box-shadow: 0 0 20px rgba(124,60,255,.34);
}

.en-problem-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  align-items: center;
  gap: 18px;
  margin: 4px 0 34px;
  padding: 18px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 70% 20%, rgba(124,60,255,.12), transparent 24%),
    linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.62));
  border: 1px solid rgba(124,60,255,.14);
  box-shadow: 0 24px 80px rgba(16,18,37,.07);
}

.en-path-card {
  min-height: 92px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #101225;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.04em;
  background: #fff;
  border: 1px solid rgba(16,18,37,.08);
}

.en-path-card--active {
  color: #fff;
  background:
    radial-gradient(circle at 70% 20%, rgba(99,216,255,.35), transparent 28%),
    linear-gradient(135deg, #050712, #20124d 48%, #6236ff);
  box-shadow: 0 18px 60px rgba(124,60,255,.24);
}

.en-path-line {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(124,60,255,.12), rgba(124,60,255,1), rgba(47,128,255,1));
  position: relative;
}

.en-path-line::before,
.en-path-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #7c3cff;
  box-shadow: 0 0 18px rgba(124,60,255,.72);
  transform: translateY(-50%);
}

.en-path-line::before { left: 0; }
.en-path-line::after { right: 0; background: #2f80ff; }

.en-path-tags {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.en-path-tags span {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(124,60,255,.14);
}

@media (max-width: 980px) {
  .en-hero__grid {
    grid-template-columns: 1fr;
  }

  .en-hero-visual {
    min-height: 520px;
  }

  .en-hero::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .en-hero-visual {
    min-height: 440px;
    border-radius: 30px;
  }

  .en-hero-visual::after {
    width: 380px;
    height: 380px;
  }

  .en-orbit--outer {
    width: 360px;
    height: 180px;
  }

  .en-orbit--middle {
    width: 300px;
    height: 150px;
  }

  .en-floating-panel {
    width: 170px;
    padding: 13px;
  }

  .en-floating-panel--top {
    top: 26px;
    left: 18px;
  }

  .en-floating-panel--right {
    right: 16px;
    top: 162px;
  }

  .en-floating-panel--bottom {
    left: 20px;
    bottom: 22px;
  }

  .en-mini-chart {
    display: none;
  }

  .en-japan-core {
    width: 132px;
    height: 132px;
    border-radius: 30px;
  }

  .en-problem-visual {
    grid-template-columns: 1fr;
  }

  .en-path-line {
    width: 2px;
    height: 54px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(124,60,255,.12), rgba(124,60,255,1), rgba(47,128,255,1));
  }
}
