/* =========================================================
   MoriPay — style.css
   ========================================================= */

/* ---------- 0. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* palette */
  --color-bg: #ffffff;
  --color-bg-alt: #f7faf9;
  --color-bg-deep: #f0f6f5;
  --color-ink: #0a1a1c;
  --color-ink-2: #2a3a3c;
  --color-muted: #6a7a7c;
  --color-line: #e6ebea;

  --color-primary: #00a0ab;
  --color-primary-dark: #007a82;
  --color-primary-soft: #e6faf7;

  --grad-splash: linear-gradient(
    135deg,
    rgba(0, 203, 212, 1) 17%,
    rgba(95, 223, 156, 0.94) 63%,
    rgba(190, 242, 100, 0.87) 88%
  );
  --grad-splash-deep: linear-gradient(
    135deg,
    #00cbd4 0%,
    #00a0ab 50%,
    #007a82 100%
  );

  --shadow-xs: 0 1px 2px rgba(10, 26, 28, 0.04);
  --shadow-sm: 0 4px 14px rgba(10, 26, 28, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 26, 28, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 26, 28, 0.12);
  --shadow-glow: 0 20px 60px -10px rgba(0, 160, 171, 0.35);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --container-max: 1280px;
  --container-pad: 24px;

  --font-jp:
    "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Aclonica", sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 48px;
  padding: 0 28px;
  appearance: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.25s,
    color 0.25s;
  white-space: nowrap;
  cursor: pointer;
}
.btn--lg {
  height: 56px;
  padding: 0 28px;
  font-size: 15px;
}

.btn--primary {
  background: linear-gradient(
    120deg,
    rgba(0, 203, 212, 1) 17%,
    rgba(95, 223, 156, 0.94) 63%,
    rgba(190, 242, 100, 0.954) 88%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all 0.3s ease;
}
.btn--primary:is(:hover, :active) {
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.6),
    0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.btn--ghost {
  color: rgba(56, 178, 215, 0.495);
  background-image: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.4),
    0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition: all 0.3s ease;
}
.btn--ghost:is(:hover, :active) {
  background: rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.6),
    0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.btn--on-banner {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--on-banner:is(:hover, :active) {
  background: #fff;
  color: var(--color-ink);
  border-color: #fff;
}
.btn--dark {
  background: var(--color-ink);
  color: #fff;
  padding: 0 22px;
  gap: 12px;
}
.btn--dark:is(:hover, :active) {
  background: #1c2c2e;
  transform: translateY(-2px);
}
.btn-app__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.btn-app__text small {
  font-size: 10px;
  opacity: 0.75;
  font-weight: 500;
}
.btn-app__text strong {
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(230, 235, 234, 0);
  transition:
    border-bottom-color 0.3s,
    background 0.3s,
    transform 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-line);
  background: rgba(255, 255, 255, 0.95);
}
.site-header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}
.header__logo img {
  height: 28px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  margin-right: 12px;
}
.header__nav a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  transition: color 0.2s;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--color-primary);
  transition: width 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.header__nav a:hover {
  color: var(--color-primary);
}
.header__nav a:hover::after {
  width: 100%;
}

.header__cta {
  padding: 0 28px;
  height: 44px;
  font-size: 13px;
  background: var(--grad-splash);
  color: #fff;
}
.header__cta:is(:hover, :active, :focus-visible) {
  background: var(--grad-splash);
  box-shadow: 0 12px 28px rgba(0, 160, 171, 0.35);
}
.header__cta-full {
  display: inline;
}
.header__cta-short {
  display: none;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}
