/* ============================================================
   THUMBCLICK — LANDING v5 (Total Redesign)
   Dark premium SaaS landing page
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --bg:       #0a0a0b;
  --bg-1:     #111113;
  --bg-2:     #141416;
  --bg-card:  rgba(255,255,255,0.032);
  --bg-ch:    rgba(255,255,255,0.055);
  --border:   rgba(255,255,255,0.08);
  --border-m: rgba(255,255,255,0.12);
  --border-l: rgba(255,255,255,0.22);
  --text:     #ebebef;
  --text-2:   rgba(235,235,239,0.55);
  --text-3:   rgba(235,235,239,0.28);
  --cyan:     #06b6d4;
  --cyan-l:   #67e8f9;
  --cyan-d:   #0891b2;
  --cyan-g:   rgba(6,182,212,0.15);
  --cyan-gs:  rgba(6,182,212,0.07);
  --amber:    #f59e0b;
  --amber-l:  #fbbf24;
  --amber-g:  rgba(245,158,11,0.15);
  --green:    #10b981;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-xl: 24px; --r-2xl: 40px;
  --ease:    cubic-bezier(0.16,1,0.3,1);
  --ease-in: cubic-bezier(0.4,0,1,1);
  --shadow-cyan: 0 0 40px rgba(6,182,212,0.18), 0 0 80px rgba(6,182,212,0.08);
  --shadow-card: 0 4px 40px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.05) inset;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.satoshi { font-family: 'Satoshi', 'Inter', system-ui, sans-serif; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }

/* ── CURSOR SPOTLIGHT ── */
.spotlight {
  pointer-events: none; position: fixed; z-index: 1;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.07) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  left: var(--sx, -9999px); top: var(--sy, -9999px);
  opacity: 0; transition: opacity 0.4s ease;
}
.spotlight.active { opacity: 1; }

/* ── BACKGROUND ── */
.bg-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, black 20%, transparent 100%);
}
.bg-orb { position: absolute; border-radius: 50%; filter: blur(140px); }
.bg-orb-1 {
  width: 800px; height: 800px; top: -300px; left: -200px;
  background: radial-gradient(circle, rgba(6,182,212,0.28), transparent 65%);
  animation: orbFloat1 20s ease-in-out infinite;
}
.bg-orb-2 {
  width: 700px; height: 700px; top: -200px; right: -200px;
  background: radial-gradient(circle, rgba(245,158,11,0.10), transparent 65%);
  animation: orbFloat2 25s ease-in-out infinite;
}
.bg-orb-3 {
  width: 600px; height: 600px; top: 70vh; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(6,182,212,0.10), transparent 65%);
  animation: orbFloat3 30s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(80px,80px)} 66%{transform:translate(-50px,120px)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0)} 40%{transform:translate(-80px,60px)} 70%{transform:translate(60px,-60px)} }
@keyframes orbFloat3 { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(80px)} }
.bg-noise {
  position: absolute; inset: 0; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.vis { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }
.reveal-scale { opacity: 0; transform: scale(0.97) translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-scale.vis { opacity: 1; transform: none; }

/* ── GRADIENT TEXT ── */
.text-grad {
  background: linear-gradient(135deg, var(--cyan-l) 0%, var(--cyan) 40%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 200%;
  animation: gradShift 5s ease infinite;
}
@keyframes gradShift { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--cyan-d), var(--cyan) 55%, var(--amber-l));
  color: #000; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: var(--r-xl);
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(6,182,212,0.4), 0 4px 24px rgba(6,182,212,0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  position: relative; overflow: hidden;
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(6,182,212,0.5), 0 8px 32px rgba(6,182,212,0.35), 0 4px 16px rgba(245,158,11,0.15); }

.shimmer-btn::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmerSlide 2.8s ease-in-out infinite;
}
@keyframes shimmerSlide { 0%{left:-100%} 60%,100%{left:150%} }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.055); color: var(--text); font-weight: 500; font-size: 15px;
  padding: 14px 24px; border-radius: var(--r-xl);
  text-decoration: none; border: 1px solid var(--border-m);
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: var(--border-l); }
.btn-ghost svg { opacity: 0.7; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,11,0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 24px; }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); font-family: 'Satoshi', sans-serif;
  font-size: 18px; font-weight: 800; letter-spacing: -0.3px;
  flex-shrink: 0;
}
.nav-logo em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, rgba(6,182,212,0.25), rgba(6,182,212,0.12));
  border: 1px solid rgba(6,182,212,0.3);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: var(--cyan);
}
.logo-icon img {
  width: 100%; height: 100%;
}

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none;
  padding: 6px 14px; border-radius: var(--r-md);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-ghost {
  color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none;
  padding: 8px 16px; border-radius: var(--r-md);
  transition: color 0.2s;
}
.nav-ghost:hover { color: var(--text); }
.nav-cta {
  display: flex; align-items: center; gap: 6px;
  background: var(--cyan); color: #000; font-size: 13.5px; font-weight: 700;
  padding: 8px 18px; border-radius: var(--r-xl); text-decoration: none;
  transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(6,182,212,0.3);
}
.nav-cta:hover { background: var(--cyan-l); box-shadow: 0 4px 20px rgba(6,182,212,0.5); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-2); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  /* ── Floats OVER page content — doesn't expand nav height ── */
  position: absolute; top: 64px; left: 0; right: 0; z-index: 99;
  display: none; flex-direction: column; gap: 2px; padding: 12px 16px 20px;
  background: rgba(8,8,10,0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid var(--border); border-bottom: 1px solid rgba(255,255,255,0.08);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.8);
  max-height: calc(100dvh - 64px); overflow-y: auto;
  transform: translateY(-6px); opacity: 0;
  transition: transform 0.25s var(--ease), opacity 0.25s;
  pointer-events: none;
}
.nav-mobile.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.nm-link { color: var(--text-2); text-decoration: none; padding: 10px 12px; border-radius: var(--r-md); font-size: 15px; font-weight: 500; transition: color 0.2s, background 0.2s; }
.nm-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nm-cta { margin-top: 8px; background: var(--cyan); color: #000; text-decoration: none; padding: 12px 16px; border-radius: var(--r-xl); font-size: 15px; font-weight: 700; text-align: center; }

/* ── HERO ── */
.hero {
  min-height: 100vh; padding: 120px 24px 80px;
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 2; overflow: hidden;
}
.hero-content {
  max-width: 1180px; width: 100%; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 28px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(6,182,212,0.08); border: 1px solid rgba(6,182,212,0.22);
  padding: 7px 16px; border-radius: 99px; font-size: 13px; font-weight: 500;
  color: var(--cyan-l); width: fit-content;
}
.badge-live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan); animation: pulseLive 2s ease-in-out infinite;
}
@keyframes pulseLive { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.5);opacity:0.6} }

