/* ===== Vibe Editor — landing page =====
 * Sleek, restrained, editorial. Thin display type, near-black canvas,
 * hairline borders, lots of air. Accent colour used sparingly; the warm
 * gradient is reserved for the product's active toggle (the brand moment).
 */
:root {
  --bg: #09090b;
  --bg-2: #0d0d10;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f3f6;
  --muted: #9a9aa7;
  --faint: #6b6b78;
  --violet: #8b7dff;
  --violet-2: #ada3ff;
  --warm-a: #ff9638;
  --warm-b: #e9406e;
  --green: #4ade80;
  --radius: 14px;
  --maxw: 1120px;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1000px 520px at 50% -260px, rgba(139, 125, 255, 0.13), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  background-attachment: fixed;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-weight: 400; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }

section { padding: 110px 24px; }
section > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px;
  font-weight: 500; color: var(--violet-2); margin-bottom: 16px;
}

.grad {
  background: linear-gradient(110deg, var(--violet-2), #d7cdff 45%, #ffd5b8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 500; font-size: 15px;
  letter-spacing: -0.01em; cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary {
  color: #0b0b0e; background: #fff;
}
.btn-primary:hover { transform: translateY(-1px); background: #e9e9ee; }
.btn-ghost { color: var(--muted); border-color: var(--border); background: transparent; }
.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); }

/* "Try now" — animated warm fade border, echoing the app's edit-mode glow
   (the same orange → red → pink the active bubble + image loader use). */
.btn-try { position: relative; z-index: 0; border-color: transparent; }
.btn-try::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 999px;
  background: linear-gradient(120deg, #ff9638, #ff6348, #e9406e, #ff9638);
  background-size: 300% 300%; animation: try-flow 6s ease infinite;
}
.btn-try::after {
  content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: 999px;
  background: linear-gradient(120deg, #ff9638, #e9406e); filter: blur(10px);
  opacity: .45; animation: try-glow 2.6s ease-in-out infinite;
}
@keyframes try-flow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes try-glow { 0%, 100% { opacity: .35; } 50% { opacity: .7; } }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 16px 24px; max-width: 100%;
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(9, 9, 11, 0.55); border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-name { font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.brand-name span { color: var(--violet-2); }
.logo {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--violet), #6356e6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .35);
}
.logo svg { width: 58%; height: 58%; fill: #fff; }
.logo.sm { width: 26px; height: 26px; border-radius: 8px; }
.brand-logo { height: 40px; width: auto; display: block; }
.foot-brand .brand-logo { height: 30px; }
.login-brand .brand-logo { height: 46px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 400; transition: color .2s ease; }
.nav-links a:hover { color: var(--text); }

/* ===== Hero ===== */
.hero { position: relative; padding-top: 96px; padding-bottom: 56px; text-align: center; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.hero h1 {
  font-size: clamp(44px, 6.6vw, 86px); font-weight: 300; letter-spacing: -0.035em;
  line-height: 1.02; margin: 22px 0;
}
.lead {
  font-size: clamp(17px, 2vw, 21px); font-weight: 300; color: var(--muted);
  max-width: 600px; margin: 0 auto; line-height: 1.55;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; margin: 36px 0 26px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; color: var(--faint); font-size: 13.5px; font-weight: 400; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 820px; height: 560px; pointer-events: none; z-index: 1;
  background: radial-gradient(closest-side, rgba(139, 125, 255, .2), transparent 70%);
  filter: blur(24px);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 400;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(74, 222, 128, .14); }

/* ===== Hero demo — the headline IS the live demo (3D) ===== */
.hero-stage {
  position: relative; margin: 26px auto 6px; max-width: 840px;
  perspective: 1500px; perspective-origin: 50% 32%;
}
.hero-plane {
  position: relative; transform-style: preserve-3d;
  transform: rotateX(0deg); transition: transform .72s cubic-bezier(.2, .7, .2, 1);
  padding: 26px 10px 64px;
}
.hero-stage.tilt .hero-plane { transform: rotateX(8deg) rotateZ(-0.4deg); }

.hero-edit {
  position: relative; display: inline-block;
  font-size: clamp(44px, 6.6vw, 86px); font-weight: 300; letter-spacing: -0.035em;
  line-height: 1.04; margin: 0; border-radius: 14px; padding: 6px 18px;
  min-height: 2.2em; /* both states are two lines, so the morph never resizes */
  outline: 1.6px dashed transparent; outline-offset: 9px;
  transition: outline-color .25s ease, background .25s ease;
}
.hero-stage.editing .hero-edit { outline-color: rgba(139, 125, 255, .55); background: rgba(139, 125, 255, .055); }
.hero-edit.hot { outline-color: rgba(173, 163, 255, .95); background: rgba(139, 125, 255, .12); }

.hero-head-text {
  display: inline-block; transform-style: preserve-3d; backface-visibility: hidden;
  transition: transform .42s cubic-bezier(.4, .05, .2, 1), opacity .38s ease, filter .38s ease;
}
.hero-head-text.flip { transform: rotateX(-92deg) translateY(-6px); opacity: 0; filter: blur(2px); }

.hero-prompt {
  position: absolute; left: 0; top: 0; z-index: 8;
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 12px 22px; border-radius: 999px;
  background: rgba(18, 16, 34, .82); border: 1px solid var(--border-strong);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .42);
  font-size: 16px; opacity: 0; transform: translate(-8px, -50%);
  transition: opacity .3s ease, transform .3s ease;
}
.hero-prompt.show { opacity: 1; transform: translate(0, -50%); }
.hero-prompt-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--violet-2); font-weight: 500; }
.hero-prompt-text { color: var(--text); font-weight: 300; font-size: 16px; }
.hero-prompt-text::after { content: "▌"; color: var(--violet); opacity: 0; }
.hero-prompt.typing .hero-prompt-text::after { opacity: 1; animation: blink 1s steps(1) infinite; }

.hero-bubble { left: 50%; right: auto; bottom: 6px; margin-left: -38px; }
.hero-toast { bottom: 58px; }

/* ===== Demo ===== */
.demo-wrap { padding-top: 34px; text-align: center; }
.demo-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 300; letter-spacing: -0.03em; }
.demo-head p { color: var(--muted); font-weight: 300; margin: 12px auto 38px; max-width: 540px; }

