/* CSS Variables - Leonida Brasil Style */
:root {
    --color-primary: #FF007F;
    --color-primary-dark: #E6006B;
    --color-secondary: #00BFFF;
    --color-accent: #FECA57;
    --color-success: #48dbfb;
    --color-danger: #ff6b6b;
    --color-warning: #ffd43b;
    --color-premium: #FFD700;
    
    --bg-main: #f6f6f6;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #e9ecef;
    --bg-premium: #FFF9E6;
    
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    
    --gradient-main: linear-gradient(135deg, #889EDB, #FFAD89);
    --gradient-primary: linear-gradient(135deg, #FF007F, #FF4DA6);
    --gradient-secondary: linear-gradient(135deg, #00BFFF, #48dbfb);
    --gradient-accent: linear-gradient(135deg, #FECA57, #f39c12);
    --gradient-premium: linear-gradient(135deg, #FFD700, #FFA500);
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', sans-serif;
    background: var(--bg-main);
    color: var(--text-dark);
    font-size: 13px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    position: relative;
    min-height: 100vh;
}

/* Header */
.site-header {
    flex-shrink: 0;
    background: var(--gradient-main);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMzAiIGN5PSIzMCIgcj0iMjAiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4xKSIvPgo8L3N2Zz4K');
    background-size: 40px 40px;
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.main-logo {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin-bottom: 16px;
    letter-spacing: -1px;
    cursor: pointer;
}

.main-tagline {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 12px;
}

.main-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.5;
}

.quick-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    color: white;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 500;
}

/* Navigation */
.main-nav {
    flex-shrink: 0;
    background: white;
    border-bottom: 1px solid var(--bg-lighter);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: color 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-danger);
    transition: background-color 0.3s ease;
}

.status-indicator.connected {
    background: var(--color-success);
}

/* Main Container */
.main-container {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 0 24px;
    width: 100%;
}

/* Generator Card */
.generator-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.generator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.generator-header {
    text-align: center;
    margin-bottom: 32px;
}

.generator-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.generator-subtitle {
    font-size: 16px;
    color: var(--text-medium);
    max-width: 500px;
    margin: 0 auto;
}

/* API Status */
.api-status {
    background: var(--bg-light);
    border: 2px solid var(--color-warning);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
    display: none;
}

.api-status.show {
    display: block;
}

.api-status.connected {
    border-color: var(--color-success);
}

.api-status.error {
    border-color: var(--color-danger);
}

.status-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-icon {
    font-size: 20px;
    color: var(--color-warning);
}

.status-icon.connected {
    color: var(--color-success);
}

.status-icon.error {
    color: var(--color-danger);
}

.status-text {
    flex: 1;
}

.status-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.status-description {
    font-size: 12px;
    color: var(--text-medium);
}

/* Character Controls */
.character-controls {
    background: var(--bg-light);
    border: 2px solid var(--color-secondary);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 32px;
}

.controls-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.controls-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.control-select {
    padding: 10px 12px;
    border: 2px solid var(--bg-lighter);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 13px;
    background: white;
    transition: border-color 0.3s ease;
}

.control-select:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.control-range {
    display: flex;
    align-items: center;
    gap: 12px;
}

.range-input {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-lighter);
    outline: none;
    -webkit-appearance: none;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-secondary);
    cursor: pointer;
}

.range-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    min-width: 30px;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.category-btn {
    background: var(--bg-light);
    border: 2px solid transparent;
    padding: 20px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
    position: relative;
}

.category-btn:hover {
    border-color: var(--color-primary);
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.category-btn.active {
    background: white;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 0, 127, 0.1);
}

.category-icon {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 8px;
    display: block;
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.category-count {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
}

/* Generate Section */
.generate-section {
    text-align: center;
    margin: 32px 0;
}

.generate-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 16px 40px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 200px;
}

.generate-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 127, 0.3);
}

.generate-btn:active {
    transform: scale(0.98);
}

.generate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.generate-btn.loading {
    background: var(--color-secondary);
}

.usage-info {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-medium);
}

.usage-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Result Display */
.result-display {
    background: var(--bg-light);
    border: 2px solid var(--color-secondary);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    min-height: 120px;
    display: none;
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.result-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-secondary);
}

.result-display.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.generated-name {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 12px;
    word-wrap: break-word;
}

.generated-type {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.source-badge {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: bold;
    text-transform: uppercase;
}

.source-api {
    background: #ff6b6b;
    color: white;
}

.source-cache, .source-local_cache {
    background: #51cf66;
    color: white;
}

.source-exact {
    background: #339af0;
    color: white;
}

.source-similarity {
    background: #ffd43b;
    color: #333;
}

.source-personalized {
    background: #9775fa;
    color: white;
}

.source-fallback {
    background: #868e96;
    color: white;
}

.generated-description {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 24px;
    text-align: left;
    background: rgba(255, 255, 255, 0.7);
    padding: 16px;
    border-radius: var(--radius-sm);
}

.character-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    margin: 20px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-sm);
}

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