.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.2s;
}
.header__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__burger.is-open span:nth-child(2) {
  opacity: 0;
}
.header__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer {
  position: fixed;
  left: 0;
  right: 0;
  top: 64px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 24px 40px -12px rgba(10, 26, 28, 0.12);
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    height 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.25s ease;
  pointer-events: none;
}
.drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}
.drawer__inner {
  padding: 8px var(--container-pad) 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.drawer__nav a {
  display: block;
  padding: 18px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-line);
  transition:
    color 0.2s,
    padding-left 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.drawer__nav a:is(:hover, :active) {
  color: var(--color-primary);
  padding-left: 8px;
}
.drawer__cta {
  margin: 12px auto 4px;
  align-self: center;
  padding: 0 24px;
  height: 44px;
  border-radius: 999px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--color-primary) border-box;
}
.drawer__cta:is(:hover, :active) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ---------- Common section bits ---------- */
.section-title {
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}
.section-title--center {
  text-align: center;
}
.section-lead {
  margin-top: 18px;
  font-size: 17px;
  color: var(--color-muted);
  line-height: 1.75;
}
.section-lead--center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
  border-radius: 999px;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 160, 171, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 160, 171, 0);
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  padding: 40px 0 120px;
  overflow: hidden;
  background: var(--color-bg);
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      ellipse at 70% 100%,
      rgba(190, 242, 100, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 0% 0%,
      rgba(0, 203, 212, 0.12) 0%,
      transparent 55%
    );
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}
.hero__blob--1 {
  width: 560px;
  height: 560px;
  top: -200px;
  right: -140px;
  background: radial-gradient(circle, #5fdf9c 0%, rgba(95, 223, 156, 0) 70%);
  opacity: 0.55;
  animation: meshDrift1 22s ease-in-out infinite;
}
.hero__blob--2 {
  width: 480px;
  height: 480px;
  bottom: -180px;
  left: -140px;
  background: radial-gradient(circle, #00cbd4 0%, rgba(0, 203, 212, 0) 70%);
  opacity: 0.45;
  animation: meshDrift2 28s ease-in-out infinite;
}
.hero__blob--3 {
  width: 340px;
  height: 340px;
  top: 30%;
  right: 18%;
  background: radial-gradient(circle, #bef264 0%, rgba(190, 242, 100, 0) 70%);
  opacity: 0.45;
  animation: meshDrift3 24s ease-in-out infinite;
}
.hero__blob--4 {
  width: 400px;
  height: 400px;
  top: 60%;
  left: 28%;
  background: radial-gradient(circle, #00a0ab 0%, rgba(0, 160, 171, 0) 70%);
  opacity: 0.25;
  animation: meshDrift4 26s ease-in-out infinite;
}
@keyframes meshDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, 40px) scale(1.08); }
  66% { transform: translate(40px, 80px) scale(0.95); }
}
@keyframes meshDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(80px, -60px) scale(1.12); }
}
@keyframes meshDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(-80px, 60px) scale(1.15); }
  75% { transform: translate(50px, -40px) scale(0.9); }
}
@keyframes meshDrift4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -80px) scale(1.1); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__content {
  max-width: 820px;
  width: 100%;
}
.hero__title {
  font-size: clamp(40px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.03em;
  background: linear-gradient(
    120deg,
    rgba(0, 203, 212, 1) 17%,
    rgba(95, 223, 156, 0.94) 63%,
    rgba(190, 242, 100, 0.954) 88%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 40px;
}
.hero__title-line {
  display: block;
  overflow: hidden;
}
.hero__title-line span,
.hero__title-line em {
  display: inline;
}
.hero__title-line--accent em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: clamp(55px, 5vw, 70px);
  font-weight: 500;
  background: var(--grad-splash);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 4px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Mobile-only line break in hero title (hidden on desktop) */
br.mobile-only {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__blob {
    animation: none !important;
  }
}

.hero__stats {
  list-style: none;
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--color-line);
}
.hero__stats li {
  display: flex;
  flex-direction: column;
}
.hero__stats strong {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__stats strong span {
  font-size: 16px;
  color: var(--color-muted);
  margin-left: 2px;
  font-weight: 600;
}
.hero__stats > li > span {
  margin-top: 6px;
  font-size: 13px;
  color: var(--color-muted);
}

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-left: auto;
}
.hero__card--main {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88%;
  transform: translate(-50%, -50%) rotate(-4deg);
  filter: drop-shadow(0 30px 60px rgba(0, 160, 171, 0.25));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) rotate(-4deg); }
  50% { transform: translate(-50%, -54%) rotate(-3deg); }
}
.hero__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
}
.hero__badge--top {
  top: 8%;
  right: -2%;
  animation: floatBadge 5s ease-in-out infinite;
}
.hero__badge--bottom {
  bottom: 6%;
  left: -4%;
  animation: floatBadge 5s ease-in-out infinite 1.2s;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero__badge strong {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: var(--color-ink);
}
.hero__badge span:not(.hero__badge-icon):not(.hero__badge-amount) {
  font-size: 11px;
  color: var(--color-muted);
}
.hero__badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.hero__badge-amount {
  font-weight: 800;
  color: var(--color-ink);
  margin-left: 8px;
}

.hero__scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.3em;
  font-weight: 700;
  color: var(--color-muted);
  z-index: 2;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-muted) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--color-primary));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -40px; }
  100% { top: 40px; }
}

