/* RESET & BASE */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

body {
    position: relative;
    background: #000000;
    min-height: 100vh;
    line-height: 1.6;
}

/* CANVAS DE FUNDO */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* LOADING SCREEN */
#loading-screen {
    position: fixed;
    inset: 0;
    background-color: #000000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading-logo {
    width: 90px;
    height: auto;
    animation: pulse 2s infinite ease-in-out;
}

.progress-bar-container {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: #ffffff;
    transition: width 0.2s ease;
}

.loading-text {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888888;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
}

.navbar.scrolled {
    background: #000000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.nav-logo {
    height: 32px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

/* SEÇÕES GENÉRICAS */
main {
    position: relative;
    z-index: 1;
}

.section {
    padding: 120px 24px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -1px;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.text-center {
    text-align: center;
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 60px 24px;
}

.hero-logo {
    width: 140px;
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 10px 20px rgba(255, 255, 255, 0.05));
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #888888;
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* BOTÕES */
.btn {
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
}

.btn-primary:hover {
    background: #cccccc;
    border-color: #cccccc;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* CARDS E GRIDS */
.cards-grid, .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card, .feature-card {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 36px 28px;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.card:hover, .feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(25, 25, 25, 0.8);
}

.card-icon, .feature-icon {
    color: #ffffff;
    margin-bottom: 20px;
}

.card h3, .feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.card p, .feature-card p {
    color: #888888;
    font-size: 0.95rem;
}

.feature-wide {
    grid-column: 1 / -1;
}

/* DESENVOLVIMENTO (ROADMAP) */
.dev-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dev-item {
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px 24px;
}

.dev-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.dev-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dev-label {
    font-weight: 600;
    font-size: 1.05rem;
}

.dev-status-text {
    font-size: 0.85rem;
    color: #888888;
}

.svg-status {
    display: block;
}

.status-done { stroke: #ffffff; }
.status-wip { stroke: #aaaaaa; animation: spin 4s linear infinite; }
.status-planned { stroke: #555555; }

.dev-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.dev-progress-fill {
    height: 100%;
    background: #ffffff;
    border-radius: 2px;
}

/* GALERIA PLACEHOLDER */
.gallery-placeholder {
    padding: 80px 20px;
    background: rgba(15, 15, 15, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.placeholder-text {
    color: #666666;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* FAQ ACCORDION */
.accordion {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(15, 15, 15, 0.6);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}

.accordion-item.active .accordion-content {
    padding: 0 24px 20px 24px;
}

.accordion-content p {
    color: #888888;
    font-size: 0.95rem;
}

/* RODAPÉ */
.footer {
    position: relative;
    z-index: 1;
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #555555;
    font-size: 0.85rem;
}

/* BOTÃO VOLTAR AO TOPO */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #cccccc;
    transform: translateY(-3px);
}

/* ANIMAÇÕES & REVEAL */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.95); opacity: 0.7; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Simplificado para focar na estética fluida */
    }
    
    .hero-title {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
