:root {
    --primary: #F59E0B; /* Amarelo Calopsita */
    --primary-hover: #D97706;
    --bg: #F3F4F6;
    --text: #1F2937;
    --card-bg: #FFFFFF;
    --border: #E5E7EB;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Modo Escuro Automático e Manual */
[data-theme="dark"] {
    --bg: #111827;
    --text: #F9FAFB;
    --card-bg: #1F2937;
    --border: #374151;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: system-ui, -apple-system, sans-serif; }
body { background-color: var(--bg); color: var(--text); transition: background 0.3s, color 0.3s; min-height: 100vh; display: flex; flex-direction: column; }

/* Header */
header {
    background: var(--card-bg); border-bottom: 1px solid var(--border);
    padding: 1rem; position: sticky; top: 0; z-index: 50;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1.25rem; color: var(--primary); text-decoration: none; }
.actions { display: flex; gap: 1rem; align-items: center; }

/* Botões */
button, .btn {
    cursor: pointer; border: none; outline: none; padding: 0.5rem 1rem; border-radius: 0.5rem;
    font-weight: 600; transition: all 0.2s; display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 1rem; text-decoration: none;
}
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39); }
.btn-primary:hover { transform: translateY(-1px); background: var(--primary-hover); }
.btn-icon { background: transparent; color: var(--text); padding: 0.5rem; border-radius: 50%; }
.btn-icon:hover { background: rgba(128, 128, 128, 0.1); }

/* Conteúdo Principal */
main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; line-height: 1.1; }
.hero span { color: var(--primary); background: -webkit-linear-gradient(45deg, #F59E0B, #FCD34D); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.25rem; color: gray; margin-bottom: 2rem; max-width: 600px; }

/* Cards e Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 3rem; width: 100%; max-width: 900px; }
.feature-item { display: flex; align-items: center; gap: 1rem; color: var(--text); font-weight: 500; text-align: left; }

/* Utilitários */
.hidden { display: none !important; }
.install-banner { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--card-bg); padding: 10px 20px; border-radius: 50px; box-shadow: var(--shadow); border: 1px solid var(--border); z-index: 100; animation: slideUp 0.5s ease; }

@keyframes slideUp { from { transform: translate(-50%, 100%); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
