/* Variáveis Globais */
:root {
    --bg-base: #18181B;
    --bg-surface: #27272A;
    --text-primary: #F4F4F5;
    --text-secondary: #A1A1AA;
    --accent: #00E676;
    --accent-hover: #00C853;
    --border-color: #3F3F46;
}

/* Reset e Estilos Base */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
}

body { 
    background-color: var(--bg-base); 
    color: var(--text-primary); 
    line-height: 1.6; 
    overflow-x: hidden; 
}

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

a:hover { 
    color: var(--accent-hover); 
}

/* Animações */
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(20px); } 
    to { opacity: 1; transform: translateY(0); } 
}

.animate { 
    animation: fadeIn 0.8s ease-out forwards; 
}

/* Header */
header { 
    padding: 15px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid var(--bg-surface); 
    background: rgba(24, 24, 27, 0.8); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    backdrop-filter: blur(10px); 
}

.logo-container { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    text-decoration: none; 
    color: var(--text-primary); 
}

.logo-container img { 
    width: 32px; 
    height: 32px; 
    border-radius: 8px; 
}

.logo-text { 
    font-size: 1.4rem; 
    font-weight: bold; 
    letter-spacing: -0.5px; 
}

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

.github-btn { 
    font-weight: 500; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
}

/* Hero Section */
.hero { 
    text-align: center; 
    padding: 80px 20px 60px; 
    max-width: 800px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.tag { 
    background: rgba(0, 230, 118, 0.1); 
    color: var(--accent); 
    padding: 5px 12px; 
    border-radius: 20px; 
    font-size: 0.85rem; 
    font-weight: bold; 
    margin-bottom: 20px; 
    border: 1px solid rgba(0, 230, 118, 0.2); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

.hero-img { 
    width: 130px; 
    height: 130px; 
    border-radius: 28px; 
    margin-bottom: 25px; 
    box-shadow: 0 15px 35px rgba(0, 230, 118, 0.15); 
    border: 1px solid rgba(255,255,255,0.05); 
}

.hero h1 { 
    font-size: 3rem; 
    margin-bottom: 15px; 
    line-height: 1.2; 
    letter-spacing: -1px; 
}

.hero h1 span { 
    color: var(--accent); 
}

.hero p { 
    font-size: 1.15rem; 
    color: var(--text-secondary); 
    margin-bottom: 35px; 
    max-width: 600px; 
}

/* Botões */
.btn-group { 
    display: flex; 
    gap: 15px; 
    justify-content: center; 
    flex-wrap: wrap; 
}

.btn { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    background-color: var(--accent); 
    color: var(--bg-base); 
    padding: 14px 32px; 
    border-radius: 8px; 
    font-weight: bold; 
    font-size: 1.1rem; 
    transition: 0.2s; 
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.2); 
}

.btn:hover { 
    background-color: var(--accent-hover); 
    transform: translateY(-3px); 
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.3); 
    color: var(--bg-base); 
}

.btn-outline { 
    background: transparent; 
    border: 2px solid var(--border-color); 
    color: var(--text-primary); 
    box-shadow: none; 
}

.btn-outline:hover { 
    border-color: var(--text-primary); 
    background: var(--bg-surface); 
    transform: translateY(-3px); 
    color: var(--text-primary); 
    box-shadow: none; 
}

/* Features */
.features { 
    padding: 40px 20px 60px; 
    max-width: 1100px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 20px; 
}

.card { 
    background-color: var(--bg-surface); 
    padding: 30px; 
    border-radius: 12px; 
    border: 1px solid var(--border-color); 
    transition: 0.3s; 
    position: relative; 
    overflow: hidden; 
}

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

.card h3 { 
    color: var(--text-primary); 
    margin-bottom: 12px; 
    font-size: 1.25rem; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.card p { 
    color: var(--text-secondary); 
    font-size: 0.95rem; 
    line-height: 1.5; 
}

/* Carrossel */
.editor-wrapper { 
    max-width: 800px; 
    margin: 0 auto 60px; 
    padding: 0 20px; 
}

.carousel-container { 
    position: relative; 
    width: 100%; 
    border-radius: 12px; 
    border: 1px solid var(--border-color); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); 
    overflow: hidden; 
    background: #1E1E1E; 
}