.hero-title {
  font-size: clamp(40px, 5.5vw, 72px); font-weight: 900;
  line-height: 1.08; letter-spacing: -0.04em; color: var(--text);
}

.hero-sub { font-size: clamp(15px, 1.6vw, 18px); color: var(--text-2); line-height: 1.7; max-width: 480px; }

/* Word rotate — CSS grid trick: all items occupy same cell, no layout shift */
.word-rotate {
  display: inline-grid;
  vertical-align: bottom;
}
.wr-item {
  grid-area: 1 / 1;
  color: var(--cyan-l); font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.wr-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.hero-trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); font-weight: 500; }
.trust-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }

/* ── HERO VISUAL ── */
.hero-visual { position: relative; z-index: 2; }

.float-card {
  position: absolute; z-index: 10;
  background: rgba(20,20,22,0.92); backdrop-filter: blur(16px);
  border: 1px solid var(--border-m); border-radius: var(--r-lg);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: floatBob 4s ease-in-out infinite;
}
.float-ctr { top: 10%; right: -24px; animation-delay: -1s; }
.float-speed { bottom: 18%; left: -24px; animation-delay: -2.5s; }
@keyframes floatBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.fc-icon { font-size: 20px; }
.fc-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); font-weight: 600; }
.fc-val { font-size: 18px; font-weight: 800; font-family: 'Satoshi', sans-serif; color: var(--text); line-height: 1; }

/* ── BROWSER WINDOW ── */
.browser-win {
  background: rgba(14,14,16,0.9); border-radius: 14px;
  border: 1px solid var(--border-m);
  box-shadow: var(--shadow-card), var(--shadow-cyan);
  overflow: hidden;
  animation: heroVisualIn 1s var(--ease) 0.3s both;
}
@keyframes heroVisualIn { from{opacity:0;transform:translateY(30px) scale(0.97)} to{opacity:1;transform:none} }

