/* JL95 - Purple Violet Theme */
:root {
    --bg: #080612;
    --bg-alt: #0d0a18;
    --card: #14101f;
    --card-hover: #1c1729;
    --primary: #8b5cf6;
    --accent: #a78bfa;
    --gold: #fbbf24;
    --text: #f5f3ff;
    --muted: #a1a1aa;
    --border: rgba(255,255,255,0.06);
}

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

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.75;
    font-size: 16px;
}

a { color: var(--accent); text-decoration: none; transition: 0.25s; }
a:hover { color: var(--gold); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    background: rgba(8,6,18,0.95);
    padding: 16px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner { display: flex; justify-content: space-between; align-items: center; }

.brand {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav { display: flex; gap: 24px; }
.main-nav a { color: var(--muted); font-weight: 500; font-size: 14px; }
.main-nav a:hover { color: var(--text); }

.header-actions { display: flex; gap: 10px; }

.btn {
    padding: 11px 22px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--bg); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    box-shadow: 0 4px 16px rgba(139,92,246,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(139,92,246,0.4); color: #fff; }

.mobile-menu { display: none; background: none; border: none; color: var(--text); font-size: 26px; cursor: pointer; }

/* Banner */
.banner {
    padding: 130px 0 70px;
    background: radial-gradient(ellipse at 30% 40%, rgba(139,92,246,0.12) 0%, transparent 55%), var(--bg);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.banner-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }

.banner-text h1 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.2; margin-bottom: 20px; }

.banner-text .highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-text .intro { font-size: 17px; color: var(--muted); margin-bottom: 28px; line-height: 1.8; }
.banner-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.banner-image img { width: 100%; border-radius: 16px; box-shadow: 0 16px 50px rgba(139,92,246,0.12); }

/* Metrics */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 40px 0; }

.metric-item {
    background: var(--card);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border);
}

.metric-item .number { font-size: 28px; font-weight: 700; color: var(--primary); }
.metric-item .desc { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Section */
.section { padding: 70px 0; }
.section-dark { background: var(--bg-alt); }

.section-title { text-align: center; margin-bottom: 45px; }
.section-title h2 { font-size: 32px; margin-bottom: 12px; }
.section-title p { color: var(--muted); font-size: 16px; }

/* Grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.tile {
    background: var(--card);
    border-radius: 14px;
    padding: 26px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.tile:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 12px 35px rgba(139,92,246,0.1); }

.tile .ico {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.tile h3 { font-size: 18px; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Article */
.article { max-width: 850px; margin: 0 auto; }

.article h2 { font-size: 28px; margin-bottom: 18px; padding-left: 14px; border-left: 3px solid var(--primary); }
.article h3 { font-size: 20px; margin: 32px 0 12px; color: var(--accent); }
.article p { color: var(--muted); margin-bottom: 16px; line-height: 1.85; }
.article ul, .article ol { margin: 16px 0 20px 22px; color: var(--muted); }
.article li { margin-bottom: 8px; line-height: 1.7; }
.article li strong { color: var(--gold); }

/* Table */
.info-table {
    background: var(--card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin: 24px 0;
}

.info-row { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: none; }
.info-row .lbl { padding: 12px 16px; background: rgba(139,92,246,0.05); color: var(--muted); font-weight: 500; }
.info-row .val { padding: 12px 16px; font-weight: 600; }

/* Image */
.img-container { margin: 32px 0; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,0.25); }
.img-container img { width: 100%; height: auto; display: block; }

/* Compare */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }

.good-box, .bad-box { background: var(--card); border-radius: 10px; padding: 22px; border: 1px solid var(--border); }
.good-box h4 { color: #22c55e; margin-bottom: 12px; }
.bad-box h4 { color: #ef4444; margin-bottom: 12px; }
.good-box ul, .bad-box ul { list-style: none; margin: 0; padding: 0; }
.good-box li, .bad-box li { padding: 5px 0; color: var(--muted); }
.good-box li::before { content: '✓ '; color: #22c55e; }
.bad-box li::before { content: '✗ '; color: #ef4444; }

/* FAQ */
.faq-block { margin: 24px 0; }

.faq-entry { background: var(--card); border-radius: 8px; margin-bottom: 8px; border: 1px solid var(--border); overflow: hidden; }
.faq-question { padding: 16px 18px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; color: var(--primary); font-size: 20px; }
.faq-entry.active .faq-question::after { content: '−'; }
.faq-answer { padding: 0 18px 16px; color: var(--muted); display: none; line-height: 1.75; }
.faq-entry.active .faq-answer { display: block; }

/* CTA */
.cta-block {
    padding: 90px 0;
    background: radial-gradient(ellipse at center, rgba(139,92,246,0.12) 0%, transparent 65%), var(--bg-alt);
    text-align: center;
}

.cta-inner { max-width: 550px; margin: 0 auto; }
.cta-inner h2 { font-size: 34px; margin-bottom: 16px; }
.cta-inner p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }

/* Login */
.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px 20px 50px;
    background: radial-gradient(ellipse at center, rgba(139,92,246,0.08) 0%, transparent 55%), var(--bg);
}

.login-card {
    background: var(--card);
    border-radius: 18px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border: 1px solid var(--border);
    text-align: center;
}

.login-card .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

.login-card h1 { font-size: 24px; margin-bottom: 6px; }
.login-card .tagline { color: var(--muted); margin-bottom: 26px; }
.login-card .actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.login-card .actions .btn { width: 100%; justify-content: center; padding: 13px; }
.login-card .help-text { color: var(--muted); font-size: 13px; line-height: 1.75; }
.login-card .help-text a { color: var(--accent); }

/* Nav Links */
.nav-links { background: var(--card); border-radius: 10px; padding: 20px; margin: 32px 0; }
.nav-links h4 { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.nav-links .links { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-links .links a { background: var(--bg); padding: 8px 14px; border-radius: 6px; font-size: 13px; color: var(--text); }
.nav-links .links a:hover { background: var(--primary); color: #fff; }

/* Footer */
.site-footer { background: var(--bg-alt); padding: 50px 0 20px; border-top: 1px solid var(--border); }

.footer-layout { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 35px; margin-bottom: 35px; }
.footer-about p { color: var(--muted); margin-top: 12px; font-size: 13px; line-height: 1.7; }
.footer-links h5 { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.footer-links a { display: block; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.footer-links a:hover { color: var(--text); }

.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--muted); font-size: 12px; }

.age-warning {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: 6px;
    padding: 12px;
    margin-top: 12px;
    font-size: 11px;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-layout { grid-template-columns: repeat(2, 1fr); }
    .metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-alt); flex-direction: column; padding: 16px; gap: 12px; }
    .main-nav.show { display: flex; }
    .mobile-menu { display: block; }
    .header-actions { display: none; }
    .banner { padding: 110px 0 50px; }
    .banner-layout { grid-template-columns: 1fr; text-align: center; }
    .banner-buttons { justify-content: center; }
    .grid-3 { grid-template-columns: 1fr; }
    .compare-grid { grid-template-columns: 1fr; }
    .info-row { grid-template-columns: 1fr; }
    .info-row .lbl { border-bottom: 1px solid var(--border); }
    .footer-layout { grid-template-columns: 1fr; text-align: center; }
}