.carousel-track { 
    display: flex; 
    transition: transform 0.4s ease-in-out; 
}

.carousel-slide { 
    min-width: 100%; 
    box-sizing: border-box; 
}

.carousel-slide img { 
    width: 100%; 
    height: auto; 
    display: block; 
    object-fit: cover; 
}

/* Botões do Carrossel */
.carousel-btn { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(24, 24, 27, 0.7); 
    color: var(--accent); 
    border: 1px solid var(--border-color); 
    font-size: 1.5rem; 
    padding: 10px 15px; 
    cursor: pointer; 
    border-radius: 50%; 
    transition: 0.2s; 
    backdrop-filter: blur(5px); 
    z-index: 10;
}

.carousel-btn:hover { 
    background: var(--accent); 
    color: var(--bg-base); 
}

.carousel-btn.prev { 
    left: 15px; 
}

.carousel-btn.next { 
    right: 15px; 
}

/* Bolinhas Indicadoras */
.carousel-dots { 
    text-align: center; 
    margin-top: 15px; 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
}

.carousel-dots .dot { 
    width: 12px; 
    height: 12px; 
    border-radius: 50%; 
    background: var(--border-color); 
    cursor: pointer; 
    transition: 0.3s; 
}

.carousel-dots .dot.active { 
    background: var(--accent); 
    transform: scale(1.2); 
}

/* Instalação */
.install-section { 
    max-width: 800px; 
    margin: 0 auto 80px; 
    background: var(--bg-surface); 
    border-radius: 12px; 
    padding: 40px; 
    border: 1px solid var(--border-color); 
}

.install-section h2 { 
    color: var(--text-primary); 
    margin-bottom: 20px; 
    font-size: 1.8rem; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.install-section ol { 
    color: var(--text-secondary); 
    padding-left: 20px; 
}

.install-section li { 
    margin-bottom: 12px; 
    font-size: 1.05rem; 
}

.install-section li b { 
    color: var(--text-primary); 
}

/* Footer */
footer { 
    text-align: center; 
    padding: 40px 20px; 
    border-top: 1px solid var(--bg-surface); 
    color: var(--text-secondary); 
    font-size: 0.9rem; 
}

footer a { 
    color: var(--text-primary); 
    font-weight: bold; 
}

footer a:hover { 
    color: var(--accent); 
}

/* Responsividade para Celulares (Retrato) */
@media (max-width: 768px) {
    /* Header mais compacto */
    header { padding: 10px 15px; }
    .logo-text { font-size: 1.2rem; }
    .github-btn { display: flex; font-size: 0.85rem; } /* Mantém o botão, mas menor */
    .logo-container img { width: 28px; height: 28px; }

    /* Hero Section compactada */
    .hero { padding: 30px 15px 30px; }
    .tag { margin-bottom: 15px; padding: 4px 10px; font-size: 0.75rem; }
    .hero-img { width: 90px; height: 90px; margin-bottom: 15px; border-radius: 20px; }
    
    /* Título e texto menores para caber na tela */
    .hero h1 { font-size: 1.8rem; margin-bottom: 10px; }
    .hero p { font-size: 0.95rem; margin-bottom: 25px; }
    
    /* Botões em coluna e mais finos */
    .btn-group { flex-direction: column; width: 100%; gap: 10px; }
    .btn { width: 100%; padding: 12px 20px; font-size: 1rem; justify-content: center; }
    
    /* Outras seções */
    .features { padding: 20px 15px 40px; }
    .card { padding: 20px; }
    .install-section { padding: 20px 15px; }
    .editor-wrapper { padding: 0 15px; }
    .carousel-btn { padding: 5px 10px; font-size: 1rem; }
}