.bw-chrome {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: rgba(255,255,255,0.025); border-bottom: 1px solid var(--border);
}
.bw-dots { display: flex; gap: 5px; }
.bwd { display: block; width: 10px; height: 10px; border-radius: 50%; }
.bwd-r { background: #ff5f56; }
.bwd-y { background: #ffbd2e; }
.bwd-g { background: #27c93f; }
.bw-url {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 11px; color: var(--text-3); background: rgba(255,255,255,0.04);
  border-radius: 5px; padding: 4px 10px; max-width: 160px; margin: 0 auto;
}

/* ── APP SCREEN (hero) ── */
.app-screen { display: flex; height: 320px; overflow: hidden; }
.app-sb {
  width: 110px; flex-shrink: 0;
  background: rgba(255,255,255,0.018); border-right: 1px solid var(--border);
  padding: 12px 8px; display: flex; flex-direction: column; gap: 4px;
}
.app-sb-logo {
  display: flex; align-items: center; gap: 6px; padding: 4px 6px; margin-bottom: 8px;
  font-size: 11px; font-weight: 800; font-family: 'Satoshi', sans-serif; color: var(--text);
}
.app-sb-logo em { color: var(--cyan); font-style: normal; }
.app-sb-icon { width: 18px; height: 18px; border-radius: 4px; background: var(--cyan-g); border: 1px solid rgba(6,182,212,0.3); flex-shrink: 0; }
.app-sb-item {
  display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-3);
  padding: 6px 8px; border-radius: 6px; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.app-sb-item.active { background: rgba(6,182,212,0.12); color: var(--cyan); }
.app-sb-item svg { flex-shrink: 0; }

.app-main { flex: 1; display: flex; overflow: hidden; }
.app-canvas-wrap { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.app-canvas-label { font-size: 10px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.app-canvas { flex: 1; border-radius: 8px; overflow: hidden; }
.thumb-preview {
  width: 100%; height: 100%; position: relative;
  background: linear-gradient(135deg, #0d1a2a, #050d18);
  border-radius: 8px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.tp-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a0d2a 0%, #0a0d1a 60%, #0d1820 100%); }
.tp-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 30% 60%, rgba(180,60,60,0.4), transparent 60%), radial-gradient(ellipse 50% 80% at 70% 30%, rgba(6,60,100,0.5), transparent 60%); }
.tp-text {
  position: relative; z-index: 2; font-size: 13px; font-weight: 900;
  font-family: 'Satoshi', sans-serif; color: white; text-align: center;
  line-height: 1.2; text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}
.tp-text em { color: #fbbf24; font-style: normal; }
.tp-badge {
  position: absolute; top: 6px; right: 6px; z-index: 3;
  background: linear-gradient(135deg, #ef4444, #dc2626); color: white;
  font-size: 7px; font-weight: 900; padding: 2px 5px; border-radius: 3px; letter-spacing: 0.05em;
}
.app-gen-bar {
  display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--text-3);
  padding: 6px 8px; background: rgba(255,255,255,0.03); border-radius: 6px;
}
.gen-ring {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid rgba(6,182,212,0.3); border-top-color: var(--cyan);
  animation: spin 1s linear infinite; flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

.app-chat {
  width: 140px; flex-shrink: 0; border-left: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 8px;
}
.app-chat-hdr {
  display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--text-3);
  font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid var(--border); margin-bottom: 8px;
}
.ach-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: pulseLive 2s infinite; }
.app-chat-msgs { flex: 1; display: flex; flex-direction: column; gap: 5px; overflow: hidden; }
.acm {
  padding: 5px 7px; border-radius: 7px; font-size: 9.5px; line-height: 1.4; max-width: 100%;
}
.acm-user { background: rgba(6,182,212,0.12); color: var(--cyan-l); border-bottom-right-radius: 2px; align-self: flex-end; }
.acm-ai { background: rgba(255,255,255,0.06); color: var(--text-2); border-bottom-left-radius: 2px; }
.app-chat-input {
  margin-top: 6px; padding: 5px 7px; background: rgba(255,255,255,0.04);
  border-radius: 6px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between;
}
.aci-placeholder { font-size: 9px; color: var(--text-3); }
.aci-send {
  width: 18px; height: 18px; border-radius: 4px; background: var(--cyan);
  display: flex; align-items: center; justify-content: center; color: #000; flex-shrink: 0;
}

/* ── SCROLL HINT ── */
.scroll-hint {
  margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-3); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, var(--border-m), transparent);
  animation: scrollDrop 1.5s ease-in-out infinite;
}
@keyframes scrollDrop { 0%{opacity:0;transform:scaleY(0);transform-origin:top} 50%{opacity:1;transform:scaleY(1)} 100%{opacity:0;transform-origin:bottom;transform:scaleY(0)} }

/* ── METEORS ── */
.meteors-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.meteor {
  position: absolute; height: 1.5px;
  background: linear-gradient(to right, rgba(6,182,212,0.9), transparent);
  border-radius: 99px; transform: rotate(-35deg);
  animation: meteorFall linear infinite;
}
@keyframes meteorFall {
  0% { opacity: 0; transform: rotate(-35deg) translate(0, 0); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; transform: rotate(-35deg) translate(-800px, 400px); }
}

/* ── STATS BAND ── */
.stats-band {
  position: relative; z-index: 2; padding: 0 24px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.012); backdrop-filter: blur(4px);
}
.stats-band-inner {
  max-width: 900px; margin: 0 auto; padding: 32px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center;
}
.stat-sep { width: 1px; height: 40px; background: var(--border); margin: 0 auto; }
.stat-item { text-align: center; padding: 8px 16px; }
.stat-num {
  font-size: 36px; font-weight: 900; font-family: 'Satoshi', sans-serif; line-height: 1;
  background: linear-gradient(135deg, var(--cyan-l), var(--cyan) 50%, var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-lbl { font-size: 13px; color: var(--text-3); margin-top: 4px; }

/* ── SECTIONS ── */
.section { max-width: 1180px; margin: 0 auto; padding: 100px 24px; position: relative; z-index: 2; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 16px;
}
.section-label::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--cyan); }
.section-label-amber { color: var(--amber); }
.section-label-amber::before { background: var(--amber); }
.section-title {
  font-size: clamp(28px, 3.5vw, 48px); font-weight: 900; line-height: 1.12;
  letter-spacing: -0.03em; color: var(--text); margin-bottom: 16px;
}
.section-title em { font-style: normal; }
.section-sub { font-size: 17px; color: var(--text-2); max-width: 560px; line-height: 1.7; margin-bottom: 60px; }

/* ── HOW IT WORKS ── */
.hiw-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 60px;
}
.hiw-steps { display: flex; flex-direction: column; gap: 4px; }
.hiw-step {
  padding: 20px 24px; border-radius: var(--r-lg); cursor: pointer;
  border: 1px solid transparent; transition: background 0.3s, border-color 0.3s;
  display: flex; gap: 16px;
}
.hiw-step.active { background: rgba(6,182,212,0.05); border-color: rgba(6,182,212,0.18); }
.hiw-step-num { font-size: 11px; font-weight: 700; color: var(--text-3); letter-spacing: 0.06em; padding-top: 2px; min-width: 24px; }
.hiw-step.active .hiw-step-num { color: var(--cyan); }
.hiw-step-body { flex: 1; }
.hiw-step-title { font-size: 17px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; transition: color 0.3s; }
.hiw-step.active .hiw-step-title { color: var(--text); }
.hiw-step-desc { font-size: 14px; color: var(--text-3); line-height: 1.6; }
.hiw-step-progress { height: 2px; background: var(--border); border-radius: 2px; margin-top: 14px; overflow: hidden; }
.hsp-fill { height: 100%; background: var(--cyan); width: 0; }

.hiw-visual-wrap { position: relative; min-height: 340px; }
.hiw-visual {
  position: absolute; inset: 0;
  opacity: 0; transform: translateX(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.hiw-visual.active { opacity: 1; transform: translateX(0); pointer-events: all; }

.hv-card {
  background: var(--bg-card); border: 1px solid var(--border-m);
  border-radius: var(--r-xl); padding: 24px; height: 100%;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 16px;
}
.hv-upload-zone {
  border: 1.5px dashed var(--border-m); border-radius: var(--r-lg);
  padding: 32px 16px; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 10px; background: rgba(255,255,255,0.015);
  animation: uploadPulse 3s ease-in-out infinite;
}
@keyframes uploadPulse { 0%,100%{border-color:var(--border-m)} 50%{border-color:rgba(6,182,212,0.35)} }
.hv-upload-icon { color: var(--text-3); animation: uploadBounce 2s ease-in-out infinite; }
@keyframes uploadBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.hv-upload-text { font-size: 15px; font-weight: 600; color: var(--text-2); }
.hv-upload-sub { font-size: 12px; color: var(--text-3); }
.hv-photo-row { display: flex; gap: 8px; }
.hv-photo {
  flex: 1; height: 50px; border-radius: var(--r-md); background: var(--border);
  border: 1px solid var(--border-m); animation: photoPop 0.5s var(--ease) both;
}
.hv-p1 { background: linear-gradient(135deg,#1a2030,#0a1020); animation-delay: 0.1s; }
.hv-p2 { background: linear-gradient(135deg,#201520,#100a10); animation-delay: 0.2s; }
.hv-p3 { background: linear-gradient(135deg,#201810,#100c08); animation-delay: 0.3s; }
@keyframes photoPop { from{opacity:0;transform:scale(0.8)} to{opacity:1;transform:scale(1)} }
.hv-detected {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--green);
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2);
  padding: 8px 12px; border-radius: var(--r-md); font-weight: 500;
}
.hv-det-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); flex-shrink: 0; }

.hv-tpl-label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.hv-tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hv-tpl { position: relative; border-radius: var(--r-md); overflow: hidden; cursor: pointer; aspect-ratio: 16/9; border: 1.5px solid var(--border); transition: border-color 0.2s, transform 0.2s var(--ease); }
.hv-tpl:hover { transform: scale(1.03); border-color: var(--border-m); }
.hv-tpl-active { border-color: var(--cyan) !important; box-shadow: 0 0 0 2px rgba(6,182,212,0.2); }
.hv-tpl-bg { position: absolute; inset: 0; }
.hv-tpl-text { position: relative; z-index: 1; font-size: 9px; font-weight: 700; color: white; padding: 4px; }
.hv-tpl-sel { position: absolute; top: 4px; right: 4px; z-index: 2; background: var(--cyan); color: #000; font-size: 9px; font-weight: 900; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hv-or { font-size: 11px; color: var(--text-3); text-align: center; letter-spacing: 0.04em; }
.hv-prompt-mock {
  background: rgba(255,255,255,0.035); border: 1px solid var(--border-m);
  border-radius: var(--r-md); padding: 10px 14px; font-size: 13px; color: var(--text-2);
  min-height: 38px; font-family: 'Inter', sans-serif;
}
.hv-pm-cursor { animation: blink 1s step-end infinite; color: var(--cyan); }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hv-gen-status { display: flex; align-items: center; gap: 10px; }
.hv-gen-spinner {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2.5px solid var(--border-m); border-top-color: var(--cyan);
  animation: spin 0.9s linear infinite; flex-shrink: 0;
}
.hv-gen-label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.hv-gen-steps { display: flex; flex-direction: column; gap: 8px; }
.hv-gs { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); }
.hv-gs.done { color: var(--green); }
.hv-gs.done svg { color: var(--green); }
.hv-gs.active { color: var(--cyan-l); }
.hv-gs-ring { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--border-m); border-top-color: var(--cyan); animation: spin 0.8s linear infinite; flex-shrink: 0; }
.hv-gs-dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--border); flex-shrink: 0; }
.hv-result-thumb {
  position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9;
  border: 1px solid var(--border-m);
}
.hvr-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #1a0d2e, #0a1020); }
.hvr-text { position: relative; z-index: 2; font-size: 14px; font-weight: 900; font-family: 'Satoshi', sans-serif; color: white; padding: 12px; text-shadow: 0 2px 12px rgba(0,0,0,0.8); }
.hvr-text em { color: #fbbf24; font-style: normal; }
.hvr-badge { position: absolute; top: 8px; right: 8px; z-index: 3; background: linear-gradient(135deg, #ef4444, #b91c1c); color: white; font-size: 9px; font-weight: 900; padding: 3px 6px; border-radius: 4px; }
.hvr-overlay {
  position: absolute; inset: 0; z-index: 4;
  background: rgba(6,182,212,0.12); display: flex; align-items: center; justify-content: center;
  gap: 6px; font-size: 13px; font-weight: 600; color: var(--cyan);
  opacity: 0; transition: opacity 0.3s; cursor: pointer;
}
.hv-result-thumb:hover .hvr-overlay { opacity: 1; }

/* ── DEMO SECTION ── */
/* ── DEMO SECTION ── */
.demo-section { padding: 100px 24px; position: relative; z-index: 2; }
.demo-inner { max-width: 1180px; margin: 0 auto; }
.demo-header { margin-bottom: 52px; }

/* New showcase layout */
.dshow {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  background: rgba(12,12,14,0.95);
  border: 1px solid var(--border-m);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: 0 8px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04), var(--shadow-cyan);
}

/* Left: result panel */
.dshow-left {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid var(--border);
}
.dshow-result-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}
.dshow-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: pulseLive 2s infinite;
  flex-shrink: 0;
}
.dshow-ready-badge {
  margin-left: auto;
  font-size: 10px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.25);
  color: var(--amber-l);
  padding: 3px 10px;
  border-radius: 99px;
}
.dshow-main-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-m);
  aspect-ratio: 16/9;
}
.dshow-main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.dshow-overlay-actions {
  position: absolute;
  bottom: 12px; right: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s;
}
.dshow-main-frame:hover .dshow-overlay-actions { opacity: 1; }
.dshow-oa-btn {
  background: rgba(10,10,11,0.85);
  border: 1px solid var(--border-m);
  color: var(--text-2);
  font-size: 12px; font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--r-md);
  cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}
