:root {
  --bg: #000;
  --bg-2: #0b0b0d;
  --card: #141417;
  --card-2: #1c1c21;
  --line: rgba(255,255,255,.09);
  --text: #f5f5f7;
  --muted: #a1a1a6;
  --dim: #6e6e73;
  --blue: #2997ff;
  --cloud: #4fb3ff;
  --grad: linear-gradient(100deg, #7cc7ff 0%, #2997ff 35%, #b78cff 70%, #ff9ec7 100%);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: 52px;
  background: rgba(0,0,0,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-in { max-width: 1024px; margin: 0 auto; height: 100%; padding: 0 22px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 13px; }
.nav-links a { color: #d2d2d7; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 980px; background: var(--blue); color: #fff;
  padding: 5px 14px; font-size: 13px; font-weight: 500; letter-spacing: -.01em; border: 0; cursor: pointer;
  transition: background .2s, transform .2s;
}
.pill:hover { background: #0077ed; text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 980px;
  padding: 12px 24px; font-size: 17px; font-weight: 500; transition: background .2s, color .2s, transform .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #0077ed; }
.btn-ghost { color: var(--blue); border: 1px solid rgba(41,151,255,.6); }
.btn-ghost:hover { background: rgba(41,151,255,.12); }
.link-arrow::after { content: " ›"; }

/* ---------- typography ---------- */
.wrap { max-width: 1024px; margin: 0 auto; padding: 0 22px; }
.eyebrow { color: var(--cloud); font-weight: 600; font-size: 19px; letter-spacing: .01em; margin: 0 0 8px; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; font-weight: 700; }
.h-hero { font-size: clamp(44px, 8.2vw, 96px); line-height: 1.02; }
.h-sec { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; }
.h-mid { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; color: var(--muted); font-weight: 500; letter-spacing: -.01em; }
.lead strong { color: var(--text); font-weight: 600; }
.center { text-align: center; }
section { position: relative; }

/* ---------- hero ---------- */
.hero { padding: 92px 0 0; text-align: center; overflow: hidden; }
.hero-icon { width: 112px; height: 112px; margin: 0 auto 26px; filter: drop-shadow(0 18px 40px rgba(41,151,255,.35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
.hero .lead { max-width: 690px; margin: 22px auto 0; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; align-items: center; }
.cta-note { color: var(--dim); font-size: 14px; margin-top: 14px; }
.glow {
  position: absolute; left: 50%; top: 380px; width: 1200px; height: 800px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(41,151,255,.28), rgba(183,140,255,.12) 55%, transparent 75%);
  pointer-events: none; z-index: 0; filter: blur(10px);
}

/* MacBook mockup */
.stage { perspective: 1800px; margin: 64px auto 0; max-width: 1100px; padding: 0 22px; position: relative; z-index: 1; }
.mac { transform-origin: 50% 100%; will-change: transform; transform: rotateX(var(--tilt, 18deg)) scale(var(--sc, .9)); transition: transform .08s linear; }
.mac-lid {
  position: relative; border-radius: 22px 22px 6px 6px; padding: 1.6% 1.6% 2.4%;
  background: linear-gradient(180deg, #2b2b30, #141416); box-shadow: inset 0 0 0 1.5px #4a4a50, 0 40px 120px rgba(0,0,0,.6);
}
.mac-lid::before { content: ""; position: absolute; top: .65%; left: 50%; width: 9%; height: 2.1%; transform: translateX(-50%); background: #0a0a0b; border-radius: 0 0 10px 10px; z-index: 3; }
.mac-screen {
  position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10;
  background: radial-gradient(120% 120% at 20% 10%, #1b3d6e 0%, #0d1830 40%, #2a1442 80%, #120a1f 100%);
}
.mac-screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.07) 0%, transparent 35%); pointer-events: none; }
.menubar { height: 3.2%; background: rgba(20,20,30,.55); backdrop-filter: blur(8px); display: flex; align-items: center; gap: 2%; padding: 0 2%; font-size: clamp(5px, .9vw, 11px); color: #e8e8ee; font-weight: 600; }
.menubar span:not(:first-child) { font-weight: 400; opacity: .85; }
.mac-screen .win { position: absolute; left: 4%; right: 4%; top: 7.5%; border-radius: clamp(4px, .9vw, 11px); box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 0 .5px rgba(255,255,255,.12); }
.mac-base {
  height: 18px; margin: 0 -4.5%; border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #d9d9de 0%, #9d9da3 45%, #5d5d63 100%); position: relative;
}
.mac-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 7px; transform: translateX(-50%); background: linear-gradient(180deg, #8a8a90, #c3c3c8); border-radius: 0 0 9px 9px; }
.mac-shadow { height: 40px; margin: -6px auto 0; width: 92%; background: radial-gradient(closest-side, rgba(0,0,0,.8), transparent); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s } .rv.d2 { transition-delay: .2s } .rv.d3 { transition-delay: .3s }

/* ---------- stats ---------- */
.stats { padding: 150px 0 40px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.stat { background: var(--card); border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line); }
.stat .num { font-size: clamp(40px, 5vw, 60px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.stat .num small { font-size: .5em; margin-left: 4px; color: var(--muted); font-weight: 600; }
.stat p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.stat.hi .num { color: var(--cloud); }
.footnote { color: var(--dim); font-size: 13px; margin-top: 18px; text-align: center; }

/* ---------- sticky story ---------- */
.story { padding: 140px 0 60px; }
.story-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 60px; margin-top: 70px; }
.story-steps .step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s; }
.story-steps .step.active { opacity: 1; }
.step h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.12; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; font-size: 18px; }
.step p strong { color: var(--text); font-weight: 600; }
.story-visual { position: sticky; top: 18vh; height: 64vh; display: flex; align-items: center; }
.zoom-frame {
  position: relative; width: 100%; aspect-ratio: 2560 / 1400; border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 90px rgba(0,0,0,.6), 0 0 0 1px var(--line); background: #1e1e1e;
}
.zoom-frame img {
  width: 100%; height: 100%; object-fit: cover; transform-origin: var(--zo, 50% 0%); transform: scale(var(--zs, 1.75));
  transition: transform 1.1s cubic-bezier(.65,0,.25,1), transform-origin 1.1s cubic-bezier(.65,0,.25,1);
}
.zoom-cap {
  position: absolute; left: 14px; bottom: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0;
  padding: 5px 11px; border-radius: 980px; background: rgba(0,0,0,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; border: 1px solid rgba(255,255,255,.14);
}

/* ---------- features ---------- */
.features { padding: 120px 0; }
.f-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.f-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px 34px;
  overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s;
}
.f-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(41,151,255,.16), transparent 60%);
}
.f-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
.f-card:hover::before { opacity: 1; }
.f-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; background: var(--card-2); }
.f-ico svg { width: 24px; height: 24px; }
.f-card h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.f-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.f-card.span2 { grid-column: span 2; }

/* ---------- big statement ---------- */
.statement { padding: 160px 0; text-align: center; background: radial-gradient(60% 60% at 50% 50%, rgba(41,151,255,.10), transparent 70%); }
.statement .h-sec { max-width: 860px; margin: 0 auto; }
.statement .lead { max-width: 700px; margin: 26px auto 0; }
.lock { width: 72px; height: 72px; margin: 0 auto 30px; }

/* ---------- detail band ---------- */
.band { padding: 40px 0 120px; }
.band-shot { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 100px rgba(0,0,0,.6), 0 0 0 1px var(--line); margin-top: 50px; }

/* ---------- pricing ---------- */
.pricing { padding: 140px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.p-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 22px; justify-content: center; margin-top: 64px; }
.p-card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 40px 34px; display: flex; flex-direction: column; position: relative; }
.p-card.best { border-color: rgba(41,151,255,.6); box-shadow: 0 0 0 1px rgba(41,151,255,.4), 0 30px 80px rgba(41,151,255,.12); }
.badge { position: absolute; top: -13px; left: 34px; background: var(--grad); color: #000; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 980px; letter-spacing: 0; }
.p-card h3 { font-size: 24px; }
.p-sub { color: var(--muted); margin: 4px 0 24px; font-size: 15px; }
.price { font-size: 56px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price span { font-size: 17px; color: var(--muted); font-weight: 500; letter-spacing: -.01em; margin-left: 6px; }
.p-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 11px; font-size: 15px; color: #d2d2d7; }
.p-list li { display: flex; gap: 10px; align-items: flex-start; }
.p-list li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(48,209,88,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2330d158' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.p-card .btn { margin-top: auto; }
.biz {
  max-width: 782px; margin: 22px auto 0; display: flex; align-items: center; gap: 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 28px 32px;
}
.biz-ico { flex: 0 0 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--card-2); }
.biz-ico svg { width: 26px; height: 26px; }
.biz-text { flex: 1; }
.biz h3 { font-size: 21px; letter-spacing: -.02em; }
.biz p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.biz .btn { flex: 0 0 auto; }
@media (max-width: 860px) { .biz { flex-direction: column; align-items: flex-start; } }
.p-foot { text-align: center; color: var(--dim); font-size: 14px; margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq { padding: 130px 0; }
.faq-list { max-width: 760px; margin: 50px auto 0; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; list-style: none; font-size: 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 20px; letter-spacing: -.02em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 300; font-size: 28px; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 14px 0 0; font-size: 16px; }

/* ---------- final CTA + footer ---------- */
.final { padding: 130px 0 150px; text-align: center; }
.final img { width: 96px; margin: 0 auto 26px; }
footer { border-top: 1px solid var(--line); padding: 28px 0 46px; color: var(--dim); font-size: 12px; background: var(--bg-2); }
footer .wrap { display: grid; gap: 12px; }
.f-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.f-links a { color: var(--muted); }

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 80px 22px 120px; }
.legal h1 { font-size: 48px; margin-bottom: 8px; }
.legal .upd { color: var(--dim); margin-bottom: 40px; }
.legal h2 { font-size: 24px; margin: 40px 0 10px; letter-spacing: -.02em; }
.legal p, .legal li { color: #d2d2d7; font-size: 16px; }
.legal ul { padding-left: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav-links > a:not(.pill) { display: none; }
  .stat-grid, .f-grid { grid-template-columns: 1fr; }
  .f-card.span2 { grid-column: auto; }
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-visual { display: none; }
  .story-steps .step { min-height: auto; opacity: 1; padding: 40px 0; }
  .step .m-shot { display: block !important; margin-top: 24px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
  .p-grid { grid-template-columns: 1fr; }
  .stats, .story, .features, .pricing, .faq { padding-top: 90px; padding-bottom: 60px; }
  .statement { padding: 100px 0; }
}
.m-shot { display: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .mac { transform: none !important; }
  .hero-icon { animation: none; }
}

/* ---------- language switcher ---------- */
.langs { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }
.langs a { color: var(--muted); padding-top: 8px; }
.langs a[aria-current] { color: var(--text); font-weight: 600; }
:lang(ja) body, html:lang(ja) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; letter-spacing: 0; }
html:lang(ja) .h-hero { font-size: clamp(36px, 6.4vw, 76px); line-height: 1.15; }
html:lang(ja) .h-sec { line-height: 1.2; }
html:lang(de) .h-hero, html:lang(fr) .h-hero, html:lang(es) .h-hero, html:lang(it) .h-hero { font-size: clamp(40px, 7vw, 84px); }
html:lang(ja) .h-hero { word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- language menu (nav) ---------- */
.lang-menu { position: relative; padding: 0; border: 0; }
.lang-menu summary { list-style: none; cursor: pointer; display: flex; justify-content: flex-start; align-items: center; gap: 5px; color: #d2d2d7; font-size: 12px; font-weight: 500; letter-spacing: 0; line-height: 1.2; padding: 4px 6px; border-radius: 8px; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary::after { content: none; }
.lang-menu summary:hover, .lang-menu[open] summary { color: #fff; background: rgba(255,255,255,.08); }
.lang-menu svg { width: 15px; height: 15px; }
.lang-menu > div {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; padding: 6px; display: grid;
  background: rgba(28,28,32,.92); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.lang-menu > div a { color: #d2d2d7; padding: 7px 10px; border-radius: 7px; font-size: 13px; }
.lang-menu > div a:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.lang-menu > div a[aria-current] { color: #fff; font-weight: 600; }
.lang-menu > div a[aria-current]::after { content: " ✓"; color: var(--blue); }
.seller { color: var(--dim); }
