﻿:root {
  --nex-ink: #071527;
  --nex-muted: #475569;
  --nex-teal: #0f766e;
  --nex-mint: #f0fdfa;
  --nex-line: #dbe5ef;
  --nex-cream: #fff8ec;
}

.nex-hero {
  background: linear-gradient(180deg, #fbfffd 0%, #f2faf8 100%);
  padding: 40px 0 18px;
}

.nex-hero-card {
  align-items: flex-start;
  background:
    linear-gradient(180deg, rgba(7, 21, 39, .06) 0%, rgba(7, 21, 39, .32) 48%, rgba(7, 21, 39, .78) 100%),
    url("/assets/images/generated/gen-narita-rail.jpg") center / cover no-repeat;
  border: 1px solid var(--nex-line);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(340px, 44vw, 480px);
  overflow: hidden;
  padding: clamp(24px, 5vw, 46px);
}

.nex-kicker {
  color: #99f6e4;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.nex-hero h1 {
  color: #fff;
  font-size: clamp(28px, 4.8vw, 46px);
  line-height: 1.05;
  margin: 0 0 8px;
  max-width: 780px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .32);
}

.nex-hero-question {
  color: #99f6e4;
  display: block;
  font-size: clamp(25px, 5vw, 42px);
  font-weight: 900;
  line-height: 1;
  margin: 0 0 16px 124px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .38);
  width: fit-content;
}

.nex-hero-copy {
  color: rgba(255, 255, 255, .93);
  font-size: 15.5px;
  line-height: 1.32;
  margin: 0;
  max-width: 590px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .28);
}

.nex-snapshot {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0;
}

.nex-snapshot div {
  border: 1px solid rgba(20, 184, 166, .32);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.nex-snapshot div:nth-child(1) {
  background:
    linear-gradient(135deg, rgba(20, 184, 166, .13), transparent 44%),
    #f0fdfa;
}

.nex-snapshot div:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(14, 165, 233, .12), transparent 45%),
    #f8fbff;
}

.nex-snapshot div:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(251, 146, 60, .14), transparent 46%),
    #fff7ed;
}

.nex-snapshot div::after {
  border-radius: 999px;
  content: "";
  filter: blur(1px);
  height: 92px;
  opacity: .28;
  position: absolute;
  right: -42px;
  top: -42px;
  transform: none;
  width: 128px;
}

.nex-snapshot div:nth-child(1)::after {
  background: linear-gradient(135deg, rgba(45, 212, 191, .34), rgba(45, 212, 191, .08));
}

.nex-snapshot div:nth-child(2)::after {
  background: linear-gradient(135deg, rgba(125, 211, 252, .34), rgba(125, 211, 252, .08));
}

.nex-snapshot div:nth-child(3)::after {
  background: linear-gradient(135deg, rgba(253, 186, 116, .36), rgba(253, 186, 116, .08));
}

.nex-snapshot div > * {
  position: relative;
  z-index: 1;
}