/* ---------- 데스크톱 모달 ---------- */
.dl-modal{
  position:fixed; inset:0; z-index:1000;
  display:flex; align-items:center; justify-content:center; padding:30px;
  background:rgba(10,37,64,.55); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px);
  opacity:0; visibility:hidden; transition:opacity .2s ease, visibility .2s ease;
}
.dl-modal.is-open{ opacity:1; visibility:visible; }
.dl-modal__card{
  width:100%; max-width:560px; background:#fff; border-radius:24px; overflow:hidden;
  box-shadow:0 24px 60px rgba(10,37,64,.3);
  transform:translateY(16px) scale(.98); transition:transform .25s ease;
}
.dl-modal.is-open .dl-modal__card{ transform:none; }
.dl-modal__head{
  position:relative; padding:26px 24px 22px; color:#ffff;
  background:linear-gradient(135deg, rgba(0,203,212,1) 17%, rgba(95,223,156,0.94) 63%, rgba(190,242,100,0.87) 88%);
}
.dl-modal__title{ margin:0; font-size:20px; font-weight:900; }
.dl-modal__close{
  position:absolute; top:14px; right:14px; width:34px; height:34px;
  border:0; border-radius:50%; cursor:pointer; line-height:1; font-size:20px;
  background:rgba(255,255,255,.5); color:#053b3f;
}
.dl-modal__close:hover{ background:rgba(255,255,255,.85); }
.dl-modal__body{ display:flex; gap:14px; padding:24px; }
.dl-store{
  flex:1; display:flex; flex-direction:column; align-items:center; gap:12px;
}
.dl-store__os{ 
  font-size:14px; font-weight:700; color:#0a2540; }
.dl-store__qr{
  display:inline-flex; align-items:center; justify-content:center;
  padding:8px; border-radius:12px; background:#fff; border:1px solid #eef2f5;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.dl-store__qr:hover{ border-color:#00a0ab; box-shadow:0 6px 16px rgba(0,160,171,.16); }
.dl-store__qr img, .dl-store__qr canvas{ display:block; }
.dl-store__badge img{ height:45px; width:auto; display:block; }
@media (max-width:480px){
  .dl-modal__body{ flex-direction:column; }
  .dl-store{ flex-direction:row; justify-content:flex-start; gap:16px; }
}

/* ---------- SERVICES ---------- */
#svc{position:relative;height:200vh;background:#fff;}
.svc__sticky{
  position:sticky;
  top:0;
  height:100vh;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:40px;
  padding:40px 0;
}
.svc__head{
  text-align:left;
  padding-left:max(120px,14vw);
  padding-right:24px;
  flex-shrink:0;
}
.svc__title{
  margin:0;
  font-size:clamp(30px,3.4vw,46px);
  font-weight:800;
  line-height:1.16;
  letter-spacing:-.03em;
  color:linear-gradient(135deg, #00cbd4 0%, #00a0ab 50%, #5fdf9c 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.svc__viewport{overflow:hidden;}
.svc__track{
  display:flex;
  align-items:stretch;
  gap:34px;
  width:max-content;
  height:min(500px,54vh);
  padding-top:40px;
  padding-left:max(120px,14vw);
  padding-right:max(72px,9vw);
  will-change:transform;
}
.svc .card{
  position:relative;
  flex-shrink:0;
  width:clamp(280px,33vw,460px);
  background:transparent;
  border:1px solid #e6ebea;
  border-radius:22px;
  padding:40px 30px 30px;
  display:flex;
  flex-direction:column;
}
.svc .card__n{
  position:absolute;
  top:0;
  left:28px;
  transform:translateY(-50%);
  padding:0 12px;
  font-family:"JetBrains Mono",ui-monospace,SFMono-Regular,monospace;
  font-weight:800;
  font-size:48px;
  line-height:1;
  letter-spacing:-.04em;
  color:#00a0ab;
}
.svc .card__ic{
  flex:1;
  min-height:0;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:2px 0;
}
.svc .card__ic img{
  width:100%;
  height:100%;
  object-fit:contain;
  transform:scale(var(--s,1));
}
.svc .card h3{
  margin:0;
  font-size:23px;
  font-weight:800;
  color:#0a1a1c;
}
.svc .card p{
  margin:7px 0 0;
  font-size:14px;
  line-height:1.65;
  color:#6a7a7c;
}

/* ---------- WHY ---------- */
.why {
  padding: 140px 0;
  background: var(--color-bg);
}
.why__wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.why__head {
  position: sticky;
  top: 120px;
}
.why__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 18px;
}
.why__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
  background: linear-gradient(135deg, #00cbd4 0%, #00a0ab 60%, #5fdf9c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.why__grid > .why__card:nth-child(2),
.why__grid > .why__card:nth-child(4) {
  margin-top: -60px;
}
.why__card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 8px 16px 0 rgba(85, 226, 201, 0.17);
  position: relative;
  overflow: hidden;
  height: 330px;
  display: flex;
  flex-direction: column;
}
.why__card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, #00cbd4 0%, #5fdf9c 100%);
}
.why__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #5be8ef 0%, #00cbd4 50%, #5fdf9c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  box-shadow: 0 14px 32px rgba(0, 203, 212, 0.35);
  flex-shrink: 0;
}
.why__icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
}
.why__card h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 0 0 18px;
  color: var(--color-ink);
}
.why__card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}

/* ---------- DETAIL (THE APP) ---------- */
.detail {
  padding: 140px 0;
  background: var(--color-bg-alt);
  overflow: hidden;
}
.detail__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  margin-bottom: 140px;
}
.detail__row:last-child {
  margin-bottom: 0;
}
.detail__row--reverse {
  direction: rtl;
}
.detail__row--reverse > * {
  direction: ltr;
}
.detail__content .section-title {
  margin-top: 4px;
}
.detail__content .section-lead {
  margin-top: 20px;
  max-width: 460px;
}
.detail__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
  padding: 0;
}
.detail__features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--color-ink-2);
}
.detail__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail__check svg {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}
.detail__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.detail__deco {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.detail__deco--1,
.detail__deco--2 {
  width: 380px;
  height: 380px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--grad-splash);
  filter: blur(70px);
  opacity: 0.35;
}