.detail-label {
    font-size: 10px;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.action-btn {
    background: white;
    border: 1px solid var(--bg-lighter);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
}

.action-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-1px);
}

.action-btn.saved {
    background: var(--color-success);
    border-color: var(--color-success);
    color: white;
    transform: scale(1.05);
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-left: 4px solid var(--color-success);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    box-shadow: var(--shadow-md);
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    min-width: 280px;
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    border-left-color: var(--color-danger);
}

.notification.warning {
    border-left-color: var(--color-warning);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
}

.notification-icon {
    color: var(--color-success);
}

.notification.error .notification-icon {
    color: var(--color-danger);
}

.notification.warning .notification-icon {
    color: var(--color-warning);
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 32px 0;
    text-align: center;
    margin-top: 48px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--color-primary);
}

.footer-copyright {
    font-size: 11px;
    opacity: 0.7;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
}

/* Features Section */
.features-section {
    margin-top: 48px;
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-medium);
    max-width: 500px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--bg-lighter);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.feature-icon {
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 16px;
    display: block;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
}

/* Loading States */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

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

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-logo {
        font-size: 2.5rem;
    }
    
    .quick-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 12px 24px;
        gap: 12px;
    }
    
    .nav-menu {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-container {
        padding: 24px 16px;
    }
    
    .generator-card {
        padding: 24px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .controls-grid {
        grid-template-columns: 1fr;
    }
    
    .generated-name {
        font-size: 24px;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .character-details {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .generator-title {
        font-size: 24px;
    }
    
    .character-details {
        grid-template-columns: 1fr;
    }
}
/* ================================
   CSS ADICIONAL PARA PÁGINAS INSTITUCIONAIS
   Adicione este código ao final do seu style.css
   ================================ */

/* Content Cards para páginas institucionais */
.content-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.content-header {
    text-align: center;
    margin-bottom: 32px;
}

.content-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.content-subtitle {
    font-size: 16px;
    color: var(--text-medium);
    max-width: 500px;
    margin: 0 auto;
}

.content-body {
    max-width: 800px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    margin-bottom: 32px;
}

.section-heading {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bg-lighter);
}

.subsection-heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 24px 0 12px 0;
}

.section-text {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 16px;
}

.content-list {
    margin: 16px 0;
    padding-left: 20px;
}

.content-list li {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 8px;
}

.text-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.disclaimer-text {
    background: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--color-warning);
    font-size: 14px;
    font-style: italic;
}

.contact-info {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

/* Features List para About page */
.features-list {
    display: grid;
    gap: 20px;
    margin: 24px 0;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.feature-item .feature-icon {
    font-size: 24px;
    color: var(--color-primary);
    margin-top: 4px;
}

.feature-item .feature-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-item .feature-description {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
}

/* Stats Card para About page */
.stats-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    margin-bottom: 32px;
}

.stats-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
}

.stat-box {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.stat-box:hover {
    background: var(--gradient-secondary);
    color: white;
    transform: translateY(-4px);
}

.stat-box .stat-number {
    font-size: 28px;
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.stat-box .stat-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Help Page Specific Styles */
.help-search-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
    text-align: center;
}

.search-header {
    margin-bottom: 32px;
}

.search-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.search-subtitle {
    font-size: 16px;
    color: var(--text-medium);
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 2px solid var(--bg-lighter);
    border-radius: var(--radius-md);
    padding: 4px;
    max-width: 600px;
    margin: 0 auto;
    transition: border-color 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--color-primary);
}

.search-icon {
    color: var(--text-light);
    margin: 0 12px;
}

.search-input {
    flex: 1;
    border: none;
    background: none;
    padding: 12px 8px;
    font-size: 14px;
    outline: none;
}

.search-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-1px);
}

.quick-actions-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
}

.actions-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.action-item:hover {
    background: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.action-icon {
    font-size: 24px;
    color: var(--color-primary);
}

.action-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.action-desc {
    font-size: 12px;
    color: var(--text-medium);
}

/* FAQ Styles */
.faq-container {
    margin-top: 32px;
}

.faq-category {
    margin-bottom: 32px;
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-lighter);
}

.faq-category-title i {
    color: var(--color-primary);
}

.faq-item {
    border: 1px solid var(--bg-lighter);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-primary);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(255, 0, 127, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 0, 127, 0.05);
}

.faq-icon {
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 20px;
    background: white;
    display: none;
}

.faq-answer p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.faq-answer ul, .faq-answer ol {
    margin: 12px 0 12px 20px;
}

