* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #05050a; color: #fff; overflow-x: hidden; }
.font-display { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; }
a { text-decoration: none; }

.bg-animated {
  background:
    radial-gradient(circle at 20% 20%, rgba(139,92,246,0.25), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(236,72,153,0.2), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(59,130,246,0.15), transparent 50%),
    #05050a;
}
.gradient-text { background: linear-gradient(135deg, #a78bfa 0%, #ec4899 50%, #f472b6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.glass { background: rgba(255,255,255,0.03); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.08); }
.glass-strong { background: rgba(10,10,20,0.85); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 1px solid rgba(255,255,255,0.1); }

.cta-primary { background: linear-gradient(135deg, #8b5cf6, #ec4899); box-shadow: 0 10px 40px rgba(139,92,246,0.4); transition: all .3s ease; position: relative; overflow: hidden; color: #fff; cursor: pointer; border: 0; }
.cta-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left .5s ease; }
.cta-primary:hover::before { left: 100%; }
.cta-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 60px rgba(139,92,246,0.6); }
.cta-primary:disabled { opacity: .6; cursor: wait; transform: none; }
.cta-secondary { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.2); transition: all .3s ease; color: #fff; }
.cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(139,92,246,0.5); }

.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; animation: float 12s ease-in-out infinite; pointer-events: none; z-index: 0; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-40px) scale(1.1); } }

.reveal { opacity: 0; transform: translateY(40px); transition: all .8s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.card { background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); border: 1px solid rgba(255,255,255,0.08); transition: all .4s ease; position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #8b5cf6, #ec4899); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.card:hover { transform: translateY(-6px); border-color: rgba(139,92,246,0.4); box-shadow: 0 20px 50px rgba(139,92,246,0.2); }
.card:hover::before { transform: scaleX(1); }

.counter { background: linear-gradient(135deg, #a78bfa, #ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feature-icon { background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(236,72,153,0.2)); border: 1px solid rgba(139,92,246,0.3); }
.check-icon { background: linear-gradient(135deg, #22c55e, #10b981); box-shadow: 0 0 15px rgba(34,197,94,0.4); color: #fff; }

.faq-item { border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); transition: all .3s ease; }
.faq-item:hover { border-color: rgba(139,92,246,0.3); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-icon { transition: transform .3s ease; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #05050a; }
::-webkit-scrollbar-thumb { background: linear-gradient(#8b5cf6, #ec4899); border-radius: 10px; }

.noise { position: fixed; inset: 0; pointer-events: none; opacity: 0.03; z-index: 1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.shimmer { position: relative; overflow: hidden; }
.shimmer::after { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent); animation: shimmer 3s infinite; }
@keyframes shimmer { to { left: 100%; } }

.live-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; display: inline-block; animation: livePulse 1.5s ease-in-out infinite; }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } }

.mobile-cta { transform: translateY(120%); transition: transform .4s ease; }
.mobile-cta.show { transform: translateY(0); }

/* ---------- Lead form + modal ---------- */
.lbl { display: block; font-size: .78rem; font-weight: 600; color: #cbd5e1; margin-bottom: 6px; }
.field { width: 100%; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: #fff; font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.field::placeholder { color: #6b7280; }
.field:focus { outline: none; border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,0.25); }
select.field option { background: #0f0f1a; color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.4); color: #fecaca; padding: 10px 14px; border-radius: 12px; font-size: .85rem; }

.lead-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.lead-modal.hidden { display: none; }
.lead-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(6px); }
.lead-panel { position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 24px; padding: 28px; animation: pop .3s ease; box-shadow: 0 30px 80px rgba(139,92,246,0.3); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.lead-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; border: 0; cursor: pointer; }
.lead-close:hover { background: rgba(255,255,255,0.18); }
body.modal-open { overflow: hidden; }

/* ---------- Blog article typography ---------- */
.prose-dark { color: #d1d5db; line-height: 1.85; font-size: 1.05rem; }
.prose-dark h2 { font-family: 'Space Grotesk', sans-serif; color: #fff; font-size: 1.75rem; font-weight: 700; margin: 2.2rem 0 .8rem; }
.prose-dark h3 { font-family: 'Space Grotesk', sans-serif; color: #fff; font-size: 1.3rem; font-weight: 700; margin: 1.8rem 0 .6rem; }
.prose-dark p { margin: 0 0 1.2rem; }
.prose-dark ul, .prose-dark ol { margin: 0 0 1.2rem 1.4rem; }
.prose-dark ul { list-style: disc; } .prose-dark ol { list-style: decimal; }
.prose-dark li { margin-bottom: .45rem; }
.prose-dark a { color: #a78bfa; text-decoration: underline; }
.prose-dark strong { color: #fff; }
.prose-dark img { max-width: 100%; height: auto; border-radius: 16px; margin: 1.5rem 0; }
.prose-dark blockquote { border-left: 3px solid #8b5cf6; padding-left: 1rem; color: #e5e7eb; font-style: italic; margin: 1.5rem 0; }
.prose-dark table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose-dark th, .prose-dark td { border: 1px solid rgba(255,255,255,0.12); padding: 8px 12px; text-align: left; }
