/* =========================================================================
   copipi — Landing Page styles
   Brand: deep black + mint #5EE8F0 + glow + rounded gothic
   ========================================================================= */

/* :root → shared.css */
:root {
  --bg-soft:   #0a0c10;
  --surface-2: #15181e;
  --mint-deep: #34c6cf;
  --glow-white: 0 0 38px rgba(255,255,255,0.22);
  --glow-mint:  0 0 26px rgba(94,232,240,0.55), 0 0 56px rgba(94,232,240,0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-jp);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* page background: subtle vertical glow gradient + grain-free radial accents */
.bg-field {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% -8%, rgba(94,232,240,0.12), transparent 60%),
    radial-gradient(900px 600px at 85% 18%, rgba(94,232,240,0.05), transparent 55%),
    linear-gradient(180deg, #06070a 0%, #06070a 100%);
}
.bg-field::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 500px at 10% 80%, rgba(94,232,240,0.05), transparent 60%);
}

/* ---- layout helpers ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(72px, 12vw, 150px); position: relative; }
.center { text-align: center; }

/* ---- typography ---- */
.eyebrow {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.34em; color: var(--mint); text-transform: uppercase;
  text-shadow: 0 0 18px rgba(94,232,240,0.4);
}
.h1 {
  font-family: var(--font-round); font-weight: 900;
  font-size: clamp(40px, 8.5vw, 86px); line-height: 1.16;
  letter-spacing: -0.01em; margin: 0; text-shadow: var(--glow-white);
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-round); font-weight: 900;
  font-size: clamp(30px, 5.2vw, 58px); line-height: 1.2;
  letter-spacing: -0.01em; margin: 0; text-shadow: var(--glow-white);
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-round); font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px); margin: 0; line-height: 1.35;
}
.lead {
  font-size: clamp(16px, 2.3vw, 20px); color: var(--dim);
  font-weight: 500; line-height: 1.7; margin: 0;
}
.mint { color: var(--mint); text-shadow: var(--glow-mint); }
.mint-flat { color: var(--mint); }

/* nav, hamburger, drawer → shared.css */

/* =========================================================================
   HERO
   ========================================================================= */
.hero { padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(60px, 10vw, 110px); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy .pills { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.pill {
  font-family: var(--font-jp); font-weight: 700; font-size: clamp(14px, 1.7vw, 17px);
  color: var(--mint); border: 2px solid var(--mint); border-radius: 999px;
  padding: 9px 22px; box-shadow: 0 0 16px rgba(94,232,240,0.15);
  text-shadow: 0 0 12px rgba(94,232,240,0.4);
}
.hero-copy .lead { margin-top: 22px; max-width: 30ch; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 38px; flex-wrap: wrap; }

/* App Store badge */
.appstore-badge { display: inline-block; transition: transform .2s, opacity .2s; }
.appstore-badge:hover { transform: translateY(-2px); opacity: 0.85; }
.appstore-badge img { display: block; height: 44px; width: auto; }
.price-note { font-family: var(--font-mono); font-size: 13px; color: var(--faint); letter-spacing: 0.08em; }

/* =========================================================================
   PHONE MOCKUP (hero) — recreated app UI
   ========================================================================= */
.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone-wrap::before {
  content: ""; position: absolute; width: 120%; height: 70%; left: -10%; top: 12%;
  background: radial-gradient(circle, rgba(94,232,240,0.22), transparent 62%);
  filter: blur(20px); z-index: -1;
}
.hero-shot {
  width: clamp(280px, 34vw, 400px);
  border-radius: 24px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.6);
}

/* =========================================================================
   STAT STRIP
   ========================================================================= */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 24px;
  overflow: hidden;
}
.stat { background: var(--bg-soft); padding: 30px 18px; text-align: center; }
.stat .num { font-family: var(--font-round); font-weight: 900; font-size: clamp(26px, 4vw, 42px); color: var(--mint); text-shadow: var(--glow-mint); line-height: 1; }
.stat .cap { font-size: clamp(12px, 1.6vw, 15px); color: var(--dim); margin-top: 10px; }

/* =========================================================================
   SECTION HEADER
   ========================================================================= */
.sec-head { max-width: 720px; margin-inline: auto; }
.sec-head .eyebrow { display: block; margin-bottom: 18px; }
.sec-head .lead { margin-top: 18px; }

/* =========================================================================
   GALLERY
   ========================================================================= */