/* 폰 목업 */
.detail__phone {
  position: relative;
  width: 320px;
  height: 640px;
  background: #fff;
  border-radius: 40px;
  border: 12px solid #fafafa;
  box-shadow:
    0 2px 4px rgba(255, 255, 255, 0.9) inset,
    0 -2px 4px rgba(0, 0, 0, 0.04) inset,
    0 8px 16px rgba(10, 26, 28, 0.08),
    0 30px 60px rgba(10, 26, 28, 0.15),
    0 50px 100px rgba(0, 160, 171, 0.08);
  overflow: hidden;
  z-index: 2;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #fafafa;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  z-index: 10;
}
.detail__phone .ico-sm { width: 12px; height: 12px; flex-shrink: 0; }
.detail__phone .ico-md { width: 18px; height: 18px; flex-shrink: 0; }
.detail__phone .ico-lg { width: 36px; height: 36px; flex-shrink: 0; }
.detail__phone svg { display: inline-block; vertical-align: -2px; }

.detail__phone--flip .services-home {
  display: flex;
  flex-direction: column;
  padding-top: 42px;
  height: 100%;
  font-family: "Noto Sans JP", sans-serif;
}
.detail__phone--flip .home-balance-card {
  background: linear-gradient(180deg, rgba(0, 203, 212, 0.95) 0%, rgba(95, 223, 156, 0.85) 100%);
  border-radius: 16px 16px 0 0;
  padding: 12px 12px 16px;
  margin: 0 10px;
}
.detail__phone--flip .home-rate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 10px;
}
.detail__phone--flip .home-rate .lbl {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #fff;
  font-weight: 500;
}
.detail__phone--flip .home-rate .bell {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.detail__phone--flip .mini-card-flip {
  position: relative;
  height: 80px;
  perspective: 1200px;
}
.detail__phone--flip .mini-card-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: cardFlip 10s ease-in-out infinite;
}
.detail__phone--flip .mini-card {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.15));
  border-radius: 10px;
  padding: 10px 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.detail__phone--flip .mini-card.back { transform: rotateY(180deg); }
