  /* ── 팔레트: 앱 다크모드 브랜드 컬러 미러 (ios/App/Theme.swift · +page.svelte) ── */
  :root {
    --bg: #000000;
    --bg-soft: #0a0b0d;
    --surface: #101214;
    --surface2: #16181b;
    --line: rgba(255,255,255,0.09);
    --line-strong: rgba(255,255,255,0.16);
    --fg: #f4f5f6;
    --fg-dim: #9a9ba1;
    --fg-faint: #6a6b71;
    --accent: #6cd3f7;        /* 브랜드 시안-블루 (다크) */
    --accent-deep: #229bbc;   /* 브랜드 시안-블루 (본색) */
    --on-accent: #06333f;
    --glow: rgba(108,211,247,0.35);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--fg);
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
      "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  ::selection { background: var(--accent-deep); color: #fff; }

  .container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

  /* ── 내비게이션 ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(0,0,0,0.55);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
  }
  .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
  .brand svg { display: block; }
  .nav-links { display: flex; gap: clamp(14px, 2vw, 28px); font-size: 14px; color: var(--fg-dim); }
  .nav-links a:hover { color: var(--fg); }
  .nav-right { display: flex; align-items: center; gap: 14px; }
  .nav-cta {
    font-size: 14px; font-weight: 600;
    background: var(--fg); color: #000;
    padding: 8px 18px; border-radius: 999px;
    transition: background .15s;
    white-space: nowrap;
  }
  .nav-cta:hover { background: var(--accent); color: var(--on-accent); }

  /* 언어 스위처 — 네이티브 select, 다크테마 위에 얹는 최소 스타일 */
  .lang-switch {
    appearance: none; -webkit-appearance: none;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--line-strong);
    color: var(--fg-dim);
    font-size: 13px; font-weight: 600;
    padding: 7px 28px 7px 12px;
    border-radius: 999px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9ba1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
  }
  .lang-switch:hover { color: var(--fg); border-color: var(--fg-faint); }
  .lang-switch option { background: var(--surface); color: var(--fg); }

  /* ── 히어로 ── */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding-top: 64px;
  }
  /* 히어로 비주얼 — 전면 배경 레이어. 영상은 불투명 사각형이라 부분 폭(구 55%)이면
     좌측 절단선이 노출됨 → 풀블리드 + 좌측 스크림(::after)으로 텍스트 가독성 확보. */
  #bridge-3d {
    position: absolute; inset: 0;
    pointer-events: none; /* 배경이 CTA 클릭을 가로채지 않게 */
  }
  #bridge-3d::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 40%, rgba(0,0,0,0) 66%);
  }
  #bridge-3d canvas { width: 100%; height: 100%; display: block; }
  .hero::after { /* 하단 페이드 */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
  }
  .hero-content { position: relative; z-index: 2; }
  /* 히어로 텍스트는 뷰포트 좌측에 붙인다(중앙 컨테이너 무시) — 우측은 3D 다리 영역 */
  .hero .container {
    max-width: none;
    margin: 0;
    padding-left: clamp(24px, 5vw, 72px);
  }
  .hero h1 {
    font-size: clamp(44px, 8vw, 92px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.035em;
    max-width: 12em;
  }
  .hero h1 .accent {
    background: linear-gradient(100deg, var(--accent) 20%, #b7ecff 50%, var(--accent-deep) 85%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
  }
  .hero p.sub {
    margin-top: 28px;
    font-size: clamp(16px, 2vw, 20px);
    color: var(--fg-dim);
    max-width: 24em; /* 우측 다리 영역(45%) 침범 방지 — 텍스트는 좌측 컬럼에만 */
  }
  .hero-ctas { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 15px; font-weight: 600;
    padding: 13px 26px; border-radius: 999px;
    border: 1px solid transparent;
    transition: transform .15s, background .15s, border-color .15s;
    cursor: pointer;
  }
  .btn:active { transform: scale(0.98); }
  .btn-primary { background: var(--fg); color: #000; }
  .btn-primary:hover { background: var(--accent); color: var(--on-accent); }
  .btn-ghost { border-color: var(--line-strong); color: var(--fg-dim); }
  .btn-ghost:hover { color: var(--fg); border-color: var(--fg-faint); }

  /* 다운로드 4버튼 */
  .downloads { margin-top: 56px; }
  .downloads .label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 14px; }
  .dl-grid { display: flex; gap: 12px; flex-wrap: wrap; }
  .dl {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 20px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(255,255,255,0.02);
    font-size: 14px; font-weight: 600;
    transition: border-color .15s, background .15s, box-shadow .2s;
  }
  .dl:hover {
    border-color: var(--accent-deep);
    background: rgba(108,211,247,0.06);
    box-shadow: 0 0 24px -6px var(--glow);
  }
  .dl svg { width: 18px; height: 18px; fill: var(--fg); }
  .dl .soon { font-size: 11px; font-weight: 500; color: var(--fg-faint); border: 1px solid var(--line); padding: 1px 7px; border-radius: 999px; }

  /* ── 섹션 공통 ── */
  section { padding: 110px 0; position: relative; }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: var(--accent);
    margin-bottom: 18px;
  }
  .eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--accent-deep); }
  h2.title {
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
    max-width: 16em;
  }
  p.lede { margin-top: 18px; font-size: 17px; color: var(--fg-dim); max-width: 36em; }

  /* ── 실사용 데모(폰 → 맥 애니메이션 목업) ── */
  .demo-stage {
    margin-top: 56px;
    display: grid;
    grid-template-columns: 300px 1fr 460px;
    gap: 28px;
    align-items: center;
  }
  /* 폰 목업 */
  .mock-phone {
    width: 300px; height: 380px;
    border: 1px solid var(--line-strong);
    border-radius: 34px;
    background: #0c0e10;
    padding: 14px 14px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 60px -24px rgba(0,0,0,0.8);
  }
  .mock-phone .notch {
    width: 90px; height: 22px; border-radius: 999px;
    background: #000; border: 1px solid var(--line);
    margin: 0 auto 14px;
  }
  .mock-phone .shot-preview {
    height: 96px; border-radius: 12px;
    background: linear-gradient(135deg, #1d3040, #101b24);
    border: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 8px; justify-content: center; padding: 0 14px;
  }
  .mock-phone .shot-preview i { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.22); }
  .mock-phone .shot-preview i:nth-child(2) { width: 70%; }
  .mock-phone .shot-preview i:nth-child(3) { width: 45%; }
  .sheet {
    position: absolute; left: 10px; right: 10px; bottom: 10px;
    background: #17191c;
    border: 1px solid var(--line-strong);
    border-radius: 22px;
    padding: 10px 14px 14px;
  }
  .sheet .grabber { width: 36px; height: 4px; border-radius: 999px; background: var(--fg-faint); margin: 0 auto 12px; }
  .sheet .app-row {
    display: flex; align-items: center; gap: 10px;
    font-size: 13.5px; font-weight: 700;
    padding: 9px 10px; border-radius: 12px;
  }
  .sheet .app-row svg { width: 20px; height: 20px; }
  .sheet .device-row {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    background: #1f2226; border: 1px solid var(--line);
    border-radius: 12px; padding: 10px 12px; margin-top: 8px;
    font-size: 12.5px;
  }
  .sheet .device-row .name { color: var(--fg); font-weight: 600; }
  .sheet .device-row .state { color: #4ade80; font-size: 11px; display: flex; align-items: center; gap: 5px; }
  .sheet .device-row .state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; }
  .sheet .send {
    margin-top: 10px; text-align: center;
    background: var(--accent); color: var(--on-accent);
    font-size: 13px; font-weight: 700;
    border-radius: 999px; padding: 9px 0;
  }
  /* 탭 펄스: 보내기 버튼이 눌리는 순간 */
  .sheet .send { animation: demo-tap 7s infinite; }
  @keyframes demo-tap {
    0%, 8% { transform: scale(1); }
    10% { transform: scale(0.94); }
    12%, 100% { transform: scale(1); }
  }

  /* 비행 구간: 폰 → 맥으로 날아가는 샷 패킷 */
  .flight { position: relative; height: 120px; }
  .flight .lane {
    position: absolute; left: 0; right: 0; top: 50%;
    border-top: 1px dashed rgba(108,211,247,0.25);
  }
  .flight .packet {
    position: absolute; top: 50%; left: 0;
    width: 52px; height: 36px; border-radius: 8px;
    background: linear-gradient(135deg, #24435c, #14242f);
    border: 1.5px solid var(--accent);
    box-shadow: 0 0 22px -4px var(--glow);
    opacity: 0;
    animation: demo-fly 7s infinite;
  }
  @keyframes demo-fly {
    0%, 11% { opacity: 0; transform: translate(-10%, -70%) scale(0.7) rotate(-4deg); }
    14% { opacity: 1; }
    30% { opacity: 1; transform: translate(calc(100% + 100px), -40%) scale(1) rotate(3deg); }
    33%, 100% { opacity: 0; transform: translate(calc(100% + 140px), -40%) scale(0.9); }
  }

  /* 맥 패널 목업(프로모 frame-02 미러) */
  .mock-mac {
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    background: #141619;
    box-shadow: 0 24px 60px -24px rgba(0,0,0,0.8);
    overflow: hidden;
  }
  .mock-mac .bar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    font-size: 12px; color: var(--fg-dim);
  }
  .mock-mac .bar i { width: 10px; height: 10px; border-radius: 50%; }
  .mock-mac .bar i:nth-child(1) { background: #ff5f57; }
  .mock-mac .bar i:nth-child(2) { background: #febc2e; }
  .mock-mac .bar i:nth-child(3) { background: #28c840; }
  .mock-mac .bar .title { margin-left: 6px; font-weight: 700; color: var(--fg); }
  .mock-mac .status { padding: 12px 16px 0; font-size: 12px; color: #4ade80; display: flex; align-items: center; gap: 6px; }
  .mock-mac .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
  .mock-mac .inner { padding: 12px 16px 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
  .shot-card {
    background: #1c1f23; border: 1px solid var(--line);
    border-radius: 12px; padding: 10px;
    opacity: 0; animation: demo-arrive 7s infinite;
  }
  .shot-card .thumb {
    height: 74px; border-radius: 8px;
    background: linear-gradient(135deg, #24435c, #14242f);
    border: 1px solid rgba(108,211,247,0.35);
  }
  .shot-card .cap { margin-top: 8px; font-size: 11.5px; color: var(--fg-dim); }
  @keyframes demo-arrive {
    0%, 30% { opacity: 0; transform: scale(0.85); }
    36% { opacity: 1; transform: scale(1.03); }
    40%, 96% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; }
  }
  .drop-zone {
    border: 1.6px dashed rgba(108,211,247,0.55);
    border-radius: 12px;
    min-height: 130px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    color: var(--accent); font-size: 12.5px; font-weight: 700;
    animation: demo-dropglow 7s infinite;
  }
  .drop-zone svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; }
  @keyframes demo-dropglow {
    0%, 55% { background: transparent; }
    70%, 82% { background: rgba(108,211,247,0.10); box-shadow: inset 0 0 30px -10px var(--glow); }
    92%, 100% { background: transparent; }
  }
  /* 드래그 고스트: 샷 카드 → 드롭존 */
  .drag-ghost {
    position: absolute;
    width: 84px; height: 56px; border-radius: 10px;
    background: linear-gradient(135deg, #24435c, #14242f);
    border: 1.5px solid var(--accent);
    box-shadow: 0 0 22px -4px var(--glow);
    left: 24%; top: 46%;
    opacity: 0;
    animation: demo-drag 7s infinite;
    pointer-events: none;
  }
  @keyframes demo-drag {
    0%, 52% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
    56% { opacity: 0.95; }
    72% { opacity: 0.95; transform: translate(150px, 26px) rotate(5deg); }
    78%, 100% { opacity: 0; transform: translate(170px, 30px) scale(0.8); }
  }
  .mock-mac { position: relative; }

  @media (prefers-reduced-motion: reduce) {
    .sheet .send, .flight .packet, .shot-card, .drop-zone, .drag-ghost { animation: none; }
    .shot-card { opacity: 1; }
    .flight .packet { opacity: 0.9; transform: translate(40%, -50%); }
  }
  @media (max-width: 980px) {
    .demo-stage { grid-template-columns: 1fr; justify-items: center; }
    .flight { display: none; }
    .mock-mac { width: 100%; max-width: 460px; }
  }

  /* ── 작동 방식 3단계 ── */
  .steps { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
  .step { background: var(--bg-soft); padding: 34px 30px; }
  .step .num { font-size: 13px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
  .step h3 { margin-top: 12px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
  .step p { margin-top: 8px; font-size: 14.5px; color: var(--fg-dim); }

  /* ── 기능 그리드 ── */
  .features { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .feature {
    border: 1px solid var(--line); border-radius: 18px;
    padding: 30px 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
    transition: border-color .2s, box-shadow .25s;
  }
  .feature:hover { border-color: rgba(108,211,247,0.4); box-shadow: 0 0 40px -14px var(--glow); }
  .feature .icon {
    width: 40px; height: 40px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(108,211,247,0.1);
    border: 1px solid rgba(108,211,247,0.25);
    margin-bottom: 18px;
  }
  .feature .icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .feature h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
  .feature p { margin-top: 8px; font-size: 14px; color: var(--fg-dim); }

  /* ── 프라이버시 밴드 ── */
  .privacy-band {
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    background: radial-gradient(60% 120% at 50% 0%, rgba(34,155,188,0.12), transparent 70%);
    text-align: center;
  }
  .privacy-band h2.title { margin: 0 auto; }
  .privacy-band p.lede { margin-left: auto; margin-right: auto; }
  .privacy-points { margin-top: 44px; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
  .pp { font-size: 15px; color: var(--fg-dim); display: flex; align-items: center; gap: 9px; }
  .pp::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--glow); }

  /* ── 마지막 CTA ── */
  .final {
    text-align: center; padding: 150px 0;
  }
  .final h2 {
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 800; letter-spacing: -0.035em; line-height: 1.08;
  }
  .final h2 .accent { color: var(--accent); }
  .final .hero-ctas { justify-content: center; }

  /* ── 푸터 ── */
  footer {
    border-top: 1px solid var(--line);
    padding: 56px 0 40px;
    font-size: 13.5px; color: var(--fg-faint);
  }
  .foot-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
  .foot-links { display: flex; gap: 24px; }
  .foot-links a:hover { color: var(--fg); }

  /* ── 스크롤 리빌 ── */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
  }

  /* ── 반응형 ── */
  @media (max-width: 860px) {
    .nav-links { display: none; }
    .steps { grid-template-columns: 1fr; }
    .features { grid-template-columns: 1fr 1fr; }
    /* 좁은 화면: 3D 다리를 전폭 배경으로 깔고 어둡게 — 텍스트 가독성 우선 */
    #bridge-3d { width: 100%; opacity: 0.45 !important; }
  }
  @media (max-width: 560px) {
    .features { grid-template-columns: 1fr; }
    section { padding: 80px 0; }
    .dl-grid { flex-direction: column; }
    .dl { justify-content: center; }
  }
  @media (max-width: 480px) {
    /* 좁은 화면 + 긴 언어(힌디어 등)에서 스위처+CTA가 겹치는 걸 막음 —
       CTA는 히어로에 곧장 중복되어 있어 nav에서는 빼도 기능 손실이 없다 */
    .nav-cta { display: none; }
  }
