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

:root {
    --bg: #09090b;
    --bg-card: #16161a;
    --bg-input: #0f0f12;
    --border: #27272a;
    --border-focus: #7c3aed;
    --text: #fafafa;
    --text-sec: #a1a1aa;
    --text-muted: #52525b;
    --accent: #8b5cf6;
    --accent-dark: #6d28d9;
    --radius: 12px;
    --green: #22c55e;
    --red: #ef4444;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #a78bfa; }

/* ─── Navbar ─────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; background: rgba(9,9,11,0.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(39,39,42,0.5); transition: padding 0.3s, background 0.3s, box-shadow 0.3s; }
.nav.scrolled { padding: 10px 0; background: rgba(9,9,11,0.95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 4px 30px rgba(0,0,0,0.3); border-bottom-color: rgba(139,92,246,0.1); }
.nav.scrolled .nav-logo img { height: 30px; }
.nav-logo img { transition: height 0.3s; }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text { font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 500; color: var(--text-sec); letter-spacing: -0.3px; display: flex; align-items: center; gap: 0; }
.nav-logo-text .brand { color: var(--text); font-weight: 600; }
.nav-logo-text .sep { color: var(--text-muted); margin: 0 5px; opacity: 0.4; }
.nav-logo-text .sub { color: var(--text-muted); }
.nav-logo-text .accent { color: var(--accent); }
.nav-logo-text .cursor { display: inline-block; width: 2px; height: 14px; background: var(--accent); margin-left: 2px; animation: blink 1s step-end infinite; vertical-align: middle; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-link { font-size: 14px; color: var(--text-sec); font-weight: 500; transition: color 0.2s; position: relative; text-decoration: none; }
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--accent); }
.nav-link.active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--accent); border-radius: 1px; }
.nav-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--accent); background: rgba(139,92,246,0.06); border: 1px solid rgba(139,92,246,0.2); padding: 7px 16px; border-radius: 20px; transition: all 0.25s; text-decoration: none; }
.nav-btn:hover { background: rgba(139,92,246,0.12); border-color: rgba(139,92,246,0.4); color: #a78bfa; box-shadow: 0 0 16px rgba(139,92,246,0.1); }
.nav-btn i { font-size: 14px; }
.nav-btn-contact { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text-muted); background: transparent; border: 1px solid var(--border); padding: 7px 16px; border-radius: 20px; transition: all 0.25s; text-decoration: none; }
.nav-btn-contact:hover { color: var(--text); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); }
.nav-btn-contact i { font-size: 14px; }

/* ─── Hero ───────────────────────────────── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 100px 24px 60px; overflow: hidden; }
.hero-orb { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, rgba(109,40,217,0.04) 50%, transparent 70%); animation: orbFloat 8s ease-in-out infinite; top: 40%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; filter: blur(60px); }
@keyframes orbFloat { 0%,100%{transform:translate(-50%,-50%) scale(1);opacity:0.5} 50%{transform:translate(-50%,-52%) scale(1.1);opacity:0.8} }
.hero-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(139,92,246,0.06) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%); pointer-events: none; }
.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-scan { display: none; }
@keyframes heroScan { 0%{top:0;opacity:0} 8%{opacity:1} 92%{opacity:1} 100%{top:100%;opacity:0} }

/* Hero layout: left text + right machine */
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; max-width: 1200px; width: 100%; }
.hero-text { text-align: left; }

/* Terminal badge */
.hero-terminal { display: inline-flex; align-items: center; gap: 10px; background: rgba(22,22,26,0.8); border: 1px solid rgba(139,92,246,0.2); padding: 7px 18px; border-radius: 20px; margin-bottom: 28px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-muted); backdrop-filter: blur(8px); opacity: 0; animation: fadeUp 0.6s ease 0.1s forwards; }
.hero-led { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(34,197,94,0.5); animation: ledPulse 2s ease-in-out infinite; }
@keyframes ledPulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero-terminal .g { color: rgba(34,197,94,0.8); }
.hero-terminal .s { color: var(--border); }
.hero-terminal .p { color: rgba(139,92,246,0.6); }

