/* ==========================================================================
   STYLES FOR DETAILED FEATURES PAGE (RECURSOS.HTML)
   ========================================================================== */

/* Subpage Hero */
.recursos-hero {
    position: relative;
    padding: 160px 0 80px 0;
    text-align: center;
    background: radial-gradient(circle at top, rgba(99, 102, 241, 0.08) 0%, rgba(0, 0, 0, 0) 60%);
    overflow: hidden;
}

.recursos-hero h1 {
    font-size: 44px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.recursos-hero h1 span {
    background: linear-gradient(135deg, #a78bfa, #818cf8, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.recursos-hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* Feature Showcase Layout */
.showcase-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.showcase-section:nth-of-type(even) {
    background: rgba(255, 255, 255, 0.01);
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.showcase-section:nth-of-type(even) .showcase-container {
    grid-template-columns: 1.1fr 1fr;
}

.showcase-section:nth-of-type(even) .showcase-text-col {
    order: 2;
}

.showcase-section:nth-of-type(even) .showcase-visual-col {
    order: 1;
}

/* Text Column Styles */
.showcase-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.showcase-text-col .feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #c084fc;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.showcase-text-col h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.showcase-text-col p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.showcase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.showcase-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-main);
}

.showcase-list li i {
    color: var(--primary);
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.showcase-list li strong {
    color: #fff;
}

/* Visual Mockups Column */
.showcase-visual-col {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* live interface mockups in pure HTML/CSS */
.live-mockup-window {
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border-color);
    background: #090d1a;
    transition: var(--transition-smooth);
}

.live-mockup-window:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Mockup Content Styling */
.mockup-body {
    padding: 16px;
    font-family: var(--font-primary);
    color: #e2e8f0;
    min-height: 280px;
}

/* 1. Budget/Quotations Screen Mockup */
.mock-budget-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-budget-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
}

.mock-budget-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.mock-budget-info span {
    font-size: 11px;
    color: var(--text-muted);
}

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

.mock-budget-price {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.mock-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 50px;
    text-transform: uppercase;
}

.mock-badge.approved { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.mock-badge.pending { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.mock-badge.billed { background: rgba(99, 102, 241, 0.15); color: #818cf8; }

/* 2. POS/PDV Screen Mockup */
.mock-pdv-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 12px;
    font-size: 12px;
}

.mock-pdv-items {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.mock-pdv-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 6px;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-muted);
}

.mock-pdv-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.mock-pdv-checkout {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-pdv-totals {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.mock-pdv-total-row {
    display: flex;
    justify-content: space-between;
}

.mock-pdv-total-row.grand {
    font-size: 15px;
    font-weight: 800;
    color: #34d399;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 6px;
}

.mock-pdv-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* 3. NFS-e Invoice Screen Mockup */
.mock-nfse-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-nfse-status {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    padding: 12px;
}

.mock-nfse-status i {
    color: #34d399;
    font-size: 20px;
}

.mock-nfse-status div h5 {
    font-size: 13px;
    color: #fff;
    margin-bottom: 2px;
}

.mock-nfse-status div p {
    font-size: 11px;
    color: #a7f3d0;
}

.mock-form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mock-form-group label {
    font-size: 11px;
    color: var(--text-muted);
}

.mock-input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 12px;
    color: #fff;
}

.mock-nfse-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.mock-btn-invoice {
    flex: 1;
    background: #6366f1;
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
}

.mock-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    text-align: center;
}

/* 4. Print Layout Configuration Screen Mockup */
.mock-print-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 12px;
    font-size: 11px;
}

.mock-print-sidebar {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-print-setting {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mock-print-setting span {
    color: var(--text-muted);
}

.mock-print-setting select, 
.mock-print-setting input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.mock-print-canvas-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 16px;
    border: 1.5px dashed rgba(255, 255, 255, 0.1);
}

.mock-label-preview {
    background: #fff;
    color: #000;
    width: 140px;
    height: 90px;
    padding: 8px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mock-label-top {
    font-size: 9px;
    font-weight: 800;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
}

.mock-label-middle {
    font-size: 8px;
    line-height: 1.2;
    margin: 4px 0;
}

.mock-label-barcode {
    height: 18px;
    background: repeating-linear-gradient(
        90deg,
        #000,
        #000 2px,
        #fff 2px,
        #fff 4px
    );
    width: 100%;
}

/* 5. Inventory/Stock Control Screen Mockup */
.mock-stock-table-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-stock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 6px;
}

.mock-stock-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 8px;
    text-align: center;
}

.mock-stock-stat-card span {
    font-size: 9px;
    color: var(--text-muted);
}

.mock-stock-stat-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-top: 2px;
}

.mock-stock-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.mock-stock-table th {
    text-align: left;
    padding: 6px 8px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-weight: 700;
}

.mock-stock-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mock-stock-status-cell {
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
}

.mock-stock-status-cell.ok { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.mock-stock-status-cell.low { background: rgba(239, 68, 68, 0.15); color: #f87171; }

/* Responsive adjustments for recursos */
@media (max-width: 992px) {
    .showcase-container {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .showcase-section:nth-of-type(even) .showcase-text-col {
        order: 1;
    }

    .showcase-section:nth-of-type(even) .showcase-visual-col {
        order: 2;
    }
    
    .recursos-hero {
        padding: 120px 0 50px 0;
    }
    
    .recursos-hero h1 {
        font-size: 32px;
    }
    
    .recursos-hero p {
        font-size: 15px;
    }
}
