:root {
    --primary-color: #a855f7;
    --secondary-color: #6366f1;
    --dark-bg: #030712;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-main: #f3f4f6;
    --text-dim: #9ca3af;
    --accent-gradient: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-family: 'Inter', system-ui, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: 0.4s;
}

nav.scrolled {
    background: #030712;
    padding: 15px 5%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(3, 7, 18, 0.8), rgba(3, 7, 18, 0.8)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-dim);
    max-width: 800px;
    margin: 0 auto 45px;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--accent-gradient);
    border-radius: 12px;
    font-weight: 700;
    color: white;
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.25);
    transition: 0.4s;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(168, 85, 247, 0.45);
}

/* Sections */
section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 70px;
    font-weight: 800;
}

/* Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 45px;
    transition: 0.4s;
    opacity: 0; /* For reveal animation */
}

.card:hover {
    border-color: var(--primary-color);
    background: rgba(168, 85, 247, 0.05);
    transform: translateY(-12px);
}

/* Footer */
footer {
    padding: 100px 0 50px;
    background: #010409;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 70px;
}

.footer-info p {
    color: var(--text-dim);
    margin-top: 25px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links h4 {
    margin-bottom: 30px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--text-dim);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
}
