/* =========================================================================
   Jano Payment — Site styles
   ========================================================================= */

/* ───────────────── Layout primitives ───────────────── */
.wrap { max-width: var(--layout-max); margin: 0 auto; padding: 0 var(--layout-pad); }

/* Korean: keep words (eojeol) intact at line wrap; break only at spaces */
html[lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; line-break: strict; }

/* ───────── Full-page paging — one section per screen ───────── */
html { scroll-snap-type: y proximity; scroll-padding-top: 0; }
.hero, .section, .footer { scroll-snap-align: start; }
.section { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(96px, 11vh, 132px); padding-bottom: clamp(56px, 8vh, 100px); }
@media (max-width: 760px) { html { scroll-snap-type: none; } .section { min-height: 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: var(--eyebrow-track);
  text-transform: uppercase; color: var(--cobalt); margin: 0;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cobalt); border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--cobalt-bright); }
.eyebrow.on-dark::before { background: var(--cobalt-bright); }

.section { position: relative; }
.section.dark { background: var(--navy-900); color: var(--white); }
.section.subtle { background: var(--bg-subtle); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 72px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: var(--h2); line-height: 1.08; letter-spacing: -0.025em;
  margin: 16px 0 0; color: inherit; text-wrap: balance;
}
.section.dark .section-title { color: var(--white); }
.section-sub { font-size: clamp(16px, 1.3vw, 18px); color: var(--fg-muted); margin: 18px 0 0; line-height: 1.65; }
.section.dark .section-sub { color: rgba(255,255,255,0.66); }

/* ───────────────── Buttons ───────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  padding: 14px 26px; border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform var(--dur) var(--ease-out), background var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--cobalt); color: var(--white); box-shadow: 0 8px 24px var(--cobalt-glow); }
.btn-primary:hover { background: var(--cobalt-deep); transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.28); }
.btn-ghost:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.5); }
.btn-outline { background: transparent; color: var(--navy-700); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--navy-700); background: var(--mist); }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ───────────────── Nav ───────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 200; padding: 20px 0;
  transition: padding var(--dur) var(--ease-out), background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.nav.scrolled { background: rgba(255,255,255,0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 12px 0; box-shadow: 0 1px 0 var(--border), var(--shadow-sm); }
.nav-inner { max-width: var(--layout-max); margin: 0 auto; padding: 0 var(--layout-pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; cursor: pointer; text-decoration: none; }
.brand-mark { width: 40px; height: 30px; object-fit: contain; display: block; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.03em; color: var(--white); line-height: 1; }
.brand-name b { color: inherit; }
.nav.scrolled .brand-name { color: var(--navy-900); }
.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; color: rgba(255,255,255,0.78);
  text-decoration: none; cursor: pointer; transition: color var(--dur-fast); position: relative; }
.nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a { color: var(--slate-600); }
.nav.scrolled .nav-links a:hover { color: var(--cobalt); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--white); }
.nav.scrolled .nav-toggle { color: var(--navy-900); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ── Language switcher ── */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.82); background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
  padding: 9px 14px; border-radius: var(--radius-pill); cursor: pointer; transition: all var(--dur-fast); }
.lang-btn:hover { background: rgba(255,255,255,0.18); color: #fff; }
.lang-btn svg { width: 17px; height: 17px; }
.lang-caret { transition: transform var(--dur-fast); }
.lang-caret.up { transform: rotate(180deg); }
.nav.scrolled .lang-btn { color: var(--slate-600); background: var(--mist); border-color: var(--border); }
.nav.scrolled .lang-btn:hover { color: var(--cobalt); border-color: var(--cobalt); }
.lang-menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 168px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 6px; z-index: 300; }
.lang-item { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 12px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--navy-900); background: none; border: none;
  text-align: start; padding: 11px 14px; border-radius: var(--radius-sm); cursor: pointer; transition: background var(--dur-fast); }
.lang-item:hover { background: var(--mist); }
.lang-item.active { color: var(--cobalt); }
.lang-item svg { width: 15px; height: 15px; color: var(--cobalt); }

.mobile-menu { position: fixed; inset: 0; z-index: 199; background: var(--navy-950);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease-out); }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 24px; font-weight: 700;
  letter-spacing: -0.02em; padding: 14px; cursor: pointer; }
.mobile-menu a:hover { color: var(--cobalt-bright); }
.mobile-menu .btn { margin-top: 20px; }

