/* CSS Variables: Cyber Neon & Glassmorphism Theme */
:root {
    --color-bg-base: #050814;
    --color-bg-glass: rgba(10, 15, 30, 0.65);
    --color-bg-glass-hover: rgba(15, 25, 45, 0.85);
    
    --neon-cyan: #00f3ff;
    --neon-cyan-dim: rgba(0, 243, 255, 0.2);
    --neon-magenta: #ff007f;
    --neon-magenta-dim: rgba(255, 0, 127, 0.2);
    --neon-purple: #9d00ff;
    
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    
    --font-heading: 'Chakra Petch', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    background-color: var(--color-bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Grid Effect */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
    pointer-events: none;
}
.cyber-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 20%, var(--color-bg-base) 100%);
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
p {
    margin-bottom: 1.2rem;
}
a {
    text-decoration: none;
    color: var(--neon-cyan);
    transition: var(--transition-fast);
}
a:hover {
    color: var(--neon-magenta);
    text-shadow: 0 0 8px var(--neon-magenta);
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.section {
    padding: 80px 0;
    position: relative;
}
.pt-120 { padding-top: 120px; }
.pb-80 { padding-bottom: 80px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.p-20 { padding: 20px; }
.p-40 { padding: 40px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.relative { position: relative; }
.radius-12 { border-radius: var(--radius-md); }

/* Neon Colors Text */
.neon-text-cyan {
    color: #fff;
    text-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-cyan);
}
.neon-text-magenta {
    color: #fff;
    text-shadow: 0 0 5px var(--neon-magenta), 0 0 10px var(--neon-magenta);
}
.neon-text-purple {
    color: #fff;
    text-shadow: 0 0 5px var(--neon-purple), 0 0 10px var(--neon-purple);
}

/* Layout Grids & Flex */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.gap-30 { gap: 30px; }
.gap-40 { gap: 40px; }

.flex-layout {
    display: flex;
    gap: 40px;
}
.flex-layout > * {
    flex: 1;
}
.align-center {
    align-items: center;
}

/* Header & Nav */
.cyber-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 8, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neon-cyan-dim);
    transition: var(--transition-fast);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    height: 40px;
    display: block;
    filter: drop-shadow(0 0 5px var(--neon-cyan));
}
.cyber-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}
.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: var(--transition-fast);
    box-shadow: 0 0 10px var(--neon-cyan);
}
.nav-link:hover::after {
    width: 100%;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--neon-cyan);
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.glitch-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    color: #fff;
    position: relative;
    text-shadow: 2px 2px var(--neon-cyan), -2px -2px var(--neon-magenta);
    margin-bottom: 20px;
}
.neon-badge {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: inset 0 0 10px var(--neon-cyan-dim), 0 0 10px var(--neon-cyan-dim);
}
.intro-text {
    font-size: 1.15rem;
    color: var(--text-muted);
}