/* Headline */
.hero h1 { font-size: clamp(34px,5vw,56px); font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; }
.hero-line { display: block; overflow: hidden; }
.hero-line-inner { display: block; transform: translateY(110%); animation: lineReveal 0.8s cubic-bezier(0.16,1,0.3,1) forwards; }
.hero-line:nth-child(1) .hero-line-inner { animation-delay: 0.3s; }
.hero-line:nth-child(2) .hero-line-inner { animation-delay: 0.5s; }
@keyframes lineReveal { to { transform: translateY(0); } }
.hero h1 .highlight { background: linear-gradient(135deg, #8b5cf6, #a78bfa, #c4b5fd, #8b5cf6); background-size: 300% 300%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradientShift 6s ease infinite; position: relative; }
.hero h1 .highlight::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 3px; background: linear-gradient(90deg, #8b5cf6, #a78bfa, #c4b5fd); border-radius: 2px; animation: underlineGrow 0.8s ease 1.2s forwards; box-shadow: 0 0 12px rgba(139,92,246,0.4); }
@keyframes underlineGrow { to { width: 100%; } }
@keyframes gradientShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

.hero-sub { font-size: 17px; color: var(--text-sec); max-width: 440px; line-height: 1.7; opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s ease 0.8s forwards; margin-bottom: 32px; }
.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s ease 1s forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 28px; opacity: 0; transform: translateY(16px); animation: fadeUp 0.8s ease 1.2s forwards; }
.hero-proof-avatars { display: flex; }
.hero-proof-avatar { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px; background: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(99,102,241,0.3)); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.hero-proof-avatar:first-child { margin-left: 0; }
.hero-proof-text { font-size: 13px; color: var(--text-muted); }
.hero-proof-text strong { color: var(--text-sec); }

/* Hero CTA buttons */
.hero-cta { display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; font-size: 15px; font-weight: 600; padding: 13px 28px; border-radius: 12px; transition: all 0.2s; box-shadow: 0 4px 24px rgba(139,92,246,0.25); position: relative; overflow: hidden; }
.hero-cta::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.15) 55%, transparent 60%); animation: shimmer 3s ease-in-out infinite; }
@keyframes shimmer { 0%{transform:translateX(-100%) rotate(15deg)} 100%{transform:translateX(100%) rotate(15deg)} }
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(139,92,246,0.35); color: #fff; }
.hero-cta-outline { display: inline-flex; align-items: center; gap: 10px; background: transparent; color: var(--accent); font-size: 15px; font-weight: 600; padding: 13px 28px; border-radius: 12px; border: 1px solid rgba(139,92,246,0.4); transition: all 0.2s; }
.hero-cta-outline:hover { background: rgba(139,92,246,0.08); border-color: var(--accent); color: #a78bfa; transform: translateY(-2px); }

/* ═══ Hero Build Machine ═══ */
.hero-machine { position: relative; opacity: 0; transform: translateY(30px) scale(0.97); animation: machineIn 1s cubic-bezier(0.16,1,0.3,1) 0.4s forwards; }
@keyframes machineIn { to { opacity: 1; transform: translateY(0) scale(1); } }
.hero-machine-wrap { background: linear-gradient(180deg, rgba(16,16,20,0.97), rgba(12,12,16,0.99)); border: 1px solid rgba(139,92,246,0.15); border-radius: 16px; overflow: hidden; box-shadow: 0 0 80px rgba(139,92,246,0.06), 0 0 160px rgba(139,92,246,0.03), inset 0 1px 0 rgba(255,255,255,0.03); position: relative; }
@property --m-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.hero-machine-wrap::before { content: ''; position: absolute; inset: -1px; border-radius: 17px; background: conic-gradient(from var(--m-angle), transparent 40%, rgba(139,92,246,0.25) 50%, rgba(99,102,241,0.15) 55%, transparent 65%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; animation: mGlow 6s linear infinite; pointer-events: none; z-index: 0; }
@keyframes mGlow { to { --m-angle: 360deg; } }
.hero-machine-wrap::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(139,92,246,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(139,92,246,0.02) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; z-index: 0; border-radius: 16px; }
.hm-scan { display: none; }
.hm-hdr { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid rgba(139,92,246,0.1); background: rgba(139,92,246,0.02); position: relative; z-index: 1; }
.hm-status { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-muted); }
.hm-label { color: rgba(34,197,94,0.8); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.hm-stats { display: flex; gap: 14px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-muted); }
.hm-stat { display: flex; align-items: center; gap: 4px; }
.hm-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.5; }
.hm-body { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 340px; }
.hm-code { border-right: 1px solid rgba(139,92,246,0.08); padding: 16px; font-family: 'JetBrains Mono', monospace; font-size: 11px; line-height: 1.8; overflow: hidden; }
.hm-code-hdr { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--text-muted); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(139,92,246,0.06); }
.hm-code-tab { padding: 3px 10px; border-radius: 4px; background: rgba(139,92,246,0.08); color: var(--accent); font-weight: 500; }
.hm-code-tab.dim { background: none; color: var(--text-muted); }
.code-line { display: flex; gap: 12px; opacity: 0; transform: translateX(-10px); }
.code-ln { color: var(--text-muted); min-width: 16px; text-align: right; user-select: none; opacity: 0.4; }
.code-content { white-space: nowrap; }
.c-tag { color: #ef4444; } .c-attr { color: #a78bfa; } .c-str { color: #22c55e; } .c-comment { color: #52525b; font-style: italic; } .c-punct { color: #52525b; }
.c-cursor { display: inline-block; width: 7px; height: 14px; background: var(--accent); animation: cursorBlink 1s step-end infinite; vertical-align: middle; margin-left: 1px; border-radius: 1px; }
@keyframes cursorBlink { 0%,100%{opacity:1} 50%{opacity:0} }
.hm-preview { padding: 16px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; }
.hm-preview-hdr { display: flex; align-items: center; gap: 6px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-muted); margin-bottom: 4px; padding-bottom: 8px; border-bottom: 1px solid rgba(139,92,246,0.06); }
.hm-preview-dot { width: 6px; height: 6px; border-radius: 50%; }
.hm-preview-url { font-size: 9px; color: var(--text-muted); background: rgba(255,255,255,0.03); padding: 2px 8px; border-radius: 3px; margin-left: auto; }
#previewBlocks { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pv-block { opacity: 0; transform: translateY(8px); border-radius: 6px; }
.pv-nav { height: 14px; display: flex; align-items: center; gap: 6px; padding: 4px 10px; background: rgba(255,255,255,0.02); border-radius: 6px; }
.pv-nav-logo { width: 32px; height: 6px; border-radius: 3px; background: rgba(139,92,246,0.5); }
.pv-nav-links { display: flex; gap: 4px; margin-left: auto; }
.pv-nav-link { width: 18px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.08); }
.pv-hero-area { background: rgba(139,92,246,0.04); border: 1px solid rgba(139,92,246,0.08); border-radius: 8px; padding: 22px 14px; text-align: center; }
.pv-hero-h { height: 10px; width: 65%; border-radius: 5px; background: linear-gradient(90deg, rgba(139,92,246,0.35), rgba(167,139,250,0.45)); margin: 0 auto 8px; }
.pv-hero-p { height: 5px; width: 45%; border-radius: 3px; background: rgba(255,255,255,0.06); margin: 0 auto 12px; }
.pv-hero-btn { height: 8px; width: 28%; border-radius: 4px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); margin: 0 auto; box-shadow: 0 2px 8px rgba(139,92,246,0.25); }
.pv-cards-area { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.pv-card { height: 48px; border-radius: 6px; position: relative; overflow: hidden; }
.pv-card:nth-child(1) { background: rgba(139,92,246,0.06); border: 1px solid rgba(139,92,246,0.1); }
.pv-card:nth-child(2) { background: rgba(34,197,94,0.05); border: 1px solid rgba(34,197,94,0.08); }
.pv-card:nth-child(3) { background: rgba(234,179,8,0.05); border: 1px solid rgba(234,179,8,0.08); }
.pv-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent); animation: pvShimmer 2s ease infinite; }
@keyframes pvShimmer { 0%{transform:translateX(-100%)} 100%{transform:translateX(100%)} }
.pv-footer-area { height: 12px; border-radius: 4px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.03); }
.hm-ftr { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; border-top: 1px solid rgba(139,92,246,0.08); background: rgba(139,92,246,0.02); position: relative; z-index: 1; }
.hm-ftr-left { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 10px; }
.hm-ftr-check { color: var(--green); }
.hm-ftr-text { color: var(--text-muted); }
.hm-ftr-right { display: flex; align-items: center; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-muted); }
.hm-progress { width: 80px; height: 4px; border-radius: 2px; background: var(--border); overflow: hidden; flex-shrink: 0; }
.hm-progress-fill { height: 100%; width: 0; background: var(--green); border-radius: 2px; animation: progressFill 3s ease 1s forwards; }
@keyframes progressFill { to { width: 100%; } }
.hm-corner { position: absolute; width: 16px; height: 16px; z-index: 2; pointer-events: none; }
.hm-corner::before, .hm-corner::after { content: ''; position: absolute; background: rgba(139,92,246,0.2); }
.hm-corner::before { width: 16px; height: 1px; } .hm-corner::after { width: 1px; height: 16px; }
.hm-corner.tl { top: 8px; left: 8px; } .hm-corner.tl::before { top: 0; left: 0; } .hm-corner.tl::after { top: 0; left: 0; }
.hm-corner.tr { top: 8px; right: 8px; } .hm-corner.tr::before { top: 0; right: 0; } .hm-corner.tr::after { top: 0; right: 0; }
.hm-corner.bl { bottom: 8px; left: 8px; } .hm-corner.bl::before { bottom: 0; left: 0; } .hm-corner.bl::after { bottom: 0; left: 0; }
.hm-corner.br { bottom: 8px; right: 8px; } .hm-corner.br::before { bottom: 0; right: 0; } .hm-corner.br::after { bottom: 0; right: 0; }