/* ───────────────── Hero ───────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center;
  color: var(--white); overflow: hidden; background: var(--navy-900);
  padding-top: 120px; padding-bottom: 60px; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 600px at 78% 18%, rgba(47,107,255,0.30), transparent 60%),
    radial-gradient(900px 700px at 8% 90%, rgba(26,58,107,0.55), transparent 65%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%); }
.hero-mesh { position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(circle at 60% 40%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 60% 40%, black, transparent 75%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(8px); pointer-events: none; }

.hero-inner { position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 620px; }
.hero-title { font-family: var(--font-display); font-weight: 800;
  font-size: var(--display-lg); line-height: 1.02; letter-spacing: -0.035em;
  margin: 24px 0 0; text-wrap: balance; }
.hero-title .grad { background: linear-gradient(96deg, var(--cobalt-bright), #9FC0FF 60%, var(--white));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(16px, 1.35vw, 19px); color: rgba(255,255,255,0.72);
  margin: 24px 0 0; line-height: 1.6; max-width: 520px; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 44px;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12); }
.hero-trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.66); font-weight: 500; }
.hero-trust-item svg { width: 17px; height: 17px; color: var(--cobalt-bright); flex: none; }

/* ───────── Hero background whale (deep-sea glow, slow light sweep, fades on scroll) ───────── */
.hero-whale-stage { position: absolute; z-index: 0; top: 50%; left: 50%;
  width: clamp(620px, 86vw, 1320px); aspect-ratio: 383 / 287; pointer-events: none; user-select: none;
  opacity: 0.3; animation: whaleFloat 9s var(--ease-in-out) infinite; will-change: transform, opacity; }
.hero-whale-stage::before { content: ""; position: absolute; inset: -10% -6%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle at 62% 48%, rgba(95,170,255,0.42), rgba(60,120,230,0.12) 45%, transparent 68%);
  filter: blur(16px); animation: deepGlow 6s var(--ease-in-out) infinite; }
.hero-bg-whale { position: relative; z-index: 1; width: 100%; height: auto; display: block;
  filter: drop-shadow(0 0 52px rgba(95,175,255,0.5)) drop-shadow(0 22px 60px rgba(10,26,56,0.4)); }
.hero-whale-shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen;
  -webkit-mask: url("../assets/jano_logo.png") center / contain no-repeat;
  mask: url("../assets/jano_logo.png") center / contain no-repeat;
  background: linear-gradient(108deg, transparent 36%, rgba(150,215,255,0.24) 46%, rgba(205,240,255,0.85) 50%, rgba(150,215,255,0.24) 54%, transparent 64%);
  background-size: 230% 100%; background-position: 140% 0;
  animation: whaleShine 11s var(--ease-in-out) infinite; }
