/* ============================================
   PoC Hub - Copper Security Research Group
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --text-primary: #e0e0e0;
    --text-secondary: #888;
    --accent-red: #e94560;
    --accent-orange: #ff6b35;
    --accent-yellow: #f7c731;
    --accent-green: #50fa7b;
    --accent-blue: #4d9fff;
    --accent-purple: #a855f7;
    --border-color: #2a2a3a;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo-icon {
    font-size: 48px;
}

.logo h1 {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 10px;
    font-family: var(--font-mono);
}

/* Warning Banner */
.warning-banner {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.1), rgba(255, 107, 53, 0.1));
    border: 1px solid var(--accent-red);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.warning-banner strong {
    color: var(--accent-red);
    font-size: 16px;
}

.warning-banner p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 5px;
}

/* Sections */
section {
    margin-bottom: 40px;
}

section h2 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* Target Grid */
.target-grid, .tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.target-card, .tool-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.target-card:hover, .tool-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.1);
}

.target-icon, .tool-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.target-card h3, .tool-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 13px;
}

.program-badge {
    display: inline-block;
    background: var(--accent-purple);
    color: white;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.vuln-count {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 10px 0;
    font-family: var(--font-mono);
}

.vuln-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 15px;
}

.vuln-tags li {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.tag-critical { background: #dc2626; color: white; }
.tag-high { background: var(--accent-red); color: white; }
.tag-medium { background: var(--accent-orange); color: white; }
.tag-low { background: var(--accent-yellow); color: #000; }
.tag-info { background: var(--accent-blue); color: white; }

/* Activity Log */
.activity-log {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    font-family: var(--font-mono);
    font-size: 12px;
    max-height: 200px;
    overflow-y: auto;
}

.log-entry {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.log-entry:last-child {
    border-bottom: none;
}

.log-time {
    color: var(--accent-blue);
    margin-right: 10px;
}

.log-msg {
    color: var(--text-secondary);
}

.log-entry.success .log-msg { color: var(--accent-green); }
.log-entry.error .log-msg { color: var(--accent-red); }
.log-entry.warning .log-msg { color: var(--accent-orange); }

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 13px;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: var(--accent-blue);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ============================================
   PoC Page Styles
   ============================================ */

.poc-header {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.poc-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.poc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
    font-size: 13px;
    color: var(--text-secondary);
}

.poc-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--accent-red);
    color: white;
}

.btn-primary:hover {
    background: #d63850;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-red);
}

/* Code blocks */
pre {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 13px;
    margin: 15px 0;
}

code {
    font-family: var(--font-mono);
    color: var(--accent-green);
}

/* Form elements */
input, select, textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
    margin: 8px 0;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-red);
}

label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .logo h1 {
        font-size: 28px;
    }

    .target-grid, .tool-grid {
        grid-template-columns: 1fr;
    }
}
