/* Testly QA - Neural Testing Network - Updated Styles */

/* CSS Variables for Theme */
:root {
    --primary-blue: #0A0F2D;
    --secondary-blue: #1A1F3C;
    --electric-purple: #8A2BE2;
    --cyber-green: #00FF87;
    --warning-orange: #FF6B35;
    --neural-glow: rgba(138, 43, 226, 0.3);
    --cyber-glow: rgba(0, 255, 135, 0.3);
    --warning-glow: rgba(255, 107, 53, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--primary-blue) 100%);
    color: white;
    overflow-x: hidden;
}


/* AI Brain Scan */
.ai-brain-scan {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.brain-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.brain-outline {
    position: relative;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    border: 2px solid rgba(138, 43, 226, 0.3);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.brain-sector {
    position: absolute;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(138, 43, 226, 0.3);
    transition: all 0.5s ease;
    opacity: 0.5;
}

.brain-sector.active {
    background: linear-gradient(135deg, var(--electric-purple), var(--cyber-green));
    box-shadow: 0 0 20px var(--neural-glow);
    opacity: 1;
    transform: scale(1.1);
}

.brain-sector:nth-child(1).active,
.brain-sector:nth-child(5).active {
    transform: translateX(-50%) scale(1.1);
}

.brain-sector:nth-child(1) { top: 10%; left: 50%; transform: translateX(-50%); }
.brain-sector:nth-child(2) { top: 25%; right: 15%; }
.brain-sector:nth-child(3) { top: 60%; right: 15%; }
.brain-sector:nth-child(4) { bottom: 25%; right: 15%; }
.brain-sector:nth-child(5) { bottom: 10%; left: 50%; transform: translateX(-50%); }
.brain-sector:nth-child(6) { bottom: 25%; left: 15%; }

.sector-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.sector-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cyber-green);
}

.scan-wave {
    position: absolute;
    top: 50%;
    left: -100%;
    width: 200%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--cyber-green), transparent);
    border-radius: 2px;
    /* Removed animation for cleaner main screen */
    z-index: 10;
}

.progress-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
}

.progress-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: rgba(138, 43, 226, 0.2);
    stroke-width: 4;
}

.progress-fill {
    fill: none;
    stroke: var(--cyber-green);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 0.5s ease;
    filter: drop-shadow(0 0 10px var(--cyber-glow));
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--cyber-green);
    text-shadow: 0 0 10px var(--cyber-glow);
}

/* Circuit Navigation */
.circuit-nav {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
}

.circuit-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--electric-purple);
    text-shadow: 0 0 10px var(--neural-glow);
    text-decoration: none;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--cyber-green);
    background: rgba(0, 255, 135, 0.1);
    box-shadow: 0 0 20px var(--cyber-glow);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--electric-purple), var(--cyber-green));
    color: white;
    box-shadow: 0 4px 20px var(--neural-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--neural-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(138, 43, 226, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: var(--electric-purple);
    box-shadow: 0 0 20px var(--neural-glow);
}

/* URL Input */
.url-input-container {
    position: relative;
}

.url-input-container input {
    transition: all 0.3s ease;
}

.url-input-container input:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(138, 43, 226, 0.3);
}

/* Feature Cards */
.features-preview {
    margin-top: 4rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--cyber-green);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.feature-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Analysis Options */
.analysis-options {
    margin-bottom: 2rem;
}

.option-item {
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.option-item:hover {
    background: rgba(138, 43, 226, 0.1);
}

.neural-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--cyber-green);
    cursor: pointer;
}

.option-content {
    flex: 1;
}

.option-title {
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.option-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Analysis Details */
.analysis-details {
    margin-top: 2rem;
}

.detail-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(138, 43, 226, 0.3);
    backdrop-filter: blur(20px);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.card-header i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.stage-info {
    display: flex;
    align-items: center;
}

.stage-icon {
    font-size: 2rem;
    margin-right: 1rem;
}

.stage-name {
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.stage-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.timer-display {
    text-align: center;
}

.time-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--cyber-green);
    text-shadow: 0 0 10px var(--cyber-glow);
}

.time-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.issues-count {
    text-align: center;
}

.count-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--warning-orange);
    text-shadow: 0 0 10px var(--warning-glow);
}

.count-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Live Console */
.live-console {
    margin-top: 2rem;
}

.console-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0, 255, 135, 0.1);
    border-bottom: 1px solid rgba(0, 255, 135, 0.3);
    border-radius: 12px 12px 0 0;
}