.gallery {
  display: flex; gap: 22px; overflow-x: auto; padding: 8px 24px 30px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.shot {
  flex: 0 0 auto; width: clamp(240px, 60vw, 300px); aspect-ratio: 1242 / 2688;
  border-radius: 26px; overflow: hidden; scroll-snap-align: center;
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px rgba(0,0,0,0.55);
  background: #000;
}
.shot img { width: 100%; height: 100%; object-fit: cover; }
.gallery-hint { font-family: var(--font-mono); font-size: 12px; color: var(--faint); letter-spacing: 0.2em; margin-top: 6px; }

/* =========================================================================
   FEATURE GRID
   ========================================================================= */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.feat {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: border-color .3s, transform .3s;
}
.feat:hover { border-color: rgba(94,232,240,0.4); transform: translateY(-4px); }
.feat .ico {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--mint-soft); border: 1px solid rgba(94,232,240,0.25); margin-bottom: 22px;
}
.feat .ico svg { width: 32px; height: 32px; stroke: var(--mint); }
.feat h4 { font-family: var(--font-round); font-weight: 700; font-size: 21px; margin: 0 0 8px; }
.feat p { margin: 0; color: var(--dim); font-size: 15px; line-height: 1.6; }

/* =========================================================================
   STEPS
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.step {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; position: relative; overflow: hidden;
}
.step .n { font-family: var(--font-mono); font-weight: 700; font-size: 54px; color: var(--mint); line-height: 1; text-shadow: var(--glow-mint); }
.step h4 { font-family: var(--font-round); font-weight: 900; font-size: 30px; margin: 18px 0 8px; }
.step p { margin: 0; color: var(--dim); font-size: 15px; }
.step .arrow { position: absolute; top: 46px; right: -14px; color: var(--faint); width: 30px; height: 30px; }
.steps-foot { text-align: center; margin-top: 44px; font-family: var(--font-round); font-weight: 700; font-size: clamp(18px, 2.6vw, 26px); }

/* =========================================================================
   ACCESS (everywhere)
   ========================================================================= */
.access-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.access {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
}
.access .ico { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; color: var(--mint); }
.access .ico svg { width: 28px; height: 28px; stroke: var(--mint); }
.access .t { font-family: var(--font-round); font-weight: 700; font-size: 17px; }
.access .t small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 11px; color: var(--faint); letter-spacing: 0.12em; margin-top: 2px; }

/* =========================================================================
   KEYBOARD SPOTLIGHT (flagship feature)
   ========================================================================= */
.kb-spot {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 500px at 78% 40%, rgba(94,232,240,0.10), transparent 60%),
    linear-gradient(180deg, rgba(94,232,240,0.04), transparent 70%);
}
.kb-grid { display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.kb-flag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.22em;
  color: var(--bg); background: var(--mint); padding: 8px 18px; border-radius: 999px;
  box-shadow: 0 0 24px rgba(94,232,240,0.45);
}
.kb-list { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.kb-list li { display: flex; align-items: center; gap: 16px; font-size: clamp(16px, 2.2vw, 20px); font-weight: 700; font-family: var(--font-round); }
.kb-list .ck { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); border: 1px solid rgba(94,232,240,0.4); }
.kb-list .ck svg { width: 18px; height: 18px; stroke: var(--mint); }
.kb-shot { display: flex; justify-content: center; position: relative; }
.kb-shot::before {
  content: ""; position: absolute; width: 90%; height: 80%; left: 5%; top: 10%;
  background: radial-gradient(circle, rgba(94,232,240,0.3), transparent 62%);
  filter: blur(24px); z-index: -1;
}
.kb-shot img {
  width: clamp(240px, 30vw, 320px); aspect-ratio: 1242 / 2688; object-fit: cover;
  border-radius: 30px; border: 1px solid var(--line-2);
  box-shadow: 0 36px 90px rgba(0,0,0,0.6), 0 0 70px rgba(94,232,240,0.18);
  transform: rotate(-3deg);
}

@media (max-width: 920px) {
  .kb-grid { grid-template-columns: 1fr; text-align: center; }
  .kb-list { align-items: flex-start; max-width: 380px; margin-inline: auto; }
  .kb-shot { order: -1; margin-bottom: 8px; }
  .kb-shot img { transform: none; }
}

/* =========================================================================
   ACCESSIBILITY + 48 LANG
   ========================================================================= */
.a11y-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.a11y {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 22px;
  padding: 28px 18px; text-align: center;
}
.a11y img { width: 64px; height: 64px; margin: 0 auto 16px; }
.a11y .t { font-weight: 700; font-size: 15px; line-height: 1.35; }
.lang-band {
  margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 22px;
  flex-wrap: wrap; padding: 40px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(94,232,240,0.06), transparent);
  border: 1px solid rgba(94,232,240,0.22);
}
.lang-band .big { font-family: var(--font-mono); font-weight: 700; font-size: clamp(70px, 14vw, 130px); color: var(--mint); line-height: 1; text-shadow: var(--glow-mint); }
.lang-band .tx { text-align: left; }
.lang-band .tx .h3 { font-family: var(--font-round); }
.lang-band .tx p { margin: 6px 0 0; color: var(--dim); }

