@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background-color: #030712;
    color: #f3f4f6;
    min-height: 100vh;
    line-height: 1.5;
}

/* ── Utilities ── */
.text-purple-400 { color: #c084fc; }
.text-green-400 { color: #4ade80; }
.text-yellow-400 { color: #facc15; }
.text-blue-400 { color: #60a5fa; }
.text-red-400 { color: #f87171; }
.text-orange-400 { color: #fb923c; }
.text-white { color: #fff; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-black { font-weight: 900; }

.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* ── Layout ── */
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-xl { max-width: 36rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.min-h-screen { min-height: 100vh; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pb-20 { padding-bottom: 5rem; }
.pt-6 { padding-top: 1.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-1 { margin-top: 0.25rem; }

.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* ── Flex ── */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }

/* ── Grid ── */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
}

/* ── Borders & Radius ── */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-gray-700 { border-color: #374151; }
.border-gray-800 { border-color: #1f2937; }
.border-green-500\/30 { border-color: rgba(34, 197, 94, 0.3); }
.border-purple-500\/30 { border-color: rgba(168, 85, 247, 0.3); }
.border-red-500\/30 { border-color: rgba(239, 68, 68, 0.3); }
.border-yellow-400 { border-color: #facc15; }
.border-yellow-500\/30 { border-color: rgba(234, 179, 8, 0.3); }
.border-red-400 { border-color: #f87171; }
.border-green-400 { border-color: #4ade80; }
.border-purple-400 { border-color: #c084fc; }
.border-blue-400 { border-color: #60a5fa; }
.border-orange-400 { border-color: #fb923c; }

.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-r-xl { border-top-right-radius: 0.75rem; border-bottom-right-radius: 0.75rem; }

/* ── Backgrounds ── */
.bg-gray-900 { background-color: #111827; }
.bg-gray-950 { background-color: #030712; }
.bg-red-950\/30 { background-color: rgba(69, 10, 10, 0.3); }
.bg-green-950\/30 { background-color: rgba(10, 69, 10, 0.3); }
.bg-green-500\/10 { background-color: rgba(34, 197, 94, 0.1); }
.bg-purple-500\/10 { background-color: rgba(168, 85, 247, 0.1); }
.bg-yellow-500\/10 { background-color: rgba(234, 179, 8, 0.1); }
.bg-red-500\/10 { background-color: rgba(239, 68, 68, 0.1); }
.bg-green-500 { background-color: #22c55e; }
.bg-red-500 { background-color: #ef4444; }
.bg-purple-500\/10 { background-color: rgba(168, 85, 247, 0.1); }
.bg-blue-500\/10 { background-color: rgba(59, 130, 246, 0.1); }
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent));
}

/* ── Gradient Overrides ── */
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(88, 28, 135, 0.2), #030712 50%, rgba(49, 46, 129, 0.2));
}

.verdict-bg {
    background: linear-gradient(to bottom right, rgba(88, 28, 135, 0.4), #111827 50%, rgba(49, 46, 129, 0.4));
}

/* ── Position ── */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

/* ── Custom Components ── */
.glow { box-shadow: 0 0 60px rgba(139, 92, 246, 0.15); }

.stat-card { transition: transform 0.2s; }
.stat-card:hover { transform: translateY(-4px); }

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Spacing helpers ── */
.space-y-3 > * + * { margin-top: 0.75rem; }

/* ── Table ── */
table { border-collapse: collapse; }
th, td { text-align: left; }
thead tr { border-bottom: 1px solid #374151; }
tbody tr { border-bottom: 1px solid #1f2937; }
tbody tr:last-child { border-bottom: none; }

/* ── Newsletter Components ── */
a { color: inherit; text-decoration: none; }

.nav-bg { background: rgba(3, 7, 18, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid #1f2937; }
.hero-gradient {
    background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(139,92,246,0.15), transparent),
                radial-gradient(ellipse 60% 40% at 80% 50%, rgba(59,130,246,0.08), transparent),
                #030712;
}

.post-card { transition: transform 0.2s, box-shadow 0.2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(139,92,246,0.1); }

.tag-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.email-input {
    background: #111827;
    border: 1px solid #374151;
    border-radius: 0.75rem;
    padding: 0.875rem 1.25rem;
    color: #f3f4f6;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}
.email-input:focus { border-color: #a855f7; }
.email-input::placeholder { color: #6b7280; }

.btn-primary {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
    font-weight: 700;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    color: #c084fc;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(168,85,247,0.4);
    cursor: pointer;
    font-size: 0.875rem;
    transition: background 0.2s;
}
.btn-outline:hover { background: rgba(168,85,247,0.1); }

.section-divider { height: 1px; background: linear-gradient(to right, transparent, #374151, transparent); }

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(168,85,247,0.9);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-number { font-size: 2.5rem; font-weight: 900; line-height: 1; }
@media (min-width: 768px) { .stat-number { font-size: 3rem; } }

.category-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
    cursor: pointer;
}
.category-card:hover { border-color: #a855f7; transform: translateY(-2px); }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(139,92,246,0.15); }
    50% { box-shadow: 0 0 40px rgba(139,92,246,0.25); }
}
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fade-in-up 0.6s ease-out forwards; }
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }


/* Viral hero title — multi-stop gradient + shimmer */
.hero-title {
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    background: linear-gradient(
        110deg,
        #67e8f9 0%,
        #818cf8 22%,
        #c084fc 42%,
        #f472b6 58%,
        #fbbf24 78%,
        #67e8f9 100%
    );
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: title-shimmer 8s linear infinite;
    filter: drop-shadow(0 0 28px rgba(168, 85, 247, 0.45))
            drop-shadow(0 0 60px rgba(59, 130, 246, 0.25));
}

.hero-title .title-sub {
    display: block;
    font-size: 0.72em;
    letter-spacing: 0.04em;
    margin-top: 0.12em;
}

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

@media (prefers-reduced-motion: reduce) {
    .hero-title { animation: none; background-position: 50% 50%; }
}