.console-dots {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
}

.console-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyber-green);
    /* Removed animation for cleaner main screen */
}

.console-dots span:nth-child(2) { /* Removed animation delay */ }
.console-dots span:nth-child(3) { /* Removed animation delay */ }

.console-title {
    font-weight: 600;
    color: var(--cyber-green);
    text-shadow: 0 0 10px var(--cyber-glow);
}

.console-content {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    max-height: 300px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0 0 12px 12px;
}

.console-line {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    opacity: 0;
    /* Removed animation for cleaner main screen */
    opacity: 1;
}

.timestamp {
    color: #666;
    margin-right: 1rem;
    min-width: 80px;
}

.status {
    margin-right: 0.75rem;
    font-weight: bold;
}

.status.success { color: var(--cyber-green); }
.status.info { color: #4A9EFF; }
.status.warning { color: var(--warning-orange); }
.status.error { color: #FF4444; }

.message {
    color: #ccc;
}

/* Holographic Cards */
.holographic-card {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(138, 43, 226, 0.3);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.holographic-card:hover {
    transform: translateY(-5px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-glows {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.holographic-card:hover .card-glows {
    opacity: 1;
}

.holographic-card.critical .card-glows {
    background: radial-gradient(circle at center, rgba(255, 68, 68, 0.1) 0%, transparent 70%);
    box-shadow: inset 0 0 50px rgba(255, 68, 68, 0.2);
}

.holographic-card.high .card-glows {
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    box-shadow: inset 0 0 50px rgba(255, 107, 53, 0.2);
}

.holographic-card.medium .card-glows {
    background: radial-gradient(circle at center, rgba(74, 158, 255, 0.1) 0%, transparent 70%);
    box-shadow: inset 0 0 50px rgba(74, 158, 255, 0.2);
}

.holographic-card.low .card-glows {
    background: radial-gradient(circle at center, rgba(0, 255, 135, 0.1) 0%, transparent 70%);
    box-shadow: inset 0 0 50px rgba(0, 255, 135, 0.2);
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.severity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.severity-badge.critical {
    background: linear-gradient(135deg, #FF4444, #CC0000);
    color: white;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}

.severity-badge.high {
    background: linear-gradient(135deg, var(--warning-orange), #CC5500);
    color: white;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.severity-badge.medium {
    background: linear-gradient(135deg, #4A9EFF, #0066CC);
    color: white;
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.5);
}

.severity-badge.low {
    background: linear-gradient(135deg, var(--cyber-green), #00CC66);
    color: white;
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.5);
}

.confidence-badge {
    background: rgba(138, 43, 226, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    font-size: 0.8rem;
    color: var(--cyber-green);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: white;
}

.card-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.card-actions {
    display: flex;
    gap: 0.75rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background: var(--electric-purple);
    color: white;
}

.action-btn.primary:hover {
    background: var(--cyber-green);
    transform: translateY(-1px);
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.circuit-trace {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyber-green), var(--electric-purple));
    transition: width 0.3s ease;
}

.holographic-card:hover .circuit-trace {
    width: 100%;
}

/* Report Summary */
.report-summary {
    margin-bottom: 3rem;
}

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

.summary-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(138, 43, 226, 0.3);
    backdrop-filter: blur(20px);
    text-align: center;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.summary-card.critical {
    border-color: rgba(255, 68, 68, 0.5);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.2);
}

.summary-card.high {
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

.summary-card.medium {
    border-color: rgba(74, 158, 255, 0.5);
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.2);
}

.summary-card.low {
    border-color: rgba(0, 255, 135, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.2);
}

.summary-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.summary-count {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.summary-card.critical .summary-count { color: #FF4444; }
.summary-card.high .summary-count { color: var(--warning-orange); }
.summary-card.medium .summary-count { color: #4A9EFF; }
.summary-card.low .summary-count { color: var(--cyber-green); }

.summary-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Recommendations */
.recommendations-section {
    margin-top: 4rem;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.rec-priority {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.rec-priority.critical { background: #FF4444; }
.rec-priority.high { background: var(--warning-orange); }
.rec-priority.medium { background: #4A9EFF; }
.rec-priority.low { background: var(--cyber-green); }

.rec-content h4 {
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.rec-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, rgba(10, 15, 45, 0.9), rgba(26, 31, 60, 0.9));
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

.large-modal {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.modal-body {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.modal-actions {
    margin-top: 1.5rem;
    text-align: right;
}

/* Enhanced Issue Details Modal */
.issue-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.severity-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.severity-indicator.critical {
    background: linear-gradient(135deg, #FF4444, #CC0000);
    color: white;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}

.severity-indicator.high {
    background: linear-gradient(135deg, var(--warning-orange), #CC5500);
    color: white;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.severity-indicator.medium {
    background: linear-gradient(135deg, #4A9EFF, #0066CC);
    color: white;
    box-shadow: 0 0 20px rgba(74, 158, 255, 0.5);
}

.severity-indicator.low {
    background: linear-gradient(135deg, var(--cyber-green), #00CC66);
    color: white;
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.5);
}

.issue-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.meta-value {
    font-weight: 600;
    color: white;
}

.impact-financial-loss {
    color: #FF4444;
}

.impact-user-experience {
    color: var(--warning-orange);
}

.impact-security {
    color: #4A9EFF;
}

.confidence-bar {
    position: relative;
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyber-green), var(--electric-purple));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.confidence-text {
    position: absolute;
    top: -25px;
    right: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cyber-green);
}

.issue-description,
.steps-to-reproduce,
.expected-actual,
.evidence {
    margin-bottom: 2rem;
}

.issue-description h4,
.steps-to-reproduce h4,
.evidence h5 {
    color: var(--cyber-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.steps-to-reproduce ol {
    padding-left: 1.5rem;
}

.steps-to-reproduce li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.expected-actual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.expected,
.actual {
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.expected {
    background: rgba(0, 255, 135, 0.1);
    border-color: rgba(0, 255, 135, 0.3);
}

.actual {
    background: rgba(255, 68, 68, 0.1);
    border-color: rgba(255, 68, 68, 0.3);
}

.expected h5,
.actual h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.expected h5 {
    color: var(--cyber-green);
}

.actual h5 {
    color: #FF4444;
}

.evidence-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.screenshot {
    text-align: center;
}

.screenshot img {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.screenshot-caption {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.no-screenshot {
    padding: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    font-style: italic;
}

.jira-notice {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 255, 135, 0.1));
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
}

.notice-icon {
    margin-right: 1rem;
    color: var(--electric-purple);
    font-size: 1.5rem;
}

.notice-text h4 {
    color: var(--cyber-green);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.notice-text p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.btn-primary.success {
    background: var(--cyber-green) !important;
    color: var(--deep-space-blue) !important;
}

.technical-details h6 {
    color: var(--cyber-green);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.code-block {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.code-block pre {
    margin: 0;
    color: #ccc;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Jira Modal */
.jira-form {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.form-control {
    padding: 0.75rem;
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--electric-purple);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.form-control[readonly] {
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.7);
}

/* Utility Classes */
.mr-2 {
    margin-right: 0.5rem;
}

/* PDF Modal */
.pdf-options {
    margin-bottom: 2rem;
}

.pdf-options h4 {
    color: var(--cyber-green);
    margin-bottom: 1rem;
}

.pdf-options .form-group {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.pdf-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--cyber-green);
}

.pdf-preview {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.pdf-preview h5 {
    color: var(--cyber-green);
    margin-bottom: 1rem;
}

.preview-content {
    background: white;
    color: black;
    padding: 1.5rem;
    border-radius: 8px;
    font-family: Arial, sans-serif;
}

.preview-header h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.preview-header p {
    color: #666;
    font-size: 0.9rem;
}

.preview-summary {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.summary-item {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.summary-item.critical {
    background: #FF4444;
    color: white;
}

.summary-item.high {
    background: var(--warning-orange);
    color: white;
}

.summary-item.medium {
    background: #4A9EFF;
    color: white;
}

/* Button Large */
.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animations */

/* Removed keyframe animations for cleaner main screen */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .nav-link span {
        display: none;
    }
    
    .brain-container {
        width: 250px;
        height: 250px;
    }
    
    .holographic-card {
        margin-bottom: 1rem;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Modal Adjustments */
    .large-modal {
        max-width: 95%;
        margin: 1rem;
    }
    
    .issue-meta {
        grid-template-columns: 1fr;
    }
    
    .expected-actual {
        grid-template-columns: 1fr;
    }
    
    .evidence-content {
        grid-template-columns: 1fr;
    }
    
    .issue-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .modal-actions {
        text-align: center;
    }
    
    .modal-actions .btn-primary,
    .modal-actions .btn-secondary {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .preview-summary {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--electric-purple), var(--cyber-green));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--cyber-green), var(--electric-purple));
}
