:root {
    --primary-color: #003366;
    --secondary-color: #004080;
    --accent-color: #ffcc00;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f1f5f9;
    --bg-card: #ffffff;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
}

/* ===================================
   Critical Layout Fallback
   If Tailwind CDN fails to load, these
   ensure the page stays readable.
   =================================== */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.max-w-md { max-width: 28rem; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.w-full { width: 100%; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.p-8 { padding: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.text-white { color: #ffffff; }
.font-bold { font-weight: 700; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

/* Premium Card Design */
.premium-card {
    border: 2px solid transparent;
    border-radius: 1.5rem;
    background: var(--bg-card);
    box-shadow: 0 10px 30px -5px rgba(0, 51, 102, 0.05), 0 4px 6px -2px rgba(0, 51, 102, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 51, 102, 0.12);
    border-color: rgba(0, 51, 102, 0.05);
}

/* Premium Buttons */
.btn-premium {
    padding: 0.875rem 2rem;
    border-radius: 0.875rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-premium-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 10px 20px -5px rgba(0, 51, 102, 0.3);
}

.btn-premium-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(0, 51, 102, 0.4);
    color: white;
}

.btn-premium-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-premium-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 51, 102, 0.2);
}

/* Custom Utilities */
[x-cloak] { display: none !important; }

/* Prose refinement */
.prose h1, .prose h2, .prose h3 {
    color: var(--primary-color);
    font-weight: 800;
}

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