/* ----------------------------------------------------
   DESIGN SYSTEM & CUSTOM PROPERTIES
---------------------------------------------------- */
:root {
    /* Color Palette */
    --bg-dark: #0a0e17;
    --card-bg: rgba(16, 22, 35, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 242, 254, 0.15);
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Accent & State Colors */
    --accent-blue: #00f2fe;
    --accent-purple: #4facfe;
    --accent-gradient: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    
    --strength-very-weak: #ef4444; /* Coral/Red */
    --strength-weak: #f97316;      /* Orange */
    --strength-medium: #eab308;    /* Yellow */
    --strength-strong: #10b981;    /* Emerald Green */
    --strength-secure: #06b6d4;    /* Cyan/Blue-Green */

    /* Typography */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    /* Layout & Shadows */
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-premium: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Dynamic Animated Background */
.glow-bg {
    position: absolute;
    top: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.12) 0%, rgba(0, 242, 254, 0.05) 50%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
    animation: pulseGlow 15s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.2); }
}

/* ----------------------------------------------------
   HEADER & NAVIGATION
---------------------------------------------------- */
.app-header {
    background-color: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-blue);
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-tabs {
    display: flex;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: var(--radius-md);
    gap: 4px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.tab-btn svg {
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
    color: var(--bg-dark);
    background: var(--accent-gradient);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 242, 254, 0.25);
}

.tab-btn.active svg {
    opacity: 1;
}

/* ----------------------------------------------------
   MAIN CONTENT & LAYOUT
---------------------------------------------------- */
.main-content {
    flex: 1;
    padding-top: 32px;
    padding-bottom: 64px;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    margin-top: 24px;
}

@media (max-width: 992px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
    .header-container {
        flex-direction: column;
        align-items: center;
    }
}

/* Glassmorphism Cards */
.main-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-premium);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.tab-panel.active {
    display: block;
}

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

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 32px;
}

/* ----------------------------------------------------
   GERADOR COMPONENTS
---------------------------------------------------- */
.display-container {
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.display-container:focus-within {
    border-color: var(--accent-blue);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
}

.password-display {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1.35rem;
    font-weight: 500;
    width: 100%;
    outline: none;
    letter-spacing: 0.5px;
    text-overflow: ellipsis;
}

.display-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.action-btn:hover {
    color: var(--accent-blue);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 242, 254, 0.3);
}

.action-btn:active {
    transform: scale(0.95);
}

.hidden {
    display: none !important;
}

/* Strength Meter */
.strength-meter-container {
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: var(--radius-md);
}

.strength-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.strength-labels > span:first-child {
    color: var(--text-secondary);
}

.strength-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
}

