/* --- DESIGN TOKENS --- */
/* --- "Design System"—variables, typography, and the animation logic for scrolling. -- */
:root {
    --accent: #4f46e5;
    --accent-dark: #3730a3;
    --bg: #f8fafc;
    --surface: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0; 
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background: var(--bg); 
    color: var(--text-main); 
    line-height: 1.6;
    overflow-x: hidden; 
}

/* --- REUSABLE COMPONENTS --- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }


/* --- SCROLL ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: all 0.8s ease; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: all 0.8s ease; }

.reveal.active, .reveal-left.active, .reveal-right.active { 
    opacity: 1; transform: translate(0, 0); 
}

/* --- Footer Styling --- */
/* --- FOOTER COMPONENT --- */
.main-footer {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 100px 5% 0;
    margin-top: 100px;
    color: white;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.footer-logo span { color: var(--accent); }

.brand-desc {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 1rem;
    max-width: 350px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    margin-bottom: 30px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 16px; }

.footer-links a {
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(8px);
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-contact a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
}

.footer-contact a:hover { color: white; }

.footer-bottom {
    margin-top: 80px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.9rem;
}

.back-to-top {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

/* Responsive Logic */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .brand-desc { margin: 0 auto; }
    .footer-links a:hover { transform: translateY(-3px); }
    .bottom-flex { flex-direction: column; gap: 20px; }
}

