/* ===== CSS VARIABLES ===== */
:root {
    --deep-navy: #0a0b10;
    --matte-black: #151720;
    --ieee-gold: #FFC72C;
    --ieee-blue: #00629B;
    --neon-cyan: #00f2ff;
    --gold-bright: #ffd21f;
    --text-primary: #ffffff;
    --text-secondary: #b0b8c1;
}

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

/* ===== BASE STYLES ===== */
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--matte-black) 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fira Code', monospace;
    font-weight: 600;
}

.z-index-2 {
    z-index: 2;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(10, 11, 16, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 11, 16, 0.95);
    box-shadow: 0 4px 20px rgba(0, 242, 255, 0.1);
}

.navbar-brand {
    font-family: 'Fira Code', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.brand-bracket {
    color: var(--neon-cyan);
}

.brand-text {
    color: var(--ieee-gold);
}

.navbar-logo {
    height: 38px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(255, 210, 31, 0.6));
}

.nav-link {
    font-family: 'Fira Code', monospace;
    color: var(--text-secondary) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--neon-cyan) !important;
}

.nav-link:hover::before {
    width: 80%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--matte-black) 100%);
    overflow: hidden;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.terminal-command {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 14px;
    background: rgba(10, 15, 25, 0.85);
    border: 1px solid rgba(0, 242, 255, 0.3);
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
}

.terminal-arrow {
    color: var(--neon-cyan);
    margin-right: 6px;
}

.terminal-user {
    color: var(--text-primary);
}

.terminal-path {
    color: var(--neon-cyan);
}

.terminal-cmd {
    color: var(--gold-bright);
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: clamp(3rem, 6vw, 4.8rem);
    line-height: 1.1;
    text-align: center;
}

.hero-title-white {
    color: var(--text-primary) !important;
}

.hero-title-yellow {
    color: var(--gold-bright) !important;
    text-shadow: 0 0 30px rgba(255, 210, 31, 0.45);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-secondary);
    font-family: 'Fira Code', monospace;
    letter-spacing: 0.1em;
}

.hero-description {
    max-width: 820px;
    margin: 0 auto;
    color: #9aa4b2;
    font-size: 1.05rem;
    line-height: 1.7;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--neon-cyan);
}

/* ===== BUTTONS ===== */
.btn-gold {
    background: var(--gold-bright);
    color: var(--deep-navy);
    border: none;
    padding: 12px 26px;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 199, 44, 0.3);
}

.btn-gold:hover {
    background: #ffde4d;
    color: var(--deep-navy);
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(255, 199, 44, 0.5);
}