/* ─── Section ────────────────────────────── */
.section { max-width: 1100px; margin: 0 auto; padding: 120px 24px; }
.section-label { font-size: 13px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.section-title { font-size: clamp(28px,4vw,40px); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text-sec); max-width: 560px; line-height: 1.7; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .section-desc { margin: 0 auto; }

/* ─── Features ───────────────────────────── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: transparent; border: none; padding: 0; text-align: center; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); position: relative; cursor: default; }
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; position: relative; }
.feature-icon::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 40px; height: 12px; border-radius: 50%; background: rgba(139,92,246,0.2); filter: blur(8px); opacity: 0; transition: opacity 0.4s; }
.feature-card:hover .feature-icon::after { opacity: 1; }
.feature-icon i { font-size: 52px; color: var(--accent); transition: all 0.4s cubic-bezier(0.16,1,0.3,1); }
.feature-card:hover .feature-icon i { color: #c4b5fd; transform: scale(1.1); filter: drop-shadow(0 0 24px rgba(139,92,246,0.45)); }
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.3px; transition: color 0.3s; }
.feature-card:hover h3 { color: var(--accent); }
.feature-card p { font-size: 14px; color: var(--text-sec); line-height: 1.7; max-width: 260px; margin: 0 auto; }

/* ─── Steps ──────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before { content: ''; position: absolute; top: 32px; left: calc(12.5% + 24px); right: calc(12.5% + 24px); height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-dark), var(--accent), var(--accent-dark)); opacity: 0.3; }
.step { text-align: center; position: relative; }
.step-num { width: 64px; height: 64px; border-radius: 50%; background: var(--bg); border: 2px solid rgba(139,92,246,0.3); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; position: relative; z-index: 1; transition: all 0.3s; }
.step-num i { font-size: 28px; color: var(--accent); transition: all 0.4s; }
.step:hover .step-num { border-color: var(--accent); box-shadow: 0 0 24px rgba(139,92,246,0.25); transform: scale(1.08); }
.step:hover .step-num i { color: #c4b5fd; filter: drop-shadow(0 0 12px rgba(139,92,246,0.4)); }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-sec); line-height: 1.6; }

/* ─── Stats ─────────────────────────────────── */
.stats-bar { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; padding: 48px 24px 0; margin: 0 auto; max-width: 900px; }
.stat-item { text-align: center; min-width: 140px; }
.stat-num { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; background: linear-gradient(135deg, var(--accent), #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.stats-divider { width: 100%; max-width: 1100px; margin: 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(139,92,246,0.15), transparent); }

/* ─── Generator Machine ─────────────────── */
.gen-machine-wrap { position: relative; max-width: 1340px; margin: 0 auto; padding: 40px 24px 80px; }
.gen-machine { position: relative; background: linear-gradient(180deg, rgba(16,16,20,0.97) 0%, rgba(12,12,16,0.99) 100%); border: 1px solid rgba(139,92,246,0.15); border-radius: 20px; overflow: hidden; box-shadow: 0 0 80px rgba(139,92,246,0.06), 0 0 160px rgba(139,92,246,0.03), inset 0 1px 0 rgba(255,255,255,0.03); }
/* Ambient glow */
.gen-machine::before { content: ''; position: absolute; inset: -2px; border-radius: 22px; background: conic-gradient(from var(--machine-angle, 0deg), transparent 40%, rgba(139,92,246,0.2) 50%, rgba(99,102,241,0.15) 55%, transparent 65%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; animation: machineGlow 8s linear infinite; pointer-events: none; z-index: 0; }
@property --machine-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes machineGlow { to { --machine-angle: 360deg; } }
/* Circuit grid bg */
.gen-machine::after { content: ''; position: absolute; inset: 0; background-image:
    linear-gradient(rgba(139,92,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.03) 1px, transparent 1px);
    background-size: 40px 40px; pointer-events: none; z-index: 0; }
/* Scan line */
.gen-machine-scan { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(139,92,246,0.3), transparent); animation: scanLine 4s ease-in-out infinite; pointer-events: none; z-index: 1; box-shadow: 0 0 20px rgba(139,92,246,0.15); }
@keyframes scanLine { 0%{top:0;opacity:0} 10%{opacity:1} 90%{opacity:1} 100%{top:100%;opacity:0} }
/* Terminal header */
.machine-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid rgba(139,92,246,0.1); background: rgba(139,92,246,0.02); position: relative; z-index: 1; }
.machine-status { display: flex; align-items: center; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-muted); }
.machine-led { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,0.5); animation: ledPulse 2s ease-in-out infinite; }
@keyframes ledPulse { 0%,100%{opacity:1;box-shadow:0 0 8px rgba(34,197,94,0.5)} 50%{opacity:0.6;box-shadow:0 0 4px rgba(34,197,94,0.3)} }
.machine-label { color: rgba(34,197,94,0.8); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.machine-stats { display: flex; align-items: center; gap: 16px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-muted); }
.machine-stat { display: flex; align-items: center; gap: 5px; }
.machine-stat-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: 0.5; }
.machine-uptime { color: rgba(139,92,246,0.6); }
/* Corner accents */
.machine-corner { position: absolute; width: 20px; height: 20px; z-index: 2; pointer-events: none; }
.machine-corner::before, .machine-corner::after { content: ''; position: absolute; background: rgba(139,92,246,0.25); }
.machine-corner::before { width: 20px; height: 1px; }
.machine-corner::after { width: 1px; height: 20px; }
.machine-corner.tl { top: 12px; left: 12px; } .machine-corner.tl::before { top: 0; left: 0; } .machine-corner.tl::after { top: 0; left: 0; }
.machine-corner.tr { top: 12px; right: 12px; } .machine-corner.tr::before { top: 0; right: 0; } .machine-corner.tr::after { top: 0; right: 0; }
.machine-corner.bl { bottom: 12px; left: 12px; } .machine-corner.bl::before { bottom: 0; left: 0; } .machine-corner.bl::after { bottom: 0; left: 0; }
.machine-corner.br { bottom: 12px; right: 12px; } .machine-corner.br::before { bottom: 0; right: 0; } .machine-corner.br::after { bottom: 0; right: 0; }
/* Inner content */
.gen-section { max-width: 100%; margin: 0; padding: 40px 40px 50px; position: relative; z-index: 1; }
.gen-layout { display: flex; gap: 32px; align-items: flex-start; }
.gen-form { flex: 1; min-width: 0; }
.gen-preview-wrap { width: 420px; flex-shrink: 0; position: sticky; top: 90px; }