.browser {
  max-width: 880px; margin: 0 auto; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  background: #0f0f13;
  box-shadow: 0 50px 120px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .02);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px; padding: 13px 16px;
  background: rgba(255, 255, 255, .025); border-bottom: 1px solid var(--border);
}
.bdot { width: 11px; height: 11px; border-radius: 50%; opacity: .9; }
.bdot.r { background: #ff5f57; } .bdot.y { background: #febc2e; } .bdot.g { background: #28c840; }
.browser-url {
  margin-left: 12px; font-size: 12.5px; color: var(--faint); font-weight: 400;
  background: rgba(255, 255, 255, .04); padding: 5px 14px; border-radius: 7px;
}

/* The mock site is intentionally light & editorial — a premium contrast to the dark UI. */
.stage {
  position: relative; height: 470px; overflow: hidden;
  background: linear-gradient(165deg, #f8f7f5 0%, #eef0f4 100%);
}
.frame {
  position: absolute; inset: 0; pointer-events: none; z-index: 5; opacity: 0;
  box-shadow: inset 0 0 0 1.5px rgba(255, 120, 70, .55), inset 0 0 60px rgba(255, 120, 70, .16);
  transition: opacity .5s ease;
}
.stage.editing .frame { opacity: 1; }

.site { position: relative; z-index: 2; padding: 60px 56px; text-align: left; max-width: 640px; }
.site-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .01em;
  background: rgba(20, 20, 28, .05); color: #5a5a66; border: 1px solid rgba(20, 20, 28, .08);
  margin-bottom: 22px;
}
.site-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.site h1 { color: #16161c; font-size: clamp(32px, 4.2vw, 50px); font-weight: 300; letter-spacing: -0.035em; margin-bottom: 18px; transition: opacity .3s ease; }
.site p { color: #55555f; font-size: 17px; font-weight: 300; max-width: 470px; margin-bottom: 28px; line-height: 1.6; transition: opacity .3s ease; }
.site-cta {
  border: none; cursor: pointer; padding: 12px 24px; border-radius: 999px; font-weight: 500; font-size: 15px;
  font-family: var(--font); color: #fff; background: #16161c; letter-spacing: -0.01em;
}
.ed { border-radius: 8px; outline: 1.5px dashed transparent; outline-offset: 5px; transition: outline-color .2s ease, background .2s ease; }
.ed.hot { outline-color: rgba(139, 125, 255, .85); background: rgba(139, 125, 255, .09); }

/* mock bubble — glass toggle-switch (kald/venstre av / varm/høyre + puls på) */
.vbubble {
  position: absolute; box-sizing: border-box; right: 24px; bottom: 24px; z-index: 6;
  width: 76px; height: 40px; border-radius: 999px; overflow: hidden; isolation: isolate; cursor: pointer;
  background:
    radial-gradient(140% 140% at 20% 10%, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0) 55%),
    linear-gradient(140deg, rgba(109, 104, 255, .6), rgba(80, 78, 220, .45) 55%, rgba(60, 66, 190, .6));
  border: 1px solid rgba(255, 255, 255, .42);
  box-shadow: 0 10px 28px rgba(40, 40, 120, .4), inset 0 1px 2px rgba(255, 255, 255, .55), inset 0 -6px 14px rgba(30, 20, 90, .25);
  transition: box-shadow .35s ease;
}
/* varmt spor som toner inn når aktiv */
.vbubble::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 150, 56, .96), rgba(255, 99, 72, .93), rgba(233, 64, 110, .93), rgba(255, 150, 56, .96));
  background-size: 300% 300%;
  opacity: 0; transition: opacity .6s ease;
}
/* knotten som glir */
.vknob {
  position: absolute; box-sizing: border-box; top: 50%; left: 5px; width: 30px; height: 30px; border-radius: 50%; z-index: 2;
  display: grid; place-items: center;
  background: radial-gradient(130% 130% at 30% 25%, #fff, rgba(255, 255, 255, .88) 60%, rgba(235, 238, 255, .92));
  box-shadow: 0 3px 8px rgba(20, 18, 60, .35), inset 0 1px 1px rgba(255, 255, 255, .9);
  transform: translateY(-50%);
  transition: left .38s cubic-bezier(.2, .8, .2, 1);
}
.vbubble.active .vknob { left: calc(100% - 35px); }
.vknob svg { width: 17px; height: 17px; fill: #6d5efc; transition: fill .4s ease; }
.vbubble.active .vknob svg { fill: #ff7a3c; }
.vbubble.active { border-color: rgba(255, 255, 255, .6); animation: vbubble-glow 2.6s ease-in-out infinite; }
.vbubble.active::after { opacity: 1; animation: vbubble-flow 8s ease infinite; }
@keyframes vbubble-flow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes vbubble-glow {
  0%, 100% { box-shadow: 0 10px 28px rgba(225, 90, 60, .45), 0 0 0 0 rgba(255, 120, 70, 0), inset 0 1px 2px rgba(255, 255, 255, .55); }
  50% { box-shadow: 0 14px 36px rgba(225, 90, 60, .6), 0 0 22px 5px rgba(255, 120, 70, .4), inset 0 1px 2px rgba(255, 255, 255, .65); }
}

/* mock panel */
.vpanel {
  position: absolute; z-index: 7; width: 296px; right: 28px; bottom: 96px;
  background: #fff; color: #1a1a22; border-radius: 14px; overflow: hidden; text-align: left;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .28), 0 0 0 1px rgba(0, 0, 0, .04);
  opacity: 0; transform: translateY(8px) scale(.98); pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}
.vpanel.show { opacity: 1; transform: translateY(0) scale(1); }
.vpanel-head { display: flex; justify-content: space-between; align-items: center; background: #6d5efc; color: #fff; font-weight: 600; padding: 12px 15px; font-size: 14px; letter-spacing: -0.01em; }
.vclose { opacity: .85; }
.vorig { margin: 13px 15px; padding: 9px 11px; background: #f4f4f7; border-radius: 8px; color: #6a6a74; font-size: 13px; font-weight: 300; }
.vlabel { margin: 13px 15px 5px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #9a9aa6; }
.vprompt {
  margin: 0 15px; padding: 9px 12px; min-height: 38px; border: 1px solid #e4e4ea; border-radius: 8px;
  font-size: 14px; font-weight: 300; color: #1a1a22;
}
.vprompt::after { content: "▌"; color: var(--violet); animation: blink 1s steps(1) infinite; opacity: 0; }
.vprompt.typing::after { opacity: 1; }
@keyframes blink { 50% { opacity: 0; } }
.vbtn {
  display: block; width: calc(100% - 30px); margin: 12px 15px 0; border: none; cursor: pointer; padding: 10px 15px; border-radius: 8px;
  background: #6d5efc; color: #fff; font-weight: 600; font-size: 13.5px; font-family: var(--font); letter-spacing: -0.01em; text-align: center;
}
.vbtn.loading { opacity: .65; }
.vbtn-ghost { background: transparent; color: #6d5efc; border: 1px solid transparent; margin-bottom: 15px; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.vbtn-ghost.hot { background: rgba(109, 94, 252, .08); border-color: rgba(109, 94, 252, .55); box-shadow: 0 0 0 3px rgba(109, 94, 252, .18); }
.vor { display: flex; align-items: center; margin: 14px 15px 4px; color: #b4b4be; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.vor::before, .vor::after { content: ""; flex: 1; height: 1px; background: #ececf2; }
.vor span { padding: 0 10px; }
.vresult { padding: 0 15px 15px; }
.vsugg {
  margin-top: 13px; padding: 10px 12px; background: #f0fbf4; border: 1px solid #c8ecd5; border-radius: 8px;
  font-size: 14px; font-weight: 400; color: #14532d; opacity: 0; transform: translateY(6px); transition: all .3s ease;
}
.vsugg.show { opacity: 1; transform: translateY(0); }
.vsugg-actions { display: flex; gap: 8px; margin-top: 11px; opacity: 0; transition: opacity .3s ease; }
.vsugg-actions.show { opacity: 1; }
.vapprove { border: none; cursor: pointer; padding: 8px 14px; border-radius: 8px; background: #16a34a; color: #fff; font-weight: 500; font-size: 13px; font-family: var(--font); }
.vload { margin-top: 13px; color: var(--violet); font-size: 14px; font-weight: 300; }

/* mock toast */
.vtoast {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(10px); z-index: 8;
  background: #14141a; color: #fff; padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 400;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .35); opacity: 0; transition: opacity .3s ease, transform .3s ease;
}
.vtoast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* fake cursor */
.cursor {
  position: absolute; z-index: 9; left: 0; top: 0; width: 22px; height: 22px; pointer-events: none;
  transition: transform .8s cubic-bezier(.5, .05, .2, 1); will-change: transform;
}
.cursor::before {
  content: ""; position: absolute; inset: 0;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' stroke='black' stroke-width='1.5' d='M5 3l14 8-6 1.5L9.5 19z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35));
}
.cursor.click::after {
  content: ""; position: absolute; left: -6px; top: -6px; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid rgba(120, 110, 255, .9); animation: ring .5s ease-out;
}

/* Hero cursor is ~2x the size of the in-browser demo cursor. */
.hero-plane .cursor { width: 44px; height: 44px; }
.hero-plane .cursor.click::after { left: -11px; top: -11px; width: 66px; height: 66px; }
@keyframes ring { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.1); opacity: 0; } }

.demo-caption {
  margin: 30px auto 0; font-size: 13.5px; font-weight: 400; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); padding: 8px 18px; border-radius: 999px;
  display: inline-block; min-width: 220px; transition: color .3s ease;
}

/* ===== AI image-edit demo (lion → cool lion) ===== */
.site-photo {
  position: relative; width: 100%; max-width: 470px; height: 188px;
  border-radius: 12px; margin: 6px 0 24px; overflow: hidden;
  background: radial-gradient(circle at 50% 44%, #fff3df 0%, #f3dcb6 62%, #e7c79a 100%);
  box-shadow: 0 14px 30px rgba(20, 20, 40, .12);
  transition: outline-color .2s ease, background .5s ease;
}
.site-photo.ed { outline-offset: 6px; }
/* "make it cooler" → cooler (bluer) scene */
.site-photo.cool { background: radial-gradient(circle at 50% 44%, #e4ecff 0%, #c2cffb 60%, #a6b6f5 100%); }

/* Two stacked photos: "before" underneath, "after" (shades) cross-fades in on .cool */
.lion-img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.lion-after { opacity: 0; transition: opacity .55s ease; }
.site-photo.cool .lion-after { opacity: 1; }

/* Loader shown over the photo while "AI generates" — mirrors the real plugin. */
.photo-loader {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.photo-loader span {
  font-size: 13px; font-weight: 600; color: #6d5efc;
  text-shadow: 0 1px 2px rgba(255, 255, 255, .8);
}
/* Rotating ring in the brand fade (purple → pink → orange). */
.photo-spinner {
  width: 54px; height: 54px; border-radius: 50%;
  background: conic-gradient(from 0deg, #6d5efc, #e9406e, #ff9638, #6d5efc);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 6px));
  animation: photo-spin .9s linear infinite;
}
@keyframes photo-spin { to { transform: rotate(360deg); } }

/* While generating: show loader + pulse a warm fade border (like the page frame, a touch stronger). */
.site-photo.loading .photo-loader { opacity: 1; visibility: visible; }
.site-photo.loading {
  border: 2px solid rgba(255, 120, 70, .5);
  animation: photo-pulse 1.8s ease-in-out infinite;
}
@keyframes photo-pulse {
  0%, 100% {
    border-color: rgba(255, 120, 70, .5);
    box-shadow: 0 14px 30px rgba(20,20,40,.12),
      inset 0 0 26px rgba(255,120,70,.45), inset 0 0 70px rgba(233,80,90,.3), 0 0 14px rgba(255,110,70,.35);
  }
  50% {
    border-color: rgba(233, 64, 110, .78);
    box-shadow: 0 14px 30px rgba(20,20,40,.12),
      inset 0 0 42px rgba(255,120,70,.78), inset 0 0 120px rgba(233,80,90,.5), 0 0 28px rgba(233,64,110,.55);
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-spinner { animation: photo-spin 2.4s linear infinite; }
  .site-photo.loading { animation: none; border-color: rgba(233,64,110,.6); }
}

.vpanel-edit { width: 286px; }

/* ===== CMS ===== */
.cms { text-align: center; }
.cms h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 40px; }
.cms-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cms-card {
  position: relative; flex: 0 0 calc(25% - 9px); max-width: calc(25% - 9px); box-sizing: border-box;
  padding: 26px 16px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; align-items: center;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.cms-card:hover { transform: translateY(-2px); border-color: var(--border-strong); background: var(--surface-2); }
.cms-name { font-weight: 500; font-size: 16px; letter-spacing: -0.01em; }
.cms-tag { font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--green); }
.cms-tag.soon { color: var(--faint); }
.cms-card.live { border-color: rgba(139, 125, 255, .28); background: rgba(139, 125, 255, .05); }
.cms-card.adapt { border-style: dashed; }
.cms-card.adapt .cms-tag { color: var(--violet-2); }
.cms-note { color: var(--faint); margin-top: 30px; font-size: 14.5px; font-weight: 300; }

/* ===== How ===== */
.how { text-align: center; }
.how h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.step { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .2s ease, background .2s ease; }
.step:hover { border-color: var(--border-strong); background: var(--surface-2); }
.step-num {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 400; font-size: 16px;
  color: var(--violet-2); background: rgba(139, 125, 255, .1); border: 1px solid rgba(139, 125, 255, .25); margin-bottom: 18px;
}
.step h3 { font-size: 19px; font-weight: 500; margin-bottom: 9px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-weight: 300; }

/* ===== Features ===== */
.features { text-align: center; }
.features h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 48px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.fcard {
  padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.fcard:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--surface-2); }
.fic {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(139, 125, 255, .08); border: 1px solid rgba(139, 125, 255, .2); margin-bottom: 18px; color: var(--violet-2);
}
.fic svg { width: 21px; height: 21px; }
.fcard h3 { font-size: 18px; font-weight: 500; margin-bottom: 9px; letter-spacing: -0.02em; }
.fcard p { color: var(--muted); font-weight: 300; }

/* ===== Security ===== */
.security .sec-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.security h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 26px; }
.sec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.sec-list li { color: var(--muted); font-weight: 300; padding-left: 28px; position: relative; line-height: 1.55; }
.sec-list li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 11px; height: 6px; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg); }
.sec-list strong { color: var(--text); font-weight: 500; }
.sec-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 32px; }
.sec-badge { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--violet-2); background: rgba(139, 125, 255, .08); border: 1px solid rgba(139, 125, 255, .2); margin-bottom: 22px; }
.sec-badge svg { width: 22px; height: 22px; }
.sec-rows { display: grid; gap: 10px; }
.sec-rows > div { display: flex; justify-content: space-between; align-items: center; padding: 13px 15px; border-radius: 10px; background: rgba(0, 0, 0, .22); border: 1px solid var(--border); }
.sec-rows span { color: var(--muted); font-size: 14px; font-weight: 300; }
.sec-rows b { color: var(--text); font-size: 14px; font-weight: 500; }

/* ===== Pricing ===== */
.pricing { text-align: center; }
.pricing h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 14px; }
.pricing-sub { color: var(--muted); font-weight: 300; max-width: 560px; margin: 0 auto 40px; }

.price-trial {
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  text-align: left; padding: 20px 28px; margin-bottom: 28px; border-radius: 16px;
  background: radial-gradient(140% 200% at 0% 0%, rgba(255, 150, 56, .12), transparent 60%), var(--surface);
  border: 1px solid rgba(233, 64, 110, .28);
}
.price-trial-text { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.price-trial-text p { color: var(--muted); font-weight: 300; }
.price-trial-text strong { color: var(--text); font-weight: 500; }
.price-trial-badge {
  flex: none; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em;
  color: #fff; padding: 7px 12px; border-radius: 999px;
  background: linear-gradient(110deg, var(--warm-a), var(--warm-b));
}

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; align-items: stretch; }
.pcard {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.pcard:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--surface-2); }
.pcard.popular { border-color: rgba(139, 125, 255, .45); background: rgba(139, 125, 255, .06); }
.pcard-flag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap;
  color: #0b0b0e; background: linear-gradient(110deg, var(--violet-2), #d7cdff); padding: 5px 12px; border-radius: 999px;
}
.pcard-name { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 14px; color: var(--violet-2); }
.price { display: flex; align-items: baseline; gap: 4px; }
.price .amt { font-size: 34px; font-weight: 300; letter-spacing: -0.03em; color: var(--text); }
.price .per { font-size: 15px; font-weight: 300; color: var(--faint); }
.pcard-credits { font-size: 15px; font-weight: 500; color: var(--text); margin-top: 8px; }
.pcard-sub { font-size: 13.5px; font-weight: 300; color: var(--muted); margin-top: 3px; }
.pcard-cta { justify-content: center; width: 100%; margin: 22px 0; }
.plist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plist li { color: var(--muted); font-weight: 300; font-size: 14.5px; padding-left: 24px; position: relative; line-height: 1.5; }
.plist li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 5.5px; border-left: 1.5px solid var(--violet-2); border-bottom: 1.5px solid var(--violet-2); transform: rotate(-45deg); }
.price-note { color: var(--faint); margin-top: 30px; font-size: 14px; font-weight: 300; }
.price-note strong { color: var(--muted); font-weight: 500; }

