:root {
    --accent: #0052FF;
    --accent-secondary: #4D7CFF;
    --background: #FAFAFA;
    --foreground: #0F172A;
    --muted: #F1F5F9;
    --muted-foreground: #64748B;
    --border: #E2E8F0;
    --card: #FFFFFF;
    --ring: #0052FF;
}

* {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Inter', system-ui, sans-serif;
}

#preloader {
    position: fixed;
    inset: 0;
    background: #0F172A;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

#preloader .loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.08);
    border-top-color: #0052FF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#scrollTopBtn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0052FF, #4D7CFF);
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 6px 20px rgba(0, 82, 255, 0.35);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    line-height: 48px;
    text-align: center;
}

#scrollTopBtn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 82, 255, 0.5);
}

.gradient-text {
    background: linear-gradient(to right, #0052FF, #4D7CFF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-underline {
    position: absolute;
    bottom: -0.4rem;
    left: 0;
    height: 0.65rem;
    width: 100%;
    border-radius: 0.125rem;
    background: linear-gradient(to right, rgba(0, 82, 255, 0.18), rgba(77, 124, 255, 0.08));
    z-index: -1;
}

.dot-pattern {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
}

.radial-glow-accent {
    background: radial-gradient(circle at center, rgba(0, 82, 255, 0.06) 0%, transparent 70%);
}

.glow-btn {
    position: relative;
    overflow: hidden;
}

.glow-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: 0.7s;
}

.glow-btn:hover::before {
    left: 100%;
}

.hover-lift {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 82, 255, 0.12);
}

.gradient-border-card {
    background: linear-gradient(135deg, #0052FF, #4D7CFF);
    padding: 2px;
    border-radius: 16px;
}

.gradient-border-card>.inner {
    background: white;
    border-radius: 14px;
    height: 100%;
}

.marquee {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 64px;
    width: max-content;
    animation: marquee 18s linear infinite;
}

.pulsing-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

.float-card-1 {
    animation: float-1 5s ease-in-out infinite;
}

.float-card-2 {
    animation: float-2 4s ease-in-out infinite;
}

.footer-heading {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 22px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    width: fit-content;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 1px;
    background: #4D7CFF;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links a:hover::after {
    width: 100%;
}

.pulsing-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

.float-card-1 {
    animation: float-1 5s ease-in-out infinite;
}

.float-card-2 {
    animation: float-2 4s ease-in-out infinite;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #0052FF, #4D7CFF, #E2E8F0);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0052FF;
    border: 4px solid white;
    box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.15);
    z-index: 2;
}

.value-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: #0052FF;
    box-shadow: 0 16px 32px rgba(0, 82, 255, 0.08);
}

.blog-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 82, 255, 0.1);
    border-color: #0052FF;
}

.blog-card:hover .card-arrow {
    transform: translateX(4px);
    color: #0052FF;
}

/* Prose styling for article content */
.prose h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #0F172A;
    line-height: 1.3;
}

.prose h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #0F172A;
}

.prose p {
    margin-bottom: 1.5rem;
    color: #334155;
    line-height: 1.8;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #334155;
}

.prose ul li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.prose blockquote {
    border-left: 4px solid #0052FF;
    background: #F8FAFC;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #475569;
}

.prose code {
    background: #F1F5F9;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-family: 'JetBrains Mono', monospace;
    color: #0052FF;
}

.prose pre {
    background: #1E293B;
    color: #E2E8F0;
    padding: 1.5rem;
    border-radius: 16px;
    overflow-x: auto;
    margin: 2rem 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

.prose pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.blog-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 82, 255, 0.1);
    border-color: #0052FF;
}

.job-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.job-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 82, 255, 0.08);
    border-color: #0052FF;
}

.press-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.press-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 82, 255, 0.08);
    border-color: #0052FF;
}

.policy-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #0F172A;
}

.policy-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    color: #0F172A;
}

.policy-content p {
    margin-bottom: 1.2rem;
    color: #334155;
    line-height: 1.75;
}

.policy-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #334155;
}

.policy-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.policy-content a {
    color: #0052FF;
    text-decoration: underline;
}

.policy-content a:hover {
    color: #4D7CFF;
}

.terms-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #0F172A;
}

.terms-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1.8rem;
    margin-bottom: 0.8rem;
    color: #0F172A;
}

.terms-content p {
    margin-bottom: 1.2rem;
    color: #334155;
    line-height: 1.75;
}

.terms-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #334155;
}

.terms-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.terms-content a {
    color: #0052FF;
    text-decoration: underline;
}

.terms-content a:hover {
    color: #4D7CFF;
}

/* FAQ accordion styles */
.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding-top: 1rem;
}

.faq-item .faq-icon {
    transition: transform 0.35s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-item.hidden-by-search {
    display: none;
}

.category-btn.active {
    background: linear-gradient(to right, #0052FF, #4D7CFF);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 82, 255, 0.2);
}