/* --- CYBER-BRUTALISM VARIABLES --- */
:root {
    --bg-main: #09090b;
    --bg-darker: #000000;
    --bg-card: #18181b;
    --primary-pink: #ff0055;
    --primary-cyan: #00f0ff;
    --text-main: #e4e4e7;
    --text-muted: #a1a1aa;
    --border-color: #3f3f46;
    
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --border-width: 2px;
    --shadow-hard: 6px 6px 0px rgba(0, 0, 0, 1);
    --shadow-pink: 4px 4px 0px var(--primary-pink);
    --shadow-cyan: 4px 4px 0px var(--primary-cyan);
    --transition: 0.2s ease-in-out;
}

/* --- RESETS & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default; /* Desktop custom cursor handles hover */
}

/* Custom Cursor */
.cyber-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 20px; height: 20px;
    border: 2px solid var(--primary-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    mix-blend-mode: difference;
    display: none;
}
@media (pointer: fine) { .cyber-cursor { display: block; } }

/* Utility */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; display: block; border: var(--border-width) solid var(--border-color); }
a { text-decoration: none; color: inherit; }
.text-center { text-align: center; }
.mw-800 { max-width: 800px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 2rem; }
.p-0 { padding: 0 !important; }
.bg-darker { background-color: var(--bg-darker); padding: 80px 0; }
section { padding: 80px 0; border-bottom: var(--border-width) solid var(--border-color); }