@keyframes whaleFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(-1.6deg); }
  50% { transform: translate(-50%, calc(-50% - 22px)) rotate(1.6deg); }
}
@keyframes deepGlow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
@keyframes whaleShine {
  0% { background-position: 140% 0; }
  55%, 100% { background-position: -40% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-whale-stage { animation: none; transform: translate(-50%, -50%); }
  .hero-whale-stage::before, .hero-whale-shine { animation: none; }
}

/* ───────── Ocean — whales swimming back and forth ───────── */
.ocean { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.swim-lane { position: absolute; left: 0; right: 0; will-change: transform; }
.swim-lane.l1 { top: 12%; animation: bob1 8s var(--ease-in-out) infinite; }
.swim-lane.l2 { top: 58%; animation: bob2 11s var(--ease-in-out) infinite; }
.swim-whale { position: absolute; left: 0; top: 0; height: auto; display: block; will-change: transform, filter; }
.swim-whale.s1 { width: clamp(330px, 40vw, 600px); opacity: 0.24;
  animation: swimRight 32s var(--ease-in-out) infinite, glowPulse 6s var(--ease-in-out) infinite; }
.swim-whale.s2 { width: clamp(210px, 26vw, 400px); opacity: 0.12;
  animation: swimLeft 44s var(--ease-in-out) infinite, glowPulse 7.5s var(--ease-in-out) infinite; }
@keyframes bob1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(18px); } }
@keyframes bob2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 38px rgba(95,175,255,0.4)) drop-shadow(0 16px 38px rgba(6,17,42,0.5)); }
  50% { filter: drop-shadow(0 0 72px rgba(125,200,255,0.72)) drop-shadow(0 16px 38px rgba(6,17,42,0.5)); }
}
/* faces left at scaleX(1); flips to face the swim direction at each turn */
@keyframes swimRight {
  0% { transform: translateX(-44vw) scaleX(-1); }
  45% { transform: translateX(106vw) scaleX(-1); }
  50% { transform: translateX(106vw) scaleX(1); }
  95% { transform: translateX(-44vw) scaleX(1); }
  100% { transform: translateX(-44vw) scaleX(-1); }
}
@keyframes swimLeft {
  0% { transform: translateX(106vw) scaleX(1); }
  48% { transform: translateX(-38vw) scaleX(1); }
  53% { transform: translateX(-38vw) scaleX(-1); }
  96% { transform: translateX(106vw) scaleX(-1); }
  100% { transform: translateX(106vw) scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .swim-lane, .swim-whale { animation: none !important; }
  .swim-whale.s2 { display: none; }
}
/* dark sections that host an ocean: keep content above, clip whales */
.section.has-ocean { overflow: hidden; }
.section.has-ocean > .wrap { position: relative; z-index: 1; }

/* ───────── Phone / J-Wallet mockup ───────── */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
  border-radius: 42px; padding: 11px; box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.06) inset;
  border: 1px solid rgba(255,255,255,0.10); }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 24px; background: #060E22; border-radius: 0 0 14px 14px; z-index: 6; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden;
  background: linear-gradient(180deg, var(--navy-700), var(--navy-900)); display: flex; flex-direction: column; }
.jw-status { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px 4px; font-size: 11px; color: rgba(255,255,255,0.8); font-weight: 600; }
.jw-status .dots { display: flex; gap: 4px; align-items: center; }
.jw-top { padding: 16px 20px 8px; display: flex; align-items: center; justify-content: space-between; }
.jw-hi { font-size: 12px; color: rgba(255,255,255,0.6); }
.jw-name { font-size: 15px; font-weight: 700; color: #fff; margin-top: 2px; }
.jw-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--cobalt), var(--cobalt-bright)); }
.jw-card { margin: 8px 16px 0; border-radius: 18px; padding: 18px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(125deg, var(--cobalt-deep), var(--cobalt) 55%, #6FA0FF);
  box-shadow: 0 12px 30px rgba(47,107,255,0.4); }
.jw-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px;
  border-radius: 50%; background: rgba(255,255,255,0.14); }
