/* ==========================================================================
   NEON CYBERPUNK VARIABLES & RESET
   ========================================================================== */
:root {
    /* Colors */
    --bg-dark: #0a0514;
    --bg-darker: #05020a;
    --bg-glass: rgba(16, 10, 32, 0.6);
    --bg-glass-light: rgba(30, 20, 50, 0.8);
    
    --neon-pink: #ff007f;
    --neon-blue: #00f3ff;
    --neon-gold: #ffd700;
    
    --text-main: #e0e5ff;
    --text-muted: #8b9bb4;
    
    /* Glow Effects */
    --glow-pink: 0 0 10px rgba(255, 0, 127, 0.5), 0 0 20px rgba(255, 0, 127, 0.3);
    --glow-blue: 0 0 10px rgba(0, 243, 255, 0.5), 0 0 20px rgba(0, 243, 255, 0.3);
    --glow-gold: 0 0 10px rgba(255, 215, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.3);
    
    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body.neon-theme {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.neon-text-pink { color: var(--neon-pink); text-shadow: var(--glow-pink); }
.neon-text-blue { color: var(--neon-blue); text-shadow: var(--glow-blue); }
.neon-text-gold { color: var(--neon-gold); text-shadow: var(--glow-gold); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.text-center { text-align: center; }
.text-sm { font-size: 0.9rem; }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }
.p-0 { padding: 0; }
.p-3 { padding: 1.5rem; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

/* Sections */
section { padding: 80px 0; position: relative; }
.section-dark { background-color: var(--bg-darker); }
.section-gradient {
    background: linear-gradient(135deg, rgba(10,5,20,1) 0%, rgba(20,10,40,1) 100%);
    border-top: 1px solid rgba(0, 243, 255, 0.1);
    border-bottom: 1px solid rgba(255, 0, 127, 0.1);
}

.section-title { font-size: 2.2rem; }
.subsection-title { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--text-main); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    letter-spacing: 1px;
}

.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }

.btn-neon-pink {
    background: transparent;
    color: var(--neon-pink);
    border-color: var(--neon-pink);
    box-shadow: inset 0 0 10px rgba(255,0,127,0.2);
}
.btn-neon-pink:hover {
    background: var(--neon-pink);
    color: #fff;
    box-shadow: var(--glow-pink);
}

.btn-neon-blue {
    background: transparent;
    color: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: inset 0 0 10px rgba(0,243,255,0.2);
}
.btn-neon-blue:hover {
    background: var(--neon-blue);
    color: var(--bg-dark);
    box-shadow: var(--glow-blue);
}

.btn-secondary {
    background: var(--bg-glass-light);
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Glassmorphism Components */
.glass-card, .glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 24px;
}

.glow-pink { border-color: rgba(255,0,127,0.3); box-shadow: 0 0 20px rgba(255,0,127,0.1); }
.glow-blue { border-color: rgba(0,243,255,0.3); box-shadow: 0 0 20px rgba(0,243,255,0.1); }
.glow-gold { border-color: rgba(255,215,0,0.3); box-shadow: 0 0 20px rgba(255,215,0,0.1); }

.border-red { border-left: 4px solid #ff4444; }
.border-green { border-left: 4px solid #00ffaa; }
.text-red { color: #ff4444; }
.text-green { color: #00ffaa; }

/* Lists */
.cyber-list { list-style: none; }
.cyber-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
}
.cyber-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--neon-blue);
    font-family: var(--font-heading);
    font-weight: bold;
}

.cyber-list-numbered {
    list-style: none;
    counter-reset: cyber-counter;
}
.cyber-list-numbered li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 16px;
}
.cyber-list-numbered li::before {
    counter-increment: cyber-counter;
    content: counter(cyber-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: var(--bg-glass-light);
    border: 1px solid var(--neon-pink);
    color: var(--neon-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-family: var(--font-heading);
}

.error-list li::before { content: '×'; color: #ff4444; }
.success-list li::before { border-color: #00ffaa; color: #00ffaa; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
    background: transparent;
}
.site-header.scrolled {
    padding: 10px 0;
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,243,255,0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-img { height: 40px; }

.main-nav { display: flex; gap: 20px; }
.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--neon-blue);
    transition: var(--transition);
}
.nav-link:hover { color: var(--neon-blue); }
.nav-link:hover::after { width: 100%; box-shadow: var(--glow-blue); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--neon-blue);
    transition: var(--transition);
}
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--neon-pink);
    flex-direction: column;
    padding: 20px;
}
.mobile-nav.active { display: flex; }
.mobile-nav .nav-link { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}
.cyber-grid-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    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: 30px 30px;
    z-index: -1;
    transform: perspective(500px) rotateX(60deg) scale(2);
    transform-origin: bottom;
    opacity: 0.3;
}

