/*
Theme Name: LocalSEO Automation
Theme URI: https://localseoautomation.io
Author: Gem Programmers
Author URI: https://gemprogrammers.com
Description: Vibrant 3D storefront for selling n8n automation templates with Gumroad checkout. Includes an Automations post type, filterable library and detailed template pages.
Version: 1.0.6
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: lsa
*/

/* ---------- Tokens (from the logo) ---------- */
:root {
	--navy: #0b1230;
	--ink: #1c2340;
	--muted: #5b6382;
	--line: rgba(11, 18, 48, .09);
	--bg: #f6f6fc;
	--white: #ffffff;
	--violet: #7c3aed;
	--purple: #5b21b6;
	--pink: #ec4899;
	--orange: #ff8a00;
	--yellow: #ffb300;
	--cyan: #06c8ec;
	--blue: #2563eb;
	--green: #10b981;
	--grad: linear-gradient(120deg, #7c3aed 0%, #ec4899 45%, #ff8a00 75%, #06c8ec 100%);
	--grad-soft: linear-gradient(120deg, #7c3aed, #ec4899);
	--grad-cool: linear-gradient(120deg, #2563eb, #06c8ec);
	--radius: 22px;
	--radius-sm: 14px;
	--shadow: 0 1px 2px rgba(11, 18, 48, .04), 0 12px 32px -12px rgba(11, 18, 48, .18);
	--shadow-lg: 0 30px 60px -20px rgba(76, 29, 149, .35), 0 12px 24px -12px rgba(11, 18, 48, .15);
	--font-head: "Poppins", system-ui, sans-serif;
	--font-body: "Inter", system-ui, sans-serif;
	--container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.lsa {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pink); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3, .h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-40 { margin-top: 40px; }
.pt-0 { padding-top: 0 !important; }
.sr-only, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 640px; }
.center .lead, .section-head .lead { margin-inline: auto; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

/* ---------- Background orbs ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; animation: drift 22s ease-in-out infinite alternate; }
.o1 { width: 520px; height: 520px; background: #c4b5fd; top: -160px; left: -120px; }
.o2 { width: 460px; height: 460px; background: #fbcfe8; top: 30%; right: -160px; animation-delay: -6s; }
.o3 { width: 420px; height: 420px; background: #a5f3fc; bottom: -180px; left: 30%; animation-delay: -12s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }

/* ---------- Buttons & pills ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1;
	padding: 15px 24px; border-radius: 999px; border: 0; cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s;
	text-decoration: none; white-space: nowrap;
}
.btn .ico svg { width: 18px; height: 18px; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-lg { padding: 18px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: var(--grad); background-size: 200% 100%; box-shadow: 0 10px 24px -8px rgba(236, 72, 153, .55), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 32px -10px rgba(124, 58, 237, .6); }
.btn-ghost { color: var(--navy); background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow); backdrop-filter: blur(8px); }
.btn-ghost:hover { color: var(--violet); transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px rgba(124,58,237,.4), var(--shadow); }
.btn-light { color: var(--navy); background: #fff; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.btn-light:hover { color: var(--violet); transform: translateY(-2px); }
.btn.is-disabled { background: #e7e7f2; color: var(--muted); box-shadow: none; cursor: not-allowed; }
.pill {
	display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600;
	padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--purple);
	box-shadow: inset 0 0 0 1px rgba(124,58,237,.2), 0 4px 14px -6px rgba(124,58,237,.35);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(236,72,153,.2); animation: ping 1.8s infinite; }
@keyframes ping { 50% { box-shadow: 0 0 0 8px rgba(236,72,153,0); } }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; background: var(--grad-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ico { display: inline-flex; }
.ico svg { width: 22px; height: 22px; }

/* ---------- Glass ---------- */
.glass {
	background: rgba(255,255,255,.72);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	border: 1px solid rgba(255,255,255,.9);
	box-shadow: var(--shadow);
	border-radius: var(--radius);
}
.panel { padding: 32px; }

/* ---------- Header ---------- */
.admin-bar .site-header { top: 32px; }
.site-header { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(246,246,252,.82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; }
.brand-logo { height: 56px; width: auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav .menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a { color: var(--ink); font-weight: 500; font-size: .97rem; position: relative; }
.primary-nav .menu a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--grad); transition: width .25s; border-radius: 2px; }
.primary-nav .menu a:hover { color: var(--navy); }
.primary-nav .menu a:hover::after, .primary-nav .current-menu-item a::after { width: 100%; }
.nav-toggle { display: none; background: #fff; border: 0; width: 46px; height: 46px; border-radius: 14px; box-shadow: var(--shadow); cursor: pointer; position: relative; }
.nav-toggle span:not(.sr-only) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, top .25s; }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 50px 0 70px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { margin: 22px 0 18px; }
.hero-copy { position: relative; z-index: 2; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .94rem; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust .ico svg { width: 18px; height: 18px; color: var(--green); }

/* 3D workflow scene */
.hero-visual { perspective: 1400px; height: 520px; position: relative; }
.stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(16deg) rotateY(-18deg) rotateZ(2deg); transition: transform .3s ease-out; }
.board {
	position: absolute; inset: 40px 10px 40px 10px; border-radius: 30px; transform-style: preserve-3d;
	background:
		radial-gradient(circle at 1px 1px, rgba(11,18,48,.12) 1px, transparent 0) 0 0 / 22px 22px,
		linear-gradient(160deg, rgba(255,255,255,.95), rgba(243,240,255,.85));
	border: 1px solid #fff;
	box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(124,58,237,.08);
}
.wires { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateZ(10px); }
.wires path { fill: none; stroke: url(#wg); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 8 10; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -36; } }
.node {
	position: absolute; display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
	padding: 12px 16px 12px 12px; min-width: 160px; border-radius: 16px; background: #fff;
	box-shadow: 0 18px 30px -14px rgba(11,18,48,.35), 0 0 0 1px rgba(11,18,48,.05);
	transform: translateZ(50px); animation: bob 6s ease-in-out infinite;
}
.node b { font-family: var(--font-head); font-size: .92rem; color: var(--navy); grid-column: 2; }
.node small { grid-column: 2; color: var(--muted); font-size: .76rem; line-height: 1.2; }
.ni { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: #f3efff; }
.n1 { left: 4%; top: 7%; }
.n2 { left: 4%; bottom: 7%; animation-delay: -2s; }
.n3 { left: calc(50% - 88px); width: 176px; top: calc(50% - 34px); transform: translateZ(90px); animation-delay: -1s; }
.n4 { right: 4%; top: 7%; animation-delay: -3s; }
.n5 { right: 4%; bottom: 7%; animation-delay: -4s; }
.node-ai { background: var(--navy); }
.node-ai b { color: #fff; }
.node-ai small { color: #c4b5fd; }
.node-ai .ni { background: var(--grad); }
.node-ai .pulse { position: absolute; inset: -6px; border-radius: 20px; border: 2px solid rgba(236,72,153,.6); animation: halo 2.2s ease-out infinite; }
@keyframes halo { from { opacity: 1; transform: scale(.96); } to { opacity: 0; transform: scale(1.12); } }
@keyframes bob { 50% { translate: 0 -8px; } }
.float-card {
	position: absolute; padding: 14px 18px; border-radius: 18px; background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
	box-shadow: var(--shadow-lg); display: flex; flex-direction: column; transform: translateZ(140px); animation: bob 7s ease-in-out infinite;
}
.fc-num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.fc-lbl { font-size: .78rem; color: var(--muted); }
.f1 { left: 12%; bottom: -8%; }
.f1 .fc-num { color: var(--green); }
.f2 { right: 4%; top: -2%; animation-delay: -3s; }
.f2 .fc-num { color: var(--pink); }
.cube, .sphere { position: absolute; transform-style: preserve-3d; }
.cube { width: 64px; height: 64px; border-radius: 16px; background: var(--grad-soft); box-shadow: 0 24px 40px -14px rgba(124,58,237,.6), inset -8px -8px 0 rgba(0,0,0,.12), inset 6px 6px 0 rgba(255,255,255,.35); transform: translateZ(170px) rotate(18deg); animation: spin 14s linear infinite; }
.c1 { right: 34%; bottom: -5%; }
.c2 { left: 30%; top: -4%; width: 42px; height: 42px; background: linear-gradient(135deg, var(--yellow), var(--orange)); animation-duration: 10s; }
.sphere { width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, #67e8f9 25%, #06b6d4 60%, #155e75); box-shadow: 0 30px 50px -18px rgba(6,182,212,.7); }
.s1 { right: -6%; bottom: -6%; transform: translateZ(120px); animation: bob 8s ease-in-out infinite; }
@keyframes spin { to { transform: translateZ(170px) rotate(378deg); } }

/* ---------- Tool strip ---------- */
.strip { padding: 10px 0 30px; overflow: hidden; }
.strip-label { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.marquee { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; width: max-content; animation: marquee 40s linear infinite; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.strip .container { overflow: hidden; }
.marquee li { padding: 10px 20px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--navy); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 50px; }
.page-hero { padding: 60px 0 40px; }
.page-hero h1 { margin-bottom: 14px; }

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
	--c1: var(--violet); --c2: var(--pink);
	position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius);
	background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(11,18,48,.04);
	transform-style: preserve-3d; transition: box-shadow .3s, transform .3s; overflow: hidden; isolation: isolate;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c1) 22%, transparent), transparent 70%); z-index: -1; transition: transform .4s; }
.card:hover { box-shadow: var(--shadow-lg); }
.card:hover::after { transform: scale(1.4); }
.card-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.card-icon {
	width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem;
	background: linear-gradient(135deg, var(--c1), var(--c2)); transform: translateZ(30px);
	box-shadow: 0 14px 24px -10px var(--c1), inset 0 2px 0 rgba(255,255,255,.4), inset 0 -4px 0 rgba(0,0,0,.12);
}
.card-cat { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--c1); margin-bottom: 6px; }
.card-title { font-size: 1.22rem; margin-bottom: 8px; }
.card-text { color: var(--muted); font-size: .95rem; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; margin-top: 8px; border-top: 1px dashed var(--line); }
.card-price .price-now { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--navy); }
.price-old { color: var(--muted); text-decoration: line-through; font-size: .9em; }
.card-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--c1); }
.card-more .ico svg { width: 16px; height: 16px; transition: transform .25s; }
.card:hover .card-more .ico svg { transform: translateX(4px); }
.card.is-soon .card-icon { filter: saturate(.6); }
.tool-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 6px; }
.tool-chips li { font-size: .76rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: #f2f1fa; color: var(--ink); }
.c-violet { --c1: #7c3aed; --c2: #a855f7; }
.c-pink { --c1: #ec4899; --c2: #f97316; }
.c-cyan { --c1: #0891b2; --c2: #06c8ec; }
.c-amber { --c1: #f59e0b; --c2: #ff8a00; }
.c-green { --c1: #059669; --c2: #34d399; }
.c-blue { --c1: #2563eb; --c2: #06c8ec; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { padding: 34px 28px; position: relative; transform-style: preserve-3d; }
.step-num { position: absolute; top: 18px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .22; }
.step > .ico { width: 54px; height: 54px; border-radius: 16px; place-items: center; display: grid; color: #fff; background: var(--grad-soft); margin-bottom: 20px; box-shadow: 0 14px 24px -10px rgba(124,58,237,.6); transform: translateZ(30px); }
.step:nth-child(2) > .ico { background: linear-gradient(135deg, var(--pink), var(--orange)); }
.step:nth-child(3) > .ico { background: var(--grad-cool); }
.step p { color: var(--muted); margin: 0; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bento-item { --c1: var(--violet); padding: 30px; transform-style: preserve-3d; }
.bento-item.big { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(160deg, #1a1446, var(--navy)); border: 0; color: #d6d9ec; min-height: 340px; position: relative; overflow: hidden; }
.bento-item.big::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; top: -100px; right: -100px; background: var(--grad); filter: blur(60px); opacity: .55; }
.bento-item.big h3 { color: #fff; font-size: 1.7rem; position: relative; }
.bento-item.big p { position: relative; }
.bento-item > .ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2, var(--c1))); margin-bottom: 18px; position: relative; transform: translateZ(26px); }
.bento-item p { color: var(--muted); margin: 0; }
.bento-item.big p { color: #c3c7e0; }
.bento-item:nth-child(2) { grid-column: span 2; }
.bento-item:nth-child(5) { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; }
.bento-item:nth-child(5) > .ico { grid-row: span 2; margin: 0; }
.bento-item:nth-child(5) h3 { margin: 0; }
.meter { height: 10px; border-radius: 10px; background: rgba(255,255,255,.12); margin-top: 22px; position: relative; overflow: hidden; }
.meter span { position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--grad); border-radius: inherit; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 28px; }
.price-card { padding: 36px 32px; position: relative; transform-style: preserve-3d; }
.price-card.featured { background: linear-gradient(165deg, #fff, #fbf5ff); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(236,72,153,.35); }
.ribbon { position: absolute; top: -14px; right: 24px; background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(236,72,153,.7); }
.price-big { font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; color: var(--navy); line-height: 1; margin: 18px 0 22px; display: flex; align-items: baseline; gap: 4px; }
.price-big .cur { font-size: 1.6rem; }
.price-big small { font-size: .95rem; color: var(--muted); font-weight: 500; margin-left: 6px; }
.checks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ico { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(16,185,129,.12); color: var(--green); margin-top: 1px; }
.checks .ico svg { width: 14px; height: 14px; }
.checks.small { font-size: .9rem; margin: 20px 0 0; gap: 9px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq-item { padding: 0; border-radius: var(--radius-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #f2effe; position: relative; transition: transform .3s, background .3s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--violet); translate: -50% -50%; border-radius: 2px; }
.faq-plus::after { rotate: 90deg; transition: rotate .3s; }
.faq-item[open] .faq-plus { background: var(--grad-soft); transform: rotate(180deg); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-item[open] .faq-plus::after { rotate: 0deg; }
.faq-item p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
	display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
	padding: 54px 56px; border-radius: 32px; color: #e9e6ff; position: relative; overflow: hidden;
	background: linear-gradient(130deg, #2e1065, #6d28d9 45%, #db2777 80%, #f97316);
	box-shadow: var(--shadow-lg);
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(6,200,236,.55), transparent 40%), radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, transparent 0) 0 0 / 24px 24px; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-band p { margin: 0; opacity: .9; }

/* ---------- Library filters ---------- */
.filters { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 30px; }
.search-box { display: flex; align-items: center; gap: 10px; width: min(100%, 520px); padding: 0 20px; height: 56px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); color: var(--muted); }
.search-box input { flex: 1; border: 0; outline: 0; background: none; font: inherit; color: var(--navy); height: 100%; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { font: 600 .9rem var(--font-head); padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer; background: #fff; color: var(--ink); box-shadow: var(--shadow); transition: all .2s; }
.chip:hover { color: var(--violet); }
.chip.is-active { background: var(--navy); color: #fff; }
.card.is-hidden { display: none; }

/* ---------- Single automation ---------- */
.auto-hero { padding: 30px 0 50px; }
.auto-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 50px; align-items: start; }
.auto-main { min-width: 0; }
.auto-head { margin-bottom: 60px; }
.auto-main .boost-grid { grid-template-columns: repeat(2, 1fr); }
.buy-label { position: relative; font-family: var(--font-head); font-weight: 700; color: var(--navy); margin: 0 0 14px; font-size: 1.05rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--violet); }
.auto-title-row { display: flex; gap: 22px; align-items: center; margin-bottom: 18px; }
.auto-title-row h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 10px 0 0; }
.auto-icon { flex: none; width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; font-size: 2.8rem; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 26px 40px -16px var(--c1), inset 0 3px 0 rgba(255,255,255,.4), inset 0 -6px 0 rgba(0,0,0,.14); transform-style: preserve-3d; }
.facts { list-style: none; padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; gap: 14px; }
.facts li { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.facts .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c1) 12%, #fff); color: var(--c1); }
.facts small { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .75rem; line-height: 1.2; }
.works-with { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.works-with .tool-chips { margin: 0; }
.works-with .tool-chips li { background: #fff; box-shadow: var(--shadow); padding: 6px 12px; font-size: .82rem; }
.buy-card { position: sticky; top: 110px; padding: 28px; overflow: hidden; background: rgba(255,255,255,.88); box-shadow: var(--shadow-lg); }
.buy-glow { position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%; background: linear-gradient(135deg, var(--c1), var(--c2)); filter: blur(50px); opacity: .35; pointer-events: none; }
.buy-thumb { margin: -8px -8px 20px; border-radius: 16px; overflow: hidden; }
.buy-price { position: relative; display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.buy-price .price-now { font-family: var(--font-head); font-weight: 800; font-size: 3rem; color: var(--navy); line-height: 1; }
.buy-price small { color: var(--muted); }
.buy-card .btn + .btn { margin-top: 12px; }
.auto-body { padding-bottom: 40px; }
.auto-sec { margin: 0 0 70px; }
.auto-sec > h2 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 26px; }
.sec-num { font-size: .9rem; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); flex: none; box-shadow: 0 10px 20px -8px var(--c1); }
.video { overflow: hidden; padding: 0; aspect-ratio: 16 / 9; }
.video iframe, .video video { width: 100%; height: 100%; border: 0; display: block; object-fit: cover; background: #f6f6fc; }
.how-video { max-width: 980px; margin: 60px auto 0; }
.how-video .video { border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.how-video p { margin-top: 18px; }
.play-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-soft); color: #fff; }
.play-dot .ico svg { width: 14px; height: 14px; }
.btn small { font-family: var(--font-body); font-weight: 500; font-size: .85rem; }
.vmodal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.vmodal[hidden] { display: none; }
.vmodal-backdrop { position: absolute; inset: 0; background: rgba(11,18,48,.72); backdrop-filter: blur(6px); }
.vmodal-box { position: relative; width: min(1100px, 100%); aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0,0,0,.6); background: #000; }
.vmodal-box video, .vmodal-box iframe { width: 100%; height: 100%; display: block; border: 0; }
.vmodal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); font-size: 28px; line-height: 1; cursor: pointer; }
button.btn { font-family: var(--font-head); }
.prose { font-size: 1.05rem; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.auto-sec .prose { max-width: 820px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; position: relative; counter-reset: s; }
.timeline::before { content: ""; position: absolute; left: 41px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--c1), var(--c2)); opacity: .35; }
.timeline li { display: flex; gap: 22px; align-items: flex-start; padding: 22px 26px 22px 18px; transform-style: preserve-3d; }
.tl-num { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 0 0 6px #fff, 0 10px 20px -6px var(--c1); position: relative; z-index: 1; transform: translateZ(24px); }
.timeline h3 { margin: 10px 0 4px; font-size: 1.12rem; }
.timeline p { margin: 0; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.two-col .panel h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.two-col .panel h2 .ico { color: var(--c1); }
.two-col .checks { margin: 0; }
.boost-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.boost { padding: 26px; transform-style: preserve-3d; }
.boost > .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--yellow), var(--orange)); margin-bottom: 16px; transform: translateZ(24px); box-shadow: 0 10px 20px -8px var(--orange); }
.boost h3 { font-size: 1.08rem; }
.boost p { color: var(--muted); margin: 0; font-size: .95rem; }
.mobile-buy { display: none; }

/* ---------- Blog list ---------- */
.post-list { display: grid; gap: 18px; }
.post-item { display: block; padding: 26px; color: var(--ink); }
.post-item:hover { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; padding: 70px 0 30px; background: #fff; border-top: 1px solid var(--line); position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: var(--grad); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-about p { color: var(--muted); margin-top: 16px; max-width: 360px; font-size: .95rem; }
.site-footer h4 { font-size: .95rem; margin-bottom: 16px; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer .menu a { color: var(--muted); font-size: .95rem; }
.site-footer .menu a:hover { color: var(--violet); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #22c55e; box-shadow: 0 14px 30px -10px rgba(34,197,94,.8); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.tilt { will-change: transform; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-visual { height: 460px; max-width: 620px; margin: 0 auto; width: 100%; }
	.cards-grid, .boost-grid { grid-template-columns: repeat(2, 1fr); }
	.auto-layout { display: flex; flex-direction: column; gap: 0; }
	.auto-main { display: contents; }
	.auto-head { order: 1; margin-bottom: 30px; width: 100%; }
	.buy-card { order: 2; position: relative; top: 0; width: 100%; max-width: 560px; margin-bottom: 60px; }
	.auto-main > .auto-sec { order: 3; width: 100%; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.nav-toggle { display: block; position: relative; z-index: 61; }
	.site-header.menu-open { background: rgba(246,246,252,.96); box-shadow: 0 1px 0 var(--line); }
	.primary-nav { position: absolute; top: calc(100% + 6px); left: 12px; right: 12px; max-height: calc(100vh - 110px); overflow-y: auto; z-index: 60; flex-direction: column; align-items: stretch; gap: 16px; padding: 22px; border-radius: 22px; background: rgba(255,255,255,.97); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .25s; }
	.primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .menu { flex-direction: column; gap: 4px; }
	.primary-nav .menu a { display: block; padding: 12px 8px; font-size: 1.05rem; }
	.steps, .bento, .pricing, .two-col { grid-template-columns: 1fr; }
	.bento-item:nth-child(2), .bento-item:nth-child(5) { grid-column: auto; }
	.bento-item:nth-child(5) { display: block; }
	.bento-item:nth-child(5) > .ico { margin-bottom: 18px; }
	.bento-item.big { grid-row: auto; min-height: 280px; }
	.section { padding: 64px 0; }
	.cta-band { padding: 40px 28px; }
	.mobile-buy { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); }
	.mobile-buy:empty { display: none; }
	.mobile-buy .price-now { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--navy); }
	.single-automation .wa-float { bottom: 90px; }
	.single-automation .site-footer { padding-bottom: 100px; }
}
@media (max-width: 640px) {
	body.lsa { font-size: 16px; }
	.cards-grid, .boost-grid, .auto-main .boost-grid { grid-template-columns: 1fr; }
	.hero { padding-top: 24px; }
	.hero-visual { height: 380px; }
	.node { min-width: 0; padding: 8px 10px 8px 8px; grid-template-columns: 30px 1fr; column-gap: 8px; }
	.ni { width: 30px; height: 30px; font-size: .95rem; border-radius: 9px; }
	.node b { font-size: .74rem; }
	.node small { font-size: .65rem; }
	.float-card { padding: 10px 12px; }
	.fc-num { font-size: 1.2rem; }
	.cube { width: 46px; height: 46px; }
	.sphere { width: 60px; height: 60px; }
	.hero-ctas .btn { width: 100%; }
	.footer-grid { grid-template-columns: 1fr; }
	.auto-title-row { flex-direction: column; align-items: flex-start; }
	.auto-icon { width: 76px; height: 76px; font-size: 2.2rem; }
	.timeline::before { left: 41px; }
	.panel { padding: 24px; }
	.brand-logo { height: 44px; }
	.hero-visual { margin-top: 10px; }
	.stage { transform: rotateX(12deg) rotateY(-10deg) rotateZ(1deg); }
	.f1 { left: 9%; bottom: -3%; }
	.f2 { right: 2%; }
	.c2 { display: none; }
	.n3 { width: 150px; left: calc(50% - 75px); }
	.s1 { right: 0; bottom: -4%; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
