*,
::after,
::before {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: Outfit, sans-serif;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Figtree, sans-serif;
}
.grad-text {
    background: linear-gradient(135deg, #818cf8 0, #06b6d4 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.grad-text-warm {
    background: linear-gradient(135deg, #f472b6 0, #fb923c 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.glass {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.dark .glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #0ea5e9);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}
.btn-primary:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.dark .btn-primary:disabled {
    background: #4b5563;
}
.btn-ghost {
    background: transparent;
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: #0f172a;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-ghost:hover {
    background: rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 23, 42, 0.3);
    transform: translateY(-2px);
}
.dark .btn-ghost {
    border-color: rgba(255, 255, 255, 0.15);
    color: #f8fafc;
}
.dark .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6366f1;
}
.dark .section-badge {
    color: #818cf8;
}
.form-input {
    appearance: none;
    width: 100%;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}
.dark .form-input {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}
.form-input:focus {
    outline: 0;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}
input[type="password"] {
    padding-right: 3rem;
}
.form-checkbox {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.375rem;
    border: 2px solid #cbd5e1;
    transition: all 0.2s;
    cursor: pointer;
}
.dark .form-checkbox {
    border-color: #4b5563;
}
.form-checkbox:checked {
    background-color: #6366f1;
    border-color: #6366f1;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}
input::-ms-clear,
input::-ms-reveal {
    display: none;
}
.link-input-wrap {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.link-input-wrap:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.dark .link-input-wrap {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.dark .link-input-wrap:focus-within {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2),
        inset 0 0 20px rgba(99, 102, 241, 0.05);
}
.link-input {
    background: transparent;
    outline: 0;
    width: 100%;
    color: inherit;
}
.link-input::placeholder {
    color: #94a3b8;
}
.dark .link-input::placeholder {
    color: #64748b;
}
.grid-bg {
    background-image: linear-gradient(
            rgba(15, 23, 42, 0.03) 1px,
            transparent 1px
        ),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.dark .grid-bg {
    background-image: linear-gradient(
            rgba(99, 102, 241, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
}
#navbar {
    transition: all 0.4s ease;
}
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.dark #navbar.scrolled {
    background: rgba(10, 15, 28, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
#langDropdown {
    transform-origin: top right;
}
.faq-card,
.feature-card,
.hover-card,
.pricing-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-card:hover,
.feature-card:hover,
.hover-card:hover,
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    border-color: rgba(99, 102, 241, 0.3) !important;
}
.dark .faq-card:hover,
.dark .feature-card:hover,
.dark .hover-card:hover,
.dark .pricing-card:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}
.blog-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}
.dark .blog-card:hover {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}
.blog-card img {
    transition: transform 0.3s ease-in-out;
}
.blog-card:hover img {
    transform: scale(1.05);
}
.glitch-hover {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glitch-hover:hover {
    transform: scale(1.05) rotate(-2deg);
}
.progress-bar,
.progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: rgba(15, 23, 42, 0.05);
    border-radius: 999px;
    overflow: hidden;
}
.dark .progress-bar,
.dark .progress-bar-container {
    background-color: rgba(255, 255, 255, 0.1);
}
.progress-bar-fill,
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #06b6d4);
    width: 0;
    border-radius: 999px;
}
.demo-tab {
    background: transparent;
    color: #64748b;
    border: 1px solid transparent;
}
.demo-tab.active {
    background: #6366f1;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.dark .demo-tab {
    color: #94a3b8;
}
.dark .demo-tab.active {
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    color: #fff;
}
.demo-panel {
    display: none;
}
.demo-panel.active {
    display: block;
}
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
.faq-content {
    overflow: hidden;
}
.prose {
    max-width: 100%;
}
.prose-blog {
    max-width: 75ch;
}
.prose-lg {
    font-size: 1.125rem;
}
.dark .prose-invert {
    --tw-prose-body: #cbd5e1;
    --tw-prose-headings: #fff;
    --tw-prose-lead: #94a3b8;
    --tw-prose-links: #818cf8;
    --tw-prose-bold: #fff;
    --tw-prose-counters: #94a3b8;
    --tw-prose-bullets: #4f46e5;
    --tw-prose-hr: #334155;
    --tw-prose-quotes: #f1f5f9;
    --tw-prose-quote-borders: #4f46e5;
    --tw-prose-captions: #94a3b8;
}
.prose h2 {
    font-family: Figtree, sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    scroll-margin-top: 120px;
}
.prose h3 {
    font-family: Figtree, sans-serif;
    font-weight: 700;
    scroll-margin-top: 120px;
}
.prose a {
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
    transition: border-color 0.2s;
}
.prose a:hover {
    border-bottom-color: #6366f1;
}
.prose blockquote {
    font-weight: 500;
    font-style: normal;
    border-left-width: 4px;
    padding-left: 1.5rem;
}
.prose img {
    border-radius: 1.5rem;
}
#heroContent > *,
#pageHeader > *,
#postHeader > *,
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
}

/* ── Float Cards ── */
/* ── Float Cards ── */
#floatCard1 {
    transform: rotate(-4deg);
}

#floatCard2 {
    transform: rotate(4deg);
}

/* ── Shorten Button Progress Bar ── */
#btnProgress {
    width: 0%;
}

/* ── Logos Bar: Vercel italic ── */
.logo-vercel {
    font-style: italic;
}

/* ── Demo Section Background Gradient ── */
.demo-bg-gradient {
    background: radial-gradient(
        ellipse 60% 40% at 50% 50%,
        rgba(99, 102, 241, 0.05) 0%,
        transparent 70%
    );
}

/* ── Analytics: Fake Bar Chart Bars ── */
.bar-h-40 {
    height: 40%;
}

.bar-h-45 {
    height: 45%;
}

.bar-h-48 {
    height: 48%;
}

.bar-h-55 {
    height: 55%;
}

.bar-h-60 {
    height: 60%;
}

.bar-h-65 {
    height: 65%;
}

.bar-h-70 {
    height: 70%;
}

.bar-h-72 {
    height: 72%;
}

.bar-h-80 {
    height: 80%;
}

.bar-h-85 {
    height: 85%;
}

.bar-h-90 {
    height: 90%;
}

.bar-h-100 {
    height: 100%;
}

/* ── Analytics: Progress Fill Bars ── */
.progress-fill-82 {
    width: 82%;
}

.progress-fill-64 {
    width: 64%;
}

.progress-fill-42 {
    width: 42%;
}

/* ── Testimonials Section: Background Gradient ── */
.testimonials-bg-gradient {
    background: radial-gradient(
        ellipse 60% 40% at 80% 50%,
        rgba(167, 139, 250, 0.07) 0%,
        transparent 70%
    );
}

/* ── CTA Section: Background Gradient ── */
.cta-bg-gradient {
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.08) 0%,
        rgba(6, 182, 212, 0.05) 50%,
        rgba(167, 139, 250, 0.08) 100%
    );
}