.jw-card .lbl { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.jw-card .bal { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; }
.jw-card .sub { font-size: 11px; opacity: 0.85; margin-top: 6px; display: flex; gap: 6px; align-items: center; }
.jw-card .chip { position: absolute; bottom: 16px; right: 18px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.jw-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; padding: 16px; }
.jw-action { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 9.5px; color: rgba(255,255,255,0.72); }
.jw-action .ic { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; }
.jw-action .ic svg { width: 17px; height: 17px; color: var(--cobalt-bright); }
.jw-list { background: #fff; margin-top: auto; border-radius: 20px 20px 0 0; padding: 14px 16px 20px; }
.jw-list-h { font-size: 11px; font-weight: 700; color: var(--navy-900); margin-bottom: 10px; display: flex; justify-content: space-between; }
.jw-list-h span:last-child { color: var(--cobalt); }
.jw-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.jw-row .tic { width: 32px; height: 32px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; }
.jw-row .meta { flex: 1; min-width: 0; }
.jw-row .meta .t1 { font-size: 12px; font-weight: 600; color: var(--navy-900); }
.jw-row .meta .t2 { font-size: 10px; color: var(--slate-500); }
.jw-row .amt { font-size: 12px; font-weight: 700; }
.jw-row .amt.pos { color: #1F9D63; }
.jw-row .amt.neg { color: var(--navy-700); }

.hero-badge { position: absolute; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; z-index: 5; }
.hero-badge .bi { width: 34px; height: 34px; border-radius: 9px; background: var(--cobalt-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.hero-badge .bi svg { width: 18px; height: 18px; color: var(--cobalt); }
.hero-badge .bt1 { font-size: 11px; color: var(--slate-500); }
.hero-badge .bt2 { font-size: 14px; font-weight: 800; color: var(--navy-900); letter-spacing: -0.01em; }
.hero-badge.b1 { top: 16%; left: -8%; }
.hero-badge.b2 { bottom: 14%; right: -10%; }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(255,255,255,0.55);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; animation: cue 2.4s var(--ease-in-out) infinite; }
.scroll-cue .m { width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,0.3); border-radius: 12px; position: relative; }
.scroll-cue .m::after { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; border-radius: 2px; background: var(--cobalt-bright); }
@keyframes cue { 0%,100%{ transform: translate(-50%,0); } 50%{ transform: translate(-50%,7px); } }

/* ───────────────── Logo cloud / trust band ───────────────── */
.statband { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; padding: 0 14px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: var(--border); }
.stat-ic { width: 46px; height: 46px; border-radius: 13px; margin: 0 auto 16px; background: var(--cobalt-soft);
  display: flex; align-items: center; justify-content: center; }
.stat-ic svg { width: 22px; height: 22px; color: var(--cobalt); stroke-width: 1.8; }
.section.dark .stat-ic { background: rgba(47,107,255,0.16); }

/* About page 2-column layout */
.about-layout { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.about-trust-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--fg-muted); font-weight: 600; }
.about-trust-item svg { width: 17px; height: 17px; color: var(--cobalt); flex: none; }
.stat-stack { padding: clamp(18px, 2.2vw, 30px) clamp(24px, 3vw, 42px); }
.stat-row { display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: center; padding: clamp(16px, 1.9vw, 26px) 0; border-bottom: 1px solid var(--border); }
.stat-row:last-child { border-bottom: none; }
.stat-row .stat-ic { margin: 0; width: 52px; height: 52px; }
.sr-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3.3vw, 46px); line-height: 1; letter-spacing: -0.035em; color: var(--navy-900); }
.sr-big .u { font-size: 0.5em; color: var(--cobalt); margin-left: 2px; }
.sr-lbl { font-size: 13.5px; color: var(--fg-muted); margin-top: 7px; font-weight: 500; }

/* Purpose page — taller cards + watermark + CTA */
.value-card { min-height: 320px; padding: 42px 34px; position: relative; overflow: hidden; }
.value-watermark { position: absolute; top: 16px; inset-inline-end: 24px; font-family: var(--font-display); font-weight: 800;
  font-size: 76px; line-height: 1; color: var(--cobalt); opacity: 0.08; pointer-events: none; letter-spacing: -0.04em; }
.value-ic { margin-bottom: 28px; }
.purpose-cta { display: flex; justify-content: center; margin-top: clamp(30px, 4vw, 52px); }
.stat-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1; letter-spacing: -0.035em; color: var(--navy-900); }
.section.dark .stat-big { color: var(--white); }
.stat-big .u { font-size: 0.5em; color: var(--cobalt); margin-left: 2px; }
.stat-lbl { font-size: 13px; color: var(--fg-muted); margin-top: 12px; font-weight: 600; line-height: 1.4; }
.section.dark .stat-lbl { color: rgba(255,255,255,0.6); }

/* ───────────────── Values (Purpose) ───────────────── */
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.value-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 30px; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
  display: flex; flex-direction: column; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--cobalt); }
.value-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--cobalt-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.value-ic svg { width: 27px; height: 27px; color: var(--cobalt); stroke-width: 1.7; }
.value-num { font-family: var(--font-mono); font-size: 12px; color: var(--cobalt); letter-spacing: 0.08em; margin-bottom: 14px; }
.value-title { font-size: var(--h4); font-weight: 700; letter-spacing: -0.01em; color: var(--navy-900); margin: 0 0 12px; }
.value-desc { font-size: 15px; color: var(--fg-muted); line-height: 1.65; margin: 0; }

/* ───────────────── Services (7) ───────────────── */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; transition: all var(--dur) var(--ease-out); position: relative; overflow: hidden;
  display: flex; flex-direction: column; min-height: 200px; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--cobalt); }
