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

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

@keyframes pulse-slow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.animate-orbit-slow { animation: orbit-slow 20s linear infinite; }
.animate-orbit-reverse { animation: orbit-reverse 14s linear infinite; }
.animate-spin-slow { animation: orbit-slow 15s linear infinite; }
.animate-spin-reverse { animation: orbit-reverse 25s linear infinite; }
.animate-pulse-slow { animation: pulse-slow 6s ease-in-out infinite; }
.animate-shimmer { animation: shimmer 3s ease-in-out infinite; }
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-float-delay { animation: float 4s ease-in-out infinite; animation-delay: 1s; }
.animate-blob { animation: blob 8s infinite; }
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }

[x-cloak] { display: none !important; }

.page-content {
    color: #d1d5db;
    font-size: 1.0625rem;
    line-height: 1.8;
}
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.page-content h1 { font-size: 2.5rem; }
.page-content h2 { font-size: 2rem; }
.page-content h3 { font-size: 1.5rem; }
.page-content h4 { font-size: 1.25rem; }
.page-content p {
    margin-bottom: 1.25rem;
    color: #9ca3af;
}
.page-content a {
    color: #818cf8;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.page-content a:hover { color: #c7d2fe; }
.page-content ul,
.page-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    color: #9ca3af;
}
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 0.5rem; }
.page-content strong { color: #ffffff; font-weight: 700; }
.page-content em { color: #c7d2fe; }
.page-content blockquote {
    border-left: 3px solid #6366f1;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 0 0.75rem 0.75rem 0;
    color: #c7d2fe;
    font-style: italic;
}
.page-content img {
    border-radius: 1rem;
    margin: 1.5rem 0;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
    max-width: 100%;
    height: auto;
}
.page-content code {
    background: rgba(99, 102, 241, 0.1);
    color: #a5b4fc;
    padding: 0.15rem 0.4rem;
    border-radius: 0.375rem;
    font-size: 0.875em;
    font-family: monospace;
}
.page-content pre {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 1.25rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}
.page-content pre code {
    background: transparent;
    color: #e0e7ff;
    padding: 0;
}
.page-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
    margin: 2.5rem 0;
}
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 0.75rem;
    overflow: hidden;
}
.page-content th {
    background: rgba(99, 102, 241, 0.1);
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}
.page-content td {
    padding: 0.75rem 1rem;
    color: #9ca3af;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.page-content tr:last-child td { border-bottom: none; }

.page-content .page-wrapper,
.page-content .page-section {
    margin: 2rem 0;
}
.page-content .page-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 1rem 0;
    backdrop-filter: blur(8px);
}
.page-content .page-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}
.page-content .page-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #ffffff;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    margin: 1rem 0;
    transition: all 0.3s;
}
.page-content .page-cta:hover {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
    color: #ffffff;
}

.page-content .page-grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}
.page-content .page-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-content .page-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-content .page-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 768px) {
    .page-content .page-grid-2,
    .page-content .page-grid-3,
    .page-content .page-grid-4 {
        grid-template-columns: 1fr;
    }
}