.dshow-oa-btn:hover { background: rgba(30,30,32,0.95); }
.dshow-oa-primary {
  background: var(--cyan) !important;
  color: #000 !important;
  border-color: transparent !important;
  font-weight: 700;
}
.dshow-oa-primary:hover { background: var(--cyan-l) !important; }

.dshow-vars { display: flex; flex-direction: column; gap: 8px; }
.dshow-vars-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }
.dshow-vars-strip { display: flex; gap: 10px; }
.dshow-var {
  flex: 1;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.dshow-var img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dshow-var:hover { transform: scale(1.03); border-color: var(--border-l); }
.dshow-var-active { border-color: var(--cyan) !important; box-shadow: 0 0 0 2px rgba(6,182,212,0.2); }

/* Right: controls panel */
.dshow-right {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.015);
}

.dshow-refs-block {
  padding: 20px 18px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dshow-block-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }
.dshow-refs-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dshow-ref {
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.dshow-ref img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dshow-ref:hover { transform: scale(1.04); border-color: var(--border-l); }
.dshow-ref-active { border-color: var(--cyan) !important; box-shadow: 0 0 0 2px rgba(6,182,212,0.15); }

/* Chat inside right panel */
.dshow-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dshow-chat-hdr {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 12px; font-weight: 600; color: var(--text-2);
}
.dch-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulseLive 2s infinite; }
.dch-model { margin-left: auto; font-size: 10px; background: rgba(6,182,212,0.1); color: var(--cyan); border: 1px solid rgba(6,182,212,0.2); padding: 2px 8px; border-radius: 99px; }
.dshow-msgs { flex: 1; padding: 14px 18px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.dshow-msg { display: flex; flex-direction: column; gap: 4px; }
.dshow-msg.user { align-items: flex-end; }
.dshow-msg.user > div:not(.dp-ai-avatar) {
  background: rgba(6,182,212,0.12); color: var(--cyan-l);
  font-size: 12px; padding: 8px 12px;
  border-radius: 12px 12px 2px 12px;
  max-width: 90%; line-height: 1.45;
}
.dp-ai-avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--amber)); display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #000; flex-shrink: 0; }
.dp-ai-bubble { background: rgba(255,255,255,0.06); color: var(--text-2); font-size: 12px; padding: 8px 12px; border-radius: 12px 12px 12px 2px; max-width: 90%; line-height: 1.45; }
.dshow-msg.ai { flex-direction: row; align-items: flex-end; gap: 7px; }
.dshow-sugs { padding: 8px 18px; display: flex; gap: 6px; flex-wrap: wrap; border-top: 1px solid var(--border); }
.dp-sug { background: rgba(255,255,255,0.04); border: 1px solid var(--border-m); color: var(--text-3); font-size: 11px; padding: 4px 10px; border-radius: 99px; cursor: pointer; transition: background 0.2s, color 0.2s; white-space: nowrap; }
.dp-sug:hover { background: var(--cyan-gs); color: var(--cyan); border-color: rgba(6,182,212,0.3); }
.dshow-input-row { padding: 12px 18px; display: flex; gap: 8px; align-items: center; border-top: 1px solid var(--border); }
.dshow-input { flex: 1; background: rgba(255,255,255,0.04); border: 1px solid var(--border-m); border-radius: var(--r-md); padding: 9px 13px; font-size: 12px; color: var(--text-3); }
.dp-send { width: 32px; height: 32px; border-radius: var(--r-md); background: var(--cyan); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #000; flex-shrink: 0; transition: background 0.2s; }
.dp-send:hover { background: var(--cyan-l); }

/* ── BENTO FEATURES ── */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: 16px; margin-top: 60px;
}
.bento-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 28px;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, background 0.3s, transform 0.35s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.bento-card:hover { border-color: var(--border-m); background: var(--bg-ch); }
.bento-card.large { grid-column: span 4; grid-row: span 1; }
.bento-card.medium { grid-column: span 2; }
.bento-card.small { grid-column: span 2; }
.bc-glow { position: absolute; width: 200px; height: 200px; border-radius: 50%; filter: blur(60px); opacity: 0; transition: opacity 0.5s; pointer-events: none; top: -50px; right: -50px; }
.bento-card:hover .bc-glow { opacity: 1; }
.bc-glow-cyan { background: rgba(6,182,212,0.2); }
.bc-glow-amber { background: rgba(245,158,11,0.15); }
.bc-tag {
  display: inline-flex; margin-bottom: 14px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--cyan); background: var(--cyan-gs); border: 1px solid rgba(6,182,212,0.2);
  padding: 3px 10px; border-radius: 99px;
}
.bc-tag-soon { color: var(--amber); background: var(--amber-g); border-color: rgba(245,158,11,0.2); }
.bc-title { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 8px; font-family: 'Satoshi', sans-serif; }
.bento-card.small .bc-title { font-size: 17px; }
.bc-desc { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.bc-icon { width: 40px; height: 40px; border-radius: var(--r-md); background: rgba(6,182,212,0.08); border: 1px solid rgba(6,182,212,0.15); display: flex; align-items: center; justify-content: center; color: var(--cyan); margin-bottom: 16px; }
.bc-icon-amber { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.18); color: var(--amber); }
.bento-card.medium .bc-icon, .bento-card.small .bc-icon { margin-bottom: 12px; }