.svc-ic { width: 50px; height: 50px; border-radius: 14px; background: var(--mist); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px; transition: all var(--dur); }
.svc-ic svg { width: 24px; height: 24px; color: var(--navy-700); stroke-width: 1.7; }
.svc-card:hover .svc-ic { background: var(--cobalt); border-color: var(--cobalt); }
.svc-card:hover .svc-ic svg { color: #fff; }
.svc-name { font-size: 17px; font-weight: 700; color: var(--navy-900); margin: 0 0 8px; letter-spacing: -0.01em; }
.svc-desc { font-size: 13.5px; color: var(--fg-muted); line-height: 1.55; margin: 0; }
.svc-card.feature { grid-column: span 2; background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff; border: none; justify-content: center; }
.svc-card.feature .svc-name { color: #fff; font-size: 24px; }
.svc-card.feature .svc-desc { color: rgba(255,255,255,0.72); font-size: 15px; }
.svc-card.feature .svc-ic { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.16); }
.svc-card.feature .svc-ic svg { color: var(--cobalt-bright); }
.svc-card.feature::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px;
  border-radius: 50%; background: radial-gradient(circle, var(--cobalt-glow), transparent 70%); }
.svc-card.feature .tag { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cobalt-bright); font-weight: 700; margin-bottom: 14px; position: relative; z-index: 1; }

/* ───────────────── How it works (flow) ───────────────── */
.flow { position: relative; }
.flow-rail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; align-items: stretch; position: relative; }
.flow-node { position: relative; padding: 0 10px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.flow-box { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 26px 18px; min-height: 188px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  transition: all var(--dur) var(--ease-out); }
.flow-node.core .flow-box { background: linear-gradient(160deg, var(--cobalt-deep), var(--cobalt)); border-color: transparent; box-shadow: var(--shadow-glow); }
.flow-node:hover .flow-box { border-color: var(--cobalt-bright); background: rgba(47,107,255,0.10); transform: translateY(-4px); }
.flow-node.core:hover .flow-box { transform: translateY(-4px); }
.flow-ic { width: 48px; height: 48px; border-radius: 13px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.flow-ic svg { width: 24px; height: 24px; color: var(--cobalt-bright); stroke-width: 1.7; }
.flow-node.core .flow-ic { background: rgba(255,255,255,0.18); }
.flow-node.core .flow-ic svg { color: #fff; }
.flow-name { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 7px; letter-spacing: -0.01em; }
.flow-tags { font-size: 11.5px; color: rgba(255,255,255,0.6); line-height: 1.55; margin: 0; }
.flow-node.core .flow-tags { color: rgba(255,255,255,0.85); }
.flow-arrow { position: absolute; top: 50%; inset-inline-end: -10px; transform: translateY(-50%); z-index: 3; color: var(--cobalt-bright); }
.flow-arrow svg { width: 22px; height: 22px; }
.flow-foot { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.flow-pill { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.8); padding: 9px 16px;
  border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.04); }
.flow-pill b { color: var(--cobalt-bright); }

/* Stacked (alt) flow */
.flow.stacked .flow-rail { grid-template-columns: 1fr; gap: 14px; }
.flow.stacked .flow-box { flex-direction: row; align-items: center; text-align: left; min-height: 0; gap: 18px; padding: 20px 24px; }
.flow.stacked .flow-ic { margin-bottom: 0; }
.flow.stacked .flow-arrow { top: auto; right: auto; bottom: -14px; left: 44px; transform: rotate(90deg); }
.flow.stacked .flow-meta { flex: 1; }

/* ───────────────── Fee comparison ───────────────── */
.fee-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-md); }
.fee-grid { display: grid; gap: 18px; }
.fee-row { display: grid; grid-template-columns: 180px 1fr auto; gap: 18px; align-items: center; }
.fee-name { font-size: 15px; font-weight: 600; color: var(--navy-900); }
.fee-name small { display: block; font-size: 12px; color: var(--slate-500); font-weight: 500; }
.fee-bar { height: 16px; border-radius: var(--radius-pill); background: var(--ice); overflow: hidden; }
.fee-fill { height: 100%; border-radius: var(--radius-pill); width: 0; transition: width 1.1s var(--ease-out); }
.fee-fill.jano { background: linear-gradient(90deg, var(--cobalt), var(--cobalt-bright)); }
.fee-fill.card { background: linear-gradient(90deg, #93A4C4, #B6C4DC); }
.fee-fill.bank { background: linear-gradient(90deg, #6B7B9A, #94A2BE); }
.fee-val { font-family: var(--font-mono); font-weight: 700; font-size: 17px; color: var(--navy-900); min-width: 92px; text-align: right; }
.fee-val.hl { color: var(--cobalt); }
.fee-note { font-size: 12.5px; color: var(--slate-500); margin: 22px 0 0; }

/* ───────────────── Why Jano ───────────────── */
.why-layout { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.subbrand-row { display: flex; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.subbrand { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: var(--radius-pill);
  background: var(--cobalt-soft); border: 1px solid var(--cloud); font-size: 14px; font-weight: 700; color: var(--navy-700); }
.subbrand .d { width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); }
.subbrand.card .d { background: var(--whale-red); }
.why-features { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.feature-item { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.feature-item:last-child { border-bottom: none; }
.feature-ic { width: 48px; height: 48px; border-radius: 13px; background: var(--mist); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; }
.feature-ic svg { width: 23px; height: 23px; color: var(--cobalt); stroke-width: 1.7; }
.feature-t { font-size: 17px; font-weight: 700; color: var(--navy-900); margin: 0 0 5px; }
.feature-d { font-size: 14.5px; color: var(--fg-muted); line-height: 1.6; margin: 0; }
.why-visual { position: relative; display: flex; justify-content: center; }
.why-visual .phone { width: 300px; }
.why-glow { position: absolute; inset: -10% -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, var(--cobalt-soft), transparent 65%); }

/* ───────────────── Markets ───────────────── */
.markets-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 48px; align-items: center; }
.map-wrap { position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); padding: 28px; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 11; }
.map-wrap svg { width: 100%; height: 100%; display: block; }
.map-dot { fill: var(--cobalt-bright); }
.region-cards { display: flex; flex-direction: column; gap: 16px; }
.region-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 26px;
  transition: all var(--dur) var(--ease-out); }
.region-card:hover { border-color: var(--cobalt); box-shadow: var(--shadow-md); transform: translateX(4px); }
.region-card .rn { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt); font-weight: 700; }
.region-card .rt { font-size: 21px; font-weight: 800; color: var(--navy-900); margin: 8px 0 0; letter-spacing: -0.02em; }
.region-card .rd { font-size: 14px; color: var(--fg-muted); line-height: 1.6; margin: 10px 0 0; }
.region-card .rmeta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.region-card .rchip { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--mist); color: var(--slate-600); border: 1px solid var(--border); }

/* ───────────────── Global presence (entities) ───────────────── */
.entities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.entity-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg);
  padding: 34px 30px; transition: all var(--dur) var(--ease-out); }