.faq-answer li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Contact Card */
.contact-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
}

.contact-header {
    text-align: center;
    margin-bottom: 32px;
}

.contact-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-subtitle {
    font-size: 16px;
    color: var(--text-medium);
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.contact-option {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact-option:hover {
    background: white;
    border-color: var(--color-primary);
}

.contact-icon {
    font-size: 24px;
    color: var(--color-primary);
    margin-top: 4px;
}

.contact-method {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-description {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 12px;
    line-height: 1.5;
}

.contact-button {
    display: inline-block;
    background: var(--color-primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.contact-info {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
}

.info-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.info-list {
    list-style: none;
    margin: 0;
}

.info-list li {
    padding: 4px 0;
    font-size: 14px;
    color: var(--text-medium);
}

/* Resources Card */
.resources-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
}

.resources-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: center;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.resource-item:hover {
    background: white;
    border-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.resource-icon {
    font-size: 24px;
    color: var(--color-secondary);
}

.resource-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.resource-description {
    font-size: 12px;
    color: var(--text-medium);
    line-height: 1.4;
}

/* Feature Requests Card */
.feature-requests-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
}

.feature-header {
    text-align: center;
    margin-bottom: 32px;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-subtitle {
    font-size: 16px;
    color: var(--text-medium);
}

.feature-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: white;
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.feature-item .feature-icon {
    font-size: 24px;
    color: var(--color-accent);
    margin-top: 4px;
}

.feature-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
    margin-bottom: 12px;
}

.feature-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Mobile Responsiveness para páginas institucionais */
@media (max-width: 768px) {
    .content-card {
        padding: 24px;
    }
    
    .content-title {
        font-size: 24px;
    }
    
    .search-box {
        flex-direction: column;
        gap: 12px;
    }

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

    .actions-grid {
        grid-template-columns: 1fr;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-content {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-heading {
        font-size: 18px;
    }
    
    .content-title {
        font-size: 20px;
    }
}

/* ================================
   COOKIE CONSENT MODAL STYLES
   ================================ */

/* Cookie Consent Modal */
.cookie-consent-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid var(--color-primary);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    font-family: 'Poppins', sans-serif;
}

.cookie-consent-modal.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 32px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-description {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
    margin-bottom: 12px;
}

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

.cookie-link {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.cookie-btn-accept {
    background: var(--gradient-primary);
    color: white;
}

.cookie-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 127, 0.3);
}

.cookie-btn-settings {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--bg-lighter);
}

.cookie-btn-settings:hover {
    background: white;
    border-color: var(--color-secondary);
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-medium);
    border: 2px solid var(--bg-lighter);
}

.cookie-btn-reject:hover {
    color: var(--color-danger);
    border-color: var(--color-danger);
}

/* Cookie Settings Modal */
.cookie-settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-settings-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-modal {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-settings-overlay.show .cookie-settings-modal {
    transform: scale(1);
}

.settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--bg-lighter);
}

.settings-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

.settings-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.settings-close:hover {
    color: var(--text-dark);
    background: var(--bg-light);
}

.cookie-category {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.cookie-category.enabled {
    border-color: var(--color-success);
}

.cookie-category.disabled {
    border-color: var(--bg-lighter);
}

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

.category-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-required {
    background: var(--color-success);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.category-toggle {
    position: relative;
    width: 50px;
    height: 26px;
    background: var(--bg-lighter);
    border-radius: 13px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.category-toggle.enabled {
    background: var(--color-success);
}

.category-toggle.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.category-toggle::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.category-toggle.enabled::before {
    transform: translateX(24px);
}

.category-description {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
}

.settings-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding-top: 20px;
    border-top: 2px solid var(--bg-lighter);
}

.settings-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.settings-btn-save {
    background: var(--gradient-primary);
    color: white;
}

.settings-btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 127, 0.3);
}

.settings-btn-cancel {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--bg-lighter);
}

.settings-btn-cancel:hover {
    background: white;
    border-color: var(--color-secondary);
}

/* Cookie Notification */
.cookie-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 10002;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    min-width: 280px;
    max-width: 400px;
}

.cookie-notification.success {
    background: var(--color-success);
    color: white;
}

.cookie-notification.info {
    background: var(--color-warning);
    color: var(--text-dark);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cookie-text {
        min-width: auto;
    }

    .cookie-actions {
        justify-content: center;
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: auto;
    }

    .cookie-settings-modal {
        padding: 20px;
        margin: 20px;
    }

    .settings-actions {
        flex-direction: column;
    }

    .settings-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-consent-content {
        padding: 16px;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .cookie-links {
        justify-content: center;
    }

    .cookie-notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
        max-width: none;
    }

    .cookie-notification.show {
        transform: translateY(0);
    }
}