:root {
    --primary: #2ecc71;
    --primary-glow: rgba(46, 204, 113, 0.6);
    --bg: #050a08;
    --card-bg: rgba(13, 26, 20, 0.4);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text: #f0fdf4;
    --text-dim: #a0aec0;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(5, 10, 8, 0.8);
    padding: 1rem 10%;
    border-bottom: 1px solid var(--glass-border);
}

.logo { 
    font-family: var(--font-heading);
    font-weight: 700; 
    font-size: 1.8rem; 
    letter-spacing: 2px; 
    text-transform: uppercase;
    color: white;
}
.logo span { color: var(--primary); }

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 2.5rem; 
    align-items: center; 
    margin: 0;
    padding: 0;
}

.nav-links a { 
    text-decoration: none; 
    color: var(--text-dim); 
    transition: 0.3s; 
    font-weight: 500; 
    font-size: 0.95rem;
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover { color: white; }
.nav-links a:not(.btn-primary):hover::after { width: 100%; }

/* Nav register button: keep green background, black text */
nav .nav-links a.btn-primary-reg {
    background: var(--primary);
    color: #000000;
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(46,204,113,0.16);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
}

/* Remove the underline pseudo-element used for other nav links */
nav .nav-links a.btn-primary-reg::after { display: none; }

nav .nav-links a.btn-primary-reg:hover {
    background: #58d68d;
    color: #000000;
    border-color: #58d68d;
    box-shadow: 0 12px 30px rgba(46,204,113,0.18);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
    /* Subtle overlay to make text pop against canvas */
    background: radial-gradient(circle at center, transparent 0%, var(--bg) 90%);
}

.hero-content {
    max-width: 800px;
    opacity: 0;
    animation: fadeUp 1s ease-out forwards 0.5s;
}

h1 { 
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem); 
    margin-bottom: 20px; 
    line-height: 1.1; 
    font-weight: 700;
}
h1 span { 
    color: var(--primary); 
    text-shadow: 0 0 30px var(--primary-glow); 
}

.hero p { 
    color: var(--text-dim); 
    font-size: 1.25rem; 
    max-width: 600px; 
    margin: 0 auto 40px; 
    line-height: 1.6;
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    padding: 12px 36px;
    border-radius: 50px;
    color: #000000;
    font-weight: 700;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
    display: inline-block;
    border: 2px solid var(--primary);
}

.btn-primary-reg {
    background: var(--primary);
    padding: 12px 36px;
    border-radius: 50px;
    color: #000000;
    font-weight: 700;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
    display: inline-block;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.6);
}

.btn-secondary {
    padding: 12px 36px;
    border-radius: 50px;
    color: var(--text);
    text-decoration: none;
    margin-left: 20px;
    transition: all 0.3s ease;
    border: 2px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 500;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(46, 204, 113, 0.1);
}

/* Sections */
.section { 
    padding: 120px 10%; 
    position: relative;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: white;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary-glow);
}

.section p {
    color: var(--text-dim);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(46, 204, 113, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: 0.3s;
}

.card:hover { 
    transform: translateY(-10px); 
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card:hover::before { opacity: 1; }

.card h3 { 
    color: var(--primary); 
    font-family: var(--font-heading);
    font-size: 1.5rem; 
    margin-bottom: 15px; 
    position: relative;
}

.card p { text-align: left; font-size: 1rem; }

/* Schedule */
.schedule-list {
    list-style: none;
    padding: 0;
    margin: 60px auto 0;
    max-width: 800px;
    position: relative;
}

.schedule-list::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
}

.schedule-list li {
    position: relative;
    padding: 25px 30px 25px 60px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: 0.3s;
}

.schedule-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateX(10px);
}

.schedule-list li::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg);
    border: 3px solid var(--primary);
    z-index: 1;
    box-shadow: 0 0 10px var(--primary-glow);
}

.schedule-list li strong {
    display: block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.schedule-list li { text-align: left; }

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-list details {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 16px;
    transition: all 0.3s;
}

.faq-list details[open] {
    background: rgba(46, 204, 113, 0.05);
    border-color: var(--primary);
}

.faq-list summary {
    font-weight: 600;
    color: white;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
}

.faq-list details[open] summary::after { content: '-'; }

.faq-list p { margin-top: 15px; text-align: left; }

/* Footer */
footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: #020403;
    color: var(--text-dim);
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    h1 { font-size: 3.5rem; }
    .nav-links { display: none; } /* Simplified for now, typically would add mobile menu */
    .schedule-list li { padding-left: 50px; }
}