/* Buttons */
.cyber-btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid transparent;
}
.cyber-btn.primary {
    background: transparent;
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px var(--neon-cyan-dim);
}
.cyber-btn.primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--neon-cyan);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-fast);
}
.cyber-btn.primary:hover {
    color: #000;
    box-shadow: 0 0 25px var(--neon-cyan);
    text-shadow: none;
}
.cyber-btn.primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Glassmorphism Cards & Panels */
.bg-dark-glass {
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.8), rgba(5, 8, 15, 0.9));
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cyber-card {
    background: var(--color-bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition-fast);
}
.cyber-card:hover {
    background: var(--color-bg-glass-hover);
    border-color: rgba(255, 255, 255, 0.2);
}
.panel-cyan { border-top: 3px solid var(--neon-cyan); box-shadow: 0 -5px 20px var(--neon-cyan-dim); }
.panel-magenta { border-top: 3px solid var(--neon-magenta); box-shadow: 0 -5px 20px var(--neon-magenta-dim); }
.border-glow { border: 1px solid var(--neon-purple); box-shadow: 0 0 20px rgba(157, 0, 255, 0.2); }
.outline-only { background: transparent; border: 1px dashed var(--neon-cyan); }
.border-green { border-left: 4px solid #00ff66; }
.border-red { border-left: 4px solid #ff3333; }
.border-purple { border-left: 4px solid var(--neon-purple); }

.bg-mesh {
    background-image: radial-gradient(at 0% 0%, rgba(255, 0, 127, 0.1) 0px, transparent 50%),
                      radial-gradient(at 100% 100%, rgba(0, 243, 255, 0.1) 0px, transparent 50%);
}

.panel-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Tables */
.table-container {
    overflow-x: auto;
}
.cyber-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.cyber-table th, .cyber-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cyber-table th {
    font-family: var(--font-heading);
    color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.05);
}
.cyber-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.variant-2 th { color: var(--neon-magenta); background: rgba(255, 0, 127, 0.05); }

/* Badges for scores */
.score {
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-family: var(--font-heading);
}
.badge-warn { background: rgba(255, 165, 0, 0.2); color: #ffa500; border: 1px solid #ffa500; }
.badge-good { background: rgba(0, 243, 255, 0.2); color: var(--neon-cyan); border: 1px solid var(--neon-cyan); }
.badge-excel { background: rgba(157, 0, 255, 0.2); color: #e099ff; border: 1px solid var(--neon-purple); }
.badge-max { background: rgba(0, 255, 102, 0.2); color: #00ff66; border: 1px solid #00ff66; }

/* Images & Figures */
.cyber-figure {
    margin: 0;
    padding: 10px;
    background: rgba(0,0,0,0.4);
    border-radius: var(--radius-md);
    position: relative;
}
.frame-cyan { border: 1px solid var(--neon-cyan); box-shadow: 0 0 15px var(--neon-cyan-dim); }
.frame-magenta { border: 1px solid var(--neon-magenta); box-shadow: 0 0 15px var(--neon-magenta-dim); }
.frame-purple { border: 1px solid var(--neon-purple); box-shadow: 0 0 15px rgba(157, 0, 255, 0.2); }

.img-wrapper {
    border-radius: calc(var(--radius-md) - 5px);
    overflow: hidden;
    display: block;
}
.img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}
.zoom-effect:hover img {
    transform: scale(1.05);
}
.floating {
    animation: float-y 6s ease-in-out infinite;
}
.floating-alt {
    animation: float-y 5s ease-in-out infinite reverse;
}
@keyframes float-y {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

figcaption {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
}

/* Lists */
.neon-list {
    list-style: none;
    counter-reset: cyber-counter;
}
.neon-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 15px;
}
.neon-list li::before {
    counter-increment: cyber-counter;
    content: "0" counter(cyber-counter);
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--neon-cyan);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(0, 243, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid var(--neon-cyan-dim);
}
.neon-list.compact li { margin-bottom: 10px; font-size: 1rem; }

.bullet-list { list-style: none; }
.bullet-list li { position: relative; padding-left: 25px; margin-bottom: 12px; }
.bullet-list li::before {
    content: '►';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-size: 0.8rem;
    top: 5px;
}
.list-green li::before { color: #00ff66; content: '✔'; font-size: 1rem; top: 2px;}
.list-red li::before { color: #ff3333; content: '✘'; font-size: 1rem; top: 2px;}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    list-style: none;
}
.data-grid li {
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-left: 2px solid var(--neon-cyan);
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
}

/* Other elements */
.alert-box {
    background: rgba(255, 0, 127, 0.05);
    border-left: 4px solid var(--neon-magenta);
    padding: 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.text-green { color: #00ff66; }
.text-red { color: #ff3333; }
.badge-verdict {
    display: inline-block;
    background: var(--neon-cyan);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 5px 20px;
    border-radius: 20px;
    letter-spacing: 2px;
}
.border-top-neon {
    border-top: 1px solid var(--neon-cyan-dim);
    background: radial-gradient(ellipse at top, rgba(0, 243, 255, 0.05) 0%, transparent 70%);
}

/* FAQ */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    background: var(--color-bg-glass);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.faq-item summary {
    padding: 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: var(--transition-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    color: var(--neon-magenta);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--neon-cyan);
}
.faq-item[open] summary {
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.faq-content {
    padding: 20px;
    color: var(--text-muted);
}

/* Footer */
.cyber-footer {
    background: #02040a;
    border-top: 2px solid var(--neon-magenta);
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    height: 50px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-warning {
    background: rgba(255,0,127,0.05);
    padding: 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
}

/* Animations Reveal */
.reveal-up { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s ease; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s ease; }

.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0,0);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-2, .footer-grid, .flex-layout {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .flex-layout.reverse { flex-direction: column-reverse; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-actions { justify-content: center; display: flex; }
    .glitch-title { text-shadow: none; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .cyber-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(5, 8, 20, 0.95);
        border-bottom: 1px solid var(--neon-cyan);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.3s ease;
    }
    .cyber-nav.active {
        transform: scaleY(1);
    }
    .cyber-nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }
    .section { padding: 60px 0; }
    .cyber-card { padding: 20px; }
}

@media (max-width: 480px) {
    body { font-size: 1rem; }
    .data-grid { grid-template-columns: 1fr; }
    .cyber-table th, .cyber-table td { padding: 10px; font-size: 0.9rem; }
}
