/* Affiliate Easy — product tour (05.12.2026) */
.aet-stage { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 28px; align-items: start; margin-top: 28px; }
.aet-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.aet-steps li { margin: 0; }
.aet-step { position: relative; overflow: hidden; display: grid; gap: 2px; width: 100%; text-align: left; cursor: pointer; padding: 12px 16px; border-radius: 14px; font: inherit;
	color: #cbd5e1; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); transition: background .25s, border-color .25s, transform .25s; }
.aet-step:hover { background: rgba(255,255,255,.06); border-color: rgba(167,139,250,.35); }
.aet-step:focus-visible { outline: 2px solid #a78bfa; outline-offset: 2px; }
.aet-step-k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a78bfa; }
.aet-step-t { font-size: 15px; font-weight: 700; color: #f8fafc; }
.aet-step-d { display: none; font-size: 13.5px; line-height: 1.55; color: #94a3b8; margin-top: 4px; }
.aet-step.is-on { background: linear-gradient(135deg, rgba(99,102,241,.22), rgba(139,92,246,.14)); border-color: rgba(167,139,250,.55); box-shadow: 0 14px 34px rgba(99,102,241,.22); }
.aet-step.is-on .aet-step-d { display: block; }
.aet-step-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: linear-gradient(90deg, #8b5cf6, #22d3ee); }
.aet-step.is-on.is-run .aet-step-bar { animation: aet-bar var(--aet-ms, 6500ms) linear forwards; }
@keyframes aet-bar { to { width: 100%; } }
.aet-frame { position: sticky; top: 96px; margin: 0; border-radius: 18px; overflow: hidden; background: #0b1020;
	border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 90px rgba(0,0,0,.45), 0 0 80px rgba(139,92,246,.18); }
.aet-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.07); }
.aet-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.aet-bar i:first-child { background: #f87171; } .aet-bar i:nth-child(2) { background: #fbbf24; } .aet-bar i:nth-child(3) { background: #34d399; }
.aet-bar span { margin-left: 10px; font-size: 12px; color: #64748b; }
.aet-imgs { position: relative; aspect-ratio: 1440 / 900; background: #f5f6fb; }
.aet-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .5s ease; }
.aet-img.is-on { opacity: 1; }
.aet-play { position: absolute; right: 18px; bottom: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border: 0; border-radius: 999px; cursor: pointer;
	font: 600 14px/1 inherit; color: #fff; background: rgba(11,16,32,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 30px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.12) inset; transition: transform .2s, background .2s; }
.aet-play:hover { transform: translateY(-2px); background: rgba(99,102,241,.9); }
.aet-play-ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.aet-cap { padding: 9px 14px; font-size: 12px; color: #64748b; border-top: 1px solid rgba(255,255,255,.06); }
.aet-dialog { width: min(1100px, 94vw); padding: 0; border: 0; border-radius: 18px; background: #000; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.aet-dialog::backdrop { background: rgba(3,6,16,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.aet-video video { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 800; background: #000; }
.aet-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; font-size: 24px; line-height: 1; color: #fff; background: rgba(0,0,0,.55); }
.aet-close:focus-visible, .aet-play:focus-visible { outline: 2px solid #a78bfa; outline-offset: 2px; }
@media (max-width: 900px) {
	.aet-stage { grid-template-columns: 1fr; }
	.aet-steps { grid-auto-flow: column; grid-auto-columns: minmax(180px, 70%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; order: 2; }
	.aet-steps li { scroll-snap-align: start; }
	.aet-frame { order: 1; position: relative; top: auto; }
	.aet-play { bottom: 40px; right: 12px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .aet-img { transition: none; } .aet-step.is-on.is-run .aet-step-bar { animation: none; } }

/* Suggest a feature (05.12.2026) */
.aei-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; padding: 34px; border-radius: 22px;
	background: radial-gradient(80% 120% at 100% 0%, rgba(139,92,246,.18), transparent 60%), rgba(255,255,255,.03); border: 1px solid rgba(167,139,250,.25); }
.aei-copy h2 { margin: 8px 0 10px; }
.aei-copy p { margin: 0; color: #94a3b8; }
.aei-form textarea, .aei-form input { width: 100%; border-radius: 14px; padding: 12px 14px; font: inherit; }
.aei-row { display: flex; gap: 10px; margin-top: 10px; }
.aei-row input { flex: 1; }
.aei-btn { flex: none; border: 0; border-radius: 14px; padding: 0 22px; font: 700 15px/1 inherit; color: #fff; cursor: pointer; min-height: 46px;
	background: linear-gradient(100deg, #6366f1, #8b5cf6 55%, #06b6d4); background-size: 200% 100%; box-shadow: 0 12px 28px rgba(99,102,241,.35); transition: background-position .5s, transform .15s; }
.aei-btn:hover { background-position: 100% 0; transform: translateY(-1px); }
.aei-btn:disabled { opacity: .6; cursor: wait; }
.aei-msg { min-height: 1.4em; margin: 10px 0 0; font-size: 14px; color: #a7f3d0; }
@media (max-width: 860px) { .aei-box { grid-template-columns: 1fr; padding: 24px; } .aei-row { flex-direction: column; } }

/* Light look (default, 05.12.2026) — the dark look keeps the styles above */
html:not([data-aphub-theme="dark"]) .aet-step { color: #334155; background: #fff; border-color: #e6e8f2; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
html:not([data-aphub-theme="dark"]) .aet-step:hover { background: #faf9ff; border-color: rgba(139,92,246,.35); }
html:not([data-aphub-theme="dark"]) .aet-step-k { color: #7c3aed; }
html:not([data-aphub-theme="dark"]) .aet-step-t { color: #0f172a; }
html:not([data-aphub-theme="dark"]) .aet-step-d { color: #64748b; }
html:not([data-aphub-theme="dark"]) .aet-step.is-on { background: linear-gradient(135deg, #f5f3ff, #ecfeff); border-color: rgba(139,92,246,.45); box-shadow: 0 14px 34px rgba(99,102,241,.14); }
html:not([data-aphub-theme="dark"]) .aet-frame { box-shadow: 0 30px 70px rgba(15,23,42,.18), 0 0 60px rgba(139,92,246,.12); }
html:not([data-aphub-theme="dark"]) .aet-cap { color: #94a3b8; }
html:not([data-aphub-theme="dark"]) .aei-box { background: radial-gradient(80% 120% at 100% 0%, rgba(139,92,246,.10), transparent 60%), #fff; border-color: #e6e8f2; box-shadow: 0 20px 50px rgba(15,23,42,.08); }
html:not([data-aphub-theme="dark"]) .aei-copy p { color: #64748b; }
html:not([data-aphub-theme="dark"]) .aei-form :is(textarea, input) { background: #fff; border: 1px solid #dfe3ee; color: #0f172a; }
html:not([data-aphub-theme="dark"]) .aei-msg { color: #047857; }

/* 05.12.2026: the ideas block is a button to the one idea form */
.aei-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.aei-cta .aei-btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 0 26px; }
.aei-cta .aei-btn:hover { color: #fff; }
.aei-note { margin: 0; font-size: 14px; color: #94a3b8; }
.aei-note a { color: inherit; text-decoration: underline; }
html:not([data-aphub-theme="dark"]) .aei-note { color: #64748b; }
@media (max-width: 860px) { .aei-cta { align-items: stretch; } .aei-cta .aei-btn { justify-content: center; } }
