/* ============================================
   VARIABLES CSS - Page Honeypot
============================================ */
:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-accent: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border: #334155;
    --accent-blue: #60a5fa;
    --accent-indigo: #818cf8;
    --accent-teal: #2dd4bf;
    --accent-purple: #a78bfa;
    --accent-orange: #fb923c;
    --accent-green: #4ade80;
    --accent-yellow: #facc15;
}

/* ============================================
   RESET & BASE
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--text-primary);
    line-height: 1.6;
}

/* ============================================
   CONTAINER
============================================ */
.project-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* ============================================
   HEADER
============================================ */
.project-header {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 2px solid var(--border);
    margin-bottom: 3rem;
    position: relative;
}

.header-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.project-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.back-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(96, 165, 250, 0.1);
    color: var(--accent-blue);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid var(--accent-blue);
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}

/* ============================================
   SECTIONS
============================================ */
.project-section {
    margin-bottom: 3rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 2px solid var(--border);
    padding: 3rem;
    transition: all 0.3s ease;
}

.project-section:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 40px rgba(96, 165, 250, 0.1);
}

.section-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.section-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ============================================
   INFO GRID
============================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: rgba(51, 65, 85, 0.5);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--accent-blue);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   TECH STACK
============================================ */
.tech-stack {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(51, 65, 85, 0.5);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: var(--accent-blue);
    transform: translateX(10px);
}

.tech-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.tech-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--accent-blue);
}

.tech-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   ARCHITECTURE DIAGRAM
============================================ */
.architecture-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 2rem 0;
}

.arch-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arch-box {
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid;
    min-width: 300px;
    text-align: center;
    transition: all 0.3s ease;
}

.arch-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.arch-box.attacker {
    background: rgba(248, 113, 113, 0.1);
    border-color: var(--accent-orange);
}

.arch-box.honeypot {
    background: rgba(250, 204, 21, 0.1);
    border-color: var(--accent-yellow);
}

.arch-box.python {
    background: rgba(96, 165, 250, 0.1);
    border-color: var(--accent-blue);
}

.arch-box.discord {
    background: rgba(129, 140, 248, 0.1);
    border-color: var(--accent-indigo);
}

.arch-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.arch-box h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.arch-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.arch-arrow {
    font-size: 3rem;
    color: var(--accent-blue);
    margin: 1rem 0;
}

/* ============================================
   CODE BLOCKS
============================================ */
.code-intro {
    background: rgba(96, 165, 250, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
    margin-bottom: 2rem;
}

.code-intro code {
    background: rgba(51, 65, 85, 0.8);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--accent-teal);
}

.code-block {
    background: #1e293b;
    border-radius: 12px;
    border: 2px solid var(--border);
    overflow: hidden;
    margin: 2rem 0;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(51, 65, 85, 0.5);
    border-bottom: 1px solid var(--border);
}

.code-lang {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--accent-blue);
    font-size: 0.9rem;
}

.copy-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-accent);
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--accent-blue);
    color: white;
}

.copy-btn.copied {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: white;
}

.code-block pre {
    margin: 0;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   CONFIG EXPLANATION
============================================ */
.config-explanation {
    background: rgba(96, 165, 250, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
    margin-top: 2rem;
}

.config-explanation h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.config-explanation ul {
    list-style: none;
    padding: 0;
}

.config-explanation li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.config-explanation li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.config-explanation strong {
    color: var(--text-primary);
}

/* ============================================
   SCREENSHOT
============================================ */
.screenshot-container {
    margin: 2rem 0;
    text-align: center;
}

.screenshot-img {
    max-width: 100%;
    border-radius: 12px;
    border: 2px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.screenshot-img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(96, 165, 250, 0.3);
}

.screenshot-caption {
    margin-top: 1rem;
    font-style: italic;
    color: var(--text-secondary);
}

.alert-features {
    margin-top: 2rem;
    background: rgba(96, 165, 250, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
}

.alert-features h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.alert-features ul {
    list-style: none;
    padding: 0;
}

.alert-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.alert-features strong {
    color: var(--text-primary);
}

/* ============================================
   RESULTS SECTION
============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(51, 65, 85, 0.5);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   OBSERVATIONS
============================================ */
.observations {
    margin-top: 3rem;
}

.observations h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent-blue);
}

.observation-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(51, 65, 85, 0.5);
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.observation-item:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: var(--accent-blue);
    transform: translateX(10px);
}

.obs-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.obs-content h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.obs-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   CONCLUSION
============================================ */
.conclusion-content {
    background: rgba(96, 165, 250, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-blue);
}

.conclusion-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.conclusion-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.conclusion-list li::before {
    position: absolute;
    left: 0;
}

/* ============================================
   FOOTER
============================================ */
.project-footer {
    margin-top: 4rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 2px solid var(--border);
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-indigo);
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
    .project-container {
        padding: 1rem;
    }

    .project-header h1 {
        font-size: 2rem;
    }

    .header-subtitle {
        font-size: 1rem;
    }

    .project-section {
        padding: 2rem;
    }

    .section-content h2 {
        font-size: 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .arch-box {
        min-width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .observation-item {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}