/* ==========================================================================
   viexy.com — design system
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/noto-thai-thai.woff2") format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Noto Sans Thai";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/noto-thai-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0b1120;
  --ink-2: #1e293b;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --mist: #f6f7f9;
  --white: #ffffff;
  --indigo: #4f46e5;
  --indigo-600: #4338ca;
  --indigo-soft: #eef2ff;
  --teal: #14b8a6;
  --teal-soft: #ecfdf5;
  --green: #047857;
  --red: #dc2626;
  --amber: #b45309;

  --font: "Inter", "Noto Sans Thai", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-md: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 30px -18px rgba(15, 23, 42, .22);
  --shadow-lg: 0 1px 2px rgba(15, 23, 42, .04), 0 24px 60px -30px rgba(15, 23, 42, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: rgba(79, 70, 229, .16); color: var(--ink); }

main { flex: 1 0 auto; }

img, svg { max-width: 100%; }
img { height: auto; }

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

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
.narrow { max-width: 840px; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: .875rem;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--indigo), var(--teal));
  z-index: 120;
  pointer-events: none;
}

.i { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.995); }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #5b52f0 0%, var(--indigo-600) 100%);
  box-shadow: 0 1px 2px rgba(67, 56, 202, .35), 0 10px 24px -12px rgba(79, 70, 229, .75), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(67, 56, 202, .3), 0 16px 32px -12px rgba(79, 70, 229, .8), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--outline {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover { border-color: #cbd5e1; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.btn--ghost:hover { background: var(--mist); border-color: #cbd5e1; }
.btn--sm { padding: 8px 14px; font-size: .875rem; border-radius: 10px; }
.btn--lg { padding: 14px 24px; font-size: 1rem; border-radius: 14px; }
.btn--block { width: 100%; }
.btn .i { width: 1em; height: 1em; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .02), 0 8px 24px -20px rgba(15, 23, 42, .5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.3rem; letter-spacing: -.035em; }
.brand-mark { width: 27px; height: 27px; flex: none; }
.brand-word { transform: translateY(-1px); }

.nav-links { display: flex; align-items: center; gap: 26px; font-size: .9375rem; font-weight: 500; color: #475569; }
.nav-links a { position: relative; padding: 6px 0; transition: color .18s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--indigo);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .24s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .02em;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.lang-switch:hover { color: var(--ink); border-color: #cbd5e1; background: var(--mist); }

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn .i { width: 20px; height: 20px; }
.menu-close { display: none; }
.menu-btn[aria-expanded="true"] .menu-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-close { display: block; }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.mobile-nav nav { display: flex; flex-direction: column; gap: 4px; padding-block: 16px 24px; }
.mobile-nav a { padding: 12px 8px; border-radius: 10px; font-weight: 500; color: var(--ink); }
.mobile-nav a:hover { background: var(--mist); }
.mobile-nav .btn { margin-top: 10px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 72px; }
.hero-glow {
  position: absolute;
  top: -420px;
  right: -320px;
  width: 980px;
  height: 980px;
  background: radial-gradient(circle, rgba(79, 70, 229, .13) 0%, rgba(20, 184, 166, .07) 38%, rgba(255, 255, 255, 0) 66%);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 76px;
}
.eyebrow {
  display: block;
  margin: 0 0 4px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--indigo);
}
.hero h1 {
  margin: 14px 0 20px;
  font-size: clamp(2.5rem, 5.1vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  max-width: 16ch;
}
.hero-sub { font-size: 1.0625rem; line-height: 1.7; color: var(--body); max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .8125rem; color: var(--muted); }
.hero-note .i { width: 15px; height: 15px; color: var(--teal); }

.hero-visual { position: relative; }

/* app window */
.app-window {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, .04),
    0 18px 40px -22px rgba(15, 23, 42, .22),
    0 50px 90px -50px rgba(79, 70, 229, .32);
  transform-style: preserve-3d;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .78rem;
  color: var(--muted);
}
.app-dots { display: inline-flex; gap: 5px; }
.app-dots i { width: 7px; height: 7px; border-radius: 50%; background: #e2e8f0; }
.app-title { flex: 1; }
.app-plus {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: var(--indigo-soft);
  color: var(--indigo);
  font-weight: 700;
  font-size: .9rem;
}
.app-body { display: grid; grid-template-columns: 128px 1fr; gap: 16px; padding: 18px; }
.app-side { display: flex; flex-direction: column; gap: 4px; font-size: .72rem; color: var(--muted); }
.app-side-item { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; }
.app-side-item i { width: 9px; height: 9px; border-radius: 3px; background: #cbd5e1; }
.app-side-item.is-active { background: #f1f5f9; color: var(--ink); font-weight: 600; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.tile {
  position: relative;
  aspect-ratio: 1.2;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.tile--doc::after {
  content: "";
  position: absolute;
  inset: 28% 33%;
  border-radius: 4px;
  background: #e2e8f0;
}
.tile--video {
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #eef2ff 0%, #e0e7ff 100%);
  color: var(--indigo);
}
.tile--video svg { width: 24px; height: 24px; }
.app-storage {
  position: absolute;
  left: -20px;
  bottom: -28px;
  width: 232px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 34px -16px rgba(15, 23, 42, .28);
}
.app-storage-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 9px; font-size: .75rem; color: var(--muted); }
.app-storage-head strong { color: var(--ink); font-size: .95rem; }
.meter { height: 6px; border-radius: 99px; background: #eef2f7; overflow: hidden; }
.meter i { display: block; height: 100%; width: 62%; border-radius: inherit; background: linear-gradient(90deg, var(--indigo), var(--teal)); }
.app-badge {
  position: absolute;
  top: 92px;
  right: -16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--green);
  font-size: .72rem;
  font-weight: 600;
  box-shadow: 0 10px 24px -12px rgba(4, 120, 87, .45);
}
.app-key {
  position: absolute;
  right: -12px;
  bottom: -20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #0b1120;
  color: #fff;
  box-shadow: 0 18px 44px -18px rgba(15, 23, 42, .65);
}
.app-key-label { display: block; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #94a3b8; }
.app-key-value { display: block; margin-top: 4px; font-family: var(--mono); font-size: .82rem; letter-spacing: .04em; }
.app-key-status { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: .62rem; color: #34d399; }
.app-key-status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 17px 12px;
  font-size: .875rem;
  font-weight: 500;
  color: #475569;
  border-right: 1px solid var(--line);
}
.trust-strip li:last-child { border-right: 0; }
.trust-strip .i { width: 17px; height: 17px; color: var(--indigo); }

/* ---------- sections ---------- */
.section { padding: 108px 0; }
.section--tight { padding: 56px 0 96px; }
.section--muted { background: var(--mist); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { margin: 12px 0 14px; font-size: clamp(1.85rem, 3.3vw, 2.7rem); letter-spacing: -.032em; }
.section-sub { font-size: 1.0313rem; line-height: 1.7; color: var(--body); }
.section-head .section-sub { margin-top: 6px; }

.page-head { padding: 64px 0 8px; text-align: center; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.035em; margin: 8px 0 14px; }
.page-head--compact { padding: 48px 0 0; }
.page-head .section-sub { max-width: 620px; margin-inline: auto; }
.page-legal .page-head { text-align: left; }
.page-legal .page-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

.h3 { font-size: 1.35rem; margin-bottom: 18px; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.feature-card:hover { transform: translateY(-3px); border-color: #d7dee8; box-shadow: var(--shadow-md); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--indigo-soft);
  color: var(--indigo);
}
.feature-icon .i { width: 21px; height: 21px; }
.feature-card h3 { font-size: 1.0625rem; margin-bottom: 8px; letter-spacing: -.015em; }
.feature-card p { font-size: .9375rem; line-height: 1.65; color: var(--body); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 44px; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--teal));
}
.step-num {
  display: block;
  margin-bottom: 14px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--indigo);
}
.step h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.step p { font-size: .9375rem; color: var(--body); }
.steps--wide { gap: 32px; }

/* pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card--popular {
  border-color: rgba(79, 70, 229, .55);
  box-shadow: 0 1px 2px rgba(79, 70, 229, .1), 0 24px 50px -24px rgba(79, 70, 229, .45), inset 0 0 0 1px rgba(79, 70, 229, .12);
}
.price-card--popular:hover { box-shadow: 0 1px 2px rgba(79, 70, 229, .12), 0 30px 60px -24px rgba(79, 70, 229, .5); }
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #5b52f0, var(--indigo-600));
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 18px -8px rgba(67, 56, 202, .7);
}
.price-name { font-size: 1.125rem; letter-spacing: -.01em; }
.price-desc { margin-top: 4px; font-size: .875rem; color: var(--muted); min-height: 2.6em; }
.price-storage { margin-top: 20px; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.price-amount { margin-top: 4px; font-size: 2.6rem; font-weight: 700; letter-spacing: -.045em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-amount small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.price-one-time { font-size: .8125rem; color: var(--muted); }
.price-features { display: grid; gap: 10px; margin: 24px 0 28px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.price-features li { display: flex; align-items: flex-start; gap: 9px; font-size: .9rem; color: var(--body); }
.price-features .i { width: 17px; height: 17px; margin-top: 2px; color: var(--teal); }
.price-card .btn { margin-top: auto; }
.pricing-footnote { margin-top: 22px; text-align: center; font-size: .8125rem; color: var(--muted); }

/* key section */
.section--key { background: linear-gradient(180deg, #fff 0%, #f8faff 100%); }
.key-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.key-points { display: grid; gap: 12px; margin-top: 26px; }
.key-points li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; color: var(--body); }
.key-points .i { color: var(--indigo); }

.terminal {
  border-radius: 18px;
  background: #0b1120;
  border: 1px solid #1e293b;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .2), 0 40px 80px -40px rgba(15, 23, 42, .55);
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid #1e293b;
  font-size: .75rem;
  color: #64748b;
}
.terminal-bar .app-dots i { background: #334155; }
.terminal-body { padding: 24px; font-family: var(--mono); font-size: .8125rem; line-height: 1.9; }
.term-line { color: #94a3b8; opacity: 0; transform: translateY(4px); }
.term-line.is-on { opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.term-line.is-on:nth-child(1) { transition-delay: .05s; }
.term-line.is-on:nth-child(2) { transition-delay: .45s; }
.term-line.is-on:nth-child(3) { transition-delay: .95s; }
.term-line.is-on:nth-child(4) { transition-delay: 1.35s; }
.term-key {
  margin-top: 18px;
  padding: 16px;
  border: 1px dashed #334155;
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
}
.term-key span { display: block; font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: #64748b; }
.term-key strong { display: block; margin-top: 6px; font-size: .95rem; letter-spacing: .06em; color: #e2e8f0; }
.term-hint { margin-top: 14px; color: #475569; font-size: .72rem; }

/* faq */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color .18s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--indigo); }
.faq-chevron { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--mist); color: var(--muted); transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.faq-chevron .i { width: 16px; height: 16px; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); background: var(--indigo-soft); color: var(--indigo); }
.faq-answer { padding: 0 4px 22px; max-width: 72ch; }
.faq-answer p { font-size: .9375rem; line-height: 1.7; color: var(--body); }

/* cta */
.cta-band { position: relative; overflow: hidden; margin: 24px 0 96px; }
.cta-inner {
  position: relative;
  padding: 72px 32px;
  border-radius: 28px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(20, 184, 166, .35), transparent 60%),
    radial-gradient(700px 400px at 85% 120%, rgba(99, 102, 241, .55), transparent 60%),
    linear-gradient(135deg, #1e1b4b 0%, #312e81 55%, #4338ca 100%);
  box-shadow: 0 30px 70px -40px rgba(49, 46, 129, .8);
}
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-inner p { margin: 12px auto 28px; max-width: 52ch; color: rgba(255, 255, 255, .72); }
.cta-inner .btn--primary { background: #fff; color: var(--indigo-600); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5), inset 0 -1px 0 rgba(0, 0, 0, .06); }
.cta-inner .btn--primary:hover { background: #f8fafc; }
.cta-glow { position: absolute; inset: auto; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #fff; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-tagline { margin-top: 14px; max-width: 34ch; font-size: .9rem; color: var(--muted); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer-col a { font-size: .9rem; color: var(--body); transition: color .18s var(--ease); }
.footer-col a:hover { color: var(--indigo); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: .8125rem;
  color: var(--muted);
}
.footer-privacy { display: inline-flex; align-items: center; gap: 6px; }
.footer-privacy .i { width: 14px; height: 14px; color: var(--teal); }

/* ---------- cards / forms ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.form { display: grid; gap: 16px; }
.form--inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.form--inline .field { flex: 1 1 220px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .9375rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .14);
}
.field textarea { resize: vertical; min-height: 96px; }
.form-note { display: flex; align-items: center; gap: 7px; font-size: .78rem; color: var(--muted); }
.form-note .i { width: 14px; height: 14px; color: var(--teal); }
.form-error { font-size: .85rem; color: var(--red); }

/* support */
.support-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; align-items: start; }
.ticket-success { display: grid; gap: 12px; justify-items: start; }
.success-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--green);
}
.success-icon .i { width: 22px; height: 22px; }
.ticket-code-box { display: flex; align-items: baseline; gap: 12px; padding: 12px 16px; border: 1px dashed #cbd5e1; border-radius: 12px; width: 100%; }
.ticket-code-box span { font-size: .75rem; color: var(--muted); }
.ticket-code-box strong { font-family: var(--mono); font-size: 1rem; letter-spacing: .06em; color: var(--ink); }
.ticket-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.ticket-meta span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ticket-meta strong { font-size: .9rem; color: var(--ink); }
.ticket-messages { display: grid; gap: 12px; margin: 20px 0; max-height: 380px; overflow-y: auto; }
.ticket-msg { padding: 12px 14px; border-radius: 12px; background: var(--mist); font-size: .9rem; }
.ticket-msg[data-role="support"] { background: var(--indigo-soft); }
.ticket-msg span { display: block; margin-bottom: 4px; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.is-waiting,
.status-pill.is-pending { background: #fef3c7; color: var(--amber); }
.status-pill.is-detected { background: var(--indigo-soft); color: var(--indigo-600); }
.status-pill.is-paid { background: var(--teal-soft); color: var(--green); }
.status-pill.is-expired { background: #f1f5f9; color: var(--muted); }
.status-pill.is-review { background: #fee2e2; color: #b91c1c; }

/* checkout */
.stepper { display: flex; justify-content: center; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.stepper li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 500;
}
.stepper li span {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .7rem;
  font-weight: 700;
}
.stepper li.is-active { background: var(--indigo-soft); color: var(--indigo-600); }
.stepper li.is-active span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.stepper li.is-done span { background: var(--teal); border-color: var(--teal); color: #fff; }

.checkout-wrap { max-width: 760px; margin-inline: auto; }
.checkout-form { display: grid; gap: 26px; }
.fieldset { border: 0; padding: 0; margin: 0; }
.fieldset legend { margin-bottom: 14px; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.plan-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-option { cursor: pointer; }
.plan-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-option-body {
  display: grid;
  gap: 3px;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.plan-option:hover .plan-option-body { border-color: #cbd5e1; }
.plan-option input:checked + .plan-option-body {
  border-color: var(--indigo);
  background: #f8f9ff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
}
.plan-option input:focus-visible + .plan-option-body { outline: 2px solid var(--indigo); outline-offset: 2px; }
.plan-option-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.plan-option-top strong { font-size: .9375rem; color: var(--ink); }
.plan-option-top em { font-style: normal; font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--indigo); background: var(--indigo-soft); padding: 2px 6px; border-radius: 999px; }
.plan-option-storage { font-size: .8125rem; color: var(--muted); }
.plan-option-price { font-size: 1.05rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

.chain-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.chain-option { cursor: pointer; }
.chain-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chain-option-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.chain-option:hover .chain-option-body { border-color: #cbd5e1; }
.chain-option input:checked + .chain-option-body {
  border-color: var(--indigo);
  background: #f8f9ff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, .12);
}
.chain-option input:focus-visible + .chain-option-body { outline: 2px solid var(--indigo); outline-offset: 2px; }
.chain-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--indigo-soft); color: var(--indigo); }
.chain-option-body strong { display: block; font-size: .9375rem; color: var(--ink); }
.chain-option-body small { font-size: .75rem; color: var(--muted); }

.pay-panel { display: grid; gap: 22px; }
.pay-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pay-timer { font-family: var(--mono); font-size: .95rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.pay-label { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.pay-value { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); }
.pay-value strong { font-family: var(--mono); font-size: 1.15rem; letter-spacing: .02em; color: var(--ink); }
.pay-address { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--mist); }
.pay-address code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-family: var(--mono); font-size: .8125rem; color: var(--ink); }
.copy-btn {
  flex: none;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.copy-btn:hover { color: var(--indigo); border-color: var(--indigo); }
.copy-btn.is-copied { color: var(--green); border-color: #a7f3d0; background: var(--teal-soft); }
.pay-qr { text-align: center; }
.pay-qr img { width: 200px; height: 200px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.pay-warning { display: flex; align-items: flex-start; gap: 8px; padding: 12px 14px; border-radius: 12px; background: #fffbeb; color: var(--amber); font-size: .8125rem; line-height: 1.55; }
.pay-warning .i { width: 16px; height: 16px; margin-top: 2px; }
.pay-keep { font-size: .78rem; color: var(--muted); text-align: center; }

.key-panel { display: grid; gap: 16px; justify-items: center; text-align: center; }
.key-panel h2 { font-size: 1.5rem; }
.key-display {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 1px dashed #a5b4fc;
  border-radius: 14px;
  background: #f8f9ff;
}
.key-display code { flex: 1; min-width: 0; overflow-wrap: anywhere; font-family: var(--mono); font-size: 1rem; letter-spacing: .06em; color: var(--ink); }
.key-display--lg { display: grid; gap: 6px; padding: 22px; text-align: center; }
.key-display--lg code { font-size: 1.15rem; }
.key-display-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.key-display--lg .copy-btn { justify-self: center; }

/* order */
.order-card { display: grid; gap: 20px; margin-top: 22px; }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.order-ref { font-family: var(--mono); font-size: .8125rem; color: var(--muted); }
.order-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0; padding: 18px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.order-meta dt { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.order-meta dd { margin: 4px 0 0; font-size: .95rem; font-weight: 600; color: var(--ink); }
.order-hint { padding: 12px 14px; border-radius: 12px; background: #fffbeb; color: var(--amber); font-size: .85rem; }

/* legal */
.legal-body { display: grid; gap: 34px; }
.legal-section h2 { font-size: 1.1rem; margin-bottom: 8px; }
.legal-section p { font-size: .95rem; line-height: 1.75; color: var(--body); }

/* two column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.method-list { display: grid; gap: 18px; }
.method-list li { display: flex; gap: 14px; }
.method-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--indigo-soft); color: var(--indigo); flex: none; }
.method-list strong { display: block; color: var(--ink); font-size: .95rem; }
.method-time { display: inline-block; margin-left: 8px; font-size: .75rem; color: var(--muted); }
.method-list p { margin-top: 2px; font-size: .85rem; color: var(--muted); }
.tip-list { display: grid; gap: 12px; }
.tip-list li { display: flex; gap: 10px; font-size: .9375rem; }
.tip-list .i { color: var(--teal); margin-top: 3px; }

/* reveal animation (progressive enhancement) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-in .85s var(--ease) both;
      animation-timeline: view();
      animation-range: entry 0% entry 38%;
    }
  }
}
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { gap: 40px; }
  .app-body { grid-template-columns: 108px 1fr; }
  .feature-grid { gap: 16px; }
  .key-grid { gap: 44px; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; padding-bottom: 88px; }
  .hero h1 { max-width: 20ch; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .app-badge { right: 0; }
  .app-storage { left: 0; }
  .app-key { right: 0; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-strip li:nth-child(2) { border-right: 0; }
  .trust-strip li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .key-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .support-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .section { padding: 76px 0; }
  .section--tight { padding: 44px 0 72px; }
  .section-head { margin-bottom: 36px; }
  .hero { padding-top: 52px; }
  .hero h1 { font-size: clamp(2.15rem, 9vw, 2.9rem); }
  .hero-sub { font-size: 1rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .app-window { border-radius: 16px; }
  .app-body { grid-template-columns: 1fr; padding: 14px; }
  .app-side { display: none; }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .app-storage { position: static; width: 100%; margin-top: 14px; box-shadow: var(--shadow-sm); }
  .app-badge { position: static; margin-top: 12px; width: max-content; }
  .app-key { position: static; margin-top: 12px; border-radius: 12px; }
  .trust-strip li { padding: 14px 10px; font-size: .8rem; justify-content: flex-start; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .price-card { padding: 26px 22px; }
  .cta-band { margin-bottom: 64px; }
  .cta-inner { padding: 48px 22px; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .plan-options { grid-template-columns: 1fr; }
  .chain-options { grid-template-columns: 1fr; }
  .order-meta, .ticket-meta { grid-template-columns: 1fr 1fr; }
  .page-head { padding-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* 404 */
.notfound { text-align: center; }
.notfound-actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.notfound { min-height: 62vh; display: grid; place-items: center; }

/* payment issue channel */
.card--wide { grid-column: 1 / -1; }
.card--wide .muted { margin-bottom: 16px; }
.help-box {
  padding: 20px;
  border: 1px solid #fde68a;
  border-radius: 14px;
  background: #fffbeb;
}
.help-box h3 { font-size: 1rem; margin-bottom: 6px; }
.help-box > p { margin-bottom: 14px; font-size: .875rem; line-height: 1.6; color: #92400e; }
.help-box .field label { color: #78350f; }
.help-success { display: grid; gap: 12px; }
.help-success > p { font-size: .9rem; color: var(--green); }

/* payment details on the order page */
.order-pay { display: grid; gap: 18px; }
.pay-scan-hint { margin-top: 10px; font-size: .75rem; color: var(--muted); }

/* renewal */
.renew-banner {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid #c7d2fe;
  border-radius: 14px;
  background: #f5f6ff;
}
.renew-banner strong { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--indigo); }
.renew-banner span { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.renew-banner p { font-size: .85rem; color: var(--body); }
.renew-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--mist);
}
.renew-box > div { display: grid; gap: 2px; }
.renew-label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.renew-box strong { font-size: 1rem; color: var(--ink); }
.renew-box .btn { flex: none; }
