/* ============================================================================
   Rayzia — landing page
   Figma-style marketing site: light canvas, colourful accents, dark product
   mockup, big type, soft shadows, smooth reveals.
   ========================================================================== */

:root {
  /* brand (Rayzia — Tangerine: juicy orange → coral) */
  --orange:   #FF7E3D;
  --orange-d: #E2531F;
  --pink:     #F2487E;
  --violet:   #9C6BFF;
  --green:    #6FB72E;
  --green-2:  #7FC241;

  /* figma-ish accent palette */
  --purple: #9C6BFF;
  --blue:   #1ABCFE;
  --red:    #F24E1E;
  --teal:   #0ACF83;
  --yellow: #FFB020;

  /* neutrals */
  --ink:      #14151A;
  --ink-2:    #2C2E36;
  --muted:    #62656E;
  --muted-2:  #8A8D97;
  --line:     #E7E8EC;
  --line-2:   #EFF0F3;
  --bg:       #FFFFFF;
  --bg-soft:  #F7F7F9;
  --bg-soft-2:#F1F2F5;

  /* product mockup (dark, matches the real editor) */
  --app-bar:   #2B2D31;
  --app-panel: #1F2024;
  --app-canvas:#34363B;
  --app-line:  #3A3D43;
  --app-text:  #D7D9DE;
  --app-muted: #8B8F98;
  --app-accent:#4A90D9;

  --radius:   16px;
  --radius-l: 24px;
  --shadow-sm: 0 1px 2px rgba(20,21,26,.06), 0 2px 8px rgba(20,21,26,.05);
  --shadow-md: 0 8px 24px rgba(20,21,26,.08), 0 2px 8px rgba(20,21,26,.05);
  --shadow-lg: 0 30px 60px -20px rgba(20,21,26,.30), 0 12px 28px -12px rgba(20,21,26,.18);
  --shadow-xl: 0 50px 100px -28px rgba(20,21,26,.40);

  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --grad-brand: linear-gradient(100deg, #FF9A3D, #FF6E50);
  --grad-warm:  linear-gradient(115deg, #FFAE52, #FF7E5F 55%, #FF6F91);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { display: block; }
em { font-style: normal; color: var(--orange); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section.alt { background: var(--bg-soft); }

/* generic icon strokes */
.ico, .ico-check { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-check { color: var(--green); }

/* ───────────────────────── buttons ───────────────────────── */
.btn {
  --pad: 11px 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--pad);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { --pad: 15px 26px; font-size: 16px; border-radius: 13px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(255,110,77,.7); }
.btn-primary:hover { box-shadow: 0 12px 28px -8px rgba(255,110,77,.85); transform: translateY(-2px); }

.btn-soft { background: var(--bg-soft-2); color: var(--ink); border-color: var(--line); }
.btn-soft:hover { background: #fff; border-color: var(--muted-2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--bg-soft-2); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.45); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ───────────────────────── announcement ───────────────────────── */
.announce {
  background: var(--ink); color: #fff;
  text-align: center; font-size: 13.5px; font-weight: 500;
  padding: 9px 16px; letter-spacing: -0.01em;
}
.announce strong { color: var(--yellow); }
.announce a { color: #fff; margin-left: 6px; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 1px; }
.announce a:hover { border-color: #fff; }
.announce-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(127,194,65,.7); animation: ping 1.8s infinite; }
@keyframes ping { 0%{box-shadow:0 0 0 0 rgba(127,194,65,.6);} 70%{box-shadow:0 0 0 7px rgba(127,194,65,0);} 100%{box-shadow:0 0 0 0 rgba(127,194,65,0);} }

/* ───────────────────────── navbar ───────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 1px 0 rgba(20,21,26,.02), var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; flex: none; display: block; border-radius: 9px; box-shadow: 0 6px 16px -6px rgba(255,126,80,.55); }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name { font-size: 21px; font-weight: 800; letter-spacing: -0.035em; color: var(--ink); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 14px; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--bg-soft-2); color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: .25s var(--ease); }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ───────────────────────── hero ───────────────────────── */
.hero { position: relative; overflow: hidden; padding: 84px 0 90px; }
.hero-blobs { position: absolute; inset: 0; z-index: 0; pointer-events: none; filter: blur(56px); opacity: .55; }
.blob { position: absolute; border-radius: 50%; }
.blob-1 { width: 460px; height: 460px; background: radial-gradient(circle, #FFB36B, transparent 65%); top: -120px; left: -90px; }
.blob-2 { width: 520px; height: 520px; background: radial-gradient(circle, #9C6BFF, transparent 65%); top: -160px; right: -120px; }
.blob-3 { width: 420px; height: 420px; background: radial-gradient(circle, #7FC241, transparent 65%); bottom: -180px; left: 28%; }
.blob-4 { width: 360px; height: 360px; background: radial-gradient(circle, #1ABCFE, transparent 65%); bottom: -120px; right: 16%; }

.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.04fr; gap: 56px; align-items: center; }
/* let grid tracks be bounded by the viewport, not the mockup's min-content */
.hero-inner > * { min-width: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line);
  padding: 7px 14px 7px 11px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.eyebrow-dots { display: inline-flex; gap: 3px; }
.eyebrow-dots i { width: 7px; height: 7px; border-radius: 50%; }
.eyebrow-dots i:nth-child(1){ background: var(--orange); }
.eyebrow-dots i:nth-child(2){ background: var(--green-2); }
.eyebrow-dots i:nth-child(3){ background: var(--purple); }

.hero-title { font-size: clamp(40px, 5.4vw, 66px); font-weight: 900; letter-spacing: -0.035em; }
.grad-text { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 22px; font-size: 18.5px; line-height: 1.6; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 22px; flex-wrap: wrap; }
.hero-trust li { display: flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 500; color: var(--muted); }

/* ───────── product mockup (dark editor) ───────── */
.hero-app { perspective: 1600px; }
.app {
  border-radius: 14px; overflow: hidden; background: var(--app-bar);
  border: 1px solid rgba(0,0,0,.5);
  box-shadow: var(--shadow-xl);
  transform: rotateX(4deg) rotateY(-7deg) rotate(.4deg);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
  color: var(--app-text); font-size: 11px;
}
.hero-app:hover .app { transform: rotateX(1deg) rotateY(-2deg); }

.app-titlebar { display: flex; align-items: center; gap: 7px; padding: 9px 13px; background: #232427; border-bottom: 1px solid #000; }
.app-titlebar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r{ background:#FF5F57; } .dot.y{ background:#FEBC2E; } .dot.g{ background:#28C840; }
.app-title { margin-left: 10px; color: var(--app-muted); font-size: 11px; }

.app-menubar { display: flex; align-items: center; gap: 15px; padding: 7px 14px; background: var(--app-bar); border-bottom: 1px solid var(--app-line); color: var(--app-muted); }
.app-menubar span:not(.app-menubar-spacer):not(.app-zoomchip):hover { color: var(--app-text); cursor: default; }
.app-menubar-spacer { flex: 1; }
.app-zoomchip { background: #1b1c1f; padding: 3px 9px; border-radius: 6px; color: var(--app-text); font-weight: 600; }

.app-body { display: grid; grid-template-columns: 46px 1fr 168px; height: 372px; }

/* tool rail */
.app-rail { background: var(--app-bar); border-right: 1px solid var(--app-line); padding: 7px 0; display: flex; flex-direction: column; align-items: center; gap: 3px; overflow: hidden; }
.trail-btn {
  width: 32px; height: 32px; border: 0; background: transparent; color: var(--app-muted);
  border-radius: 7px; cursor: pointer; display: grid; place-items: center; position: relative;
  transition: background .15s, color .15s;
}
.trail-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trail-btn:hover { background: #3a3d43; color: var(--app-text); }
.trail-btn.current { background: var(--app-accent); color: #fff; box-shadow: 0 2px 8px -2px rgba(74,144,217,.8); }
.trail-sep { width: 22px; height: 1px; background: var(--app-line); margin: 4px 0; }

/* canvas */
.app-canvas { background: var(--app-canvas); display: flex; flex-direction: column; position: relative; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 16px 16px; }
.app-artboard { flex: 1; display: grid; place-items: center; position: relative; }
.art { width: 188px; height: auto; border-radius: 10px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.6); }
.art-selected { outline: none; }
.sel-box { position: absolute; left: 50%; top: 50%; width: 30px; height: 60px; transform: translate(-46px, 6px); border: 1.5px solid var(--app-accent); }
.sel-h { position: absolute; width: 7px; height: 7px; background: #fff; border: 1.5px solid var(--app-accent); border-radius: 1px; }
.sel-h.tl{ left:-4px; top:-4px;} .sel-h.tr{ right:-4px; top:-4px;}
.sel-h.bl{ left:-4px; bottom:-4px;} .sel-h.br{ right:-4px; bottom:-4px;}

.app-zoombar { display: flex; align-items: center; gap: 10px; padding: 6px 12px; background: var(--app-bar); border-top: 1px solid var(--app-line); color: var(--app-muted); }
.app-zoombar-spacer { flex: 1; }
.z-btn { width: 18px; height: 18px; display: grid; place-items: center; background: #1b1c1f; border-radius: 5px; color: var(--app-text); }

/* dock */
.app-dock { background: var(--app-panel); border-left: 1px solid var(--app-line); display: flex; flex-direction: column; }
.dock-tabs { display: flex; border-bottom: 1px solid var(--app-line); }
.dock-tab { flex: 1; text-align: center; padding: 9px 0; color: var(--app-muted); cursor: pointer; border-bottom: 2px solid transparent; }
.dock-tab.active { color: var(--app-text); border-bottom-color: var(--app-accent); }
.dock-body { padding: 12px; overflow: hidden; }
.dock-sec { margin-bottom: 15px; }
.dock-sec-h { text-transform: uppercase; letter-spacing: .07em; font-size: 9.5px; color: var(--app-muted); margin-bottom: 8px; font-weight: 700; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.field-grid label { display: flex; align-items: center; gap: 6px; background: #16171a; border: 1px solid var(--app-line); border-radius: 6px; padding: 4px 7px; color: var(--app-muted); }
.field-grid input { width: 100%; background: none; border: 0; color: var(--app-text); font-size: 11px; font-family: inherit; outline: none; padding: 0; }
.swatch-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.swatch { width: 18px; height: 18px; border-radius: 5px; border: 1px solid rgba(255,255,255,.15); flex: none; }
.swatch.grad { background: linear-gradient(120deg, #FFB36B, #FF7E73, #9C6BFF); }
.swatch-hex { color: var(--app-text); flex: 1; }
.swatch-op { color: var(--app-muted); }
.layer-row { display: flex; align-items: center; gap: 7px; padding: 4px 6px; border-radius: 5px; color: var(--app-text); }
.layer-row.pad { padding-left: 16px; }
.layer-row.active { background: rgba(74,144,217,.18); }
.layer-ico { color: var(--app-muted); width: 12px; text-align: center; }

/* ───────────────────────── logos strip ───────────────────────── */
.logos { padding: 46px 0 10px; }
.logos-label { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 26px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 46px; align-items: center; }
.logo-word { font-size: 21px; font-weight: 700; color: #B7BAC2; letter-spacing: -0.02em; filter: grayscale(1); transition: color .2s, filter .2s; }
.logo-word b { color: #9498A2; }
.logo-word:hover { color: var(--ink-2); filter: grayscale(0); }

/* ───────────────────────── section head ───────────────────────── */
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.kicker { display: inline-block; font-size: 14px; font-weight: 700; color: var(--orange); letter-spacing: -0.01em; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; letter-spacing: -0.03em; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--muted); }

/* ───────────────────────── features ───────────────────────── */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.feat-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  color: var(--accent, var(--orange));
  background: color-mix(in srgb, var(--accent, var(--orange)) 12%, #fff);
}
.feat-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feat-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.feat-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ───────────────────────── showcase ───────────────────────── */
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 46px 0; }
.show-row.reverse .show-copy { order: 2; }
.show-copy h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; letter-spacing: -0.03em; }
.show-copy .kicker { margin-bottom: 12px; }
.show-copy > p { margin-top: 16px; font-size: 17px; color: var(--muted); line-height: 1.65; }
.show-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.show-list li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); }

.show-art { display: grid; place-items: center; }
.show-card { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-l); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.grad-gpu { background: linear-gradient(135deg, #2A2350, #6E3CC4 60%, #F26B3A); }
.grad-worker { background: linear-gradient(135deg, #0E1726, #134E4A 55%, #0ACF83); padding: 34px; align-content: center; gap: 18px; }
.grad-browser { background: linear-gradient(135deg, #1ABCFE, #4A7BFF 60%, #9C6BFF); }

.gpu-badge { position: absolute; top: 20px; left: 20px; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .14em; padding: 6px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); }
.fps { color: #fff; font-size: 84px; font-weight: 900; letter-spacing: -0.05em; line-height: 1; text-shadow: 0 8px 30px rgba(0,0,0,.3); }
.fps span { font-size: 26px; margin-left: 4px; opacity: .85; }
.gpu-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px); background-size: 30px 30px; mask-image: radial-gradient(circle at 70% 70%, #000, transparent 75%); }

.thread-row { display: flex; align-items: center; gap: 14px; width: 100%; }
.thread-label { width: 78px; color: rgba(255,255,255,.85); font-weight: 600; font-size: 13px; }
.thread-bar { flex: 1; height: 12px; background: rgba(255,255,255,.16); border-radius: 999px; overflow: hidden; }
.pulse { display: block; height: 100%; border-radius: 999px; }
.pulse.smooth { width: 30%; background: rgba(255,255,255,.9); animation: slide 2.4s var(--ease) infinite; }
.pulse.busy { width: 60%; background: linear-gradient(90deg, #0ACF83, #7FC241); animation: slide 1.3s linear infinite; }
.pulse.busy.d2 { animation-delay: .3s; background: linear-gradient(90deg, #FFB020, #F26B3A); }
@keyframes slide { 0%{ transform: translateX(-120%);} 100%{ transform: translateX(260%);} }

.mini-browser { width: 76%; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); }
.mb-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #F1F2F5; border-bottom: 1px solid var(--line); }
.mb-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CFD2DA; }
.mb-url { margin-left: 10px; font-size: 11px; color: var(--muted); background: #fff; padding: 3px 10px; border-radius: 6px; }
.mb-body { height: 132px; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #fff, #EEF0FF); }
.mb-logo { font-size: 52px; font-weight: 900; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ───────────────────────── stats ───────────────────────── */
.stats { padding: 26px 0 90px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: 50px; font-weight: 900; letter-spacing: -0.04em; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat b small { font-size: 22px; }
.stat span { color: var(--muted); font-size: 15px; font-weight: 500; }

/* ───────────────────────── pricing ───────────────────────── */
.bill-toggle { display: inline-flex; background: var(--bg-soft-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 30px; }
.bill-opt { border: 0; background: transparent; padding: 9px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: .2s; }
.bill-opt.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.save { background: color-mix(in srgb, var(--green) 16%, #fff); color: var(--green); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 30px 26px; position: relative; transition: transform .25s var(--ease), box-shadow .25s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured { border: 2px solid transparent; background: linear-gradient(#fff,#fff) padding-box, var(--grad-brand) border-box; box-shadow: var(--shadow-lg); transform: scale(1.03); }
.price-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-brand); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 999px; box-shadow: 0 8px 18px -6px rgba(255,110,77,.6); }
.price-name { font-size: 21px; font-weight: 800; }
.price-tag { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.price-amount { margin: 20px 0 22px; display: flex; align-items: baseline; gap: 2px; }
.price-amount .cur { font-size: 24px; font-weight: 700; color: var(--ink); align-self: flex-start; margin-top: 8px; }
.price-amount b { font-size: 54px; font-weight: 900; letter-spacing: -0.04em; }
.price-amount .per { color: var(--muted); font-size: 15px; font-weight: 500; margin-left: 4px; }
.price-feats { list-style: none; padding: 22px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.price-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.price-feats .ico-check { flex: none; margin-top: 2px; }

.price-enterprise { margin-top: 22px; background: var(--ink); color: #fff; border-radius: var(--radius-l); padding: 28px 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.price-enterprise h4 { font-size: 21px; font-weight: 800; }
.price-enterprise p { color: rgba(255,255,255,.7); margin-top: 4px; font-size: 15px; }

/* ───────────────────────── testimonials ───────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.stars { color: var(--yellow); letter-spacing: 3px; font-size: 15px; margin-bottom: 14px; }
.testi-card blockquote { margin: 0 0 22px; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); font-weight: 500; letter-spacing: -0.01em; }
.testi-card figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px; }
.testi-card figcaption b { display: block; font-size: 14.5px; }
.testi-card figcaption small { color: var(--muted); font-size: 13px; }

/* ───────────────────────── FAQ ───────────────────────── */
.faq-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 13px; padding: 4px 20px; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chev { width: 18px; height: 18px; flex: none; position: relative; }
.faq-chev::before, .faq-chev::after { content: ""; position: absolute; top: 50%; width: 11px; height: 2px; background: var(--muted); border-radius: 2px; transition: transform .25s var(--ease); }
.faq-chev::before { left: 0; transform: rotate(45deg); }
.faq-chev::after { right: 0; transform: rotate(-45deg); }
.faq-item[open] .faq-chev::before { transform: rotate(-45deg); background: var(--orange); }
.faq-item[open] .faq-chev::after { transform: rotate(45deg); background: var(--orange); }
.faq-a { padding: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.65; max-width: 60ch; }
.faq-a em { color: var(--ink-2); font-weight: 600; }

/* ───────────────────────── final CTA ───────────────────────── */
.cta-final { padding: 100px 0; }
.cta-inner { position: relative; overflow: hidden; background: var(--ink); border-radius: 32px; padding: 76px 40px; text-align: center; color: #fff; }
.cta-inner h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; letter-spacing: -0.03em; position: relative; z-index: 1; }
.cta-inner > p { margin: 18px auto 0; max-width: 560px; font-size: 18px; color: rgba(255,255,255,.72); position: relative; z-index: 1; }
.cta-actions { margin-top: 34px; display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-blobs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.cta-blobs span:nth-child(1){ width: 320px; height: 320px; background: var(--orange); top: -120px; left: -40px; }
.cta-blobs span:nth-child(2){ width: 300px; height: 300px; background: var(--purple); bottom: -140px; right: 6%; }
.cta-blobs span:nth-child(3){ width: 260px; height: 260px; background: var(--green); bottom: -120px; left: 30%; }

/* ───────────────────────── footer ───────────────────────── */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand-lockup { margin-bottom: 14px; }
.footer-brand-lockup .brand-mark { width: 30px; height: 30px; }
.footer-brand-lockup .brand-name { font-size: 19px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; max-width: 280px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 36px; height: 36px; border-radius: 9px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: .2s; }
.socials a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.socials a:hover { color: var(--ink); border-color: var(--muted-2); transform: translateY(-2px); }
.footer-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); margin-bottom: 14px; font-weight: 700; }
.footer-col a { display: block; color: var(--ink-2); font-size: 14.5px; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted-2); font-size: 13.5px; }

/* ───────────────────────── reveal on scroll ───────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.feat-grid .reveal.in:nth-child(2){ transition-delay: .05s; }
.feat-grid .reveal.in:nth-child(3){ transition-delay: .10s; }
.feat-grid .reveal.in:nth-child(4){ transition-delay: .15s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ───────────────────────── responsive ───────────────────────── */
@media (max-width: 1080px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-app { max-width: 600px; }
  .app { transform: none; }
  .hero-app:hover .app { transform: none; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav.menu-open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 24px; gap: 4px; box-shadow: var(--shadow-md);
  }
  .nav.menu-open .nav-cta { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; }
  .show-row, .show-row.reverse { grid-template-columns: 1fr; gap: 32px; }
  .show-row.reverse .show-copy { order: 0; }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
  .testi-grid { grid-template-columns: 1fr; }
  .faq-inner { grid-template-columns: 1fr; gap: 30px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .section { padding: 76px 0; }
}
@media (max-width: 520px) {
  .feat-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 29px; letter-spacing: -0.03em; }
  .hero-sub { font-size: 16.5px; }
  .section-head h2, .show-copy h2, .cta-inner h2 { font-size: 27px; }
  .hero-actions .btn { flex: 1 1 100%; }
  /* shrink the editor mockup so its fixed inner columns fit a phone */
  .app-body { grid-template-columns: 36px 1fr 128px; height: 318px; }
  .art { width: 130px; }
  .app, .app-menubar { font-size: 10px; }
  .app-menubar { gap: 10px; }
  .trail-btn { width: 28px; height: 28px; }
  .trail-btn svg { width: 16px; height: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-inner { padding: 54px 22px; }
  .price-enterprise { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ── AI Assistant (flagship) ──────────────────────────────────────────── */
.ai-chip { display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:800; letter-spacing:.1em; color:#fff; background:linear-gradient(90deg,var(--orange),var(--pink)); border-radius:999px; padding:6px 14px; margin-bottom:18px; }
.ai-chip i { width:7px; height:7px; border-radius:50%; background:#fff; animation:aiPulse 1.6s infinite; }
@keyframes aiPulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.ai-float { position:absolute; right:-14px; bottom:-18px; width:min(300px,80%); background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow-lg); padding:12px 14px; font-size:12.5px; z-index:3; }
.ai-float .ai-head { display:flex; align-items:center; gap:7px; font-weight:800; font-size:11px; letter-spacing:.08em; color:var(--muted); margin-bottom:8px; }
.ai-float .ai-head .dot { width:8px; height:8px; border-radius:50%; background:linear-gradient(90deg,var(--orange),var(--pink)); }
.ai-msg { border-radius:10px; padding:7px 10px; margin:6px 0; line-height:1.45; }
.ai-msg.user { background:var(--bg-soft-2); color:var(--ink-2); }
.ai-msg.bot { background:#FFF3EA; color:#7A3A12; }
.ai-msg.bot b { color:var(--orange-d); }
.ai-msg .ok { color:var(--green); font-weight:700; }

.ai-demo { width:100%; border-radius:var(--radius-l); background:#fff; border:1px solid var(--line); box-shadow:var(--shadow-lg); padding:18px 20px; font-size:13.5px; }
.ai-demo .ai-head { display:flex; align-items:center; gap:8px; font-weight:800; font-size:11.5px; letter-spacing:.08em; color:var(--muted); padding-bottom:10px; border-bottom:1px solid var(--line-2); margin-bottom:10px; }
.ai-demo .ai-head .dot { width:9px; height:9px; border-radius:50%; background:linear-gradient(90deg,var(--orange),var(--pink)); }
.ai-demo .ai-msg { font-size:13px; }
.ai-demo .steps { margin:6px 0 2px; padding:0; list-style:none; }
.ai-demo .steps li { padding:3px 0 3px 22px; position:relative; color:#7A3A12; }
.ai-demo .steps li::before { content:"✓"; position:absolute; left:2px; color:var(--green); font-weight:800; }
.ai-note { color:var(--muted-2); font-size:12px; margin-top:10px; }

/* real-editor screenshot frame (hero) + share-link card */
.shot-frame { border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(20,21,26,.45), 0 8px 24px rgba(20,21,26,.18); border: 1px solid rgba(20,21,26,.10); background:#1F2024; }
.shot-frame img { display:block; width:100%; height:auto; }
.link-card { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; width:100%; height:100%; }
.link-pill { display:flex; align-items:center; gap:10px; background:#fff; border-radius:999px; padding:12px 20px; font-weight:700; font-size:14.5px; color:var(--ink); box-shadow:0 10px 30px rgba(20,21,26,.18); }
.link-pill .eye { width:26px; height:26px; border-radius:50%; display:grid; place-items:center; background:linear-gradient(90deg,var(--orange),var(--pink)); color:#fff; font-size:13px; }
.link-sub { color:#fff; font-size:12.5px; opacity:.85; }

/* CSS-drawn browser chrome around the real screenshot — instantly reads as
   "this is a website" (owner direction: draw it, don't screenshot it). */
.shot-bar { display:flex; align-items:center; padding:10px 14px; background:#33353A; border-bottom:1px solid rgba(0,0,0,.4); }
.shot-bar .dots { display:flex; gap:6px; width:64px; flex:0 0 64px; }
.shot-bar .dots i { width:11px; height:11px; border-radius:50%; display:block; }
.shot-bar .dots i.r { background:#FF5F57; } .shot-bar .dots i.y { background:#FEBC2E; } .shot-bar .dots i.g { background:#28C840; }
.shot-url { flex:1; display:flex; align-items:center; justify-content:center; gap:7px; max-width:340px; margin:0 auto; background:#222327; color:#C9CCD3; border-radius:8px; padding:6px 16px; font-size:12.5px; font-weight:600; letter-spacing:.2px; }
.shot-url .lock { display:inline-flex; opacity:.75; }
.shot-url .lock svg { width:11px; height:11px; stroke:#9BE29B; }
.shot-spacer { width:64px; flex:0 0 64px; }
@media (max-width: 560px) { .shot-url { max-width: 200px; } }

/* AI card sits BELOW the frame (only kissing its bottom edge) so it never
   covers the artwork (owner report: "card บังรูป"). */
.ai-float { right: -6px; bottom: -134px; width: min(292px, 78%); }
.hero-app { margin-bottom: 64px; }
