/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
    --bg-color: #0f172a;
    --text-color: #f1f5f9;
    --card-bg: #1e293b;
    --accent-color: #3b82f6;
    
    /* Fire Class Colors */
    --class-a: #dc2626; /* Red */
    --class-b: #f59e0b; /* Orange/Yellow */
    --class-c: #eab308; /* Yellow */
    --class-d: #64748b; /* Blue Grey */
    --class-f: #16a34a; /* Green */
    --class-l: #1e40af; /* Dark Blue */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Hero */
header {
    padding: 2rem 1rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.7);
}

/* Fire Classes Grid */
.classes-section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.section-title span {
    color: var(--accent-color);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    z-index: 1;
}

.card-header {
    padding: 1.5rem;
    text-align: center;
    font-weight: 800;
    font-size: 3rem;
    color: white;
    position: relative;
}

.card-body {
    padding: 1.5rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* Specific Card Styles */
.class-a .card-header { background-color: var(--class-a); }
.class-a:hover { box-shadow: 0 0 30px rgba(220, 38, 38, 0.4); }

.class-b .card-header { background-color: var(--class-b); }
.class-b:hover { box-shadow: 0 0 30px rgba(245, 158, 11, 0.4); }

.class-c .card-header { background-color: var(--class-c); }
.class-c:hover { box-shadow: 0 0 30px rgba(234, 179, 8, 0.4); }

.class-d .card-header { background-color: var(--class-d); }
.class-d:hover { box-shadow: 0 0 30px rgba(100, 116, 139, 0.4); }

.class-f .card-header { background-color: var(--class-f); }
.class-f:hover { box-shadow: 0 0 30px rgba(22, 163, 74, 0.4); }

.class-l { 
    grid-column: span 1; 
    border: 2px solid var(--class-l);
}
.class-l .card-header { 
    background-color: var(--class-l); 
    position: relative;
    padding-top: 2rem;
}
.class-l:hover { box-shadow: 0 0 40px rgba(30, 64, 175, 0.6); }

.new-tag {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

/* Footer & WhatsApp */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-decoration: none;
    z-index: 100;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (min-width: 768px) {
    .class-l {
        /* Make the L class stand out more on desktop if desired, 
           but the user grid implies equal width. 
           I'll keep it standard size but maybe scale slightly. */
        transform: scale(1.05);
    }
}