.entity-card:hover { background: rgba(47,107,255,0.08); border-color: var(--cobalt); transform: translateY(-5px); }
.entity-flag { font-size: 34px; line-height: 1; }
.entity-loc { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt-bright); font-weight: 700; margin: 18px 0 6px; }
.entity-name { font-size: 20px; font-weight: 800; color: #fff; margin: 0; letter-spacing: -0.02em; }
.entity-meta { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-direction: column; gap: 10px; }
.entity-meta li { display: flex; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,0.72); line-height: 1.5; }
.entity-meta li svg { width: 16px; height: 16px; color: var(--cobalt-bright); flex: none; margin-top: 2px; }
.entity-license { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-size: 12px; font-weight: 600;
  color: #6FE0A8; background: rgba(31,157,99,0.14); border: 1px solid rgba(31,157,99,0.3); padding: 6px 12px; border-radius: var(--radius-pill); }
.entity-license svg { width: 14px; height: 14px; }

/* ───────────────── Contact ───────────────── */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-aside .ct { font-size: var(--h2); font-weight: 800; letter-spacing: -0.025em; color: var(--navy-900); margin: 16px 0 0; line-height: 1.1; }
.contact-aside .cd { font-size: 16px; color: var(--fg-muted); margin: 18px 0 32px; line-height: 1.65; }
.contact-info { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-info li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.contact-info .ci { width: 44px; height: 44px; border-radius: 12px; background: var(--cobalt-soft); display: flex; align-items: center; justify-content: center; }
.contact-info .ci svg { width: 20px; height: 20px; color: var(--cobalt); }
.contact-info .ck { font-size: 12px; color: var(--slate-500); }
.contact-info .cv { font-size: 15px; font-weight: 600; color: var(--navy-900); }

.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: clamp(28px, 3.5vw, 44px); box-shadow: var(--shadow-md); }
.topic-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.topic { padding: 9px 17px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); background: var(--white);
  font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--slate-600); cursor: pointer; transition: all var(--dur-fast); }
