/* Torzon MARKET Design - Dark Marketplace Style */

:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #252525;
    --bg-dark: #0f0f0f;
    --bg-nav: #1e1e1e;
    --accent-blue: #4a9eff;
    --accent-blue-dark: #3a7fdf;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --border-color: #333333;
    --border-light: #404040;
    --success-green: #4caf50;
    --warning-red: #f44336;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Top Bar Header */
.terminal-header {
    background-color: var(--bg-nav);
    border-bottom: 2px solid var(--border-color);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Navigation */
.terminal-nav {
    display: flex;
    gap: 25px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 5px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header Meta */
.header-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Enter Market Button */
.enter-market-btn {
    background-color: var(--accent-blue);
    border: none;
    color: var(--text-primary);
    padding: 8px 18px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 3px;
}

.enter-market-btn:hover {
    background-color: var(--accent-blue-dark);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.4);
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    margin-bottom: 50px;
    padding: 40px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    border-radius: 4px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero-lead {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-weight: 400;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 25px;
}

.cta-button {
    background-color: var(--accent-blue);
    border: none;
    color: var(--text-primary);
    padding: 12px 28px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    border-radius: 3px;
}

.cta-button:hover {
    background-color: var(--accent-blue-dark);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.4);
    transform: translateY(-2px);
}

.status-indicator {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.status-active {
    color: var(--success-green);
    font-weight: 600;
}

.hero-image {
    border: 1px solid var(--border-color);
    padding: 0;
    background-color: var(--bg-dark);
    border-radius: 4px;
    overflow: hidden;
}

.screenshot-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sections */
section {
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    border-radius: 4px;
}

section h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 12px;
}

section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    margin-top: 0;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 12px;
}

section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 25px;
    color: var(--text-primary);
}

section p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

/* Verified Links Section */
.verified-links-section {
    background-color: var(--bg-secondary);
    margin-bottom: 50px;
}

.links-container {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
    margin-top: 25px;
}

.link-card {
    border: 1px solid var(--border-color);
    padding: 18px;
    background-color: var(--bg-primary);
    transition: all 0.2s ease;
    border-radius: 4px;
}

.link-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.2);
}

.link-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.link-status {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border: 1px solid var(--success-green);
    color: var(--success-green);
    background-color: rgba(76, 175, 80, 0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
}

.onion-link {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--accent-blue);
    word-break: break-all;
    line-height: 1.7;
    margin-top: 8px;
    font-weight: 500;
}

.copy-btn {
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 6px 14px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    border-radius: 3px;
}

.copy-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background-color: rgba(74, 158, 255, 0.1);
}

/* PGP Verification - Compact and Scrollable */
.pgp-verification-tab {
    margin-top: 30px;
    border: 1px solid var(--border-color);
    padding: 18px;
    background-color: var(--bg-primary);
    border-radius: 4px;
}

.pgp-verification-tab h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pgp-code {
    background-color: var(--bg-dark);
    padding: 12px;
    border: 1px solid var(--border-color);
    overflow-x: auto;
    margin-top: 12px;
    max-height: 180px;
    overflow-y: auto;
    border-radius: 3px;
}

.pgp-code::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.pgp-code::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

.pgp-code::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 3px;
}

.pgp-code::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue-dark);
}

.pgp-code pre {
    font-family: 'Courier New', monospace;
    font-size: 9px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    white-space: pre;
}

/* Market Statistics */
.market-stats {
    margin-top: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.stat-card {
    border: 1px solid var(--border-color);
    padding: 25px;
    background-color: var(--bg-primary);
    transition: all 0.2s ease;
    text-align: center;
    border-radius: 4px;
}

.stat-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.2);
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.stat-bar {
    height: 5px;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    border-radius: 3px;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-blue-dark));
    transition: width 0.5s ease;
}

/* Feature Cards */
.features-section {
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    border: 1px solid var(--border-color);
    padding: 25px;
    background-color: var(--bg-primary);
    transition: all 0.2s ease;
    border-radius: 4px;
    text-align: center;
}

.feature-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
    transform: translateY(-3px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    filter: brightness(0) invert(1) sepia(100%) saturate(5000%) hue-rotate(200deg);
    opacity: 0.9;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Crypto Section */
.crypto-section {
    margin-bottom: 50px;
}

.crypto-content {
    margin-bottom: 25px;
}

.crypto-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.section-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    text-decoration: none;
    border-radius: 3px;
}

.section-link:hover {
    background-color: var(--accent-blue);
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.3);
}

/* OPSEC Section */
.opsec-section {
    margin-bottom: 50px;
}

.opsec-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.opsec-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
}

.opsec-list li:last-child {
    border-bottom: none;
}

.opsec-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
    font-size: 16px;
}

/* News Section */
.news-section {
    margin-bottom: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.news-card {
    border: 1px solid var(--border-color);
    padding: 20px;
    background-color: var(--bg-primary);
    transition: all 0.2s ease;
    border-radius: 4px;
}

.news-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
    transform: translateY(-3px);
}

.news-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 12px;
    filter: brightness(0) invert(1) sepia(100%) saturate(5000%) hue-rotate(200deg);
    opacity: 0.9;
}

.news-date {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq-section {
    margin-bottom: 50px;
}

.faq-container {
    margin-top: 30px;
}

.faq-item {
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 15px;
    background-color: var(--bg-primary);
    transition: all 0.2s ease;
    border-radius: 4px;
}

.faq-item:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.15);
}

.faq-question {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-blue);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-answer {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Links */
a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent-blue-dark);
    text-decoration: underline;
}

/* Footer */
.terminal-footer {
    background-color: var(--bg-dark);
    border-top: 2px solid var(--border-color);
    padding: 25px 20px;
    margin-top: 60px;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.last-updated {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .terminal-nav {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    section {
        padding: 25px 20px;
    }
}