/* =========================================================================
   PRIVACY
   ========================================================================= */
.privacy { position: relative; }
.privacy .shield-bg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: min(620px, 80vw); opacity: 0.06; z-index: 0; pointer-events: none;
}
.privacy .inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }
.priv-rows { margin-top: 48px; display: flex; flex-direction: column; gap: 14px; }
.priv-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 30px; border: 1.5px solid rgba(94,232,240,0.45); border-radius: 999px;
  background: rgba(6,7,10,0.5); backdrop-filter: blur(4px);
}
.priv-row .k { font-family: var(--font-jp); font-weight: 700; font-size: clamp(15px, 2.2vw, 19px); }
.priv-row .v { font-family: var(--font-jp); font-weight: 700; font-size: clamp(15px, 2.2vw, 19px); color: var(--mint); text-shadow: 0 0 14px rgba(94,232,240,0.4); white-space: nowrap; }

/* =========================================================================
   PRO
   ========================================================================= */
.pro-card {
  max-width: 760px; margin: 56px auto 0;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line); border-radius: 34px; padding: clamp(30px, 5vw, 56px);
}
.pro-head { display: flex; align-items: center; justify-content: center; gap: 14px; }
.pro-head .name { font-family: var(--font-round); font-weight: 900; font-size: clamp(32px, 6vw, 48px); }
.pro-head .badge { font-family: var(--font-mono); font-weight: 700; font-size: 18px; color: var(--bg); background: var(--mint); padding: 6px 16px; border-radius: 12px; box-shadow: 0 0 20px rgba(94,232,240,0.4); }
.pro-sub { text-align: center; font-family: var(--font-mono); color: var(--mint); letter-spacing: 0.3em; margin-top: 8px; font-size: 14px; }
.compare {
  margin-top: 36px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
}
.compare .crow { display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
.compare .crow + .crow { border-top: 1px solid var(--line); }
.compare .cell { padding: 20px 24px; font-size: clamp(15px, 2.2vw, 19px); }
.compare .crow.head .cell { font-family: var(--font-round); font-weight: 700; color: var(--dim); }
.compare .crow.head .cell.pro { color: var(--mint); }
.compare .cell.center { text-align: center; font-family: var(--font-mono); font-weight: 700; }
.compare .cell.center.inf { color: var(--mint); font-size: 28px; text-shadow: var(--glow-mint); }
.fam-note { text-align: center; color: var(--dim); margin: 26px auto 0; max-width: 44ch; font-size: 15px; }
.plans { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.plan {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; border-radius: 18px; border: 1.5px solid var(--line);
}
.plan.reco { border-color: var(--mint); background: rgba(94,232,240,0.07); box-shadow: 0 0 30px rgba(94,232,240,0.18); }
.plan .pl-name { font-family: var(--font-round); font-weight: 700; font-size: 20px; display: flex; align-items: center; gap: 12px; }
.plan .tag { font-family: var(--font-jp); font-size: 13px; font-weight: 700; color: var(--bg); background: var(--mint); padding: 4px 12px; border-radius: 999px; }
.plan .pl-price { font-family: var(--font-mono); font-weight: 700; font-size: clamp(18px, 2.6vw, 24px); }
.plan .pl-price small { font-size: 13px; color: var(--dim); font-weight: 400; }
.plan.reco .pl-price { color: var(--mint); }

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.final {
  text-align: center;
  padding-top: clamp(130px, 18vw, 180px);
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(94,232,240,0.14), transparent 65%);
}
.final-row {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  margin-top: 40px;
}
.final .icon-lg { width: 120px; height: 120px; border-radius: 30px; box-shadow: 0 20px 60px rgba(94,232,240,0.25); }

/* footer styles → shared.css */

/* =========================================================================
   REVEAL ANIMATION
   ========================================================================= */
/* reveal only applies once JS marks the page ready — otherwise content
   is always visible (no-JS / capture-tool safety) */
body.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
body.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
/* desktop: hide mobile-only line breaks */
.mob { display: none; }

@media (max-width: 920px) {
  .mob { display: inline; }
  .hero { padding-top: 80px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .pills, .hero-actions { justify-content: center; }
  .hero-copy .lead { margin-inline: auto; }
  .phone-wrap { order: -1; margin-bottom: 10px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step .arrow { display: none; }
  .access-grid { grid-template-columns: repeat(2, 1fr); }
  .a11y-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .a11y-grid { grid-template-columns: repeat(2, 1fr); }
  .compare .crow { grid-template-columns: 1.3fr 0.85fr 0.85fr; }
  .compare .cell { padding: 16px 14px; }
  .nav .cta-mini { padding: 9px 16px; font-size: 14px; }
  .lang-band { flex-direction: column; gap: 10px; }
  .lang-band .tx { text-align: center; }
}

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