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

:root {
    --primary-blue: #00a8ff;
    --dark-bg: #0a0e27;
    --darker-bg: #050714;
    --text-light: #ffffff;
    --text-muted: #a0a9c9;
    --accent-orange: #ff6b35;
    --accent-purple: #7c3aed;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--darker-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 168, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: auto;
    border-radius: 5px;
}

.logo-text {
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(0, 168, 255, 0.1) 0%, transparent 50%);
    padding-top: 80px;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: float 20s infinite linear;
    opacity: 0.5;
}

@keyframes float {
    from {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    to {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease;
}

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

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .tagline {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.5);
}

/* LEGENDS Acronym */
.legends-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--darker-bg), var(--dark-bg));
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-blue);
}

.legends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.legend-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.legend-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-purple));
}

.legend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.legend-letter {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    background: var(--dark-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.about-features {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 168, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 168, 255, 0.1);
    transform: translateX(5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Team Section */
.team-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--dark-bg), var(--darker-bg));
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 168, 255, 0.1);
}

.team-member:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 168, 255, 0.3);
    border-color: var(--primary-blue);
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
}

.team-member h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Achievements Section */
.achievements-section {
    padding: 5rem 2rem;
    background: var(--darker-bg);
}

.achievement-cards {
    display: grid;
    gap: 2rem;
}

.achievement-card {
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 168, 255, 0.4);
}

.achievement-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.achievement-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.stat {
    flex: 1;
    min-width: 100px;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Case Study Section */
.case-study-section {
    padding: 5rem 2rem;
    background: var(--dark-bg);
}

.case-study-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
}

.case-study-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.case-study-image {
    width: 200px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    border-radius: 15px;
    flex-shrink: 0;
}

/* Contact Section */
.contact-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--dark-bg), var(--darker-bg));
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 2rem auto;
}

.contact-item {
    padding: 1.5rem;
    background: rgba(0, 168, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 168, 255, 0.2);
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background: var(--darker-bg);
    border-top: 1px solid rgba(0, 168, 255, 0.2);
}

/* Mobile Responsive */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-container {
        padding: 0 1rem;
    }

    .logo-image {
        height: 35px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 39, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    /* Typography */
    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Sections */
    .legends-section,
    .about-section,
    .team-section,
    .achievements-section,
    .case-study-section,
    .contact-section {
        padding: 3rem 1rem;
    }

    /* Grids */
    .legends-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Cards */
    .legend-card,
    .achievement-card,
    .case-study-card {
        padding: 1.5rem;
    }

    .achievement-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .case-study-header {
        flex-direction: column;
    }

    .case-study-image {
        width: 100%;
        max-width: 300px;
    }

    /* Buttons */
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Contact */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