/* ─── Template Picker ────────────────────── */
.tpl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px; }
.tpl-card { background: var(--bg-input); border: 2px solid var(--border); border-radius: var(--radius); padding: 24px 16px; cursor: pointer; transition: all 0.25s; text-align: center; position: relative; overflow: hidden; }
.tpl-card:hover { border-color: rgba(139,92,246,0.4); background: rgba(139,92,246,0.05); transform: translateY(-2px); }
.tpl-card.active { border-color: var(--accent); background: rgba(139,92,246,0.08); box-shadow: 0 0 0 3px rgba(139,92,246,0.15); }
.tpl-card .tpl-check { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; display: none; align-items: center; justify-content: center; }
.tpl-card.active .tpl-check { display: flex; }
.tpl-icon { font-size: 32px; margin-bottom: 8px; }
.tpl-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.tpl-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.tpl-palette { display: flex; gap: 6px; justify-content: center; }
.palette-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.1); transition: transform 0.15s; }
.tpl-card:hover .palette-dot { transform: scale(1.15); }
.tpl-mini { display: flex; flex-direction: column; gap: 3px; margin-top: 12px; padding: 8px; border-radius: 6px; }
.tpl-mini-bar { height: 3px; border-radius: 2px; }
.tpl-mini-row { display: flex; gap: 3px; }
.tpl-mini-block { height: 8px; border-radius: 2px; flex: 1; }

