@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin-fast {
    animation: spin 0.8s linear infinite;
}

.css-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
}
.css-spinner--lg {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    border-width: 3.5px;
}
 
.btn-download.btn--loading .btn__icon {
    display: none !important;
}
.btn-download.btn--loading .btn__spinner {
    display: inline-block !important;
}

.svg-icon {
    display: inline-block;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
    vertical-align: -0.125em;
}

.svg-icon:not([class*='w-']) {
    width: 1em;
}

.svg-icon:not([class*='h-']) {
    height: 1em;
}

/* Fix browser autofill background glitch by using a massive transparent transition */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #111827 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.dark input:-webkit-autofill,
.dark input:-webkit-autofill:hover,
.dark input:-webkit-autofill:focus,
.dark input:-webkit-autofill:active {
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

::selection {
    background-color: rgba(37, 99, 235, 0.18);
    color: inherit;
}

/* Ensure glass-panel still works if not in header */
.glass-panel {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.16);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.dark .glass-panel {
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(96, 165, 250, 0.18);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

#hero-outer {
    background: linear-gradient(180deg, #edf6ff 0%, #f8fbff 64%, #ffffff 100%) !important;
}

.dark #hero-outer {
    background: linear-gradient(180deg, #0f1d3a 0%, #0f172a 68%, #0f172a 100%) !important;
}

#hero-outer .blur-\[100px\] {
    display: none !important;
}

#download-form > div,
#submit-btn {
    border-radius: 1rem !important;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.font-bold {
    font-weight: 700 !important;
}

/* ── Modern list styling for rich content sections ── */
.rich-content ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0.75rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rich-content li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.625rem;
    padding: 0.125rem 0;
    line-height: 1.55;
}

.rich-content li::before {
    content: '';
    display: block;
    width: 6px;
    min-width: 6px;
    height: 6px;
    border-radius: 9999px;
    background-color: var(--brand);
    margin-top: 0.45rem;
    flex-shrink: 0;
    opacity: 0.85;
}

/* Blog post prose content */
.prose-content ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.prose-content li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem;
    padding: 0.1rem 0;
    line-height: 1.65;
}

.prose-content li::before {
    content: '';
    display: block;
    width: 6px;
    min-width: 6px;
    height: 6px;
    border-radius: 9999px;
    background-color: var(--brand);
    margin-top: 0.55rem;
    flex-shrink: 0;
    opacity: 0.8;
}

.st-btn svg,
.st-btn img {
    display: inline-block !important;
}