/* Monthly / yearly billing toggle */
.price-toggle { display: flex; align-items: center; justify-content: center; gap: 13px; margin-bottom: 32px; flex-wrap: wrap; }
.pt-opt { font-size: 14.5px; font-weight: 400; color: var(--faint); transition: color .2s ease; }
.pt-opt.active { color: var(--text); }
.pt-switch {
  position: relative; width: 50px; height: 28px; border-radius: 999px; padding: 0; cursor: pointer;
  border: 1px solid var(--border-strong); background: rgba(0, 0, 0, .3);
  transition: background .25s ease, border-color .25s ease;
}
.pt-knob {
  position: absolute; top: 50%; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  transform: translateY(-50%); background: #fff; transition: left .25s cubic-bezier(.2, .8, .2, 1);
}
.pt-switch[aria-checked="true"] { background: linear-gradient(110deg, var(--warm-a), var(--warm-b)); border-color: transparent; }
.pt-switch[aria-checked="true"] .pt-knob { left: calc(100% - 25px); }
.pt-save {
  font-size: 11.5px; font-weight: 500; letter-spacing: .03em; color: #ffcaa0;
  background: rgba(255, 150, 56, .12); border: 1px solid rgba(255, 150, 56, .3); padding: 5px 11px; border-radius: 999px;
}
.pcard-billed { font-size: 12px; font-weight: 300; color: var(--faint); margin-top: 4px; min-height: 15px; opacity: 0; transition: opacity .2s ease; }
.price-grid.yearly .pcard-billed { opacity: 1; }