/* Typography */
h1 { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.5rem); text-transform: uppercase; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px; }
h2 { font-family: var(--font-head); font-size: clamp(1.5rem, 3.5vw, 2.2rem); text-transform: uppercase; margin-bottom: 1.2rem; }
h3 { font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase; margin-bottom: 1rem; color: #fff; }
h4 { font-family: var(--font-head); font-size: 1rem; text-transform: uppercase; margin-bottom: 0.8rem; color: var(--text-muted); }
p { margin-bottom: 1rem; color: var(--text-muted); }
.lead-text { font-size: 1.2rem; color: var(--text-main); font-weight: 300; }
.caption { font-size: 0.85rem; color: var(--text-muted); border-top: 1px dashed var(--border-color); padding-top: 10px; margin-top: 10px; font-family: monospace; }
.small { font-size: 0.9rem; }
.text-pink { color: var(--primary-pink); }
.text-cyan { color: var(--primary-cyan); }
.font-bold { font-weight: 500; color: #fff; }

/* Brutalist UI Elements */
.brutal-card {
    background: var(--bg-card);
    border: var(--border-width) solid var(--border-color);
    padding: 30px;
    box-shadow: var(--shadow-hard);
    position: relative;
    transition: var(--transition);
}
.brutal-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0px rgba(0,0,0,1); }
.border-pink { border-color: var(--primary-pink); box-shadow: var(--shadow-pink); }
.border-cyan { border-color: var(--primary-cyan); box-shadow: var(--shadow-cyan); }

.brutal-btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-pink);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    border: var(--border-width) solid #fff;
    box-shadow: 4px 4px 0px #fff;
    transition: var(--transition);
    cursor: pointer;
}
.brutal-btn:hover { background: #fff; color: var(--primary-pink); box-shadow: 6px 6px 0px var(--primary-cyan); border-color: var(--primary-cyan); }

.system-badge { display: inline-block; font-family: monospace; color: var(--primary-cyan); background: rgba(0, 240, 255, 0.1); padding: 5px 10px; border: 1px solid var(--primary-cyan); margin-bottom: 1rem; font-size: 0.9rem; }
.alert-box { border: 2px dashed var(--primary-cyan); padding: 20px; background: rgba(0, 240, 255, 0.05); font-size: 0.95rem; margin-top: 20px; }
.warning-box { background: rgba(255, 0, 85, 0.05); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.align-start { align-items: start; }
.align-center { align-items: center; }
.direction-rtl { direction: rtl; }
.direction-rtl > * { direction: ltr; }

/* Header & Progress Bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 4px; background: var(--primary-cyan); z-index: 1001; width: 0%; transition: width 0.1s; }
.brutal-header { position: fixed; top: 4px; width: 100%; background: rgba(9, 9, 11, 0.95); border-bottom: var(--border-width) solid var(--border-color); z-index: 1000; padding: 15px 0; backdrop-filter: blur(5px); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 30px; border: none; }
.nav-menu a { font-family: var(--font-head); font-size: 0.9rem; color: #fff; margin-left: 20px; position: relative; overflow: hidden; display: inline-block; }
.nav-menu a::before { content: attr(data-text); position: absolute; left: 0; top: 0; color: var(--primary-pink); width: 0; overflow: hidden; white-space: nowrap; transition: width 0.3s ease; }
.nav-menu a:hover::before { width: 100%; }

/* Hero Section */
.hero-section { padding: 150px 0 80px; background: linear-gradient(45deg, #09090b 20%, #18181b 100%); }
.warning-text { font-family: monospace; font-size: 0.85rem; color: #ff5555; border-left: 2px solid #ff5555; padding-left: 15px; }

/* Marquee */
.marquee-container { border-top: var(--border-width) solid var(--border-color); border-bottom: var(--border-width) solid var(--border-color); background: var(--primary-pink); color: #fff; font-family: var(--font-head); font-weight: 700; padding: 10px 0; overflow: hidden; white-space: nowrap; display: flex; }
.marquee-content { display: inline-block; animation: marquee 20s linear infinite; font-size: 1.2rem; }
.marquee-content span { margin: 0 20px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Lists */
.cyber-list { counter-reset: cyber-counter; list-style: none; margin-bottom: 20px; }
.cyber-list li { position: relative; padding-left: 40px; margin-bottom: 12px; color: var(--text-muted); border-bottom: 1px dashed var(--border-color); padding-bottom: 8px;}
.cyber-list li::before { content: "0" counter(cyber-counter); counter-increment: cyber-counter; position: absolute; left: 0; top: 0; color: var(--primary-cyan); font-family: var(--font-head); font-weight: 700; }
.cyan-markers li::before { color: var(--primary-cyan); }
.pink-markers li::before { color: var(--primary-pink); }

.cyber-bullets { list-style: none; margin-bottom: 20px; }
.cyber-bullets li { position: relative; padding-left: 25px; margin-bottom: 10px; color: var(--text-muted); }
.cyber-bullets li::before { content: ">"; position: absolute; left: 0; top: 0; font-family: monospace; font-weight: bold; }
.cyan-bullets li::before { color: var(--primary-cyan); }
.pink-bullets li::before { color: var(--primary-pink); }

/* Tables */
.cyber-table { width: 100%; border-collapse: collapse; }
.cyber-table td { padding: 15px; border-bottom: 1px solid var(--border-color); font-size: 0.95rem; }
.cyber-table td:first-child { font-family: var(--font-head); color: #fff; border-right: 1px solid var(--border-color); width: 40%; }
.cyber-table tr:last-child td { border-bottom: none; }
.highlight-cell { background: var(--primary-cyan); color: #000 !important; font-weight: 700; }

/* Image Wrappers */
.image-wrapper { position: relative; }
.brutal-shadow { box-shadow: var(--shadow-hard); border: var(--border-width) solid var(--border-color); padding: 5px; background: var(--bg-card); }
.brutal-shadow-cyan { box-shadow: var(--shadow-cyan); border: var(--border-width) solid var(--primary-cyan); padding: 5px; background: var(--bg-card); }
.brutal-shadow img, .brutal-shadow-cyan img { border: none; }

/* Ratings */
.rating-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.rating-bar-card { background: var(--bg-card); padding: 20px; border: 1px solid var(--border-color); }
.rating-info { display: flex; justify-content: space-between; font-family: var(--font-head); color: #fff; margin-bottom: 10px; font-size: 0.95rem; }
.progress-track { width: 100%; height: 10px; background: #000; border: 1px solid var(--border-color); margin-bottom: 10px; }
.progress-fill { height: 100%; }
.progress-fill.pink { background: var(--primary-pink); }
.progress-fill.cyan { background: var(--primary-cyan); }

/* FAQ Accordion */
.cyber-accordion { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.accordion-item { border: var(--border-width) solid var(--border-color); background: var(--bg-card); }
.accordion-btn { width: 100%; background: none; border: none; padding: 20px; text-align: left; color: #fff; font-family: var(--font-head); font-size: 1.1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-btn::after { content: '[+]'; color: var(--primary-cyan); font-family: monospace; }
.accordion-item.active .accordion-btn::after { content: '[-]'; color: var(--primary-pink); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #000; }
.inner-content { padding: 20px; border-top: 1px dashed var(--border-color); }
.inner-content p { margin: 0; }

/* Footer */
.brutal-footer { background: #000; padding: 40px 0; border-top: var(--border-width) solid var(--border-color); text-align: center; }
.footer-logo { height: 30px; margin: 0 auto; border: none; filter: grayscale(100%); opacity: 0.5; }
.footer-links span { font-family: monospace; font-size: 0.85rem; color: var(--border-color); }

/* Responsive */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; gap: 30px; }
    .direction-rtl { direction: ltr; }
    .direction-rtl > * { direction: ltr; }
}
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .nav-menu { display: none; }
    .cyber-table td { display: block; width: 100% !important; border-right: none !important; }
    .cyber-table td:first-child { background: rgba(255,255,255,0.05); }
    .brutal-card { padding: 20px; }
}