.detail__phone--flip .mini-card .row1 {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #fff;
  font-weight: 500;
}
.detail__phone--flip .mini-card .digits {
  font-size: 12px;
  color: #fff;
  letter-spacing: 0.18em;
  margin-top: auto;
  font-weight: 500;
}
.detail__phone--flip .mini-card .view {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-size: 9px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 2px;
}
.detail__phone--flip .mini-card-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding-top: 12px;
}
.detail__phone--flip .mini-card-dots span {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  display: inline-block;
}
.detail__phone--flip .mini-card-dots .dot-a { animation: dotA 10s ease-in-out infinite; }
.detail__phone--flip .mini-card-dots .dot-b { animation: dotB 10s ease-in-out infinite; }
@keyframes cardFlip {
  0%, 40% { transform: rotateY(0deg); }
  50%, 90% { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}
@keyframes dotA {
  0%, 40% { width: 16px; background: #fff; }
  50%, 90% { width: 4px; background: rgba(255, 255, 255, 0.5); }
  100% { width: 16px; background: #fff; }
}
@keyframes dotB {
  0%, 40% { width: 4px; background: rgba(255, 255, 255, 0.5); }
  50%, 90% { width: 16px; background: #fff; }
  100% { width: 4px; background: rgba(255, 255, 255, 0.5); }
}
.detail__phone--flip .home-balance-body {
  background: #fff;
  border-radius: 0 0 16px 16px;
  padding: 16px 14px 18px;
  margin: 0 10px 12px;
}
.detail__phone--flip .home-balance-label {
  font-size: 12px;
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 8px;
}
.detail__phone--flip .home-balance-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.detail__phone--flip .ph-bar {
  width: 130px;
  height: 14px;
  background: #e6ebea;
  border-radius: 6px;
}
.detail__phone--flip .ph-unit {
  font-size: 13px;
  color: var(--color-muted);
}
.detail__phone--flip .action-stack {
  position: relative;
  height: 100px;
}
.detail__phone--flip .action-set {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.detail__phone--flip .action-set-a { animation: setA 10s ease-in-out infinite; }
.detail__phone--flip .action-set-b { animation: setB 10s ease-in-out infinite; }
@keyframes setA {
  0%, 40% { opacity: 1; }
  48%, 92% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes setB {
  0%, 40% { opacity: 0; }
  48%, 92% { opacity: 1; }
  100% { opacity: 0; }
}
.detail__phone--flip .home-balance-charge {
  background: #00cbd4;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 8px;
}
.detail__phone--flip .home-balance-charge.tag-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.detail__phone--flip .home-balance-actions {
  display: flex;
  gap: 8px;
}
.detail__phone--flip .home-balance-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  font-size: 12px;
  border: 1px solid #e6ebea;
  border-radius: 10px;
  color: var(--color-ink);
  background: #fff;
}
.detail__phone--flip .home-weather {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #fff8e0 0%, #ffe9b3 100%);
  border-radius: 10px;
  margin: 0 13px;
}
.detail__phone--flip .w-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #ffc94a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.detail__phone--flip .w-txt { flex: 1; min-width: 0; }
.detail__phone--flip .w-title { font-size: 12px; font-weight: 500; color: var(--color-ink); }
.detail__phone--flip .w-sub { font-size: 10px; color: var(--color-muted); margin-top: 2px; }
.detail__phone--flip .w-temp { font-size: 18px; font-weight: 500; color: var(--color-ink); }

/* [2세트] flow */
.detail__phone--flow .screen-track {
  display: flex;
  width: 500%;
  height: 100%;
  padding-top: 42px;
  animation: slideTrack 15s ease-in-out infinite;
}
@keyframes slideTrack {
  0%, 16% { transform: translateX(0%); }
  20%, 36% { transform: translateX(-20%); }
  40%, 56% { transform: translateX(-40%); }
  60%, 76% { transform: translateX(-60%); }
  80%, 96% { transform: translateX(-80%); }
  100% { transform: translateX(0%); }
}
.detail__phone--flow .screen {
  width: 20%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow: hidden;
  font-family: "Noto Sans JP", sans-serif;
}
.detail__phone--flow .top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px;
  border-bottom: 1px solid #f0f0f0;
}
.detail__phone--flow .top-bar .back { color: var(--color-ink); }
.detail__phone--flow .top-bar .title { font-size: 15px; font-weight: 600; color: var(--color-ink); }
.detail__phone--flow .top-bar .spacer { width: 18px; }
.detail__phone--flow .search-box {
  margin: 12px 16px;
  background: #f5f7f6;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #9aa3a4;
}
.detail__phone--flow .section-h {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 8px 16px 8px;
}
.detail__phone--flow .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.detail__phone--flow .avatar-lg { width: 70px; height: 70px; }
.detail__phone--flow .avatar-haruka { background: #f0f4a8; color: #5c6b00; }
.detail__phone--flow .avatar-kenji { background: #00cbd4; }
.detail__phone--flow .avatar-ryo { background: #a3e635; color: #fff; }
.detail__phone--flow .avatar-yui1 { background: #93c5fd; color: #fff; }
.detail__phone--flow .avatar-yui2 { background: #fbcfe8; color: #fff; }
.detail__phone--flow .recent-list {
  display: flex;
  gap: 14px;
  padding: 0 16px 12px;
}
.detail__phone--flow .recent-item { text-align: center; }
.detail__phone--flow .recent-item .avatar { margin: 0 auto 4px; }
.detail__phone--flow .recent-name { font-size: 10px; color: var(--color-ink); }
.detail__phone--flow .tab-row {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  margin: 0 16px;
}
.detail__phone--flow .tab {
  padding: 8px 14px;
  font-size: 11px;
  color: #9aa3a4;
  position: relative;
}
.detail__phone--flow .tab.active { color: var(--color-primary); font-weight: 600; }
.detail__phone--flow .tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--color-primary);
}
.detail__phone--flow .friend-list { flex: 1; overflow: hidden; }
.detail__phone--flow .friend-row {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 10px;
  border-bottom: 1px solid #f7f9f8;
}
.detail__phone--flow .friend-row .avatar { width: 36px; height: 36px; }
.detail__phone--flow .friend-info { flex: 1; min-width: 0; }
.detail__phone--flow .friend-name { font-size: 12px; font-weight: 600; color: var(--color-ink); }
.detail__phone--flow .friend-id { font-size: 10px; color: #9aa3a4; }
.detail__phone--flow .send-btn-sm {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.detail__phone--flow .send-profile { text-align: center; padding: 24px 16px 16px; }
.detail__phone--flow .send-profile .avatar { margin: 0 auto 12px; }
.detail__phone--flow .send-profile .name { font-size: 17px; font-weight: 700; color: var(--color-ink); margin-bottom: 4px; }
.detail__phone--flow .send-profile .uid { font-size: 12px; color: #9aa3a4; }
.detail__phone--flow .amount-display {
  text-align: right;
  padding: 12px 16px 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--color-ink);
  border-bottom: 2px solid var(--color-primary);
  margin: 0 16px;
}
.detail__phone--flow .balance-info {
  margin: 16px;
  background: #f5f7f6;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.detail__phone--flow .balance-info .lbl { font-size: 10px; color: #9aa3a4; }
.detail__phone--flow .balance-info .val { font-size: 14px; font-weight: 700; color: var(--color-ink); margin-top: 2px; }
.detail__phone--flow .charge-pill {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.detail__phone--flow .msg-section { padding: 0 16px; }
.detail__phone--flow .msg-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--color-ink);
  font-weight: 600;
  margin-bottom: 6px;
}
.detail__phone--flow .msg-label .count { color: #9aa3a4; font-weight: 400; }
.detail__phone--flow .msg-box {
  background: #f5f7f6;
  border-radius: 10px;
  padding: 10px;
  font-size: 10px;
  color: #b0b6b5;
  height: 56px;
}
.detail__phone--flow .send-action-btn {
  margin: auto 16px 16px;
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}
.detail__phone--flow .complete-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-align: center;
}
.detail__phone--flow .complete-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.detail__phone--flow .complete-check svg { stroke-width: 3; }
.detail__phone--flow .complete-title { font-size: 17px; font-weight: 700; color: var(--color-ink); margin-bottom: 16px; }
.detail__phone--flow .complete-info { font-size: 11px; color: var(--color-muted); line-height: 2; }
.detail__phone--flow .complete-info b { color: var(--color-ink); font-weight: 600; }
.detail__phone--flow .complete-buttons {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.detail__phone--flow .btn-primary {
  background: var(--color-primary);
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.detail__phone--flow .btn-outline {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}
.detail__phone--flow .balance-card-flow {
  margin: 12px 16px;
  background: var(--color-primary);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  color: #fff;
}
.detail__phone--flow .balance-card-flow .lbl { font-size: 11px; opacity: 0.9; }
.detail__phone--flow .balance-card-flow .val { font-size: 26px; font-weight: 700; margin: 4px 0; }
.detail__phone--flow .balance-card-flow .val .unit { font-size: 12px; font-weight: 400; margin-left: 4px; }
.detail__phone--flow .balance-card-flow .sub { font-size: 9px; opacity: 0.85; }
.detail__phone--flow .filter-row {
  display: flex;
  gap: 6px;
  padding: 0 16px 8px;
}
.detail__phone--flow .filter-pill {
  padding: 5px 12px;
  border-radius: 14px;
  border: 1px solid #e6ebea;
  font-size: 10px;
  color: var(--color-muted);
  white-space: nowrap;
}
.detail__phone--flow .filter-pill.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.detail__phone--flow .tx-list { flex: 1; overflow: hidden; }
.detail__phone--flow .tx-row {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 10px;
}
.detail__phone--flow .tx-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.detail__phone--flow .tx-info { flex: 1; min-width: 0; }
.detail__phone--flow .tx-time { font-size: 9px; color: #9aa3a4; }
.detail__phone--flow .tx-name { font-size: 12px; color: var(--color-ink); margin-top: 1px; }
.detail__phone--flow .tx-amount { font-size: 13px; font-weight: 700; color: var(--color-ink); }
.detail__phone--flow .tx-amount.plus { color: var(--color-primary); }
.detail__phone--flow .month-divider {
  background: #f5f7f6;
  padding: 6px 16px;
  font-size: 10px;
  font-weight: 600;
  color: var(--color-muted);
}
.detail__phone--flow .detail-icon-wrap { text-align: center; padding: 24px 16px 12px; }
.detail__phone--flow .detail-icon-wrap .tx-icon { width: 56px; height: 56px; margin: 0 auto; }
.detail__phone--flow .detail-store { font-size: 16px; font-weight: 700; color: var(--color-ink); text-align: center; margin-top: 12px; }
.detail__phone--flow .detail-category { font-size: 11px; color: #9aa3a4; text-align: center; margin-top: 4px; }
.detail__phone--flow .detail-amount-flow { font-size: 26px; font-weight: 700; color: var(--color-ink); text-align: center; margin-top: 8px; }
.detail__phone--flow .detail-amount-flow .unit { font-size: 12px; color: var(--color-muted); margin-left: 4px; font-weight: 400; }
.detail__phone--flow .detail-rows {
  margin: 20px 16px 0;
  border-top: 1px solid #f0f0f0;
  padding-top: 4px;
}
.detail__phone--flow .detail-r {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 11px;
}
.detail__phone--flow .detail-r .k { color: var(--color-muted); }
.detail__phone--flow .detail-r .v { color: var(--color-ink); font-weight: 500; }

/* ---------- SAFETY ---------- */
.safety {
  padding: 140px 0;
  background:
    radial-gradient(ellipse at top right, rgba(190, 100, 255, 0.2), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(100, 80, 220, 0.18), transparent 55%),
    radial-gradient(ellipse at 30% 40%, rgba(255, 100, 180, 0.12), transparent 50%),
    linear-gradient(180deg, #1a1233 0%, #14102a 100%);
  position: relative;
  overflow: hidden;
}
.safety__head { text-align: center; margin-bottom: 64px; }
.safety__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.safety__eyebrow svg { width: 14px; height: 14px; color: #ff9d6c; }
.safety__title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: #fff;
}
.safety__lead { font-size: 14px; line-height: 1.7; color: rgba(255, 255, 255, 0.55); margin: 0; }
.safety__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.safety__item {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 32px 26px;
  min-height: 240px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  animation: safetyBorderPulse 4s ease-in-out infinite;
}
@keyframes safetyBorderPulse {
  0%, 100% { border-color: rgba(255, 255, 255, 0.08); }
  50% { border-color: rgba(255, 255, 255, 0.7); }
}
.safety__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  pointer-events: none;
}
.safety__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff5fa7 0%, #ff7a4a 50%, #ffb84a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(255, 100, 100, 0.22);
}
.safety__icon svg { width: 28px; height: 28px; }
.safety__item h4 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 0 0 10px;
  color: #fff;
}
.safety__item p { font-size: 12.5px; line-height: 1.75; color: rgba(255, 255, 255, 0.58); margin: 0; }

/* ---------- STEPS ---------- */
.steps {
  padding: 140px 0;
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}
.steps__head { margin-bottom: 80px; }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps__grid::before {
  content: "";
  position: absolute;
  top: 130px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-primary) 0 6px, transparent 6px 14px);
  z-index: 0;
}
.steps__grid .step {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--color-line);
}
.steps__grid .step:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step__number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
  color: var(--color-primary);
}
.step__visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px 0 28px;
  position: relative;
}
.step__visual-inner {
  width: 200px;
  height: 180px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.step__visual--card img { width: 200px; height: auto; max-width: 300px; }
.step__visual--app img { width: 150px; height: auto; max-width: 300px; }
.step__visual--travel img { width: 150px; height: auto; max-width: 300px; }
.step__phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.step__qr {
  width: 70px;
  height: 70px;
  background:
    linear-gradient(45deg, transparent 25%, var(--color-ink) 25% 50%, transparent 50% 75%, var(--color-ink) 75%) 0 0 / 14px 14px,
    linear-gradient(-45deg, transparent 25%, var(--color-ink) 25% 50%, transparent 50% 75%, var(--color-ink) 75%) 0 0 / 14px 14px,
    #fff;
  border: 3px solid var(--color-ink);
  border-radius: 8px;
  position: relative;
}
.step__qr::before,
.step__qr::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid var(--color-ink);
}
.step__qr::before { top: 4px; left: 4px; }
.step__qr::after { bottom: 4px; right: 4px; }
.step__phone-screen small { font-size: 9px; font-weight: 600; color: var(--color-muted); }
.step__plane {
  width: 100px;
  transform: rotate(-15deg);
  animation: planeFly 4s ease-in-out infinite;
}
@keyframes planeFly {
  0%, 100% { transform: rotate(-15deg) translate(0, 0); }
  50% { transform: rotate(-12deg) translate(8px, -6px); }
}
.steps__grid .step h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; margin: 14px 0 10px; }
.steps__grid .step p { font-size: 13px; color: var(--color-muted); line-height: 1.75; }

/* ---------- FAQ (accordion) ---------- */
.faq {
  padding: 140px 0;
  background: var(--color-bg);
}
.faq__head { margin-bottom: 56px; }
.faq__list {
  max-width: 820px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--color-line);
}
.faq__detail { border-bottom: 1px solid var(--color-line); }
.faq__question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.5;
  transition: background 0.2s ease, color 0.2s ease;
}
.faq__qm { flex-shrink: 0; font-size: 18px; font-weight: 700; color: var(--color-primary); line-height: 1.5; width: 22px; }
.faq__qt { flex: 1; }
.faq__chev {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s;
  margin-top: 4px;
}
.faq__chev svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.faq__detail.is-open .faq__question { color: var(--color-primary); }
.faq__detail.is-open .faq__chev { transform: rotate(180deg); color: var(--color-primary); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq__answer-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 8px 24px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}
.faq__detail.is-open .faq__answer-inner { opacity: 1; transform: translateY(0); }
.faq__am { flex-shrink: 0; font-size: 18px; font-weight: 700; color: var(--color-ink-2); line-height: 1.7; width: 22px; }
.faq__text { margin: 0; color: var(--color-muted); font-size: 14px; line-height: 1.85; }
.faq__text + .faq__text { margin-top: 12px; }
.faq__link { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FOOTER ---------- */
.footer {
  background: #5d91ab;
  color: #fff;
  padding: 80px 0 0;
}
.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 64px;
}
.footer__logo {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.footer__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.557);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 0 28px;
}
.footer__sns { display: flex; gap: 8px; }
.footer__sns-link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s, color 0.2s;
}
.footer__sns-link:is(:hover, :active) { background: var(--color-primary); color: #fff; }
.footer__sns-link svg { width: 20px; height: 20px; }
.footer__col-title {
  font-size: 12px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.833);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--color-primary); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copy { font-size: 12px; color: rgb(231, 231, 231); margin: 0; }
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal a {
  font-size: 12.5px;
  color: rgb(243, 243, 243);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__legal a:hover { color: rgba(255, 255, 255, 0.5); }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  padding: 60px 0 140px;
  background: var(--color-bg);
}
.cta-banner__inner {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 80px 64px;
  overflow: hidden;
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  background: var(--color-ink);
  z-index: 0;
}
.cta-banner__bg::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--grad-splash);
  filter: blur(60px);
  opacity: 0.55;
}
.cta-banner__bg::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 203, 212, 0.6) 0%, transparent 70%);
  filter: blur(40px);
}
.cta-banner__content { position: relative; z-index: 1; }
.cta-banner__title {
  font-size: clamp(32px, 4.8vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.cta-banner__lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 460px;
}
.cta-banner__buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-banner__card-deco {
  position: relative;
  z-index: 1;
  transform: rotate(8deg) translateY(-10px);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: rotate(8deg) translateY(-10px); }
  50% { transform: rotate(6deg) translateY(-20px); }
}

