:root {
    --bg-dark: #0a0a0a;
    --bg-primary: #111827;
    --text-primary: #e5e7eb;
    --text-secondary: #9ca3af;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
}

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

.bg-grid {
    background-color: var(--bg-dark);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 3rem 3rem;
    background-position: center center;
}

.bg-gray-950 {
    background-color: var(--bg-dark);
}

.pillar-card {
    /*opacity: 0;*/
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.pillar-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

#email-input.error {
    border-color: #ef4444; /* red-500 */
}

#form-message.success {
    color: #22c55e; /* green-500 */
}

#form-message.error {
    color: #ef4444; /* red-500 */
}

#submit-button.success {
    background: #22c55e;
    cursor: default;
}

#submit-button.success:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .pillar-card {
        flex-direction: column !important;
    }
    
    .pillar-card > div {
        width: 100% !important;
        text-align: center !important;
    }

    .pillar-card > div > img {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}
