:root {
    --bg-color: #000000; /* Deep black */
    --surface-color: rgba(25, 33, 49, 0.6); /* Glassmorphism surface */
    --surface-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --accent-color: #00FFD1; /* Neon Teal */
    --accent-glow: rgba(0, 255, 209, 0.2);
    --font-main: 'Inter', sans-serif;
}

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

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

/* Background Glow Effect */
.glow-bg {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 209, 0.03) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    text-shadow: 0 0 8px var(--accent-glow);
}

/* Header */
.site-header {
    background: rgba(11, 17, 30, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.site-header.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.header-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 80px;
}

.mobile-brand {
    display: none;
}

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

.logo .highlight {
    color: var(--accent-color);
}

.main-nav {
    display: flex;
    height: 100%;
    align-items: center;
}

.main-nav a {
    color: var(--text-secondary);
    margin-left: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    padding: 0 10px;
    background: transparent;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 3px solid rgba(0, 255, 209, 0.4);
    text-shadow: 0 0 8px var(--accent-glow);
}

.main-nav a.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 3px solid var(--accent-color);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Main Content area */
main {
    min-height: calc(100vh - 80px - 200px);
    padding: 7rem 0 4rem 0;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    margin-bottom: 6rem;
}

.hero-content {
    flex: 0 0 47%;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1rem;
}

.hero-title .highlight {
    color: var(--accent-color);
}

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

.hero-image {
    flex: 0 0 53%;
    display: flex;
    justify-content: flex-end;
    margin-left: 0;
    position: relative;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border: none;
    box-shadow: none;
    border-radius: 0;
    mix-blend-mode: screen;
}

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

.glass-card {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px var(--accent-glow);
    border-color: rgba(0, 255, 209, 0.3);
}

/* FAQ Accordion */
.faq-item {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5), 0 0 10px rgba(0, 255, 209, 0.1);
    border-color: rgba(0, 255, 209, 0.3);
}

summary {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

details[open] summary {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 0.5rem;
    border-left: 2px solid var(--accent-color);
}

.glass-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: #000;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn:hover {
    background: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Footer */
.site-footer {
    background: rgba(11, 17, 30, 0.9);
    border-top: 1px solid var(--surface-border);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid var(--surface-border);
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* Markdown Content Styling */
.page-content {
    margin-top: 3rem;
}
.page-content h1 { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 2rem; }
.page-content h2 { font-size: 2rem; margin-top: 3rem; border-bottom: 1px solid var(--surface-border); padding-bottom: 0.5rem; }
.page-content p { margin-bottom: 1.5rem; color: var(--text-secondary); font-size: 1.1rem; }
.page-content ul { margin-bottom: 1.5rem; padding-left: 2rem; color: var(--text-secondary); }
.page-content li { margin-bottom: 0.5rem; }
.page-content strong { color: var(--text-primary); }

/* Form Styling */
.registration-table {
    width: 100%;
    border-collapse: collapse;
}

.registration-table th, .registration-table td {
    padding: 0.75rem;
    border: none;
    border-bottom: 1px solid var(--surface-border);
}

.registration-table th {
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.registration-table input[type="text"],
.registration-table input[type="email"] {
    width: 100%;
    padding: 0.6rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid transparent;
    color: var(--text-primary);
    border-radius: 4px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.registration-table input[type="text"]:focus,
.registration-table input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 8px var(--accent-glow);
}

.registration-table input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.registration-table input:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Table styling for schedule */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

th, td {
    padding: 1rem;
    border: 1px solid var(--surface-border);
    text-align: left;
}

th {
    background: var(--surface-color);
    color: var(--accent-color);
}

td {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero-image {
        justify-content: center;
        margin-bottom: 2rem;
    }
    .hero-image img {
        max-width: 100%;
        transform: scale(1.1);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    .header-content {
        justify-content: space-between;
    }
    .mobile-brand {
        display: flex;
        align-items: center;
        text-decoration: none;
    }
    .mobile-logo {
        height: 30px;
        margin-right: 10px;
    }
    .mobile-title {
        font-size: 1.2rem;
        font-weight: 700;
        color: #fff;
    }
    .mobile-title .highlight {
        color: var(--accent-color);
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(11, 17, 30, 0.95);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--surface-border);
        flex-direction: column;
        height: auto;
        padding: 1rem 0;
    }
    .main-nav.nav-open {
        display: flex;
    }
    .main-nav a {
        margin-left: 0;
        justify-content: center;
        height: 60px;
        border-bottom: none;
        border-left: 3px solid transparent;
    }
    .main-nav a.active {
        border-bottom: none;
        border-left: 3px solid var(--accent-color);
    }
    .main-nav a:hover {
        border-bottom: none;
        border-left: 3px solid rgba(0, 255, 209, 0.4);
    }
    
    /* Mobile-friendly schedule table cards */
    .schedule-table thead {
        display: none;
    }
    .schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table td {
        display: block;
        width: 100%;
    }
    .schedule-table tr {
        margin-bottom: 1.5rem;
        border: 1px solid var(--surface-border);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.02);
    }
    .schedule-table td {
        padding: 1rem;
        text-align: left;
        border: none;
        border-bottom: 1px solid var(--surface-border);
    }
    .schedule-table td:last-child {
        border-bottom: none;
    }
    .schedule-table td:nth-of-type(1) {
        color: var(--accent-color);
        font-size: 1.1rem;
    }
    .schedule-table td:nth-of-type(2) {
        font-weight: 700;
        color: var(--text-primary);
    }
    .schedule-table td:nth-of-type(3) {
        font-size: 0.95rem;
    }
}
