/* =========================================================
   Photzen — original demo site
   No external fonts, frameworks, or CDN dependencies.
   ========================================================= */

:root {
  --bg: #07080c;
  --bg-soft: #0b0d14;
  --panel: #0f1118;
  --panel-2: #12141d;
  --text: #f4f5f8;
  --muted: #a2a8bb;
  --muted-2: #737a90;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --amber: #f5c26b;
  --grad: linear-gradient(110deg, #c4b5fd 0%, #67e8f9 52%, #fcd34d 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --header-h: 74px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 620px at 12% -12%, rgba(124, 58, 237, 0.16), transparent 62%),
    radial-gradient(760px 520px at 88% -4%, rgba(8, 145, 178, 0.12), transparent 60%),
    radial-gradient(760px 520px at 50% 104%, rgba(190, 24, 93, 0.08), transparent 62%),
    var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(103, 232, 249, 0.28);
  color: #fff;
}

:focus-visible {
  outline: 2px solid #67e8f9;
  outline-offset: 3px;
}

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: #fff;
  color: #08090d;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  background: rgba(7, 8, 12, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 8, 12, 0.9);
  border-bottom-color: var(--line);
}

.header-inner {
  position: relative;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
}

.brand-name {
  font-size: 19px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.brand-name span {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  vertical-align: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav > a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav > a:hover {
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lang-switch:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.25px) rotate(-45deg);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 620;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--text);
  color: #08090d;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
  background: #fff;
  box-shadow: 0 14px 38px rgba(255, 255, 255, 0.16);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line-strong);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---------- type helpers ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}

.link-btn:hover {
  text-decoration-color: var(--cyan);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: #c4b5fd;
  font-size: 14px;
}

.link-arrow:hover {
  color: #e9e6ff;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 104px;
}

.hero-glow {
  position: absolute;
  top: -12%;
  right: -8%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18), transparent 66%);
  filter: blur(30px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 72px;
  align-items: center;
}

.hero-copy h1 {
  margin: 18px 0 22px;
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 680;
}

html[lang="en"] .hero-copy h1 {
  font-size: clamp(44px, 5.4vw, 72px);
  letter-spacing: -0.04em;
}

.lede {
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-form {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 580px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-form:focus-within {
  border-color: rgba(103, 232, 249, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.hero-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 16px;
  border: 0;
  background: transparent;
  font-size: 14px;
  outline: 0;
}

.hero-form input::placeholder {
  color: var(--muted-2);
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 12px;
}

.meta-sep {
  width: 1px;
  height: 12px;
  background: var(--line-strong);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin: 36px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--muted-2);
  font-size: 12px;
}

.hero-visual {
  position: relative;
}

.visual-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: #0a0b10;
  box-shadow: var(--shadow);
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 12, 0.46) 0%, transparent 28%, transparent 58%, rgba(7, 8, 12, 0.86) 100%);
}

.visual-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 8, 12, 0.46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.tag-muted {
  color: rgba(255, 255, 255, 0.7);
}

.visual-prompt {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 62px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.65;
}

