:root {
    --bg-color: #050510;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-primary: #00f2ff;
    --accent-secondary: #bd00ff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 15px;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

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

#star-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Glassmorphism */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 16, 0.7);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

.cta-button {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--accent-primary);
    border-radius: 50px;
    color: var(--accent-primary) !important;
}

.cta-button:hover {
    background: var(--accent-primary);
    color: var(--bg-color) !important;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

.hamburger {
    display: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2rem;
    text-align: left;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 2rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.hero-quote {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-style: italic;
    border-left: 3px solid var(--accent-secondary);
    padding-left: 1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.primary-btn,
.secondary-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.primary-btn {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(189, 0, 255, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(189, 0, 255, 0.5);
}

.secondary-btn {
    background: transparent;
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
}

.secondary-btn:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.planet-orb {
    width: 100%;
    max-width: 600px;
    height: 500px;
    background-image: url('iaas.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    position: relative;
    animation: float 6s ease-in-out infinite;
    z-index: 5;
    filter: drop-shadow(0 0 30px rgba(189, 0, 255, 0.3));
}

/* Sections */
section {
    padding: 6rem 0;
}

/* Mission */
.mission-text {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.4;
    font-weight: 300;
}

.mission-card {
    padding: 3rem;
}

.mission-features {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.feature i {
    width: 60px;
    height: 60px;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

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

/* Events */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.event-card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    border-radius: 10px;
    min-width: 70px;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.event-date .month {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.event-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.event-details p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.location {
    font-size: 0.8rem;
    color: var(--accent-secondary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.event-link {
    margin-left: auto;
    color: var(--text-secondary);
}

.event-link:hover {
    color: var(--text-primary);
}

/* Projects */
.projects-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    /* Hide scrollbar */
    scrollbar-width: none;
}

.projects-slider::-webkit-scrollbar {
    display: none;
}

.project-card {
    min-width: 300px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: scale(1.02);
}

.project-image {
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    background-size: cover;
    background-position: center;
}

.pdx-bg {
    background: linear-gradient(135deg, rgba(0, 0, 40, 0.8), rgba(0, 100, 200, 0.5)), url('https://www.transparenttextures.com/patterns/carbon-fibre.png'), radial-gradient(circle at center, #1a1a4a, #050510);
    border-bottom: 2px solid var(--accent-primary);
}

.dmv-bg {
    background: linear-gradient(135deg, rgba(40, 0, 40, 0.8), rgba(200, 0, 100, 0.5)), url('https://www.transparenttextures.com/patterns/carbon-fibre.png'), radial-gradient(circle at center, #4a1a4a, #050510);
    border-bottom: 2px solid var(--accent-secondary);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-text {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
.main-footer {
    padding: 4rem 0 2rem;
    background: #020205;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
}

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

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes spin-reverse {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 80px;
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        margin-top: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .mission-features {
        flex-direction: column;
    }

    .project-card {
        min-width: 250px;
    }
}