.topic:hover { border-color: var(--cobalt); color: var(--cobalt); }
.topic.active { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--navy-900); letter-spacing: 0.01em; }
.field input, .field textarea { width: 100%; font-family: var(--font-sans); font-size: 14.5px; padding: 13px 15px;
  border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--white); color: var(--navy-900); transition: all var(--dur-fast); }
.field input::placeholder, .field textarea::placeholder { color: var(--slate-400); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(47,107,255,0.12); }
.field textarea { resize: vertical; min-height: 110px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.form-consent { font-size: 12.5px; color: var(--slate-500); display: flex; align-items: center; gap: 8px; }
.form-success { text-align: center; padding: 40px 20px; }
.form-success .sc { width: 64px; height: 64px; border-radius: 50%; background: rgba(31,157,99,0.12); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.form-success .sc svg { width: 30px; height: 30px; color: #1F9D63; }
.form-success h3 { font-size: 22px; font-weight: 800; color: var(--navy-900); margin: 0 0 8px; }
.form-success p { font-size: 14.5px; color: var(--fg-muted); margin: 0; }

/* ───────────────── Footer ───────────────── */
.footer { background: var(--navy-950); color: rgba(255,255,255,0.6); padding: 72px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.footer-brand .brand-name { color: #fff; }
.footer-tag { font-size: 14px; color: rgba(255,255,255,0.55); margin: 18px 0 0; line-height: 1.65; max-width: 300px; }
.footer-col h5 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin: 0 0 18px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li { font-size: 14px; color: rgba(255,255,255,0.7); text-decoration: none; cursor: pointer; transition: color var(--dur-fast); }
.footer-col a:hover { color: var(--cobalt-bright); }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-top: 28px; flex-wrap: wrap; }
.footer-legal { font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,0.45); max-width: 720px; }
.footer-copy { font-size: 12.5px; color: rgba(255,255,255,0.45); }

/* ───────────────── Reveal animation ───────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-cine) var(--ease-out), transform var(--dur-cine) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 80ms; }
.reveal.d2 { transition-delay: 160ms; }
.reveal.d3 { transition-delay: 240ms; }
.reveal.d4 { transition-delay: 320ms; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .scroll-cue, .hero-orb { animation: none; } }

/* ───────────────── RTL (Arabic) ───────────────── */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .dir-flip { transform: scaleX(-1); }
[dir="rtl"] .hero-sub, [dir="rtl"] .section-sub, [dir="rtl"] .hero-title,
[dir="rtl"] .value-desc, [dir="rtl"] .feature-d, [dir="rtl"] .rd, [dir="rtl"] .footer-legal { text-align: start; }
[dir="rtl"] .hero-badge.b1 { left: auto; right: -8%; }
[dir="rtl"] .hero-badge.b2 { right: auto; left: -10%; }
[dir="rtl"] .flow.stacked .flow-arrow,
[dir="rtl"] .flow-rail .flow-arrow { transform: translateY(-50%) scaleX(-1); }
[dir="rtl"] .fee-val { text-align: left; }
[dir="rtl"] .jw-status, [dir="rtl"] .jw-card .chip { direction: ltr; }
@media (max-width: 920px) {
  [dir="rtl"] .flow-arrow { transform: rotate(90deg); }
}

/* ───────────────── Responsive ───────────────── */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-card.feature { grid-column: span 3; min-height: 0; padding: 30px; }
}
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-badge.b1 { left: 2%; }
  .hero-badge.b2 { right: 2%; }
  .why-layout, .markets-layout, .contact-layout, .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { order: -1; }
  .statband { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .values { grid-template-columns: 1fr; }
  .entities { grid-template-columns: 1fr; }
  .flow-rail { grid-template-columns: 1fr; gap: 14px; }
  .flow-box { flex-direction: row; align-items: center; text-align: left; min-height: 0; gap: 18px; padding: 20px 22px; }
  .flow-ic { margin-bottom: 0; }
  .flow-arrow { top: auto; right: auto; bottom: -14px; left: 42px; transform: rotate(90deg); }
  .flow-meta { flex: 1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  :root { --layout-pad: 20px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc-card.feature { grid-column: 1 / -1; }
  .field-grid { grid-template-columns: 1fr; }
  .fee-row { grid-template-columns: 1fr; gap: 8px; }
  .fee-val { text-align: left; }
  .footer-top { grid-template-columns: 1fr; }
  .statband { grid-template-columns: 1fr 1fr; }
  .hero-badge { display: none; }
}