/* ===== CTA ===== */
.cta { text-align: center; }
.cta-inner {
  background: radial-gradient(120% 140% at 50% 0%, rgba(139, 125, 255, .12), transparent 70%), var(--surface);
  border: 1px solid var(--border); border-radius: 26px; padding: 66px 30px;
}
.cta h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 300; letter-spacing: -0.035em; margin-bottom: 16px; }
.cta-inner > p { color: var(--muted); font-weight: 300; max-width: 500px; margin: 0 auto 32px; }
.cta-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 620px; margin: 0 auto; }
.cta-form input, .cta-form select {
  padding: 13px 17px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(0, 0, 0, .25); color: var(--text); font-size: 15px; font-weight: 300; font-family: var(--font); min-width: 180px;
}
.cta-form input::placeholder { color: var(--faint); }
.cta-form input:focus, .cta-form select:focus { outline: none; border-color: var(--violet); }
.cta-fine { color: var(--faint); font-size: 13px; font-weight: 300; margin-top: 18px; }

/* ===== Footer ===== */
.foot { padding: 44px 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot p { color: var(--faint); font-size: 14px; font-weight: 300; }
.foot-admin { color: var(--faint); font-size: 12px; font-weight: 300; opacity: .6; transition: opacity .2s ease, color .2s ease; }
.foot-admin:hover { opacity: 1; color: var(--muted); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  section { padding: 80px 22px; }
  .nav-links { display: none; }
  .brand-logo { height: 34px; }
  .cms-card { flex: 0 0 calc(50% - 6px); max-width: calc(50% - 6px); }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .security .sec-inner { grid-template-columns: 1fr; }
  .stage { height: 430px; }
  .site { padding: 40px 28px; }
}
@media (max-width: 560px) {
  .price-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor { transition: none; }
  .vbubble.active, .vbubble.active::after { animation: none; }
  .btn-try::before, .btn-try::after { animation: none; }
  .vknob { transition: none; }
  * { scroll-behavior: auto; }
}