.btn-outline-cyan {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    padding: 12px 26px;
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

.btn-outline-cyan:hover {
    background: rgba(0, 242, 255, 0.1);
    color: var(--neon-cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(0, 242, 255, 0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.2);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay-1 {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: rgba(21, 23, 32, 0.5);
    border-top: 1px solid rgba(0, 242, 255, 0.1);
    border-bottom: 1px solid rgba(0, 242, 255, 0.1);
}

.stat-card {
    padding: 2rem;
    border-radius: 10px;
    background: rgba(10, 11, 16, 0.5);
    border: 1px solid rgba(0, 242, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--ieee-gold);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-family: 'Fira Code', monospace;
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-family: 'Fira Code', monospace;
    margin: 0;
}

/* ===== SECTION HEADERS ===== */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.terminal-prompt {
    color: var(--ieee-gold);
    margin-right: 0.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--matte-black) 0%, var(--deep-navy) 100%);
}

.terminal-accordion .accordion-item {
    background: rgba(10, 11, 16, 0.5);
    border: 1px solid rgba(0, 242, 255, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.terminal-accordion .accordion-item:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 5px 20px rgba(0, 242, 255, 0.15);
}

.terminal-accordion .accordion-button {
    background: transparent;
    color: var(--text-primary);
    font-family: 'Fira Code', monospace;
    font-size: 1.1rem;
    padding: 1.5rem;
    border: none;
    box-shadow: none;
}

.terminal-accordion .accordion-button:not(.collapsed) {
    background: rgba(0, 242, 255, 0.05);
    color: var(--neon-cyan);
}

.terminal-accordion .accordion-button::after {
    background-image: none;
    content: '▼';
    color: var(--ieee-gold);
    font-size: 0.8rem;
}

.terminal-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.terminal-accordion .accordion-body {
    background: rgba(0, 242, 255, 0.02);
    color: var(--text-secondary);
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 242, 255, 0.1);
}

.output-label {
    color: var(--ieee-gold);
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

/* ===== TRACKS SECTION ===== */
.tracks-section {
    padding: 5rem 0;
    background: var(--deep-navy);
}

.track-card {
    background: rgba(21, 23, 32, 0.6);
    border: 2px solid rgba(0, 242, 255, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.track-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 199, 44, 0.05) 0%, rgba(0, 242, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.track-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.3);
}

.track-card:hover::before {
    opacity: 1;
}

.track-icon {
    font-size: 3.5rem;
    color: var(--ieee-gold);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.track-card:hover .track-icon {
    color: var(--neon-cyan);
    transform: scale(1.1);
}

.track-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.track-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.track-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    background: rgba(0, 242, 255, 0.1);
    color: var(--neon-cyan);
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-family: 'Fira Code', monospace;
    border: 1px solid rgba(0, 242, 255, 0.3);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(0, 242, 255, 0.2);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
}

/* ===== ROADMAP SECTION ===== */
.roadmap-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--deep-navy) 0%, var(--matte-black) 100%);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--ieee-blue) 0%, var(--neon-cyan) 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s ease forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ieee-gold);
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 20px rgba(255, 199, 44, 0.6);
}

.timeline-item.upcoming .timeline-marker {
    width: 30px;
    height: 30px;
    box-shadow: 0 0 30px rgba(255, 199, 44, 0.8);
    animation: pulse 2s infinite;
}

.timeline-item.pending .timeline-marker {
    background: transparent;
    border: 3px solid var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6);
}

.timeline-content {
    width: calc(50% - 40px);
    background: rgba(21, 23, 32, 0.6);
    border: 2px solid rgba(0, 242, 255, 0.2);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    margin-left: 40px;
}

.timeline-content:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
    transform: translateY(-5px);
}

.timeline-item.upcoming .timeline-content {
    border-color: var(--ieee-gold);
    background: rgba(255, 199, 44, 0.05);
}

.timeline-date {
    font-family: 'Fira Code', monospace;
    color: var(--ieee-gold);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.timeline-title i {
    margin-right: 0.5rem;
    color: var(--neon-cyan);
}

.timeline-item.upcoming .timeline-title i {
    color: var(--ieee-gold);
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.commit-hash {
    font-family: 'Fira Code', monospace;
    color: var(--neon-cyan);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ===== TEAM SECTION ===== */
.team-section {
    padding: 5rem 0;
    background: var(--deep-navy);
}

.team-card {
    background: rgba(21, 23, 32, 0.6);
    border: 2px solid rgba(0, 242, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-cyan);
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.3);
}

.team-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--ieee-gold);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-family: 'Fira Code', monospace;
}

.team-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.team-card:hover .team-stack {
    opacity: 1;
    transform: translateY(0);
}

.team-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--neon-cyan);
    transform: translateY(-3px);
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(10, 11, 16, 0.8);
    border-top: 1px solid rgba(0, 242, 255, 0.2);
}

.footer-title {
    font-family: 'Fira Code', monospace;
    font-size: 1.05rem;
    color: var(--gold-bright);
    margin-bottom: 14px;
}

.footer-text {
    font-family: 'Fira Code', monospace;
    color: #9aa4b2;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-text i {
    color: var(--neon-cyan);
}

.footer-social .social-link {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.footer-social .social-link:hover {
    color: var(--ieee-gold);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 30px 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .navbar-logo {
        height: 32px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .team-image {
        height: 200px;
    }
}