/* Align the requirements pages with the existing KCG eSIM visual system. */
:root {
  --pink: #22c9ee;
  --pink-dark: #00bde9;
  --pink-soft: #082d32;
  --ink: #f3f7fb;
  --muted: #9aa8b9;
  --line: #2a3d56;
  --paper: #0e1724;
  --canvas: #060b12;
  --navy: #060b12;
  --navy-2: #0e1724;
  --teal: #22c9ee;
  --focus: #56e6ad;
  font-family: "Segoe UI", "Noto Sans JP", "Yu Gothic UI", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--ink);
}

.v2-shell { width: min(1320px, calc(100% - 40px)); }
.pricing-v2-body,
.checkout-v2-body {
  color: var(--ink);
  background: radial-gradient(circle at 0 18%, #082e34 0, transparent 29%),
    radial-gradient(circle at 100% 60%, #1a1020 0, transparent 36%),
    var(--canvas);
}

/* Header and footer use the same dark shell and cyan navigation treatment. */
.v2-header,
.checkout-v2-body .v2-header {
  background: #050a11e8;
  border-bottom: 1px solid #2a3d56b8;
  backdrop-filter: blur(18px) saturate(150%);
}
.v2-header-inner { min-height: 72px; }
.v2-brand { gap: 11px; }
.v2-brand-mark,
.checkout-v2-body .v2-brand-mark {
  width: 40px;
  height: 40px;
  color: var(--pink);
  border: 3px solid currentColor;
  border-radius: 10px;
  background: #092533;
  box-shadow: inset 0 0 0 1px #0e3a4b, 0 0 18px #22c9ee1f;
}
.v2-brand-mark > span {
  width: 19px;
  height: 19px;
  border: 0;
  border-right: 3px solid currentColor;
  border-top: 3px solid currentColor;
  border-radius: 0 7px 0 0;
  transform: translate(7px, -7px);
}
.v2-brand strong { font-size: 17px; letter-spacing: -.015em; }
.v2-brand small,
.checkout-v2-body .v2-brand small { color: #9aa8b9; letter-spacing: 0; }
.v2-nav,
.checkout-v2-body .v2-nav { color: #9aa8b9; gap: 21px; }
.v2-nav a { padding: 12px 16px; border: 1px solid transparent; border-radius: 999px; }
.v2-nav a:hover,
.checkout-v2-body .v2-nav a:hover { color: #f3f7fb; }
.v2-nav a.is-current,
.checkout-v2-body .v2-nav a.is-current {
  color: #f3f7fb;
  background: #08394c;
  border-color: #105971;
}
.v2-nav a.is-current::after { display: none; }
.v2-language,
.checkout-v2-body .v2-language {
  background: #0b1523;
  border-color: #2a3d56;
  padding: 4px;
}
.v2-language button,
.checkout-v2-body .v2-language button { color: #9aa8b9; min-width: 39px; }
.v2-language button[aria-pressed="true"],
.checkout-v2-body .v2-language button[aria-pressed="true"] {
  background: var(--pink);
  color: #031019;
}
.v2-footer,
.checkout-footer {
  background: #04080e;
  border-top-color: #162537;
}
.v2-footer nav,
.v2-footer p,
.checkout-v2-body .v2-footer nav,
.checkout-v2-body .v2-footer p { color: #9aa8b9; }
.v2-footer a:hover { color: var(--pink); }

/* Pricing: carry the established dark panels, readable hierarchy, and cyan action. */
.pricing-v2 { padding-top: 54px; }
.pricing-intro { margin-bottom: 31px; }
.pricing-intro h1,
.checkout-heading h1 { font-weight: 800; letter-spacing: -.045em; }
.pricing-intro p,
.checkout-heading p { color: var(--muted); }
.currency-control > span,
.currency-control small { color: var(--muted); }
.currency-control select {
  color: var(--ink);
  background: #0b1523;
  border-color: #2a3d56;
  border-radius: 8px;
}
.pricing-card-grid { gap: 16px; }
.pricing-plan-card {
  background: linear-gradient(160deg, #172740, #0d1726 74%);
  border: 1px solid #2a3d56;
  border-radius: 12px;
  box-shadow: inset 0 1px #ffffff0b;
}
.pricing-plan-card:hover {
  border-color: #377590;
  box-shadow: 0 12px 36px #0005;
}
.pricing-plan-card.is-selected {
  border-color: var(--pink);
  box-shadow: inset 0 0 0 1px #22c9ee66, 0 0 30px #22c9ee1d;
}
.plan-duration span,
.plan-use { color: var(--muted); }
.plan-data { color: var(--pink); }
.plan-data small { color: #d6edf4; }
.plan-price { color: #f3f7fb; }
.recommend-badge {
  color: #56e6ad;
  background: #0b332e;
  border: 1px solid #1d6d57;
}
.selection-indicator { border-color: #71849c; }
.selection-indicator svg { opacity: 0; }
.pricing-plan-card.is-selected .selection-indicator svg { opacity: 1; }
.pricing-plan-card.is-selected .selection-indicator {
  color: #031019;
  background: var(--pink);
  border-color: var(--pink);
}
.quantity-row { border-top-color: #2a3d56; }
.quantity-stepper {
  background: #091522;
  border-color: #395166;
  border-radius: 8px;
}
.quantity-stepper button { color: var(--pink); background: #091522; }
.quantity-stepper button:hover { background: #123348; }
.purchase-bar {
  background: #0b1827f5;
  border: 1px solid #2a3d56;
  border-radius: 12px;
  box-shadow: 0 18px 48px #0008;
  backdrop-filter: blur(15px);
}
.purchase-bar span { color: #9aa8b9; }
.purchase-bar .v2-button span { color: #031019; font-size: inherit; }
.v2-button { border-radius: 8px; }
.v2-button.primary {
  color: #031019;
  background: var(--pink);
  box-shadow: 0 18px 38px #22c9ee29;
}
.v2-button.primary:hover { background: #5ddcf4; }
.v2-button.secondary {
  color: var(--pink);
  background: #0d1b2b;
  border-color: #2a3d56;
}
.v2-button.secondary:hover { background: #123348; }
.consultation-strip {
  color: var(--ink);
  background: linear-gradient(135deg, #142138, #0c1927);
  border-color: #2a3d56;
  border-radius: 12px;
}
.consultation-strip p { color: var(--muted); }
.consultation-copy { flex: 1 1 270px; min-width: 0; }
.consultation-form { display: flex; align-items: end; flex-wrap: wrap; gap: 14px; }
.consultation-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.consultation-form legend { color: var(--muted); font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.consultation-options { display: flex; flex-wrap: wrap; gap: 8px; }
.consultation-options label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #395166;
  border-radius: 8px;
  background: #0b1929;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.consultation-options label:hover { border-color: var(--pink); }
.consultation-options label:has(input:checked) { border-color: var(--pink); background: #103047; }
.consultation-options input { width: 16px; height: 16px; margin: 0; accent-color: var(--pink); }
.consultation-options input:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.consultation-feedback { flex-basis: 100%; color: #ff9ab7 !important; font-size: 12px; margin: 0; }
.trust-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-strip > div { min-width: 0; }
@media (min-width: 1001px) {
  .consultation-strip .v2-button { margin-right: 142px; }
}
@media (min-width: 641px) and (max-width: 1000px) {
  .consultation-strip { flex-wrap: wrap; }
  .consultation-form { width: 100%; }
  .consultation-strip .v2-button { margin-right: 48px; }
  .mail-contact span { display: none; }
}
@media (min-width: 641px) and (max-width: 980px) {
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip > div { border-right: 0; border-bottom: 1px solid #2a3d56; }
  .trust-strip > div:nth-child(odd) { border-right: 1px solid #2a3d56; }
  .trust-strip > div:nth-last-child(-n+2) { border-bottom: 0; }
}
.comparison-scroll,
.trust-strip {
  color: var(--ink);
  background: linear-gradient(160deg, #142138, #0b1320);
  border-color: #2a3d56;
  border-radius: 12px;
}
.comparison-section th,
.comparison-section td,
.trust-strip > div { border-color: #2a3d56; }
.comparison-section th {
  color: #9aa8b9;
  background: #142138;
}
.comparison-section tbody tr:hover { background: #142138; }
.trust-strip svg { color: var(--pink); }
.trust-strip small { color: var(--muted); }

/* Checkout keeps its flow and payment affordance, with shared surface tokens. */
.checkout-form-panel,
.order-summary {
  background: linear-gradient(160deg, #142138, #0b1320);
  border-color: #2a3d56;
  border-radius: 12px;
  box-shadow: inset 0 1px #ffffff0b;
}
.selected-plan-box { background: #0b1725; border-color: #2a3d56; border-radius: 8px; }
.section-heading > span { color: var(--pink); border-color: #247992; }
.form-field input:focus,
.form-field select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px #22c9ee24;
}
.order-summary .summary-total dd,
.payment-note svg { color: var(--pink); }
.paypal-button { border-radius: 8px; }
.mail-contact,
.mail-contact.dark {
  color: #f3f7fb;
  background: #0a1929;
  border-color: #2a3d56;
  box-shadow: 0 12px 35px #0008;
}
.mail-contact svg,
.mail-contact.dark svg { color: var(--pink); }
.mail-contact small,
.mail-contact.dark small { color: #9aa8b9; }
.pricing-plan-card:focus-visible { outline-color: var(--focus); }

@media (max-width: 640px) {
  .v2-shell { width: min(100% - 24px, 1320px); }
  .v2-header-inner { min-height: 66px; }
  .v2-brand-mark { width: 36px; height: 36px; }
  .v2-language button { min-width: 31px; }
  .pricing-v2 { padding-top: 35px; }
  .consultation-copy { flex: 0 0 auto; }
  .consultation-form { width: 100%; align-items: stretch; flex-direction: column; }
  .consultation-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consultation-options label { padding: 0 10px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div { border-right: 0; border-bottom: 1px solid #2a3d56; }
  .trust-strip > div:last-child { border-bottom: 0; }
}
