:root {
    --bg-color: #0a0a0a;
    --text-color: #f3f4f6;
    --neon-purple: #E21D2F;
    --neon-cyan: #ff4d5a;
    --neon-pink: #990f1b;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Typography & Utils */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
}

.neon-text {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-cyan), var(--neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
}

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

.section-padding {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-title p {
    color: #9ca3af;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

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

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-cyan);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-cyan));
    color: white;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--neon-purple);
    color: white;
}

.btn-outline:hover {
    background: var(--neon-purple);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero_dj.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.2) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.glitch {
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #d1d5db;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Escola Section */
.subsection-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Tech Grid (Conexões) */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.tech-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tech-item p {
    color: #9ca3af;
    font-size: 0.95rem;
}

/* Workflow Timeline */
.workflow-section {
    margin-bottom: 5rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--brand-primary);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-color);
    border: 4px solid var(--neon-cyan);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 1.5rem;
}

.timeline-content h4 {
    margin-bottom: 0.5rem;
    color: var(--neon-cyan);
}

.timeline-content p {
    color: #d1d5db;
    font-size: 0.9rem;
}

/* Arsenal Carousel */
.arsenal-section {
    text-align: center;
}

.arsenal-desc {
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--brand-primary);
    box-shadow: 0 0 15px var(--brand-primary);
}

.prev-btn { margin-right: -25px; }
.next-btn { margin-left: -25px; }

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1.5rem;
    padding: 2rem 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.carousel-track::-webkit-scrollbar {
    display: none; /* Chrome */
}

.carousel-item {
    flex: 0 0 300px;
    scroll-snap-align: center;
    padding: 1.5rem;
}

.equip-img {
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    margin-bottom: 1rem;
    font-weight: 800;
}

/* Courses */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.course-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--glass-border);
}

.course-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.course-content p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.course-details {
    list-style: none;
    margin-bottom: 2rem;
}

.course-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--glass-border);
    color: #d1d5db;
    font-size: 0.95rem;
}

.course-details li:last-child {
    border-bottom: none;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial-card .stars {
    color: var(--neon-cyan);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: #e5e7eb;
    margin-bottom: 1.5rem;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--neon-purple);
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item summary {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neon-cyan);
    list-style: none; /* remove standard arrow */
    position: relative;
    outline: none;
    padding-right: 2rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--brand-primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    margin-top: 1rem;
    color: #d1d5db;
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer & Contact */
.footer {
    border-top: 1px solid var(--glass-border);
    background: linear-gradient(0deg, rgba(139, 92, 246, 0.05) 0%, rgba(10,10,10,1) 100%);
    padding-top: 6rem;
}

.footer-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-cta p {
    color: #9ca3af;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form input:focus {
    border-color: var(--neon-purple);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    color: #6b7280;
    font-size: 0.9rem;
}

/* Alerta Section */
.alerta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.alerta-box {
    padding: 2rem;
    border-left: 4px solid var(--neon-cyan);
}

.alerta-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.alerta-box p {
    color: #d1d5db;
    line-height: 1.8;
}

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

.module-card {
    position: relative;
    padding: 2rem;
    overflow: hidden;
}

.module-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
}

.module-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
    position: relative;
    z-index: 1;
}

.module-card p {
    color: #9ca3af;
    position: relative;
    z-index: 1;
}

/* Gallery Section (Alunos) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    padding: 1rem;
    text-align: center;
}

.gallery-img {
    height: 180px;
    background: rgba(255, 255, 255, 0.05);
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.gallery-item p {
    color: var(--text-color);
    font-weight: 600;
}

/* Brands Marquee */
.brands-marquee {
    width: 100%;
    overflow: hidden;
    background: var(--brand-primary);
    color: white;
    padding: 1rem 0;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-content {
    display: inline-block;
    animation: marquee 35s linear infinite;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.marquee-content span {
    padding: 0 2rem;
}

.marquee-content .dot {
    color: rgba(255,255,255,0.5);
    padding: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Light Theme (NXS Store) */
.light-theme {
    background-color: #f3f4f6; /* Off-white/gray */
    color: #111;
}

.light-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.light-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.store-img {
    height: 180px;
    background: #e5e7eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    #courses .container {
        max-width: 1400px;
    }

    .courses-grid {
        grid-template-columns: repeat(4, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}


@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu needed for production */
    }
    
    .glitch {
        font-size: 2.5rem;
    }
    
    .hero::after {
        background: linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.9) 100%);
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding-bottom: 1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .courses-grid::-webkit-scrollbar {
        display: none;
    }

    .courses-grid .course-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Mobile Timeline */
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item:nth-child(even) {
        left: 0%;
    }
    .timeline-dot {
        left: 21px !important;
    }
}