/* ─── Form Section ───────────────────────── */
.form-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 40px; }
.form-section h2 { font-size: 26px; font-weight: 700; margin-bottom: 6px; }
.form-section .form-desc { color: var(--text-sec); font-size: 14px; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; position: relative; }
.form-label { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--text-sec); margin-bottom: 6px; }
.form-label .optional { font-weight: 400; color: var(--text-muted); }
.char-count { font-size: 11px; font-weight: 400; color: var(--text-muted); transition: color 0.2s; }
.char-count.warn { color: #f59e0b; }
.char-count.limit { color: var(--red); }
.form-input { width: 100%; padding: 11px 14px; background: var(--bg-input); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-family: inherit; font-size: 14px; transition: all 0.2s; outline: none; }
.form-input:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(124,58,237,0.1); }
.form-input::placeholder { color: var(--text-muted); }
.form-input.valid { border-color: var(--green); }
.form-input.invalid { border-color: var(--red); }
textarea.form-input { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-divider { font-size: 13px; font-weight: 600; color: var(--accent); margin: 24px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; display: block; }
.slug-preview { margin-top: 8px; font-size: 12px; font-family: 'JetBrains Mono', monospace; color: var(--text-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.slug-preview .slug-url { color: var(--accent); opacity: 0.7; }
.slug-preview .slug-status { font-family: 'Inter', sans-serif; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 500; }
.slug-status.available { background: rgba(34,197,94,0.1); color: #22c55e; }
.slug-status.taken { background: rgba(239,68,68,0.1); color: #ef4444; }
.slug-suggestion { font-family: 'Inter', sans-serif; font-size: 12px; color: #f59e0b; margin-top: 4px; }
.map-search-wrap { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.map-search-bar { display: flex; }
.map-search-bar .form-input { border: none; border-radius: 0; margin-bottom: 0; flex: 1; }
.map-search-btn { background: var(--accent); color: #fff; border: none; padding: 0 18px; cursor: pointer; font-size: 16px; transition: filter 0.2s; flex-shrink: 0; }
.map-search-btn:hover { filter: brightness(1.15); }
.map-preview { position: relative; border-top: 1px solid var(--border); }
.map-preview iframe { display: block; }
.map-clear { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,0.5); color: #fff; border: none; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.map-clear:hover { background: rgba(239,68,68,0.8); }
.form-submit { width: 100%; padding: 13px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; border: none; border-radius: 10px; cursor: pointer; transition: all 0.2s; margin-top: 8px; }
.form-submit:hover:not(:disabled) { box-shadow: 0 4px 20px rgba(139,92,246,0.3); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-back { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--text-muted); cursor: pointer; border: none; background: none; font-family: inherit; }
.form-back:hover { color: var(--text-sec); }
.form-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 20px; display: none; }

/* ─── Items (menu/services) ──────────────── */
.items-header { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); margin-bottom: 8px; padding: 0 4px; }
.items-header span:first-child { flex: 1; }
.items-header span:nth-child(2) { flex: 1; }
.items-header span:nth-child(3) { width: 90px; }
.items-header span:nth-child(4) { width: 56px; }
.item-row { display: grid; grid-template-columns: 24px 1fr 1fr 90px 32px; gap: 8px; margin-bottom: 8px; align-items: center; padding: 4px 0; border-radius: 8px; transition: all 0.3s ease; }
.item-row.fade-enter { opacity: 0; transform: translateY(-8px); max-height: 0; margin: 0; overflow: hidden; }
.item-row.fade-enter-active { opacity: 1; transform: translateY(0); max-height: 60px; margin-bottom: 8px; }
.item-row.fade-exit { opacity: 0; transform: translateX(20px); max-height: 0; margin: 0; padding: 0; overflow: hidden; }
.item-drag { cursor: grab; color: var(--text-muted); font-size: 14px; text-align: center; user-select: none; padding: 8px 0; }
.item-drag:active { cursor: grabbing; }
.item-row.dragging { opacity: 0.4; background: rgba(139,92,246,0.05); }
.item-row.drag-over { box-shadow: 0 -2px 0 0 var(--accent); }
.item-row input { padding: 9px 11px; background: var(--bg-input); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: inherit; font-size: 13px; outline: none; transition: border-color 0.15s; }
.item-row input:focus { border-color: var(--border-focus); }
.item-remove { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 15px; padding: 8px 4px; transition: color 0.15s; }
.item-remove:hover { color: #ef4444; }
.add-item-btn { background: none; border: 1px dashed var(--border); color: var(--text-muted); padding: 8px 16px; border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 13px; transition: all 0.15s; width: 100%; margin-top: 4px; }
.add-item-btn:hover { border-color: var(--accent); color: var(--accent); }
.items-empty { text-align: center; padding: 24px; border: 1px dashed var(--border); border-radius: 10px; color: var(--text-muted); font-size: 13px; display: none; }

/* ─── Honeypot ───────────────────────────── */
.ohnohoney { position: absolute; left: -9999px; }

/* ─── Progress bar ───────────────────────── */
.progress { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.progress-dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--text-muted); transition: all 0.35s; flex-shrink: 0; }
.progress-dot.active { border-color: var(--accent); color: var(--accent); background: rgba(139,92,246,0.1); }
.progress-dot.done { border-color: var(--green); color: #fff; background: var(--green); }
.progress-line { flex: 1; height: 2px; background: var(--border); border-radius: 1px; position: relative; overflow: hidden; }
.progress-line .fill { position: absolute; left: 0; top: 0; height: 100%; background: var(--accent); border-radius: 1px; transition: width 0.4s ease; width: 0; }

/* ─── Step transitions ───────────────────── */
.steps-viewport { position: relative; overflow: hidden; }
[data-step] { display: none; opacity: 0; transform: translateX(30px); }
[data-step].active { display: block; animation: slideIn 0.35s ease forwards; }
[data-step].slide-out { display: block; animation: slideOut 0.25s ease forwards; }
[data-step].slide-back-in { display: block; animation: slideBackIn 0.35s ease forwards; }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-30px); } }
@keyframes slideBackIn { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }

/* ─── Live Preview ───────────────────────── */
.preview-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.preview-header { position: relative; display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.preview-dots { display: flex; gap: 6px; position: relative; z-index: 1; }
.preview-dots span { width: 10px; height: 10px; border-radius: 50%; }
.preview-dots span:nth-child(1) { background: rgba(239,68,68,0.25); }
.preview-dots span:nth-child(2) { background: rgba(234,179,8,0.25); }
.preview-dots span:nth-child(3) { background: rgba(34,197,94,0.25); }
.preview-title { font-size: 12px; color: var(--text-muted); position: absolute; left: 0; right: 0; text-align: center; pointer-events: none; }
.preview-body { height: 520px; overflow-y: auto; background: #fff; position: relative; }
.preview-body::-webkit-scrollbar { width: 4px; }
.preview-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 2px; }
.preview-placeholder { height: 100%; background: var(--bg-input); padding: 20px; display: flex; flex-direction: column; }
.skel { border-radius: 6px; background: linear-gradient(90deg, rgba(39,39,42,0.4) 25%, rgba(39,39,42,0.7) 50%, rgba(39,39,42,0.4) 75%); background-size: 200% 100%; animation: skelPulse 1.8s ease-in-out infinite; }
@keyframes skelPulse { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.skel-nav { height: 10px; width: 40%; margin-bottom: 20px; }
.skel-hero { height: 24px; width: 70%; margin: 24px auto 8px; }
.skel-sub { height: 8px; width: 45%; margin: 0 auto 24px; }
.skel-title { height: 10px; width: 30%; margin: 16px auto 12px; }
.skel-row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.skel-line { height: 8px; }
.skel-cta { display: flex; align-items: center; justify-content: center; margin-top: auto; padding-top: 20px; gap: 8px; color: var(--text-muted); font-size: 12px; opacity: 0.5; }
.skel-cta span { font-size: 20px; }

/* Preview content styling */
.pv { font-family: 'Inter', sans-serif; font-size: 11px; line-height: 1.5; }
.pv-nav { padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; }
.pv-nav-brand { font-weight: 700; font-size: 13px; }
.pv-nav-links { display: flex; gap: 8px; font-size: 9px; opacity: 0.6; }
.pv-hero { padding: 32px 16px; text-align: center; }
.pv-hero-name { font-size: 22px; font-weight: 700; line-height: 1.2; margin-bottom: 4px; }
.pv-hero-tagline { font-size: 11px; opacity: 0.7; }
.pv-section { padding: 16px; }
.pv-section-title { font-size: 12px; font-weight: 700; margin-bottom: 8px; text-align: center; }
.pv-item { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; border-bottom: 1px dotted rgba(128,128,128,0.2); }
.pv-item-name { font-weight: 600; font-size: 11px; }
.pv-item-price { font-size: 11px; font-weight: 600; }
.pv-item-desc { font-size: 9px; opacity: 0.6; margin-top: 1px; }
.pv-contact { padding: 16px; font-size: 10px; }
.pv-contact-row { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; opacity: 0.7; }
.pv-footer { padding: 10px 16px; font-size: 9px; text-align: center; opacity: 0.5; }
/* Preview card style (cafe, salon, services) */
.pv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 16px 16px; }
.pv-card { padding: 8px; border-radius: 6px; }
.pv-card-name { font-weight: 600; font-size: 11px; margin-bottom: 2px; }
.pv-card-desc { font-size: 9px; opacity: 0.6; }
.pv-card-price { font-size: 10px; font-weight: 600; margin-top: 4px; }

/* ─── Mobile Preview Toggle ──────────────── */
.preview-toggle { display: none; position: fixed; bottom: 24px; right: 24px; z-index: 99; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; border: none; width: 56px; height: 56px; border-radius: 50%; font-size: 22px; cursor: pointer; box-shadow: 0 4px 20px rgba(139,92,246,0.4); transition: transform 0.2s; }
.preview-toggle:hover { transform: scale(1.05); }
.preview-mobile-overlay { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); padding: 20px; align-items: center; justify-content: center; }
.preview-mobile-overlay.show { display: flex; }
.preview-mobile-overlay .preview-panel { width: 100%; max-width: 400px; max-height: 80vh; }
.preview-mobile-overlay .preview-body { height: 60vh; }
.preview-mobile-close { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.1); border: none; color: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 20px; cursor: pointer; }

/* ─── Success / Email confirm ────────────── */
.form-success { text-align: center; padding: 24px 0; }
.form-success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(139,92,246,0.1); border: 2px solid rgba(139,92,246,0.3); display: flex; align-items: center; justify-content: center; font-size: 28px; margin: 0 auto 20px; animation: popIn 0.4s ease; }
@keyframes popIn { 0%{transform:scale(0);opacity:0} 60%{transform:scale(1.2)} 100%{transform:scale(1);opacity:1} }
.form-success h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.form-success p { color: var(--text-sec); font-size: 15px; line-height: 1.7; }
.poll-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pollPulse 1.5s ease-in-out infinite; }
@keyframes pollPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.8)} }
#successConfirmed { animation: fadeInUp 0.5s ease; }
@keyframes fadeInUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* ─── Mode Switcher ─────────────────────────── */
.mode-switcher { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
.mode-btn { padding: 12px 28px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--text-sec); font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.25s; display: flex; align-items: center; gap: 8px; }
.mode-btn:hover { border-color: rgba(139,92,246,0.4); color: var(--text); }
.mode-btn.active { background: rgba(139,92,246,0.1); border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 3px rgba(139,92,246,0.1), 0 0 20px rgba(139,92,246,0.1); }
.mode-btn-icon { font-size: 18px; }
.mode-panel { display: none; }
.mode-panel.active { display: block; }

