/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-white: #FFFFFF;
    --secondary-white: #F5F5F5;
    --text-dark: #2E3A4A;
    --accent-blue: #89CFF0;
    --accent-pink: #D4A5C4;
    --accent-purple: #B195C9;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.7;
    color: var(--primary-white);
    background-color: #1a1a2e;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--primary-white);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.nav-menu a:hover {
    color: var(--accent-blue);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4A3B6E 0%, #6B5B95 25%, #D4A5C4 50%, #89CFF0 75%, #2E5C8A 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 
        100px 200px 0 rgba(255, 255, 255, 0.6),
        300px 400px 0 rgba(212, 165, 196, 0.7),
        500px 100px 0 rgba(137, 207, 240, 0.6),
        700px 500px 0 rgba(255, 255, 255, 0.5),
        900px 300px 0 rgba(212, 165, 196, 0.6),
        1100px 600px 0 rgba(137, 207, 240, 0.7),
        200px 600px 0 rgba(255, 255, 255, 0.5),
        800px 200px 0 rgba(212, 165, 196, 0.6);
    animation: float 20s infinite ease-in-out;
}

.particles::after {
    animation-delay: -10s;
    box-shadow: 
        150px 350px 0 rgba(137, 207, 240, 0.6),
        450px 250px 0 rgba(255, 255, 255, 0.7),
        650px 450px 0 rgba(212, 165, 196, 0.5),
        850px 150px 0 rgba(137, 207, 240, 0.6),
        1050px 450px 0 rgba(255, 255, 255, 0.6),
        250px 250px 0 rgba(212, 165, 196, 0.7),
        550px 550px 0 rgba(137, 207, 240, 0.5);
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-30px) translateX(20px); }
    66% { transform: translateY(20px) translateX(-15px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

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

.hero-heading {
    font-size: 84px;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subheading {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-description {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-affiliation {
    font-size: 16px;
    font-weight: 300;
    opacity: 0.9;
    font-style: italic;
}

/* Section Styles */
.section {
    position: relative;
    padding: 120px 40px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.molecular-pattern {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #E8C5D8 0%, #B8A5C9 50%, #D8B5C8 100%);
    opacity: 0.3;
    background-size: 200% 200%;
    animation: gradientShift 20s ease infinite;
}

.neural-pattern {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4A3B6E 0%, #6B5B95 50%, #D4A5C4 100%);
    opacity: 0.2;
    background-size: 200% 200%;
    animation: gradientShift 20s ease infinite;
}

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

.content-block {
    position: relative;
    z-index: 1;
}

.section-heading {
    font-size: 56px;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: var(--primary-white);
    line-height: 1.2;
}

.membership-section .section-heading,
.collaborate-section .section-heading {
    color: var(--text-dark);
}

.section-text {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    color: var(--primary-white);
}

.membership-section .section-text,
.collaborate-section .section-text {
    color: var(--text-dark);
}

.membership-section,
.collaborate-section {
    background: var(--secondary-white);
}

.membership-section .section-text,
.collaborate-section .section-text,
.membership-section .section-heading,
.collaborate-section .section-heading {
    color: var(--text-dark);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    border: 2px solid var(--primary-white);
    color: var(--primary-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 2px;
    margin-top: 20px;
}

.membership-section .btn-primary,
.collaborate-section .btn-primary {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--primary-white);
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.membership-section .btn-primary:hover,
.collaborate-section .btn-primary:hover {
    background: var(--text-dark);
    color: var(--primary-white);
}

.link-note {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.8;
    font-style: italic;
}

.membership-section .link-note,
.collaborate-section .link-note {
    color: var(--text-dark);
}

/* Events Section */
.events-section {
    background: linear-gradient(180deg, #2E5C8A 0%, #4A3B6E 100%);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
    margin-bottom: 40px;
}

.event-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px;
    transition: all 0.3s ease;
}

.event-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(137, 207, 240, 0.3);
}

.event-title {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    color: var(--accent-blue);
    line-height: 1.3;
}

.event-description {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.events-note {
    margin-top: 50px;
    text-align: center;
    font-style: italic;
    opacity: 0.9;
    font-size: 16px;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(180deg, #6B5B95 0%, #4A3B6E 100%);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
}

.faq-item {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
    color: var(--primary-white);
}

.faq-answer {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    padding-left: 20px;
}

/* Footer */
.footer {
    background: #1a1a2e;
    padding: 80px 40px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-heading {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--primary-white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--accent-blue);
    transform: translateX(5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-heading {
        font-size: 56px;
    }

    .section-heading {
        font-size: 42px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-heading {
        font-size: 42px;
    }

    .hero-subheading {
        font-size: 20px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section {
        padding: 80px 20px;
    }

    .section-heading {
        font-size: 36px;
    }

    .section-text {
        font-size: 16px;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .event-card {
        padding: 30px;
    }

    .footer {
        padding: 60px 20px 30px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 40px;
    }

    .nav-menu {
        gap: 10px;
    }

    .nav-menu a {
        font-size: 11px;
    }

    .hero-heading {
        font-size: 32px;
        letter-spacing: 0.05em;
    }

    .section-heading {
        font-size: 28px;
    }

    .btn-primary {
        padding: 14px 30px;
        font-size: 12px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--accent-pink);
    color: var(--primary-white);
}