.visual-foot {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.floating-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(10, 12, 18, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  color: var(--muted);
  font-size: 12px;
  animation: float 7s ease-in-out infinite;
}

.floating-card span {
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-a {
  top: 118px;
  left: -28px;
}

.floating-b {
  right: -22px;
  bottom: 92px;
  animation-delay: -3.2s;
}

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

/* ---------- sections ---------- */

.section {
  position: relative;
  padding: 108px 0;
  scroll-margin-top: var(--header-h);
}

.section-head {
  max-width: 720px;
  margin-bottom: 46px;
}

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

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head.center .section-lede {
  margin-inline: auto;
}

.section-head h2 {
  margin: 12px 0 16px;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 660;
}

.section-lede {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.section-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  max-width: none;
}

.section-head.split > p {
  max-width: 410px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- studio ---------- */

.studio {
  padding-top: 92px;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 26px;
  align-items: stretch;
}

.studio-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-panel textarea {
  width: 100%;
  min-height: 108px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.26);
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  resize: vertical;
  outline: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.studio-panel textarea:focus {
  border-color: rgba(103, 232, 249, 0.55);
  background: rgba(0, 0, 0, 0.34);
}

.field {
  display: flex;
  flex-direction: column;
}

.field-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.chip:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.chip.is-active {
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(196, 181, 253, 0.48);
  color: #e9e6ff;
}

.fineprint {
  margin: 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.65;
}

.fineprint a {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.studio-tip {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.7;
}

.studio-tip span {
  margin-right: 6px;
  color: #c4b5fd;
}

.studio-output {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.canvas-shell {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(420px 300px at 50% 0%, rgba(139, 92, 246, 0.08), transparent 70%),
    #0a0b10;
}

#canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.canvas-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  pointer-events: none;
}

.canvas-empty small {
  color: var(--muted-2);
  font-size: 12px;
}

.canvas-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(7, 8, 12, 0.74);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.canvas-loading[hidden] {
  display: none;
}

.loading-bar {
  width: 180px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.loading-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--grad);
  transition: width 0.12s linear;
}

.output-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  color: var(--muted-2);
  font-size: 12px;
}

/* ---------- gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.art-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.art-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.art-open {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #0a0b10;
  cursor: zoom-in;
}

.art-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.art-card:hover .art-open img {
  transform: scale(1.045);
}

.art-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.art-card figcaption span:last-child {
  color: var(--muted-2);
  font-size: 11px;
}

/* ---------- features ---------- */

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

.feature-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(196, 181, 253, 0.18);
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.12);
  color: #c4b5fd;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- steps ---------- */

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.step-num {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.step h3 {
  margin: 14px 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- pricing ---------- */

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 10px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.billing-toggle button {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease;
}

.billing-toggle button.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.save {
  margin-left: 3px;
  color: var(--cyan);
  font-size: 11px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.price-card.is-featured {
  border-color: rgba(139, 92, 246, 0.45);
  background:
    radial-gradient(420px 240px at 50% 0%, rgba(139, 92, 246, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(139, 92, 246, 0.08), var(--panel));
  box-shadow: 0 24px 70px rgba(76, 29, 149, 0.18);
}

.price-badge {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grad);
  color: #0b0713;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.price-card h3 {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 550;
}

.price {
  margin: 12px 0 4px;
  font-size: 44px;
  font-weight: 660;
  letter-spacing: -0.045em;
  line-height: 1;
}

.price-period {
  margin-left: 2px;
  color: var(--muted-2);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}

.price-note {
  min-height: 20px;
  margin: 0;
  color: var(--muted-2);
  font-size: 12px;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
}

.price-card .btn {
  margin-top: auto;
}

.pricing-note {
  margin: 24px 0 0;
  color: var(--muted-2);
  font-size: 12px;
  text-align: center;
}

/* ---------- faq ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: start;
}

.faq-list details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 550;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--muted-2);
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.faq-list details p a {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- cta ---------- */

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(640px 320px at 0% 0%, rgba(139, 92, 246, 0.2), transparent 72%),
    radial-gradient(520px 280px at 100% 100%, rgba(8, 145, 178, 0.12), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.cta-copy h2 {
  margin: 14px 0 14px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.cta-copy p:not(.eyebrow) {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.waitlist-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.32);
  color: var(--text);
  font-size: 14px;
  outline: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.waitlist-form input:focus {
  border-color: rgba(103, 232, 249, 0.6);
  background: rgba(0, 0, 0, 0.44);
}

.waitlist-form input::placeholder {
  color: var(--muted-2);
}

.waitlist-form .btn {
  width: 100%;
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: 40px;
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand > p {
  max-width: 300px;
  margin: 16px 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.footer-small {
  color: var(--muted-2) !important;
  font-size: 12px !important;
  line-height: 1.7;
}

.footer-col h4 {
  margin: 0 0 14px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.footer-bottom a {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12px;
}

/* ---------- dialog / toast ---------- */

.lightbox {
  position: relative;
  width: min(92vw, 920px);
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: var(--text);
}

.lightbox::backdrop {
  background: rgba(3, 4, 8, 0.84);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 16px;
  background: #0a0b10;
}

.lightbox p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(14, 16, 24, 0.92);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  z-index: 1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 120;
  max-width: calc(100% - 32px);
  padding: 11px 18px;
  border-radius: 999px;
  background: #fff;
  color: #08090d;
  font-size: 13px;
  font-weight: 550;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- inner pages ---------- */

.page {
  padding: 84px 0 100px;
}

.page .wrap {
  max-width: 860px;
}

.page-head,
.prose,
.page-card {
  margin-inline: auto;
}

.page-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.page-head h1 {
  margin: 12px 0 14px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.prose {
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.prose h2 {
  margin: 36px 0 12px;
  color: var(--text);
  font-size: 21px;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: 26px 0 8px;
  color: var(--text);
  font-size: 17px;
}

.prose p {
  margin: 0 0 16px;
}

.prose ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
}

.prose a {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.92em;
}

.page-card {
  max-width: 760px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.page-card + .page-card {
  margin-top: 16px;
}

.page-card h2 {
  margin-top: 0;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-list span {
  min-width: 90px;
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
  padding: 60px 0 100px;
  text-align: center;
}

.error-code {
  margin: 0;
  font-size: clamp(96px, 18vw, 180px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.07em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page h1 {
  margin: 16px 0 10px;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.03em;
}

.error-page p {
  max-width: 460px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid {
    gap: 44px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 5.6vw, 68px);
  }

  .floating-a {
    left: -14px;
  }

  .floating-b {
    right: -10px;
  }

  .studio-grid {
    grid-template-columns: 1fr;
  }

  .studio-output {
    max-width: 720px;
    width: 100%;
    margin-inline: auto;
  }

  .faq-grid {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .step-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .cta-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 68px;
  }

  .wrap {
    width: min(100% - 36px, var(--wrap));
  }

  .nav-toggle {
    display: flex;
  }

  .site-header {
    background: rgba(7, 8, 12, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px 18px calc(24px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    background: #0b0d14;
    box-shadow: none;
    overflow-y: auto;
    z-index: 70;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a {
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
  }

  .site-nav > a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-cta {
    margin-top: 4px;
    text-align: center;
  }

  .lang-switch {
    align-self: flex-start;
    margin: 12px 14px 2px;
  }

  .hero {
    padding: 58px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-visual {
    width: min(100%, 460px);
    margin-inline: auto;
  }

  .visual-card {
    aspect-ratio: 4 / 5;
  }

  .section {
    padding: 82px 0;
  }

  .section-head.split {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section-head.split > p {
    max-width: 600px;
  }

  .cta-card {
    padding: 30px;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  .hero-copy h1 {
    font-size: clamp(40px, 11.4vw, 54px);
  }

  .lede {
    font-size: 15px;
  }

  .hero-form {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
  }

  .hero-form input {
    padding: 12px 14px;
  }

  .hero-form .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 8px;
    font-size: 11px;
  }

  .hero-stats {
    gap: 30px;
  }

  .floating-a {
    top: 104px;
    left: -8px;
  }

  .floating-b {
    right: -6px;
    bottom: 58px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .section-head h2 {
    font-size: clamp(30px, 8.4vw, 40px);
  }

  .studio-panel {
    padding: 20px;
  }

  .field-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .field-row .btn {
    width: 100%;
  }

  .price-card {
    padding: 24px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 420px) {
  .floating-card {
    display: none;
  }

  .hero-stats {
    gap: 22px;
  }

  .cta-card {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