.strength-badge.empty { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.strength-badge.very-weak { background: rgba(239, 68, 68, 0.15); color: var(--strength-very-weak); }
.strength-badge.weak { background: rgba(249, 115, 22, 0.15); color: var(--strength-weak); }
.strength-badge.medium { background: rgba(234, 179, 8, 0.15); color: var(--strength-medium); }
.strength-badge.strong { background: rgba(16, 185, 129, 0.15); color: var(--strength-strong); }
.strength-badge.secure { background: rgba(6, 182, 212, 0.15); color: var(--strength-secure); }

.strength-bar-bg {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-bar {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: width 0.4s ease-out, background-color 0.4s ease-out;
}

.strength-bar.very-weak { width: 20%; background-color: var(--strength-very-weak); }
.strength-bar.weak { width: 40%; background-color: var(--strength-weak); }
.strength-bar.medium { width: 60%; background-color: var(--strength-medium); }
.strength-bar.strong { width: 80%; background-color: var(--strength-strong); }
.strength-bar.secure { width: 100%; background-color: var(--strength-secure); }

.entropy-info {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Generator Settings Layout */
.generator-settings {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.setting-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 500;
}

.setting-header label {
    color: var(--text-primary);
}

/* Slider Custom styling */
.range-slider {
    display: flex;
    align-items: center;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    outline: none;
    transition: background 0.3s;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
    transition: transform 0.1s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
    border: none;
    transition: transform 0.1s;
}

.slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

/* Checkbox design */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 32px;
    margin-bottom: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
    user-select: none;
    transition: var(--transition-smooth);
}

.custom-checkbox:hover {
    color: var(--text-primary);
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: rgba(0, 242, 254, 0.4);
}

.custom-checkbox input:checked ~ .checkmark {
    background: var(--accent-gradient);
    border-color: transparent;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid var(--bg-dark);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.full-width {
    grid-column: 1 / -1;
}

/* Histórico de Senhas */
.history-container {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    margin-top: 24px;
}

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

.history-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.text-btn {
    background: transparent;
    border: none;
    color: var(--accent-blue);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
}

.text-btn:hover {
    text-decoration: underline;
}

.history-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.15);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.history-item-pwd {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 80%;
    color: var(--text-secondary);
}

.history-item-actions {
    display: flex;
    gap: 8px;
}

.history-copy-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.history-copy-btn:hover {
    color: var(--accent-blue);
}

.empty-history {
    text-align: center;
    padding: 16px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.history-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ----------------------------------------------------
   VERIFICADOR COMPONENTS
---------------------------------------------------- */
.checker-input-container {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.input-wrapper {
    position: relative;
    flex: 1;
    min-width: 280px;
}

.password-input {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1.1rem;
    padding: 14px 50px 14px 20px;
    border-radius: var(--radius-md);
    outline: none;
    transition: var(--transition-smooth);
}

.password-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.15);
}

.visibility-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.visibility-btn:hover {
    color: var(--text-primary);
}

.primary-btn {
    background: var(--accent-gradient);
    border: none;
    color: var(--bg-dark);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    padding: 0 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(0, 242, 254, 0.25);
    transition: var(--transition-smooth);
    min-height: 52px;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.35);
}

.primary-btn:active {
    transform: translateY(0);
}

.live-strength-container {
    margin-bottom: 24px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
}

/* Spinner Loader */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(10, 14, 23, 0.2);
    border-top-color: var(--bg-dark);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Results box */
.results-box {
    padding: 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.results-box.danger {
    background-color: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.results-box.success {
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.results-box.warning {
    background-color: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.results-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.results-box.danger .results-title { color: var(--strength-very-weak); }
.results-box.success .results-title { color: var(--strength-strong); }
.results-box.warning .results-title { color: var(--strength-weak); }

.results-body p {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.security-privacy-notice {
    display: flex;
    gap: 12px;
    padding: 16px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-top: 32px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.security-privacy-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent-blue);
}

/* ----------------------------------------------------
   DICAS DE SEGURANÇA
---------------------------------------------------- */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tip-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition-smooth);
}

.tip-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
    border-color: rgba(0, 242, 254, 0.2);
}

.tip-icon {
    color: var(--accent-blue);
    margin-bottom: 16px;
}

.tip-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

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

/* ----------------------------------------------------
   SIDEBAR & ADSENSE & AFFILIATES
---------------------------------------------------- */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.adsense-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}

.ads-label {
    position: absolute;
    top: 4px;
    left: 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.ads-top {
    min-height: 90px;
    margin-bottom: 24px;
}

.ads-bottom {
    min-height: 90px;
    margin-top: 32px;
}

.ads-sidebar {
    min-height: 250px;
}

.ads-box, .ads-box-vertical {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.affiliate-card {
    background: linear-gradient(135deg, rgba(16, 22, 35, 0.9) 0%, rgba(20, 30, 48, 0.9) 100%);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.affiliate-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, transparent 70%);
}

.affiliate-badge {
    background: var(--accent-gradient);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
}

.affiliate-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.affiliate-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.affiliate-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.affiliate-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
}

/* Brute Force Simulator */
.brute-force-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 14px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.brute-force-container .icon-clock {
    color: var(--accent-blue);
}

.brute-force-container strong {
    color: var(--text-primary);
}

/* Passphrase Card */
.passphrase-card {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.03) 0%, rgba(79, 172, 254, 0.03) 100%);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.passphrase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.passphrase-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.passphrase-icon {
    color: var(--accent-blue);
    filter: drop-shadow(0 0 4px rgba(0, 242, 254, 0.3));
}

.passphrase-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.badge-recommended {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    background-color: rgba(0, 242, 254, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.passphrase-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.passphrase-display-container {
    display: flex;
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.passphrase-display {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    color: var(--text-primary);
    word-break: break-all;
    user-select: all;
    font-weight: 500;
}

.passphrase-actions {
    display: flex;
    gap: 8px;
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
.app-footer {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    margin-top: auto;
    background-color: rgba(10, 14, 23, 0.5);
    backdrop-filter: blur(12px);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

/* Cookie Consent Banner (LGPD) */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 850px;
    background: rgba(16, 22, 35, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideUpCookie 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.cookie-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-icon {
    color: var(--accent-blue);
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(0, 242, 254, 0.4));
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.cookie-content p a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
}

.cookie-content p a:hover {
    text-decoration: underline;
}

.cookie-accept-btn {
    min-height: 40px !important;
    padding: 0 24px !important;
    font-size: 0.9rem !important;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        bottom: 16px;
        width: calc(100% - 32px);
    }
    .cookie-content {
        align-items: flex-start;
    }
    .cookie-accept-btn {
        width: 100%;
    }
}

/* Legal Pages Content Styling */
.legal-page-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 28px;
}

.legal-section h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.legal-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.legal-section ul {
    margin-left: 20px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.5;
}
