* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Bricolage Grotesque', sans-serif;
    overflow-x: hidden;
}

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #4f6cff, #00e5a0, #4f6cff);
    background-size: 200% 100%;
    animation: shimmer 2s ease-in-out infinite;
    z-index: 9999;
    transition: width 0.15s ease-out;
    width: 0%;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-12px) rotate(2deg); }
    66% { transform: translateY(6px) rotate(-1deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(79, 108, 255, 0.3), 0 0 60px rgba(0, 229, 160, 0.1); }
    50% { box-shadow: 0 0 30px rgba(79, 108, 255, 0.5), 0 0 80px rgba(0, 229, 160, 0.2); }
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes draw-line {
    from { height: 0; }
    to { height: 100%; }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounce-in {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.animate-slide-up {
    animation: slide-up 0.7s ease-out forwards;
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out forwards;
}

.animate-bounce-in {
    animation: bounce-in 0.6s ease-out forwards;
}

.hero-gradient {
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(79, 108, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 229, 160, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 107, 107, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a1a 0%, #0f0e2a 100%);
}

.dark .hero-gradient {
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(79, 108, 255, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 229, 160, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a1a 0%, #0f0e2a 100%);
}

.cta-button {
    animation: pulse-glow 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 40px rgba(79, 108, 255, 0.6), 0 0 100px rgba(0, 229, 160, 0.3);
}

.feature-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(79, 108, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(79, 108, 255, 0.3);
    box-shadow: 0 20px 60px rgba(79, 108, 255, 0.15);
}

.dark .feature-card {
    border-color: rgba(79, 108, 255, 0.15);
}

.dark .feature-card:hover {
    border-color: rgba(0, 229, 160, 0.4);
    box-shadow: 0 20px 60px rgba(0, 229, 160, 0.1);
}

.floating-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.timeline-line {
    animation: draw-line 1.5s ease-out forwards;
}

.nav-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.text-gradient {
    background: linear-gradient(135deg, #4f6cff 0%, #00e5a0 50%, #4f6cff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

.doc-mockup {
    background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(79, 108, 255, 0.1);
}

.dark .doc-mockup {
    background: linear-gradient(145deg, #1a1a3e 0%, #0f0e2a 100%);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(79, 108, 255, 0.2);
}

.section-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.back-to-top {
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(79, 108, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 108, 255, 0.5);
}

.grid-bg {
    background-image: 
        linear-gradient(rgba(79, 108, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 108, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.dark .grid-bg {
    background-image: 
        linear-gradient(rgba(79, 108, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 108, 255, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}

.tab-active {
    background: linear-gradient(135deg, #4f6cff, #00e5a0);
    color: white !important;
}

.counter-num {
    font-variant-numeric: tabular-nums;
    font-family: 'JetBrains Mono', monospace;
}