/* ==========================================================================
   MYLOCUS — Landing page styles
   (정책 페이지용 styles.css 와 분리된 랜딩 전용 스타일시트)
   ========================================================================== */

:root {
  --ink: #0d1b33;
  --ink-2: #24344f;
  --muted: #5b6b80;
  --line: #dfe7f3;
  --line-soft: rgba(223, 231, 243, 0.7);
  --blue: #2f6fed;
  --blue-deep: #1f4fd8;
  --blue-ink: #14305f;
  --sky: #eaf2ff;
  --sky-2: #f4f8ff;
  --gold: #c9921e;
  --gold-bright: #ecc05a;
  --gold-soft: #fff6df;
  --paper: #ffffff;
  --bg: #f7faff;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 8px 24px rgba(18, 42, 84, 0.07);
  --shadow-md: 0 18px 48px rgba(18, 42, 84, 0.1);
  --shadow-lg: 0 30px 80px rgba(18, 42, 84, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  word-break: keep-all;
  font-family: "Pretendard Variable", Pretendard, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(900px 500px at 88% -4%, rgba(47, 111, 237, 0.12), transparent 60%),
    radial-gradient(700px 420px at -8% 18%, rgba(236, 192, 90, 0.09), transparent 60%),
    linear-gradient(180deg, #f4f8ff 0%, #ffffff 900px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(47, 111, 237, 0.35);
  outline-offset: 3px;
  border-radius: 8px;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px rgba(18, 42, 84, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 13px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  color: #fff;
  font-size: 17px;
  background: linear-gradient(145deg, #4d86ff, var(--blue-deep));
  box-shadow: 0 8px 20px rgba(47, 111, 237, 0.32);
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 650;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  color: var(--blue-deep);
  background: var(--sky);
}

.language-switcher {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

.language-switcher button {
  min-height: 28px;
  padding: 3px 10px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.language-switcher button[aria-pressed="true"] {
  color: #fff;
  background: var(--blue);
}

.language-switcher button:not([aria-pressed="true"]):hover {
  color: var(--blue-ink);
  background: var(--sky);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 20px;
  border-radius: 999px;
  color: #fff;
  font-size: 14.5px;
  font-weight: 750;
  background: linear-gradient(135deg, #3d7bff, var(--blue-deep));
  box-shadow: 0 10px 24px rgba(47, 111, 237, 0.3);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
  white-space: nowrap;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(47, 111, 237, 0.38);
}

/* --------------------------------------------------------------------------
   Shared section scaffolding
   -------------------------------------------------------------------------- */

.section {
  padding: 96px 0;
}

.section.tight {
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(47, 111, 237, 0.22);
  background: rgba(234, 242, 255, 0.7);
  color: var(--blue-deep);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
}

.eyebrow.gold {
  border-color: rgba(201, 146, 30, 0.35);
  background: rgba(255, 246, 223, 0.8);
  color: #9a6c0d;
}

.eyebrow.gold::before {
  background: var(--gold-bright);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.18;
  font-weight: 800;
  color: var(--ink);
}

.section h2 .hl,
.hero-copy h1 .hl {
  color: var(--blue-deep);
}

.lead {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 18.5px);
  line-height: 1.8;
  text-wrap: pretty;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center .lead {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Store buttons
   -------------------------------------------------------------------------- */

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.store-btn {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 12px;
  min-width: 188px;
  padding: 11px 22px 12px 18px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(160deg, #18253e, #0d1b33);
  box-shadow: 0 14px 32px rgba(13, 27, 51, 0.28);
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(13, 27, 51, 0.34);
}

.store-btn .glyph {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 16px;
  font-weight: 800;
}

.store-btn small {
  display: block;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1;
  align-self: end;
}

.store-btn strong {
  font-size: 17.5px;
  font-weight: 750;
  line-height: 1.15;
  align-self: start;
  letter-spacing: 0;
}

.store-note {
  margin: 14px 2px 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: 64px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.12;
  font-weight: 850;
  color: var(--ink);
}

.hero-copy .lead {
  max-width: 560px;
}

.lang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.lang-chips span {
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 650;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10% -6% -6% -4%;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(47, 111, 237, 0.18), transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-art {
  position: relative;
  z-index: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #eef3ff, #e3edff);
  box-shadow: var(--shadow-lg);
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

/* floating glass cards over the hero art */
.float-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px rgba(18, 42, 84, 0.16);
  font-size: 13.5px;
  animation: floaty 6s ease-in-out infinite;
}

.float-card strong {
  font-size: 13.5px;
  font-weight: 750;
  color: var(--ink);
  letter-spacing: 0;
}

.float-card em {
  font-style: normal;
  color: var(--muted);
  font-size: 12.5px;
}

.float-card .ok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0d8a66;
  font-weight: 750;
  font-size: 12.5px;
}

.float-card .ok::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #d9f6ea;
  font-size: 10px;
}

.float-a {
  top: 7%;
  left: -3%;
  animation-delay: 0s;
}

.float-b {
  bottom: 9%;
  right: -3%;
  animation-delay: -3s;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* hero entrance + gentle float (모션 허용 시에만) */
@media (prefers-reduced-motion: no-preference) {
  .hero-art {
    animation: heroFloat 7.5s ease-in-out infinite;
  }

  .hero-copy > *,
  .hero-visual {
    opacity: 0;
    animation: heroIn 0.85s var(--ease) both;
  }

  .hero-copy .eyebrow { animation-delay: 0.05s; }
  .hero-copy h1 { animation-delay: 0.14s; }
  .hero-copy .lead { animation-delay: 0.26s; }
  .hero-copy .store-row { animation-delay: 0.36s; }
  .hero-copy .store-note { animation-delay: 0.44s; }
  .hero-copy .lang-chips { animation-delay: 0.52s; }
  .hero-visual { animation: heroVisualIn 1s var(--ease) 0.2s both; }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes heroVisualIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   Problem
   -------------------------------------------------------------------------- */

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

.problem-card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.problem-card .num {
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--sky), #dcebff);
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 850;
}

.problem-card h3 {
  font-size: 19px;
  font-weight: 750;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 10px;
}

.problem-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  text-wrap: pretty;
}

/* a frozen-chat vignette above the cards */
.frozen-chat {
  display: grid;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto 56px;
  padding: 26px 26px 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #fff, #f6f9ff);
  box-shadow: var(--shadow-md);
}

.frozen-chat .b {
  width: fit-content;
  max-width: 85%;
  padding: 10px 16px;
  border-radius: 16px 16px 16px 5px;
  background: #eef3fb;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 600;
}

.frozen-chat .b.me {
  margin-left: auto;
  border-radius: 16px 16px 5px 16px;
  background: linear-gradient(135deg, #3d7bff, var(--blue-deep));
  color: #fff;
}

.frozen-chat .b.me.frozen {
  background: #fff;
  border: 1.5px dashed #c4d3ec;
  color: #9aa9c0;
  letter-spacing: 3px;
}

.frozen-chat .caption {
  margin-top: 8px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Solution — phone + practice steps
   -------------------------------------------------------------------------- */

.solution-band {
  border-radius: 36px;
  background:
    radial-gradient(700px 420px at 90% 0%, rgba(47, 111, 237, 0.14), transparent 55%),
    linear-gradient(165deg, #ffffff, #eef4ff);
  border: 1px solid rgba(216, 228, 247, 0.9);
  box-shadow: var(--shadow-md);
  padding: 72px 64px;
}

.scenario-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 54px;
}

.scenario-pills > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(18, 42, 84, 0.05);
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 650;
}

.scenario-pills > span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--dot, var(--blue));
}

.solution-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
}

/* phone frame (스크린샷 교체 가능 placeholder) */
.phone {
  position: relative;
  width: min(320px, 88%);
  margin: 0 auto;
  border-radius: 48px;
  border: 11px solid #0e1626;
  background: #0e1626;
  box-shadow: 0 36px 80px rgba(13, 27, 51, 0.32);
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 24px;
  border-radius: 999px;
  background: #0e1626;
  z-index: 3;
}

.phone-screen {
  position: relative;
  min-height: 600px;
  border-radius: 38px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff, #edf3fe);
  display: flex;
  flex-direction: column;
}

/* 실제 앱 스크린샷으로 교체할 때 사용하는 클래스:
   .phone-screen 내부를 <img class="phone-shot" src="assets/…png" alt=""> 하나로 교체 */
.phone-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 18px 24px 0;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 750;
}

.phone-head {
  display: grid;
  gap: 3px;
  padding: 20px 22px 14px;
}

.phone-head strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.phone-head em {
  font-style: normal;
  font-size: 12px;
  font-weight: 650;
  color: var(--blue-deep);
}

.phone-progress {
  height: 5px;
  margin: 6px 22px 4px;
  border-radius: 99px;
  background: #dde7f6;
  overflow: hidden;
}

.phone-progress i {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #4d86ff, var(--blue-deep));
}

.phone-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
}

.phone-chat .b {
  width: fit-content;
  max-width: 88%;
  padding: 11px 15px;
  border-radius: 15px 15px 15px 4px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(18, 42, 84, 0.07);
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
}

.phone-chat .b.me {
  margin-left: auto;
  border-radius: 15px 15px 4px 15px;
  background: linear-gradient(135deg, #3d7bff, var(--blue-deep));
  color: #fff;
}

.phone-chat .b .tr {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  font-weight: 550;
  color: #8da0bc;
}

.phone-chat .b.me .tr {
  color: rgba(255, 255, 255, 0.72);
}

.phone-praise {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 2px auto 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: #dcf7ec;
  color: #0d8a66;
  font-size: 12.5px;
  font-weight: 800;
}

.phone-mic {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 10px 16px 18px;
  padding: 12px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(18, 42, 84, 0.1);
}

.phone-mic .mic-dot {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(145deg, #4d86ff, var(--blue-deep));
  box-shadow: 0 8px 18px rgba(47, 111, 237, 0.35);
}

.phone-mic .mic-dot::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: #fff;
}

.phone-mic .wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
}

.phone-mic .wave i {
  width: 3px;
  border-radius: 99px;
  background: #b9cdf2;
  height: var(--h, 10px);
}

.phone-mic .wave i:nth-child(3n) {
  background: var(--blue);
}

.practice-steps {
  display: grid;
  gap: 14px;
}

.practice-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  align-items: center;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.practice-step:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.practice-step .badge {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(150deg, #e7f0ff, #d4e5ff);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.practice-step strong {
  font-size: 17px;
  font-weight: 770;
  color: var(--ink);
}

.practice-step p {
  margin: 0;
  grid-column: 2;
  color: var(--muted);
  font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */

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

.feature-card {
  position: relative;
  padding: 32px 30px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #6da0ff, var(--blue));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47,111,237,.2);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 111, 237, 0.09), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.feature-card .num {
  display: block;
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.feature-card h3 {
  font-size: 19.5px;
  font-weight: 770;
  margin-bottom: 10px;
  color: var(--ink);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  text-wrap: pretty;
}

.feature-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.feature-card .tags span {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 720;
}

/* --------------------------------------------------------------------------
   Learning flow
   -------------------------------------------------------------------------- */

.flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.flow-track::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, #cfe0fb, var(--blue), #cfe0fb);
  opacity: 0.55;
}

.flow-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0;
  padding: 0 8px;
  text-align: center;
}

.flow-step .dot {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #cfe0fb;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(18, 42, 84, 0.1);
  z-index: 1;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.flow-step:hover .dot {
  border-color: var(--blue);
  transform: scale(1.08);
}

.flow-step:last-child .dot {
  border-color: var(--gold-bright);
  color: var(--gold);
  background: linear-gradient(160deg, #fffdf6, var(--gold-soft));
}

.flow-step strong {
  margin-top: 18px;
  font-size: 16.5px;
  font-weight: 770;
  color: var(--ink);
}

.flow-step p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Languages
   -------------------------------------------------------------------------- */

.lang-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.lang-card {
  display: grid;
  gap: 4px;
  padding: 32px 26px 26px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(220px 130px at 85% -10%, rgba(47, 111, 237, 0.1), transparent 70%),
    rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.lang-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(47,111,237,.2);
}

.lang-card .greet {
  font-size: clamp(26px, 2.6vw, 33px);
  font-weight: 830;
  color: var(--blue-deep);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.lang-card strong {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 770;
  color: var(--ink);
}

.lang-card em {
  font-style: normal;
  color: var(--muted);
  font-size: 13.5px;
}

.lang-note {
  margin: 26px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   Gold membership
   -------------------------------------------------------------------------- */

.gold-card {
  position: relative;
  border-radius: 32px;
  padding: 72px 64px;
  color: #f4ecd9;
  background:
    radial-gradient(640px 320px at 88% 8%, rgba(236, 192, 90, 0.18), transparent 60%),
    radial-gradient(500px 300px at 4% 96%, rgba(61, 123, 255, 0.16), transparent 60%),
    linear-gradient(160deg, #101d38, #0b1426);
  border: 1px solid rgba(236, 192, 90, 0.28);
  box-shadow: 0 40px 100px rgba(13, 27, 51, 0.35);
  overflow: hidden;
}

.gold-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(130deg, rgba(236, 192, 90, 0.55), transparent 36%, transparent 64%, rgba(236, 192, 90, 0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.gold-card h2 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 42px);
}

.gold-card h2 .hl {
  background: linear-gradient(100deg, #f3d489, #d9a73a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gold-card .lead {
  color: rgba(244, 236, 217, 0.75);
}

.gold-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.gold-benefit {
  padding: 24px 24px 22px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(6px);
}

.gold-benefit .gb-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(243, 212, 137, 0.25), rgba(217, 167, 58, 0.16));
  border: 1px solid rgba(236, 192, 90, 0.35);
  color: #f3d489;
  font-size: 15px;
  font-weight: 850;
}

.gold-benefit strong {
  display: block;
  color: #fff;
  font-size: 16.5px;
  font-weight: 750;
  margin-bottom: 6px;
}

.gold-benefit p {
  margin: 0;
  color: rgba(244, 236, 217, 0.66);
  font-size: 14px;
  line-height: 1.7;
}

.gold-note {
  margin: 30px 0 0;
  color: rgba(244, 236, 217, 0.5);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.cta-panel {
  position: relative;
  text-align: center;
  padding: 88px 32px;
  border-radius: 36px;
  background:
    radial-gradient(800px 420px at 50% -30%, rgba(47, 111, 237, 0.22), transparent 60%),
    radial-gradient(500px 300px at 90% 110%, rgba(47,111,237,.1), transparent 50%),
    linear-gradient(170deg, #eef5ff, #e0ecff);
  border: 1px solid rgba(180, 210, 250, 0.95);
  box-shadow: 0 30px 80px rgba(18,42,84,.12);
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(47,111,237,.06)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-panel h2 {
  font-size: clamp(30px, 4.4vw, 50px);
}

.cta-panel .lead {
  margin-inline: auto;
}

.cta-panel .store-row {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line-soft);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding: 56px 0 40px;
}

.footer-brand p {
  max-width: 320px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.footer-col strong {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.footer-col nav {
  display: grid;
  gap: 9px;
}

.footer-col a {
  width: fit-content;
  color: var(--muted);
  font-size: 14.5px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--blue-deep);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line-soft);
  color: #8a97ab;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .float-card {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .feature-grid,
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .flow-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 16px;
  }

  .flow-track::before {
    display: none;
  }
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .language-switcher {
    margin-left: auto;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-grid,
  .solution-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .lead,
  .hero-copy .lang-chips,
  .hero-copy .store-row {
    justify-content: center;
    margin-inline: auto;
  }

  .solution-band {
    padding: 48px 28px;
  }

  .gold-card {
    padding: 52px 30px;
  }

  .gold-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 720px) {
  .gold-benefits {
    grid-template-columns: 1fr;
  }
}

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

  .section {
    padding: 56px 0;
  }

  .section.tight {
    padding: 44px 0;
  }

  .header-cta {
    display: none;
  }

  .feature-grid,
  .problem-grid {
    grid-template-columns: 1fr;
  }

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

  .flow-track {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flow-step {
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: left;
    gap: 2px 16px;
  }

  .flow-step .dot {
    grid-row: span 2;
    width: 46px;
    height: 46px;
    font-size: 13px;
  }

  .flow-step strong {
    margin-top: 0;
    align-self: end;
    font-size: 15px;
  }

  .flow-step p {
    grid-column: 2;
    font-size: 13px;
  }

  .float-card {
    display: none;
  }

  .phone-screen {
    min-height: 480px;
  }

  .store-row {
    width: 100%;
    flex-direction: column;
  }

  .store-btn {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  .cta-panel {
    padding: 52px 20px;
    border-radius: 24px;
  }

  .gold-card {
    padding: 36px 22px;
    border-radius: 24px;
  }

  .gold-benefits {
    gap: 12px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section h2 {
    font-size: clamp(26px, 7vw, 34px);
  }

  .feature-card {
    padding: 24px 22px;
  }

  .lang-card {
    padding: 24px 20px 20px;
  }

  .lang-card .greet {
    font-size: clamp(22px, 6vw, 28px);
  }

  .footer-grid {
    padding: 40px 0 28px;
  }
}

@media (max-width: 400px) {
  .lang-grid {
    grid-template-columns: 1fr;
  }

  .store-row {
    gap: 10px;
  }
}


/* ================= Policy / Support menu ================= */
.policy-header-inner { position: relative; }
.policy-menu-wrap { position: relative; display: inline-flex; align-items: center; }
.policy-menu-toggle {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 15px;
  border: 1px solid var(--line, #dfe7f3); border-radius: 999px; background: rgba(255,255,255,.88);
  color: var(--ink-2, #24344f); font: inherit; font-size: 14px; font-weight: 760; cursor: pointer;
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.policy-menu-toggle:hover, .policy-menu-toggle[aria-expanded="true"] { color: var(--blue-deep, #1f4fd8); background: var(--sky, #eaf2ff); box-shadow: var(--shadow-sm, 0 8px 24px rgba(18,42,84,.07)); }
.policy-menu-toggle .chev { font-size: 15px; transform: translateY(-1px); }
.policy-menu-popover {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 80; width: min(360px, calc(100vw - 28px));
  padding: 12px; border: 1px solid rgba(223,231,243,.92); border-radius: 22px; background: rgba(255,255,255,.96);
  box-shadow: 0 24px 70px rgba(18,42,84,.18); backdrop-filter: blur(20px); opacity: 0; transform: translateY(8px) scale(.98); pointer-events: none; transition: .2s ease;
}
.policy-menu-open .policy-menu-popover { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.policy-menu-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 8px 11px; color: var(--ink, #0d1b33); }
.policy-menu-close { border: 0; background: var(--sky, #eaf2ff); color: var(--ink-2, #24344f); border-radius: 50%; width: 30px; height: 30px; cursor: pointer; font-weight: 900; }
.policy-menu-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 13px 12px; border-radius: 16px; transition: background .2s, transform .2s; }
.policy-menu-item:hover { background: var(--sky-2, #f4f8ff); transform: translateY(-1px); }
.policy-menu-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: linear-gradient(135deg, rgba(47,111,237,.12), rgba(236,192,90,.14)); font-size: 20px; }
.policy-menu-item strong { display: block; font-size: 14px; color: var(--ink, #0d1b33); }
.policy-menu-item small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted, #5b6b80); line-height: 1.35; }
.policy-sheet-backdrop { display: none; position: fixed; inset: 0; z-index: 88; background: rgba(8,18,38,.42); opacity: 0; pointer-events: none; transition: opacity .2s; }
.policy-sheet { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 89; padding: 12px; border-radius: 26px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.24); transform: translateY(calc(100% + 30px)); transition: transform .25s cubic-bezier(.22,.61,.36,1); display: none; }
.policy-sheet-handle { width: 46px; height: 4px; border-radius: 999px; background: #d8e2f0; margin: 4px auto 8px; }
@media (max-width: 760px) {
  .policy-sheet-backdrop { display: block; }
  .policy-menu-open .policy-sheet-backdrop { opacity: 1; pointer-events: auto; }
  .policy-menu-open .policy-sheet { transform: translateY(0); }
}
.policy-hub { background: linear-gradient(180deg, rgba(234,242,255,.58), rgba(255,255,255,.82)); }
.policy-hub-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.policy-hub-card { padding: 28px 24px; border: 1px solid var(--line-soft, rgba(223,231,243,.7)); border-radius: 24px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm, 0 8px 24px rgba(18,42,84,.07)); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.policy-hub-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md, 0 18px 48px rgba(18,42,84,.1)); border-color: rgba(47,111,237,.18); }
.policy-hub-card > span { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 18px; background: linear-gradient(135deg, rgba(47,111,237,.13), rgba(236,192,90,.18)); font-size: 26px; box-shadow: 0 6px 16px rgba(18,42,84,.07); }
.policy-hub-card strong { display: block; margin-bottom: 10px; color: var(--ink, #0d1b33); font-size: 17.5px; font-weight: 770; }
.policy-hub-card p { margin: 0; color: var(--muted, #5b6b80); font-size: 14px; line-height: 1.7; }
@media (max-width: 1080px) { .compact-nav { display: none; } .policy-hub-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px) { .policy-menu-popover { display: none; } .policy-sheet { display: block; } .policy-menu-toggle { min-height: 36px; padding: 7px 12px; font-size: 13px; } .policy-hub-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 480px) { .policy-hub-grid { grid-template-columns: 1fr; } }

/* ================================================================
   Mobile hamburger menu
   ================================================================ */

.mob-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 42px;
  height: 42px;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255,255,255,.92);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  transition: background .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.mob-toggle:hover { background: var(--sky); box-shadow: 0 4px 12px rgba(18,42,84,.08); }
.mob-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink-2);
  transition: transform .28s cubic-bezier(.22,.61,.36,1), opacity .2s;
  pointer-events: none;
}
.mob-open .mob-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mob-open .mob-toggle span:nth-child(2) { opacity: 0; }
.mob-open .mob-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Overlay backdrop */
.mob-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8,18,38,.46);
  opacity: 0;
  transition: opacity .28s;
  pointer-events: none;
}
.mob-open .mob-nav-overlay { opacity: 1; pointer-events: auto; }

/* Panel slides from top */
.mob-nav-panel {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 18px 14px 26px;
  background: #fff;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 22px 60px rgba(13,27,51,.16);
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-110%);
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.mob-open .mob-nav-panel { transform: translateY(0); }

/* Main nav links */
.mob-main-nav { display: grid; gap: 2px; margin-bottom: 4px; }
.mob-main-nav a {
  display: flex; align-items: center;
  padding: 13px 14px; border-radius: 14px;
  font-size: 17px; font-weight: 700; color: var(--ink);
  transition: background .15s, color .15s;
  touch-action: manipulation; -webkit-tap-highlight-color: rgba(0,0,0,.04);
}
.mob-main-nav a:hover, .mob-main-nav a:active { background: var(--sky); color: var(--blue-deep); }

.mob-nav-sep { height: 1px; background: var(--line-soft); margin: 10px 0; }

.mob-nav-label {
  margin: 0 0 6px; padding: 0 14px;
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}

/* Policy links in mobile menu */
.mob-policy-nav { display: grid; gap: 2px; margin-bottom: 8px; }
.mob-policy-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 14px;
  font-size: 15px; font-weight: 650; color: var(--ink-2);
  transition: background .15s;
  touch-action: manipulation; -webkit-tap-highlight-color: rgba(0,0,0,.04);
}
.mob-policy-item:hover, .mob-policy-item:active { background: var(--sky-2); }
.mob-ico { font-size: 18px; flex-shrink: 0; width: 28px; text-align: center; }

/* Language row */
.mob-lang-row {
  display: flex; gap: 6px;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin: 8px 0 14px;
}
.mob-lang-row button {
  flex: 1; padding: 9px 4px;
  border: 1px solid var(--line); border-radius: 10px;
  background: transparent; color: var(--muted);
  font: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all .15s;
  touch-action: manipulation;
}
.mob-lang-row button[aria-pressed="true"] {
  background: var(--blue); border-color: var(--blue); color: #fff;
}

/* Download button */
.mob-dl-btn {
  display: flex; align-items: center; justify-content: center;
  padding: 15px; border-radius: 16px;
  background: linear-gradient(135deg, #3d7bff, var(--blue-deep));
  color: #fff; font-size: 16px; font-weight: 750;
  box-shadow: 0 10px 28px rgba(47,111,237,.3);
  touch-action: manipulation; transition: opacity .15s, transform .15s;
}
.mob-dl-btn:active { opacity: .88; transform: scale(.98); }

@media (max-width: 640px) {
  .mob-toggle { display: flex; }
  .mob-nav-overlay { display: block; }
  .policy-menu-wrap { display: none !important; }
  .language-switcher { display: none !important; }
  .header-cta { display: none !important; }
  .lang-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Fix policy sheet touch targets for mobile */
.policy-menu-item {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0,0,0,.04);
  cursor: pointer;
}
.policy-sheet { overscroll-behavior: contain; }