/* ─── Info Box ──────────────────────────────── */
.info-box { background: rgba(139,92,246,0.06); border: 1px solid rgba(139,92,246,0.15); border-radius: 12px; padding: 14px 20px; font-size: 14px; color: var(--text-sec); line-height: 1.6; max-width: 700px; margin: 0 auto 24px; text-align: center; }
.info-box a { color: var(--accent); font-weight: 500; }
.info-box a:hover { color: #a78bfa; }

/* ─── Select ────────────────────────────────── */
.form-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2371717a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }

/* ─── Contact Form ──────────────────────────── */
.contact-section { max-width: 600px; margin: 0 auto; }
.contact-success { text-align: center; padding: 40px 0; }
.contact-success-icon { font-size: 48px; margin-bottom: 16px; animation: popIn 0.4s ease; }
.contact-success h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.contact-success p { color: var(--text-sec); font-size: 15px; }

/* ─── Showcase ──────────────────────────── */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.showcase-card { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); transition: all 0.35s; background: var(--bg-card); }
.showcase-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); border-color: rgba(139,92,246,0.25); }
.showcase-browser { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.showcase-dot { width: 7px; height: 7px; border-radius: 50%; }
.showcase-url { flex: 1; text-align: center; font-size: 10px; color: var(--text-muted); }
.showcase-body { height: 220px; overflow: hidden; position: relative; }
.showcase-body::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50px; background: linear-gradient(transparent, var(--bg-card)); pointer-events: none; }
.showcase-info { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.showcase-name { font-size: 14px; font-weight: 600; }
.showcase-tag { font-size: 11px; color: var(--accent); background: rgba(139,92,246,0.1); padding: 3px 10px; border-radius: 20px; font-weight: 500; }
/* Mini page inside showcase */
.sh-page { padding: 12px; font-family: 'Inter', sans-serif; font-size: 9px; line-height: 1.4; min-height: 100%; }
.sh-nav { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; margin-bottom: 8px; font-size: 10px; font-weight: 700; }
.sh-nav-links { display: flex; gap: 6px; font-size: 7px; font-weight: 400; opacity: 0.5; }
.sh-hero { text-align: center; padding: 16px 0 12px; }
.sh-hero-title { font-size: 16px; font-weight: 700; line-height: 1.2; margin-bottom: 3px; }
.sh-hero-sub { font-size: 8px; opacity: 0.6; }
.sh-section-title { font-size: 9px; font-weight: 700; text-align: center; margin: 8px 0 6px; }
.sh-items { display: flex; flex-direction: column; gap: 3px; }
.sh-item { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dotted rgba(128,128,128,0.2); font-size: 8px; }
.sh-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.sh-card { padding: 6px; border-radius: 4px; font-size: 8px; }
.sh-card-name { font-weight: 600; margin-bottom: 1px; }
.sh-card-price { font-weight: 600; margin-top: 2px; }
@media (max-width: 768px) { .showcase-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; } .showcase-body { height: 180px; } }

