/* Officer Dashboard Prototype Styles */

/* Officer-Focused Hero Styles */
.hero-badge-officer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    border: 1px solid rgba(99, 102, 241, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    color: #a855f7;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-value-props {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}

.value-prop {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-prop .vp-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.value-prop .vp-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.value-prop .vp-text strong {
    color: white;
    font-size: 0.95rem;
}

.value-prop .vp-text span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.hero-adoption-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-adoption-status .status-badge.available {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.875rem;
}

.hero-adoption-status .adoption-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Officer Dashboard Preview */
.dashboard-preview.officer-preview {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(74, 222, 128, 0.3);
    box-shadow: 0 0 40px rgba(74, 222, 128, 0.1);
}

.dashboard-preview.officer-preview .preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #1e293b 0%, #334155 100%);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-preview .preview-badge {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.dashboard-preview .preview-demo {
    background: #4ade80;
    color: #0f172a;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.dashboard-preview .p-stat.highlight {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 8px;
}

.dashboard-preview .p-stat .p-change {
    font-size: 0.7rem;
    color: #4ade80;
    display: block;
    margin-top: 0.25rem;
}

.dashboard-preview .preview-cta {
    text-align: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-value-props {
        grid-template-columns: 1fr;
    }

    .hero-adoption-status {
        flex-direction: column;
        text-align: center;
    }
}

/* Officer Section - Enhanced */
.officers-section {
    background: linear-gradient(135deg, #0A0E27 0%, #1a2a40 50%, #0f1a2e 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.officers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.officers-section .section-header.light h2 {
    color: white;
}

.officers-section .section-header.light p {
    color: rgba(255, 255, 255, 0.7);
}

/* Officer Roles Selector */
.officer-roles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.role-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.role-card:hover,
.role-card.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.role-card.active {
    border-color: #4ade80;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.2);
}

.role-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.role-card h4 {
    color: white;
    margin-bottom: 0.25rem;
}

.role-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Pain Points Grid */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.pain-point {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #f87171;
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
}

.pain-point h5 {
    color: #f87171;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pain-point h5::before {
    content: '✗';
}

.pain-point p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Solution Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.solution-card {
    background: rgba(74, 222, 128, 0.05);
    border-left: 3px solid #4ade80;
    padding: 1.25rem 1.5rem;
    border-radius: 0 12px 12px 0;
}

.solution-card h5 {
    color: #4ade80;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.solution-card h5::before {
    content: '✓';
}

.solution-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Interactive Dashboard Preview */
.dashboard-demo {
    background: #0f172a;
    border-radius: 20px;
    overflow: hidden;
    margin: 3rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.demo-header {
    background: linear-gradient(90deg, #1e293b 0%, #334155 100%);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-header .dots {
    display: flex;
    gap: 8px;
}

.demo-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-header .dot.red {
    background: #ef4444;
}

.demo-header .dot.yellow {
    background: #eab308;
}

.demo-header .dot.green {
    background: #22c55e;
}

.demo-header .title {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.demo-body {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 400px;
}

.demo-sidebar {
    background: #1e293b;
    padding: 1.5rem 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-sidebar-item {
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s;
}

.demo-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.demo-sidebar-item.active {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border-left: 3px solid #3b82f6;
}

.demo-sidebar-item .icon {
    font-size: 1.2rem;
}

.demo-content {
    padding: 1.5rem;
    background: #0f172a;
}

.demo-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.demo-stat-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-stat-card .label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.demo-stat-card .value {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin: 0.5rem 0 0.25rem;
}

.demo-stat-card .change {
    font-size: 0.8rem;
    color: #4ade80;
}

.demo-stat-card .change.negative {
    color: #f87171;
}

/* Demo Table */
.demo-table {
    width: 100%;
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
}

.demo-table th {
    background: #334155;
    padding: 0.75rem 1rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.demo-table td {
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
}

.demo-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.pending {
    background: rgba(234, 179, 8, 0.2);
    color: #fbbf24;
}

.status-badge.approved {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-badge.rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Demo Action Buttons */
.demo-actions {
    display: flex;
    gap: 0.5rem;
}

.demo-btn {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.demo-btn.view {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.demo-btn.approve {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.demo-btn:hover {
    transform: scale(1.05);
}

/* Workflow Comparison */
.workflow-comparison {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 2rem;
    align-items: start;
    margin: 3rem 0;
}

.workflow-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-box.before {
    border-color: rgba(248, 113, 113, 0.3);
}

.workflow-box.after {
    border-color: rgba(74, 222, 128, 0.3);
}

.workflow-box h4 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-box.before h4 {
    color: #f87171;
}

.workflow-box.after h4 {
    color: #4ade80;
}

.workflow-step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.workflow-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
}

.step-text h5 {
    color: white;
    font-size: 0.9rem;
    margin: 0 0 0.25rem 0;
}

.step-text p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin: 0;
}

.step-time {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.before .step-time {
    color: rgba(248, 113, 113, 0.7);
}

.after .step-time {
    color: rgba(74, 222, 128, 0.7);
}

.workflow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ROI Metrics */
.roi-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.roi-metric {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.roi-metric .metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.roi-metric .metric-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* CTA Box */
.officer-cta {
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
}

.officer-cta h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.officer-cta p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.officer-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.officer-cta .btn {
    padding: 1rem 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .officer-roles {
        grid-template-columns: repeat(2, 1fr);
    }

    .demo-body {
        grid-template-columns: 1fr;
    }

    .demo-sidebar {
        display: none;
    }

    .demo-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .workflow-comparison {
        grid-template-columns: 1fr;
    }

    .workflow-arrow {
        transform: rotate(90deg);
        padding: 1rem 0;
    }

    .pain-points-grid,
    .solutions-grid,
    .roi-metrics {
        grid-template-columns: 1fr;
    }

    .officer-roles {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(74, 222, 128, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(74, 222, 128, 0.4);
    }
}

.role-card.active {
    animation: pulse-glow 2s infinite;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-stat-card {
    animation: slideIn 0.5s ease forwards;
}

.demo-stat-card:nth-child(2) {
    animation-delay: 0.1s;
}

.demo-stat-card:nth-child(3) {
    animation-delay: 0.2s;
}

.demo-stat-card:nth-child(4) {
    animation-delay: 0.3s;
}