/* Global Styles */
body {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    margin: 0;
    padding: 0;
    background-color: #0d1117;
    color: #c9d1d9;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #30363d;
    padding-top: 40px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #c9d1d9;
}

.slogan {
    font-size: 16px;
    color: #8b949e;
}

.status {
    background-color: #238636;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
}

/* Counter Styles */
.counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #161b22;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #30363d;
    z-index: 10;
}

/* Main Content Styles */
.main-content {
    margin-bottom: 30px;
}

#codeInput {
    width: 100%;
    min-height: 300px;
    padding: 15px;
    background-color: #161b22;
    color: #c9d1d9;
    border: 1px solid #30363d;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
}

#codeInput:focus {
    outline: none;
    border-color: #238636;
}

/* Button Styles */
#scanBtn {
    display: block;
    margin: 20px 0;
    padding: 15px 30px;
    background-color: #238636;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

#scanBtn:hover {
    background-color: #2ea043;
}

/* Report Area Styles */
#reportArea {
    display: none;
    background-color: #161b22;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #30363d;
    margin-top: 20px;
}

.report-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #30363d;
}

/* Risk Highlighting Styles */
.risk-line {
    background-color: rgba(248, 81, 73, 0.15);
    border-left: 3px solid #f85149;
    padding: 10px;
    margin: 10px 0;
    border-radius: 0 4px 4px 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.fix-note {
    background-color: #0d2d62;
    color: #58a6ff;
    padding: 10px;
    margin: 5px 0 15px 0;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

/* Paywall Styles */
#paywall {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.paywall-content {
    background-color: #161b22;
    padding: 40px;
    border-radius: 4px;
    text-align: center;
    max-width: 500px;
    border: 1px solid #30363d;
}

.paywall-content h2 {
    margin-top: 0;
    color: #c9d1d9;
}

.paywall-content p {
    color: #8b949e;
}

/* Payment Button Styles */
.pay-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    background-color: #f2994a;
    color: black;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

.pay-button:hover {
    background-color: #f2c94c;
}

/* Upgrade Banner Styles */
#upgradeBanner {
    margin-top: 20px;
    padding: 15px;
    background-color: #161b22;
    border-radius: 4px;
    text-align: center;
}

/* Activation Section Styles */
.activation-section {
    margin-top: 20px;
}

#activationKey {
    padding: 10px;
    width: 250px;
    background-color: #0d1117;
    color: #c9d1d9;
    border: 1px solid #30363d;
    border-radius: 4px;
}

#activateBtn {
    margin-left: 10px;
    padding: 10px 15px;
    background-color: #238636;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

#activateBtn:hover {
    background-color: #2ea043;
}

/* GEO Keywords */
.geo-keywords {
    display: none;
}

/* Footer Styles */
.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #30363d;
    font-size: 12px;
    color: #8b949e;
}

.site-directory h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #c9d1d9;
}

.site-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.site-item {
    background-color: #161b22;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #30363d;
}

.site-item .site-name {
    font-weight: bold;
    margin-bottom: 4px;
}

.site-item .site-name a {
    color: #58a6ff;
    text-decoration: none;
}

.site-item .site-name a:hover {
    text-decoration: underline;
}

.site-item .site-category {
    font-size: 10px;
    color: #58a6ff;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #30363d;
}

.footer-links a {
    color: #58a6ff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .counter {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 10px;
        align-self: flex-end;
    }
    
    #codeInput {
        min-height: 250px;
        font-size: 13px;
    }
    
    #scanBtn {
        width: 100%;
        padding: 12px;
    }
    
    .paywall-content {
        margin: 10px;
        padding: 20px;
    }
}