/* ============================================
   GENERA - GLOBAL STYLES (Minimalist & Lucid)
   ============================================ */

:root {
    /* Paleta de Cores */
    --bg-primary: #0B1C26;       /* Azul Petróleo Profundo */
    --bg-secondary: #112835;     /* Azul Petróleo Médio (Cards) */
    --bg-tertiary: #1A3645;      /* Azul Petróleo Claro (Hover) */
    
    --accent-primary: #10B981;   /* Verde Esmeralda (Ações principais) */
    --accent-hover: #34D399;     /* Verde Menta (Hover) */
    --accent-secondary: #22D3EE; /* Ciano Suave (Detalhes/Destaques) */
    --accent-premium: #F59E0B;   /* Âmbar (Premium/Ouro) */
    
    --text-primary: #F1F5F9;     /* Branco Acinzentado (Leitura) */
    --text-secondary: #94A3B8;   /* Azul-Acinzentado (Subtítulos) */
    
    --border-subtle: rgba(52, 211, 153, 0.15); /* Borda sutil verde */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 15px rgba(16, 185, 129, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* --- Cabeçalho --- */
header {
    text-align: center;
    padding: 80px 20px 60px;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(17, 40, 53, 0.5) 0%, transparent 100%);
}

header h1 {
    font-size: 3.5em;
    font-weight: 700;
    color: var(--accent-primary);
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1.2em;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1em;
    color: var(--accent-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* --- Layout Principal --- */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

main h2 {
    font-size: 1.8em;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 600;
}

/* --- Grid de Apps --- */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.app-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    padding: 35px 30px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
    background-color: var(--bg-tertiary);
}

.app-icon {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--accent-secondary);
}

.app-card h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 600;
}

.app-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95em;
    flex-grow: 1; /* Empurra o resto para baixo */
}

.app-features {
    list-style: none;
    margin-bottom: 25px;
}

.app-features li {
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.85em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-features li::before {
    content: '▹';
    color: var(--accent-primary);
    font-weight: bold;
}

/* --- Botões --- */
.btn-launch {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: transparent;
    color: var(--accent-primary);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    border: 1px solid var(--accent-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
}

.btn-launch:hover {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
}

/* Badge de status */
.app-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--accent-primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.app-badge.premium {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--accent-premium);
    border-color: rgba(245, 158, 11, 0.3);
}

/* --- Seção Sobre --- */
.about-section {
    max-width: 900px;
    margin: 0 auto 80px;
    padding: 50px 40px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    text-align: center;
}

.about-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-section > p {
    color: var(--text-secondary);
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.feature {
    padding: 25px;
    background-color: var(--bg-primary);
    border-radius: 10px;
    border-left: 3px solid var(--accent-secondary);
}

.feature h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--accent-secondary);
    font-weight: 600;
}

.feature p {
    color: var(--text-secondary);
    font-size: 0.9em;
    line-height: 1.6;
}

/* --- Rodapé --- */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.9em;
}

footer a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.copyright {
    margin-top: 10px;
    opacity: 0.6;
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    header { padding: 50px 20px 40px; }
    header h1 { font-size: 2.5em; }
    .apps-grid { grid-template-columns: 1fr; }
    .about-section { padding: 30px 20px; }
}