/* ============================================
   CYOU - Browser & System Info
   ============================================ */

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

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --dark-bg: #0a0e27;
    --card-bg: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --border-color: #2d3748;
    --accent-color: #4facfe;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0f172a 100%);
    color: var(--text-primary);
    line-height: 1.6;
}

/* ============================================
   TOOLTIP & QUICK INFO
   ============================================ */

.tooltip-quick-info {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.info-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: 2px solid var(--accent-color);
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.info-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

.tooltip-content {
    position: absolute;
    top: 70px;
    left: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.info-btn:hover ~ .tooltip-content,
.tooltip-content:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-content h3 {
    color: var(--accent-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.tooltip-content p {
    color: var(--text-secondary);
    font-size: 12px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.nav-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.3);
}

.nav-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.nav-btn i {
    font-size: 16px;
}

/* ============================================
   PAGES CONTAINER
   ============================================ */

.pages-container {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
}

.page {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow-y: auto;
    padding: 80px 40px 120px 40px;
}

.page.active {
    opacity: 1;
    visibility: visible;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-content h2 i {
    color: var(--accent-color);
    font-size: 28px;
}

/* ============================================
   INFO GRID & CARDS
   ============================================ */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.2);
    transform: translateY(-5px);
}

.info-card label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 16px;
    color: var(--text-primary);
    word-break: break-all;
    font-weight: 500;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        bottom: 15px;
        left: 15px;
        right: 15px;
        transform: none;
        width: calc(100% - 30px);
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
    }

    .page {
        padding: 80px 20px 200px 20px;
    }

    .page-content h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .tooltip-quick-info {
        top: 10px;
        left: 10px;
    }

    .info-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .tooltip-content {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .page-content h2 {
        font-size: 20px;
    }

    .info-card {
        padding: 15px;
    }

    .info-card label {
        font-size: 11px;
    }

    .info-card p {
        font-size: 14px;
    }
}
