body { transition: background-color 0.3s ease, color 0.3s ease; }

.glass-nav {
    background: rgba(248, 250, 252, 0.5);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.dark .glass-nav {
    background: rgba(10, 11, 20, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.dark .glass-card {
    background: linear-gradient(145deg, rgba(30, 32, 50, 0.7) 0%, rgba(15, 16, 25, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    transition: all 0.3s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4); }

.btn-secondary {
    background: transparent;
    border: 1px solid #6366f1;
    color: #6366f1;
    transition: all 0.3s ease;
}
.dark .btn-secondary { border-color: rgba(255,255,255,0.2); color: white; }
.btn-secondary:hover { background: rgba(99, 102, 241, 0.1); transform: translateY(-2px); }

.video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.8s ease-in-out; }
.video-active { opacity: 0.8; z-index: 1; }
.video-hidden { opacity: 0; z-index: 0; }
.dark .video-active { opacity: 0.35; }

.video-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, #f8fafc 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}
.dark .video-fade-bottom {
    background: linear-gradient(to top, #0a0b14 0%, transparent 100%);
}

#pricing-modal { transition: opacity 0.3s ease, visibility 0.3s ease; }
.modal-content { transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
#pricing-modal.hidden { opacity: 0; visibility: hidden; }
#pricing-modal.hidden .modal-content { transform: scale(0.95) translateY(20px); }

.hero-title {
    text-shadow: 0 2px 20px rgba(248, 250, 252, 0.7), 0 4px 40px rgba(248, 250, 252, 0.3);
}
.dark .hero-title {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 4px 40px rgba(0, 0, 0, 0.5);
}

.hero-title .hero-line {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-line-1 { animation-delay: 0.1s; }
.hero-line-2 {
    animation-delay: 0.4s;
    background-size: 200% auto;
    animation: heroReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards, shimmer 3s ease-in-out infinite 1.5s;
}
.hero-line-3 { animation-delay: 0.7s; }


@keyframes heroReveal {
    0% { opacity: 0; transform: translateY(40px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

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

.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.1);
}

.prose-custom p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1.0625rem;
}
.prose-custom ul {
    margin-bottom: 1.25rem;
}
.prose-custom li {
    line-height: 1.7;
    font-size: 1.0625rem;
}

.blog-cover {
    position: relative;
}
.blog-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
    pointer-events: none;
}

#cookie-banner {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
#cookie-banner.hide {
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
