:root {
    --bg-color: #0b0f19;
    --card-bg: #111827;
    --accent-color: #3b82f6;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --success: #10b981;
    --warning: #f59e0b;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body { background-color: var(--bg-color); color: var(--text-main); line-height: 1.6; }

header {
    display: flex; justify-content: space-between; align-items: center; padding: 20px 8%;
    background-color: rgba(17, 24, 39, 0.8); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid #1e293b;
}
.logo { font-size: 24px; font-weight: bold; color: #fff; }
.logo span { color: var(--accent-color); }
nav ul { display: flex; list-style: none; gap: 30px; }
nav ul li a { color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
nav ul li a:hover { color: #fff; }

.btn-trial {
    background-color: var(--accent-color); color: #fff; padding: 10px 20px;
    border-radius: 6px; text-decoration: none; font-weight: bold; font-size: 14px; cursor: pointer;
}

.hero { text-align: center; padding: 60px 20px 30px 20px; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 20px; color: #fff; line-height: 1.2; }
.hero p { color: var(--text-muted); font-size: 17px; }

.scanner-container { max-width: 1000px; margin: 20px auto; background-color: var(--card-bg); border: 1px solid #1e293b; border-radius: 12px; padding: 30px; }

/* Responsive Grid for Products */
.products-grid {
    display: grid; 
    grid-template-columns: 140px 1fr auto; 
    gap: 25px; 
    align-items: center;
    padding: 20px; 
    border-bottom: 1px solid #1e293b; 
    background-color: #0d1321; 
    margin-bottom: 15px; 
    border-radius: 8px;
    width: 100%;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    header { padding: 15px 4%; }
    nav { display: none; } /* Mobile optimization */
}

.img-container { 
    width: 140px; 
    height: 100px; 
    background-color: #1f2937; 
    border-radius: 6px; 
    border: 1px solid #374151; 
    overflow: hidden;
    display: flex; 
    justify-content: center; 
    align-items: center;
}
.img-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.products-grid:hover .img-container img { transform: scale(1.08); }

.product-details { display: flex; flex-direction: column; justify-content: center; }
.product-details h3 { color: #fff; font-size: 18px; margin-bottom: 8px; font-weight: 600; text-align: left; }
@media (max-width: 768px) { .product-details h3 { text-align: center; } }
.product-details p { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }

.badge-container { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 5px; }
@media (max-width: 768px) { .badge-container { justify-content: center; } }
.trend-badge { background-color: rgba(16, 185, 129, 0.1); color: var(--success); padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: bold; }
.platform-badge { background-color: rgba(59, 130, 246, 0.1); color: var(--accent-color); padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: bold; }

.btn-link {
    background-color: var(--accent-color); color: white; border: none; padding: 12px 20px;
    border-radius: 6px; font-size: 14px; cursor: pointer; font-weight: bold; text-decoration: none; 
    white-space: nowrap; transition: background 0.2s;
}
.btn-link:hover { background-color: #2563eb; }

.cpa-lock-box {
    margin-top: 30px; text-align: center; background: linear-gradient(180deg, rgba(17,24,39,0) 0%, rgba(17,24,39,1) 100%);
    padding: 30px; border-radius: 8px; border: 2px dashed #374151;
}
.btn-unlock { background-color: var(--warning); color: #000; border: none; padding: 12px 25px; border-radius: 8px; font-weight: bold; cursor: pointer; width: 100%; font-size: 16px; margin-top: 15px; }

footer { margin-top: 60px; background-color: #070a12; padding: 40px 20px; border-top: 1px solid #1e293b; text-align: center; color: var(--text-muted); font-size: 13px; }
.footer-links { margin-bottom: 15px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-weight: 500; cursor: pointer; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent-color); }

/* Modals Styling */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); z-index: 1000; justify-content: center; align-items: center; padding: 20px; }
.modal-content { background-color: #111827; border: 1px solid #1e293b; padding: 30px; border-radius: 12px; max-width: 700px; width: 100%; max-height: 80vh; overflow-y: auto; position: relative; color: #f3f4f6; text-align: left; }
.modal-content h2 { color: #fff; margin-bottom: 20px; border-bottom: 1px solid #1e293b; padding-bottom: 10px; font-size: 22px; }
.modal-content h3 { color: #fff; margin: 15px 0 5px 0; font-size: 16px; }
.modal-content p { font-size: 14px; color: #9ca3af; margin-bottom: 15px; line-height: 1.6; }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 28px; color: #9ca3af; cursor: pointer; font-weight: bold; }
.close-modal:hover { color: #fff; }

.chart-box { background: #070a12; border: 1px solid #1e293b; border-radius: 6px; padding: 15px; margin: 15px 0; display: flex; justify-content: space-around; text-align: center; }
.chart-stat { font-size: 20px; font-weight: bold; color: var(--success); }
