:root {
    --primary: #ffd700;
    --primary-glow: rgba(255, 215, 0, 0.4);
    --accent: #00f2ff;
    --bg-dark: #0a0a0b;
    --bg-card: rgba(25, 25, 30, 0.6);
    --text-main: #ffffff;
    --text-dim: #a0a0a8;
    --aurora-grad: linear-gradient(45deg, #00ff87, #8a2be2, #00f2ff);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--aurora-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: black !important;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-weight: 600 !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.glow-text {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.btn-main {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}

.btn-main:hover {
    background: var(--primary);
    color: black;
    box-shadow: 0 0 30px var(--primary-glow);
}

.hero-image-container {
    flex: 1.2;
    position: relative;
}

.main-hero-img {
    width: 120%;
    transform: perspective(1000px) rotateY(-5deg);
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 242, 255, 0.2);
}

/* Sections */
section {
    padding: 100px 5%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 60px;
}

.tag {
    color: var(--accent);
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 10px;
}

h2 {
    font-size: 3rem;
    font-weight: 800;
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* Engine Grid */
.engine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.engine-card {
    padding: 2rem;
    text-align: center;
}

.engine-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

/* Modules Grid */
.modules-grid {
    display: grid;
    gap: 100px;
}

.module-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.module-item:nth-child(even) {
    flex-direction: row-reverse;
}

.module-img {
    flex: 1;
}

.module-img img {
    width: 100%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.module-info {
    flex: 1;
}

.module-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

/* Dashboard Preview */
.dashboard-preview img {
    width: 100%;
    border-radius: 20px;
    padding: 10px;
}

/* Footer */
.footer {
    padding: 50px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Cursor Follower */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero-image-container {
        width: 100%;
        margin-top: 50px;
    }

    .main-hero-img {
        width: 100%;
        transform: none;
    }

    .engine-grid {
        grid-template-columns: 1fr;
    }

    .module-item {
        flex-direction: column !important;
    }
}
/* Home Gallery Styles */
.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.home-asset-card {
    transition: transform 0.4s, box-shadow 0.4s;
    overflow: hidden;
}

.home-asset-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.15);
}

.home-asset-card img {
    transition: 0.5s;
}

.home-asset-card:hover img {
    scale: 1.05;
}

.loading {
    grid-column: 1/-1;
    text-align: center;
    padding: 100px;
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 5px;
    animation: flash 2s infinite;
}

@keyframes flash {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