.nex-snapshot span {
  color: var(--nex-teal);
  display: block;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.nex-snapshot div:nth-child(3) span {
  color: #9a3412;
}

.nex-snapshot strong {
  color: #0f172a;
  display: block;
  font-size: 22px;
  line-height: 1.1;
  white-space: nowrap;
}

.nex-snapshot p {
  color: var(--nex-muted);
  font-size: 14px;
  line-height: 1.45;
  margin: 8px 0 0;
}

.nex-answer {
  background: var(--nex-mint);
  border: 1px solid rgba(20, 184, 166, .28);
  border-radius: 12px;
  color: #134e4a;
  margin: 18px 0 0;
  padding: 17px 18px;
}

.nex-answer p:first-child {
  color: var(--nex-teal);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .05em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.nex-answer h2 {
  color: #0f172a;
  font-size: clamp(20px, 3.4vw, 28px);
  line-height: 1.14;
  margin: 0 0 8px;
}

.nex-answer p {
  color: #334155;
  font-size: 16px;
  line-height: 1.52;
  margin: 0;
}

.nex-answer small {
  color: #64748b;
  display: block;
  font-size: 13px;
  line-height: 1.45;
  margin: 10px 0 0;
}

.nex-tight-section {
  padding-top: 0;
}

.nex-scenarios {
  gap: 14px;
  margin-top: 18px;
}

.nex-scenarios .scenario-card {
  background:
    linear-gradient(90deg, rgba(20, 184, 166, .08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-color: #d7e6ef;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
  overflow: hidden;
  position: relative;
}

.nex-scenarios .scenario-card::before {
  background: rgba(20, 184, 166, .88);
  border-radius: 999px;
  content: "";
  height: calc(100% - 28px);
  left: 0;
  position: absolute;
  top: 14px;
  width: 3px;
}

.nex-scenarios .scenario-card::after {
  background: radial-gradient(circle, rgba(20, 184, 166, .1), transparent 62%);
  content: "";
  height: 170px;
  opacity: .8;
  position: absolute;
  right: -70px;
  top: -70px;
  width: 170px;
}

.nex-scenarios .scenario-card:nth-child(2)::before {
  background: rgba(14, 165, 233, .88);
}

.nex-scenarios .scenario-card:nth-child(3)::before {
  background: rgba(251, 146, 60, .88);
}

.nex-scenarios .scenario-card:nth-child(4)::before {
  background: rgba(148, 163, 184, .88);
}

.nex-scenarios .scenario-card:nth-child(2)::after {
  background: radial-gradient(circle, rgba(14, 165, 233, .1), transparent 62%);
}

.nex-scenarios .scenario-card:nth-child(3)::after {
  background: radial-gradient(circle, rgba(251, 146, 60, .12), transparent 62%);
}

.nex-scenarios .scenario-card:nth-child(4)::after {
  background: radial-gradient(circle, rgba(148, 163, 184, .12), transparent 62%);
}

.nex-scenarios .scenario-card > * {
  position: relative;
  z-index: 1;
}

.nex-section-title {
  margin-top: var(--space-8);
}

.nex-action {
  background:
    radial-gradient(circle at 14% 10%, rgba(45, 212, 191, .28), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(14, 165, 233, .18), transparent 34%),
    linear-gradient(135deg, #082f49 0%, #0f766e 58%, #115e59 100%);
  border: 1px solid rgba(153, 246, 228, .36);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
  margin-top: 22px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 34px);
  position: relative;
}

.nex-action::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  opacity: .18;
  pointer-events: none;
  position: absolute;
}

.nex-action > * {
  position: relative;
  z-index: 1;
}

.nex-action p {
  color: #99f6e4;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .06em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.nex-action h2 {
  color: #fff;
  font-size: clamp(20px, 3.4vw, 28px);
  line-height: 1.15;
  margin: 0 0 10px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .24);
}

.nex-action span {
  color: rgba(255, 255, 255, .9);
  display: block;
  font-size: 16px;
  line-height: 1.48;
  margin-bottom: 16px;
  max-width: 680px;
}

.nex-action div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nex-action .button {
  min-width: 258px;
  text-align: center;
}

.nex-faq-section {
  padding-bottom: 36px;
  padding-top: 34px;
}

.nex-faq-section h2 {
  margin-bottom: 18px;
}

.nex-faq-section .accordion-item {
  margin: 0;
}

.nex-faq-section .accordion-trigger {
  padding: 14px 0;
}

@media (max-width: 720px) {
  .nex-hero {
    padding-top: 24px;
  }

  .nex-hero-card {
    min-height: 330px;
    padding: 24px;
  }

  .nex-hero-question {
    margin-left: 0;
  }

  .nex-snapshot {
    grid-template-columns: 1fr;
  }

  .nex-action .button {
    min-width: 100%;
  }
}