/* ============================================
   RESPONSIVE — 1100px breakpoint
   ============================================ */
@media (max-width: 1100px) {
  :root { --container-pad: 20px; }

  /* header */
  .header__inner { height: 64px; gap: 12px; }
  .header__nav { display: none; }
  .header__cta {
    display: inline-flex;
    margin-left: auto;
    padding: 0 14px;
    height: 38px;
    font-size: 12px;
  }
  .header__cta svg { width: 14px; height: 14px; }
  .header__cta-full { display: none; }
  .header__cta-short { display: inline; }
  .header__burger { display: flex; }

  /* hero */
  .hero { padding: 60px 0 80px; min-height: calc(100vh - 64px); }
  .hero__title { margin-bottom: 32px; }
  .hero__cta {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__cta .btn { width: 100%; }
  br.mobile-only { display: inline; }

  /* services */
  .svc__sticky{gap:34px;padding:32px 0;}
  .svc__head{padding-left:max(48px,14vw);padding-right:20px;}
  .svc__track{gap:24px;height:min(470px,60vh);padding-top:32px;padding-left:max(48px,14vw);padding-right:35px;}
  .svc .card{width:300px;padding:32px 24px 24px;}
  .svc .card__n{font-size:45px;left:20px;padding:0 10px;}
  .svc .card h3{font-size:22px;}

  /* why */
  .why { padding: 80px 0; }
  .why__wrap { grid-template-columns: 1fr; gap: 40px; }
  .why__head { position: static; text-align: center; }
  .why__grid { grid-template-columns: 1fr; gap: 16px; }
  .why__grid > .why__card:nth-child(2),
  .why__grid > .why__card:nth-child(4) { margin-top: 0; }
  .why__card { padding: 28px 24px; height: auto; min-height: auto; }
  .why__icon { width: 60px; height: 60px; border-radius: 18px; margin-bottom: 20px; }
  .why__icon svg { width: 36px; height: 36px; }
  .why__card h3 { font-size: 16px; }
  .why__card p { font-size: 12.5px; }

  /* detail */
  .detail { padding: 80px 0; }
  .detail__row,
  .detail__row--reverse {
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 80px;
    direction: ltr;
  }
  .detail__content .section-lead { max-width: 100%; }
  .detail__phone { width: 280px; height: 560px; }
  .detail__deco--1,
  .detail__deco--2 { width: 280px; height: 280px; filter: blur(50px); }

  /* safety */
  .safety { padding: 80px 0; }
  .safety__head { margin-bottom: 40px; }
  .safety__title { font-size: 30px; }
  .safety__grid { grid-template-columns: 1fr; gap: 12px; }
  .safety__item { padding: 24px 22px; min-height: auto; }
  .safety__icon { width: 48px; height: 48px; border-radius: 12px; }
  .safety__icon svg { width: 26px; height: 26px; }
  .safety__item h4 { font-size: 14px; }
  .safety__item p { font-size: 11.5px; }

  /* steps */
  .steps { padding: 80px 0; }
  .steps__head { margin-bottom: 48px; }
  .steps__grid { grid-template-columns: 1fr; gap: 20px; }
  .steps__grid::before { display: none; }

  /* faq */
  .faq { padding: 80px 0; }
  .faq__head { margin-bottom: 40px; }
  .faq__question { font-size: 14px; padding: 18px 4px; gap: 12px; }
  .faq__qm,
  .faq__am { font-size: 16px; width: 18px; }
  .faq__answer-inner { padding: 0 4px 20px; gap: 12px; }
  .faq__text { font-size: 13px; }

  /* footer */
  .footer__top { grid-template-columns: 1fr 1fr; gap: 48px; }
  .footer__brand { grid-column: 1 / -1; }

  /* cta banner */
  .cta-banner { padding: 40px 0 80px; }
  .cta-banner__inner {
    grid-template-columns: 1fr;
    padding: 56px 32px;
    border-radius: var(--radius-lg);
    text-align: center;
  }
  .cta-banner__lead { margin-left: auto; margin-right: auto; }
  .cta-banner__buttons { justify-content: center; }
  .cta-banner__card-deco { display: none; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 44px; }
  .why__card { padding: 20px 16px; min-height: 200px; }
  .why__card h3 { font-size: 13px; }
  .why__icon { width: 48px; height: 48px; }
  .why__icon svg { width: 28px; height: 28px; }
  .section-title { font-size: 28px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 60px 0 0; }
  .footer__inner { padding: 0 24px; }
  .footer__desc { font-size: 13px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__legal { gap: 16px; }
  .footer__logo { font-size: 22px; }
}

/* ============================================
   Reveal animations
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: 0.32s; }
.why__title[data-reveal] { transition-delay: 0s !important; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