.bc-visual { margin-top: 20px; }
.bc-thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.bc-t {
  aspect-ratio: 16/9; border-radius: 8px; border: 1px solid var(--border);
  display: flex; align-items: flex-end; padding: 6px; overflow: hidden; position: relative;
  transition: transform 0.2s;
}
.bc-t:hover { transform: scale(1.03); }
.bc-t span { font-size: 9px; font-weight: 700; color: white; text-shadow: 0 1px 6px rgba(0,0,0,0.8); line-height: 1.3; position: relative; z-index: 1; }

.bc-chat-mini { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.bcm-msg { padding: 7px 10px; border-radius: 8px; font-size: 12px; line-height: 1.4; }
.bcm-msg.u { background: rgba(6,182,212,0.1); color: var(--cyan-l); border-bottom-right-radius: 2px; align-self: flex-end; max-width: 85%; }
.bcm-msg.a { background: rgba(255,255,255,0.05); color: var(--text-2); border-bottom-left-radius: 2px; }

.bc-timer { margin-top: 16px; }
.bc-timer-bar { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin-bottom: 6px; }
.bc-timer-fill { height: 100%; width: 84%; background: linear-gradient(90deg, var(--cyan), var(--amber)); border-radius: 2px; animation: timerPulse 2s ease-in-out infinite; }
@keyframes timerPulse { 0%,100%{opacity:1} 50%{opacity:0.6} }
.bc-timer span { font-size: 11px; color: var(--text-3); }

/* ── TESTIMONIALS ── */
.testi-section { padding-bottom: 20px; }
.marquee-wrap { padding: 40px 0 80px; overflow: hidden; position: relative; z-index: 2; }
.marquee-wrap::before, .marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 150px; z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee { overflow: hidden; margin-bottom: 16px; }
.marquee-track { display: flex; gap: 16px; width: max-content; }
.marquee-left .marquee-track  { animation: marqL 40s linear infinite; }
.marquee-right .marquee-track { animation: marqR 40s linear infinite; }
@keyframes marqL { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
@keyframes marqR { 0%{transform:translateX(-50%)} 100%{transform:translateX(0)} }
.marquee-left:hover .marquee-track,
.marquee-right:hover .marquee-track { animation-play-state: paused; }

.testi-card {
  width: 340px; flex-shrink: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 24px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.testi-card:hover { border-color: var(--border-m); background: var(--bg-ch); transform: translateY(-3px); }
.tc-stars { color: var(--amber); font-size: 13px; margin-bottom: 12px; letter-spacing: 2px; }
.tc-text { font-size: 14px; line-height: 1.7; color: var(--text-2); margin-bottom: 16px; }
.tc-author { display: flex; align-items: center; gap: 10px; }
.tc-av { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: #000; flex-shrink: 0; }
.tc-name { font-size: 13px; font-weight: 700; color: var(--text); }
.tc-handle { font-size: 12px; color: var(--text-3); }

/* ── PRICING ── */
.pricing-toggle { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.pt-option { font-size: 14px; font-weight: 500; color: var(--text-3); cursor: pointer; transition: color 0.2s; }
.pt-option.active { color: var(--text); }
.pt-switch {
  position: relative; width: 42px; height: 24px; border-radius: 12px;
  background: var(--border-m); border: none; cursor: pointer;
  transition: background 0.3s;
}
.pt-switch.on { background: var(--cyan); }
.pt-knob {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%; background: white;
  transition: transform 0.3s var(--ease);
}
.pt-switch.on .pt-knob { transform: translateX(18px); }
.pt-save { font-size: 11px; background: rgba(16,185,129,0.15); color: var(--green); border: 1px solid rgba(16,185,129,0.25); padding: 1px 7px; border-radius: 99px; margin-left: 4px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-2xl); padding: 32px;
  display: flex; flex-direction: column; gap: 24px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
  position: relative;
}
.price-card:hover { border-color: var(--border-m); transform: translateY(-4px); }
.price-card.featured {
  border-color: rgba(6,182,212,0.35);
  background: linear-gradient(160deg, rgba(6,182,212,0.08) 0%, var(--bg-card) 50%, rgba(245,158,11,0.05) 100%);
  box-shadow: var(--shadow-cyan), 0 0 60px rgba(245,158,11,0.06);
}
.price-card.featured:hover { border-color: rgba(6,182,212,0.55); }
.pc-popular {
  display: inline-flex; font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--cyan); background: var(--cyan-gs); border: 1px solid rgba(6,182,212,0.25);
  padding: 4px 12px; border-radius: 99px; margin-bottom: 20px; width: fit-content;
}
.pc-plan { font-size: 15px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.pc-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 6px; }
.pc-currency { font-size: 22px; font-weight: 700; color: var(--text-3); }
.pc-num { font-size: 52px; font-weight: 900; font-family: 'Satoshi', sans-serif; color: var(--text); line-height: 1; transition: opacity 0.3s; }
.pc-period { font-size: 16px; color: var(--text-3); margin-left: 4px; }
.pc-desc { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.pc-divider { height: 1px; background: var(--border); }
.pc-features { list-style: none; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.pcf { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pcf.on { color: var(--text-2); }
.pcf.off { color: var(--text-3); }
.pcf span { font-size: 14px; font-weight: 700; flex-shrink: 0; }
.pcf.on span { color: var(--green); }
.pcf.off span { color: var(--text-3); }
.pc-btn {
  display: block; text-align: center; text-decoration: none;
  padding: 14px; border-radius: var(--r-xl); font-size: 15px; font-weight: 700;
  border: 1.5px solid var(--border-m); color: var(--text-2);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
  margin-top: auto;
}
.pc-btn:hover { background: rgba(255,255,255,0.07); border-color: var(--border-l); color: var(--text); transform: translateY(-2px); }
.pc-btn-featured {
  background: linear-gradient(135deg, var(--cyan-d), var(--cyan) 55%, var(--amber-l)); color: #000;
  border-color: transparent; box-shadow: 0 4px 20px rgba(6,182,212,0.3);
}
.pc-btn-featured:hover { background: linear-gradient(135deg, var(--cyan), var(--amber)); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(6,182,212,0.35), 0 4px 20px rgba(245,158,11,0.2); color: #000; }

/* ── FINAL CTA ── */
.final-cta {
  position: relative; z-index: 2; overflow: hidden;
  padding: 120px 24px; text-align: center;
}
.final-cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 900px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(6,182,212,0.14) 0%, rgba(245,158,11,0.08) 40%, transparent 70%);
  pointer-events: none;
}
.final-cta-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none;
}
.final-cta-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(6,182,212,0.08); border: 1px solid rgba(6,182,212,0.22);
  padding: 7px 16px; border-radius: 99px; font-size: 13px; font-weight: 500; color: var(--cyan-l);
}
.final-title {
  font-size: clamp(36px, 5vw, 64px); font-weight: 900; line-height: 1.1;
  letter-spacing: -0.04em; color: var(--text);
}
.final-sub { font-size: 18px; color: var(--text-2); line-height: 1.7; }
.final-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.final-trust { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--text-3); }

/* ── FOOTER ── */
.footer { border-top: 1px solid var(--border); position: relative; z-index: 2; padding: 40px 24px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-logo {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: 'Satoshi', sans-serif; font-size: 16px; font-weight: 800; color: var(--text);
}
.footer-logo em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan), var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-links { display: flex; gap: 4px; flex-wrap: wrap; }
.footer-links a {
  text-decoration: none; color: var(--text-3); font-size: 13.5px; padding: 6px 12px;
  border-radius: var(--r-md); transition: color 0.2s, background 0.2s;
}
.footer-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.footer-right { margin-left: auto; }
.footer-copy { font-size: 13px; color: var(--text-3); }

/* ── THUMBNAIL GALLERY WALL ── */
.thmb-wall-wrap { padding: 16px 0 80px; }
.thmb-wall-item { width: 260px; height: 146px; border-radius: 10px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--border); transition: transform 0.2s, border-color 0.2s; }
.thmb-wall-item:hover { transform: scale(1.04); border-color: var(--border-m); }
.thmb-wall-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; max-width: 640px; }
  .hero-visual { order: -1; }
  .float-ctr { right: -10px; }
  .float-speed { left: -10px; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento-card.large { grid-column: span 4; }
  .bento-card.medium { grid-column: span 2; }
  .bento-card.small { grid-column: span 2; }
  .hiw-grid { grid-template-columns: 1fr; }
  .hiw-visual-wrap { min-height: 320px; position: relative; display: block; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  #tab-create { flex-direction: column; height: auto; }
  .dp-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); flex-direction: row; gap: 32px; }
  .dp-chat { width: 100%; border-left: none; border-top: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .nav-mobile { display: flex; }
  .hero { padding: 100px 16px 60px; }
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-sep:nth-child(4) { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.large { grid-column: span 2; }
  .bento-card.medium, .bento-card.small { grid-column: span 2; }
  .demo-window { border-radius: var(--r-xl); }
  .dp-tpl-grid { grid-template-columns: repeat(2, 1fr); }
  .dp-gallery { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-right { margin-left: 0; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.large, .bento-card.medium, .bento-card.small { grid-column: span 1; }
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-sep { display: none; }
  .final-title { font-size: 32px; }
  .pricing-grid { padding: 0 8px; max-width: 100%; margin: 0 auto; }
  .testi-card { width: 280px; }
}

/* ================================================================
   LANDING MOBILE FULL OPTIMIZATION — v3.1
   ================================================================ */

/* ── Hero: don't force 100vh on very short phones ── */
@media (max-width: 768px) and (max-height: 700px) {
  .hero { min-height: auto; padding-top: 90px; }
}

/* ── Float cards: hide on small screens (prevent overflow) ── */
@media (max-width: 480px) {
  .float-card { display: none; }
}

/* ── Hero sub: prevent overflow with max-width ── */
.hero-sub { max-width: 100%; }

/* ── Stats band: numbers scale down ── */
@media (max-width: 480px) {
  .stat-num { font-size: 28px; }
  .stat-lbl { font-size: 12px; }
  .stats-band-inner { padding: 24px 0; gap: 0; }
  .stat-item { padding: 6px 8px; }
}

/* ── Section padding: reduce on mobile ── */
@media (max-width: 768px) {
  .section { padding: 72px 20px; }
  .section-sub { font-size: 15px; margin-bottom: 40px; }
}
@media (max-width: 480px) {
  .section { padding: 56px 16px; }
  .section-title { font-size: clamp(24px, 7vw, 36px); }
  .section-sub { font-size: 14px; margin-bottom: 32px; }
}

/* ── Demo section: reduce padding ── */
@media (max-width: 768px) {
  .demo-section { padding: 72px 16px; }
}
@media (max-width: 480px) {
  .demo-section { padding: 48px 12px; }
  #tab-create { height: auto; min-height: 320px; }
  .dp-sidebar { padding: 12px 8px; gap: 12px; }
  .dp-chat { width: 160px; }
}

/* ── Bento cards: reduce padding on mobile ── */
@media (max-width: 480px) {
  .bento-card { padding: 20px; }
  .bc-title { font-size: 17px; }
  .bc-desc { font-size: 13px; }
}

/* ── Pricing: center card on mobile ── */
@media (max-width: 1024px) {
  .pricing-grid { margin: 0 auto; }
}

/* ── Final CTA: reduce padding ── */
@media (max-width: 768px) {
  .final-cta { padding: 80px 20px; }
  .final-sub { font-size: 16px; }
}
@media (max-width: 480px) {
  .final-cta { padding: 60px 16px; }
  .final-actions { flex-direction: column; align-items: stretch; }
  .final-trust { gap: 12px; }
}

/* ── Footer: compact on mobile ── */
@media (max-width: 480px) {
  .footer { padding: 28px 16px; }
  .footer-inner { gap: 20px; }
  .footer-links { gap: 0; }
  .footer-links a { font-size: 12.5px; padding: 5px 9px; }
}

/* ── Testimonials: reduce card width on very small ── */
@media (max-width: 360px) {
  .testi-card { width: 240px; }
}

/* ── How It Works: reduce gap on mobile ── */
@media (max-width: 480px) {
  .hiw-step { padding: 16px 18px; gap: 12px; }
  .hiw-step-title { font-size: 15px; }
  .hiw-grid { margin-top: 40px; gap: 32px; }
}

/* ── Nav touch targets ── */
.nm-link { min-height: 44px; display: flex; align-items: center; }
.nav-cta { min-height: 40px; }

/* ── Background orbs: reduce on mobile for performance ── */
@media (max-width: 768px) {
  .bg-orb-1 { width: 400px; height: 400px; filter: blur(80px); }
  .bg-orb-2 { width: 350px; height: 350px; filter: blur(80px); }
  .bg-orb-3 { width: 300px; height: 300px; filter: blur(80px); }
  .bg-orb-1 { animation-duration: 30s; }
  .bg-orb-2 { animation-duration: 35s; }
  .bg-orb-3 { animation-duration: 40s; }
}

/* ── Thumbnail wall: smaller items on mobile ── */
@media (max-width: 640px) {
  .thmb-wall-item { width: 180px; height: 101px; }
}
@media (max-width: 480px) {
  .thmb-wall-item { width: 150px; height: 84px; }
}

/* ── Buttons: minimum touch size ── */
.btn-primary, .btn-ghost { min-height: 48px; }

/* ── Hero visual: reduce browser mockup + tighten layout ── */
@media (max-width: 768px) {
  .float-card { display: none; }
}
@media (max-width: 640px) {
  .app-screen { height: 200px !important; }
  .app-sb { width: 70px; padding: 8px 4px; }
  .app-chat { width: 90px; }
  .hero-content { gap: 28px; }
}
@media (max-width: 480px) {
  .hero-content { gap: 20px; }
  .hero { padding: 88px 16px 48px; }
  .hero-trust { gap: 10px; }
  .trust-item { font-size: 12px; }
}

/* ── Small Android 360px ── */
@media (max-width: 360px) {
  .hero { padding: 80px 12px 48px; }
  .hero-title { font-size: 30px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; }
  .nav-inner { padding: 0 14px; }
  .section { padding: 48px 12px; }
}

/* ================================================================
   MOBILE FULL OPTIMIZATION — v4
   ================================================================ */

/* ── Body scroll lock when mobile menu is open ── */
body.menu-open { overflow: hidden; }

/* ── Word rotate: prevent overflow on narrow screens ── */
.word-rotate { overflow: hidden; }

/* ── Section sub: full width on mobile ── */
@media (max-width: 768px) {
  .section-sub { max-width: 100%; }
}

/* ── Demo showcase: stack vertically on mobile ── */
@media (max-width: 900px) {
  .dshow {
    grid-template-columns: 1fr;
  }
  .dshow-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 20px;
  }
  .dshow-right {
    max-height: 480px;
    overflow-y: auto;
  }
}
@media (max-width: 480px) {
  .dshow { border-radius: var(--r-xl); }
  .dshow-left { padding: 16px; }
  .dshow-refs-row { grid-template-columns: repeat(4, 1fr); gap: 5px; }
  .dshow-sugs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding-bottom: 2px;
  }
  .dshow-sugs::-webkit-scrollbar { display: none; }
  .dp-sug { flex-shrink: 0; }
  .dshow-refs-block,
  .dshow-chat-hdr,
  .dshow-msgs,
  .dshow-input-row { padding-left: 14px; padding-right: 14px; }
  .dshow-vars-strip { gap: 6px; }
}

/* ── Hero: text first on mobile (better conversion) ── */
@media (max-width: 640px) {
  .hero-text  { order: -1; }
  .hero-visual { order: 0; }
}

/* ── Hero visual: tighten mockup on very small screens ── */
@media (max-width: 400px) {
  .app-screen { height: 170px !important; }
  .app-sb { width: 60px; }
  .app-sb-logo span { display: none; }
  .app-chat { width: 80px; }
  .acm { font-size: 8px; }
}

/* ── How It Works: on mobile, make visuals static (no absolute) ── */
@media (max-width: 640px) {
  .hiw-visual-wrap { min-height: auto; }
  .hiw-visual {
    position: relative; inset: auto;
    transform: none !important;
    opacity: 0;
    height: 0; overflow: hidden;
    pointer-events: none;
    transition: none;
  }
  .hiw-visual.active {
    opacity: 1; height: auto; overflow: visible;
    pointer-events: all;
  }
}

/* ── Pricing: full width CTA buttons ── */
@media (max-width: 480px) {
  .pricing-grid { gap: 16px; }
  .price-card { padding: 24px; gap: 20px; }
  .pc-num { font-size: 44px; }
}

/* ── Trust bar: center on mobile ── */
@media (max-width: 480px) {
  .hero-trust { justify-content: center; }
  .trust-sep { display: none; }
}

/* ── Final CTA actions: full width on very small ── */
@media (max-width: 360px) {
  .final-actions a, .final-actions button { width: 100%; justify-content: center; }
}

/* ── Prevent any horizontal overflow globally ── */
html { overflow-x: hidden; }

/* ── TEXT CENTERING ON MOBILE ── */
@media (max-width: 768px) {
  /* All sections: center text by default */
  .section,
  .demo-section,
  .final-cta { text-align: center; }

  /* Hero */
  .hero-text { align-items: center; text-align: center; }
  .hero-sub { text-align: center; max-width: 100%; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-trust { justify-content: center; flex-wrap: wrap; }

  /* Section labels, titles, subtitles */
  .section-label { margin-left: auto; margin-right: auto; }
  .section-title { text-align: center; }
  .section-sub { text-align: center; margin-left: auto; margin-right: auto; max-width: 100%; }

  /* How It Works steps */
  .hiw-steps { align-items: center; }
  .hiw-step-text { text-align: center; }
  .hiw-step-desc { text-align: center; }

  /* Pricing intro */
  .pricing-intro { text-align: center; }

  /* FAQ intro */
  .faq-intro { text-align: center; }
  .faq-intro .section-title,
  .faq-intro .section-sub { text-align: center; }

  /* Final CTA */
  .final-text { text-align: center; align-items: center; }
  .final-sub { text-align: center; }
  .final-actions { justify-content: center; }

  /* Features / benefits lists */
  .feat-head, .feat-sub { text-align: center; }
}

/* ── Nav hamburger: larger tap target ── */
@media (max-width: 768px) {
  .hamburger { padding: 10px; margin-right: -10px; }
}

/* ── Scroll hint: hide on mobile (saves space) ── */
@media (max-width: 768px) {
  .scroll-hint { display: none; }
}

/* ── Stats band: tighten separators on 2-col layout ── */
@media (max-width: 480px) {
  .stat-sep:nth-child(2) { display: none; }
  .stat-sep:nth-child(6) { display: none; }
  .stats-band-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
}