.badge-neon {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--neon-gold);
    color: var(--neon-gold);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(255,215,0,0.2);
}
.hero-title { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; }
.hero-description { font-size: 1.1rem; margin-bottom: 30px; color: var(--text-muted); max-width: 600px; }
.hero-cta { margin-bottom: 40px; }

.hero-stats {
    display: flex;
    gap: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}
.stat-box { display: flex; flex-direction: column; }
.stat-number, .stat-prefix, .stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--neon-blue);
    text-shadow: var(--glow-blue);
}
.stat-label { font-size: 0.8rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; }

.glass-container {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
}
.glass-container::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 6s infinite;
}
@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}
.hero-img, .content-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

/* ==========================================================================
   INTERACTIVE CARDS (TILT)
   ========================================================================== */
.tilt-card {
    text-align: center;
    transition: transform 0.1s; /* smooth restore */
    transform-style: preserve-3d;
    cursor: pointer;
}
.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    transform: translateZ(30px); /* 3D effect text */
}
.tilt-card p { transform: translateZ(20px); font-size: 0.95rem; }

.cyber-alert {
    display: flex;
    gap: 20px;
    align-items: center;
    background: rgba(255, 215, 0, 0.05);
    border-left: 4px solid var(--neon-gold);
    padding: 20px;
    border-radius: 0 8px 8px 0;
}
.alert-icon { font-size: 2rem; }
.alert-title { color: var(--neon-gold); margin-bottom: 5px; }

/* ==========================================================================
   TABLES
   ========================================================================== */
.table-wrapper { overflow-x: auto; margin-top: 20px; }
.cyber-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-body);
}
.cyber-table.full-width { min-width: 600px; }
.cyber-table th, .cyber-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cyber-table th {
    font-family: var(--font-heading);
    color: var(--neon-blue);
    background: rgba(0, 243, 255, 0.05);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.cyber-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.cyber-table .highlight {
    font-weight: bold;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.example-box { position: relative; }
.note-box {
    border-top: 1px dashed rgba(255,215,0,0.3);
    padding-top: 15px;
}
.note-title { font-size: 1rem; color: var(--text-muted); }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.accordion { display: flex; flex-direction: column; gap: 10px; }
.accordion-item {
    background: var(--bg-glass-light);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
}
.accordion-header {
    width: 100%;
    padding: 20px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.accordion-header:hover { color: var(--neon-pink); }
.accordion-header .icon {
    font-size: 1.5rem;
    color: var(--neon-blue);
    transition: transform 0.3s ease;
}
.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
    color: var(--neon-pink);
}
.accordion-item.active .accordion-header {
    border-bottom: 1px solid rgba(255,0,127,0.2);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.accordion-body { padding: 20px; color: var(--text-muted); }

/* ==========================================================================
   FOOTER & COOKIE
   ========================================================================== */
.site-footer {
    background: #05020a;
    border-top: 2px solid var(--neon-blue);
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.grayscale { filter: grayscale(1) opacity(0.5); }
.footer-links ul { list-style: none; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--neon-pink); }
.footer-warning h4 { color: #ff4444; }
.age-badge {
    display: inline-block;
    border: 2px solid #ff4444;
    color: #ff4444;
    border-radius: 50%;
    width: 40px; height: 40px;
    text-align: center;
    line-height: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-color: var(--neon-blue);
}
.cookie-notice.show { transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE (MOBILE FIRST ADAPTATION)
   ========================================================================== */
@media (max-width: 992px) {
    .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .hero-grid { text-align: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; flex-wrap: wrap; }
    .order-1-mobile { order: 1; }
    .order-2-mobile { order: 2; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
    .main-nav, .header-actions { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .tilt-grid { grid-template-columns: 1fr 1fr; }
    .cookie-notice { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .tilt-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 15px; }
    .stat-number { font-size: 1.5rem; }
}