/* ─── Social Proof Toast ────────────────── */
.toast { position: fixed; bottom: 24px; left: 24px; z-index: 90; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 20px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-sec); box-shadow: 0 8px 32px rgba(0,0,0,0.4); transform: translateY(120%); opacity: 0; transition: all 0.4s cubic-bezier(0.16,1,0.3,1); max-width: 340px; pointer-events: none; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 20px; flex-shrink: 0; }
.toast-text strong { color: var(--text); font-weight: 600; }
.toast-time { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ─── FAQ ───────────────────────────────── */
.faq-list { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.3s; }
.faq-item:hover { border-color: rgba(139,92,246,0.25); }
.faq-item.open { border-color: rgba(139,92,246,0.3); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text); background: var(--bg-card); transition: background 0.2s; user-select: none; }
.faq-q:hover { background: rgba(139,92,246,0.04); }
.faq-arrow { font-size: 20px; color: var(--text-muted); transition: transform 0.3s, color 0.3s; flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(139,92,246,0.05); }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--accent); background: rgba(139,92,246,0.1); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-a-inner { padding: 14px 22px 20px; font-size: 14px; color: var(--text-sec); line-height: 1.7; border-top: 1px solid var(--border); }

/* ─── Confetti Canvas ───────────────────── */
.confetti-canvas { position: fixed; inset: 0; z-index: 999; pointer-events: none; }

