/* identity-security.css - Custom styles for Identity Security product page */

.bg-gradient-identity {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #dc3545 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.demo-card {
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.demo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 40px rgba(0, 0, 0, 0.2) !important;
}

.demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.demo-card:hover::before {
    left: 100%;
}

.demo-preview {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.demo-card:hover .demo-preview {
    border-left-color: #0d6efd;
    background: #e9ecef !important;
}

.stats-card {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease;
}

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

.identity-tester {
    position: relative;
    background: #1e1e1e;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.identity-tester:hover {
    border-color: #0d6efd;
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.3);
}

.identity-tester .demo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.response-area {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.5;
    max-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.response-area::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.response-area::-webkit-scrollbar-track {
    background: #2d2d2d;
}

.response-area::-webkit-scrollbar-thumb {
    background: #666;
    border-radius: 4px;
}

.response-area::-webkit-scrollbar-thumb:hover {
    background: #888;
}

.method-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    margin-right: 8px;
    min-width: 60px;
    text-align: center;
}

.method-get {
    background: #61affe;
    color: white;
}

.method-post {
    background: #49cc90;
    color: white;
}

.method-put {
    background: #fca130;
    color: white;
}

.method-delete {
    background: #f93e3e;
    color: white;
}

.mfa-simulator {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.fake-qr {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #000 25%, #fff 25%, #fff 50%, #000 50%, #000 75%, #fff 75%, #fff 100%);
    background-size: 30px 30px;
    margin: 0 auto 15px;
    border: 3px solid #fff;
    border-radius: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

.admin-preview {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.admin-preview:hover .preview-overlay {
    opacity: 1;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-overlay .badge {
    font-size: 1rem;
    padding: 10px 20px;
}

@media (max-width: 768px) {
    .stats-card {
        margin-top: 30px;
    }
    
    .demo-card {
        margin-bottom: 20px;
    }
    
    .identity-tester {
        margin-bottom: 20px;
    }
}
