:root {
    --primary: #8b5cf6;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.6);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* Aurora & Background Effects */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 50% 50%, #1e1b4b 0%, #050505 100%);
}

.glow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
}

nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem;
    text-align: center;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: saturate(1.2) brightness(0.8);
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, #fff 40%, rgba(255, 255, 255, 0.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
    from {
        text-shadow: 0 0 20px rgba(139, 92, 246, 0);
    }

    to {
        text-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
    }
}


.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
}

.cta-btn {
    padding: 1.2rem 3rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.cta-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

/* Modules Section */
.section-title {
    text-align: center;
    padding: 100px 2rem 50px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-dim);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 4rem 100px;
    max-width: 1400px;
    margin: 0 auto;
}

.module-card {
    position: relative;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.module-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.module-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: transform 0.8s ease;
}

.module-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) saturate(0.8);
}

.module-card:hover .module-bg {
    transform: scale(1.1);
}

.module-card:hover .module-bg img {
    filter: brightness(0.7) saturate(1.1);
}

.module-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    z-index: 2;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.module-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.module-card p {
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.module-btn {
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.module-card:hover .module-btn {
    background: #fff;
    color: #000;
}

/* Engine Section */
.engine-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 100px 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.engine-image {
    flex: 1;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.2);
}

.engine-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.engine-image:hover img {
    transform: scale(1.05);
}

.engine-info {
    flex: 1;
}

.engine-info h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.feature-text p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .engine-section {
        flex-direction: column;
        padding: 60px 2rem;
    }

    .engine-info h2 {
        font-size: 2.5rem;
    }
}


/* Footer */
footer {
    padding: 6rem 4rem 2rem;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-info h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 0.8rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    header {
        padding: 1rem 2rem;
    }

    nav {
        display: none;
    }

    .modules-grid {
        padding: 0 1.5rem 60px;
    }

    .module-card {
        height: 400px;
    }

    footer {
        padding: 4rem 1.5rem 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}