/* ─── Footer ─────────────────────────────── */
.footer { text-align: center; padding: 40px 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 13px; }
.footer-links { margin-top: 8px; }
.footer-links a { color: #71717a; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #8b5cf6; }
.footer-sep { margin: 0 8px; color: #3f3f46; }
.footer-agency { margin-top: 12px; font-size: 12px; color: #3f3f46; }
.footer-agency a { color: #71717a; text-decoration: underline; transition: color 0.2s; }
.footer-agency a:hover { color: #8b5cf6; }
.consent-label { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 20px; cursor: pointer; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.consent-label input[type="checkbox"] { margin-top: 2px; accent-color: #8b5cf6; width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; }
.consent-label a { color: #8b5cf6; text-decoration: underline; }
.consent-label a:hover { color: #a78bfa; }

/* ─── Animated border (generator) ────────── */
.form-section { position: relative; }
.form-section::before { content: ''; position: absolute; inset: -1px; border-radius: 17px; padding: 1px; background: conic-gradient(from var(--border-angle, 0deg), transparent 60%, rgba(139,92,246,0.4) 80%, rgba(167,139,250,0.6) 90%, rgba(139,92,246,0.4) 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rotateBorder 6s linear infinite; pointer-events: none; opacity: 0; transition: opacity 0.5s; }
.form-section:hover::before, .form-section:focus-within::before { opacity: 1; }
@property --border-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rotateBorder { to { --border-angle: 360deg; } }

/* ─── Preloader ─────────────────────────── */
.preloader { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 1; transition: opacity 0.8s ease; }
.preloader.done { opacity: 0; pointer-events: none; }

/* Pause hero animations until preloader is done */
.hero.paused .hero-terminal,
.hero.paused .hero-line-inner,
.hero.paused .hero-sub,
.hero.paused .hero-cta-group,
.hero.paused .hero-proof,
.hero.paused .hero-machine { animation-play-state: paused; opacity: 0; }
.hero.paused .hero-scan,
.hero.paused .hero-orb,
.hero.paused .hm-progress-fill { animation-play-state: paused; }
/* Logo */
.pre-logo-wrap { position: relative; margin-bottom: 28px; }
.pre-logo { height: 44px; width: auto; position: relative; z-index: 1; opacity: 0; animation: preLogoIn 0.6s 0.1s ease forwards; }
@keyframes preLogoIn { 0%{opacity:0;transform:translateY(8px) scale(0.95)} 100%{opacity:1;transform:translateY(0) scale(1)} }
.pre-logo-line { position: absolute; bottom: -8px; left: 50%; width: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); border-radius: 1px; animation: preLineIn 0.8s 0.4s ease forwards; transform: translateX(-50%); }
@keyframes preLineIn { 0%{width:0;opacity:0} 100%{width:80%;opacity:1} }
/* Mini browser */
.pre-browser { width: 260px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(139,92,246,0.06); position: relative; }
.pre-browser-bar { display: flex; align-items: center; gap: 5px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.02); }
.pre-dot { width: 7px; height: 7px; border-radius: 50%; opacity: 0; }
.pre-dot:nth-child(1) { background: rgba(239,68,68,0.5); animation: preDotIn 0.3s 0.1s ease forwards; }
.pre-dot:nth-child(2) { background: rgba(234,179,8,0.5); animation: preDotIn 0.3s 0.2s ease forwards; }
.pre-dot:nth-child(3) { background: rgba(34,197,94,0.5); animation: preDotIn 0.3s 0.3s ease forwards; }
@keyframes preDotIn { to { opacity: 1; } }
.pre-url { flex: 1; height: 6px; border-radius: 3px; background: var(--border); margin-left: 8px; opacity: 0; animation: preFadeIn 0.4s 0.4s ease forwards; overflow: hidden; position: relative; }
.pre-url::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 55%; background: rgba(139,92,246,0.3); border-radius: 3px; animation: preUrlType 0.6s 0.5s ease forwards; transform: scaleX(0); transform-origin: left; }
@keyframes preUrlType { to { transform: scaleX(1); } }
/* Page content building */
.pre-page { padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 140px; }
.pre-block { border-radius: 6px; opacity: 0; transform: translateY(10px); }
/* Nav */
.pre-nav { height: 8px; display: flex; gap: 6px; opacity: 0; animation: preBlockIn 0.4s 0.5s ease forwards; transform: none; }
.pre-nav-logo { width: 32px; height: 8px; border-radius: 4px; background: rgba(139,92,246,0.4); }
.pre-nav-links { flex: 1; display: flex; gap: 4px; justify-content: flex-end; }
.pre-nav-link { width: 20px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.06); margin-top: 1px; }
/* Hero */
.pre-hero { text-align: center; padding: 8px 0; animation: preBlockIn 0.4s 0.7s ease forwards; }
.pre-hero-title { height: 10px; width: 70%; border-radius: 5px; background: linear-gradient(90deg, rgba(139,92,246,0.3), rgba(167,139,250,0.4)); margin: 0 auto 6px; }
.pre-hero-sub { height: 5px; width: 45%; border-radius: 3px; background: rgba(255,255,255,0.06); margin: 0 auto; }
/* Cards */
.pre-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; animation: preBlockIn 0.4s 0.9s ease forwards; }
.pre-card { height: 28px; border-radius: 6px; position: relative; overflow: hidden; }
.pre-card:nth-child(1) { background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.12); }
.pre-card:nth-child(2) { background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.1); }
.pre-card:nth-child(3) { background: rgba(234,179,8,0.06); border: 1px solid rgba(234,179,8,0.1); }
.pre-card:nth-child(4) { background: rgba(99,102,241,0.06); border: 1px solid rgba(99,102,241,0.1); }
.pre-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent); animation: preShimmer 1.5s 1.1s ease infinite; }
@keyframes preShimmer { 0%{transform:translateX(-100%)} 100%{transform:translateX(100%)} }
/* CTA */
.pre-cta { height: 10px; width: 40%; margin: 0 auto; border-radius: 5px; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); animation: preBlockIn 0.4s 1.1s ease forwards; box-shadow: 0 2px 12px rgba(139,92,246,0.3); }
@keyframes preBlockIn { to { opacity: 1; transform: translateY(0); } }
@keyframes preFadeIn { to { opacity: 1; } }
/* Status text */
.pre-status { margin-top: 24px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.pre-spinner { width: 12px; height: 12px; border: 2px solid rgba(139,92,246,0.2); border-top-color: var(--accent); border-radius: 50%; animation: preSpin 0.8s linear infinite; }
@keyframes preSpin { to { transform: rotate(360deg); } }
.pre-status-text { overflow: hidden; white-space: nowrap; }
.pre-status-text span { display: inline-block; animation: preTypewriter 1.2s steps(22) 0.3s forwards; width: 0; overflow: hidden; }
@keyframes preTypewriter { to { width: 22ch; } }
/* Ready tick */
.pre-tick { width: 18px; height: 18px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; animation: preTickPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; transform: scale(0); }
.pre-tick svg { width: 10px; height: 10px; stroke: #fff; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pre-tick svg path { stroke-dasharray: 14; stroke-dashoffset: 14; animation: preTickDraw 0.3s 0.2s ease forwards; }
@keyframes preTickPop { to { transform: scale(1); } }
@keyframes preTickDraw { to { stroke-dashoffset: 0; } }
.pre-status.ready { color: var(--green); }

/* ─── Animations ─────────────────────────── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }

/* ─── Responsive ─────────────────────────── */
@media (max-width: 1100px) {
    .gen-preview-wrap { display: none; }
    .preview-toggle { display: flex; align-items: center; justify-content: center; }
}
@media (max-width: 768px) {
    .features { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps::before { display: none; }
    .tpl-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .item-row { grid-template-columns: 20px 1fr 80px 28px; }
    .item-row .item-desc { display: none; }
    .form-section { padding: 28px 18px; }
    .hero { min-height: auto; padding: 120px 16px 40px; }
    .hero-orb { width: 350px; height: 350px; }
    .hero-inner { grid-template-columns: 1fr; max-width: 680px; }
    .hero-text { text-align: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-cta-group { justify-content: center; }
    .hero-proof { justify-content: center; }
    .hero-machine { max-width: 600px; margin: 0 auto; }
    .hm-body { min-height: 280px; }
    .hero-terminal { font-size: 9px; padding: 5px 12px; gap: 6px; }
    .hero-scan { display: none; }
    .hm-body { grid-template-columns: 1fr; }
    .hm-code { display: none; }
    .hm-stats { display: none; }
    .hm-corner { display: none; }
    .hero-proof { flex-direction: column; gap: 8px; }
    .section, .gen-section { padding: 48px 24px; }
    .gen-machine-wrap { padding: 0 12px 60px; }
    .machine-header { padding: 12px 16px; }
    .gen-section { padding: 28px 16px 40px; }
    .machine-stats { display: none; }
    .machine-corner { display: none; }
    .stats-bar { gap: 32px; padding-top: 36px; }
    .nav-link { display: none; }
    .nav-btn-contact { display: none; }
    .nav-logo-text { display: none; }
}
