:root {
    --bg-dark: #0a0e17;
    --bg-card: rgba(16, 24, 39, 0.7);
    --primary-cyan: #00f2ff;
    --accent-green: #10b981;
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Poppins', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

/* Glassmorphism Effect */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse-cyan {
    0% { box-shadow: 0 0 0 0 rgba(0, 242, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 242, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 242, 255, 0); }
}

.animate-fade { animation: fadeIn 1s ease-out; }
.animate-slide { animation: slideUp 0.8s ease-out; }

/* Landing Page Styles */
#landing-page {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: radial-gradient(circle at center, #1a2a4a 0%, #0a0e17 100%);
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.landing-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.logo-item img {
    height: 100px;
    max-width: 250px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.2));
}

.summit-title {
    font-size: 1.2rem;
    color: var(--primary-cyan);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
}

.main-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 800px;
}

.start-btn {
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    background-color: var(--primary-cyan);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse-cyan 2s infinite;
}

.start-btn:hover {
    transform: scale(1.05);
    background-color: #ffffff;
}

/* Dashboard Styles */
.dashboard-container {
    padding: 20px;
    max-width: 1600px;
    margin: 0 auto;
    display: none; /* Hidden by default */
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.kpi-card {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kpi-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
}

.kpi-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-cyan);
}

.kpi-trend {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.trend-up { color: var(--accent-green); }

/* Grid Layouts */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.chart-section {
    padding: 20px;
    min-height: 400px;
}

/* Loading Overlay */
#loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader-pulse {
    width: 100px;
    height: 100px;
    border: 4px solid var(--primary-cyan);
    border-radius: 50%;
    animation: pulse-cyan 1.5s infinite;
}

/* ========================================
   Presentation Navigation Buttons
   ======================================== */
.pres-nav {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.pres-nav.visible {
    opacity: 1;
    pointer-events: all;
}

.pres-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-white);
    background: rgba(16, 24, 39, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 242, 255, 0.25);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4),
                0 0 15px rgba(0, 242, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.pres-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.08), transparent);
    transition: left 0.5s ease;
}

.pres-nav-btn:hover::before {
    left: 100%;
}

.pres-nav-btn:hover {
    background: rgba(0, 242, 255, 0.15);
    border-color: var(--primary-cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5),
                0 0 25px rgba(0, 242, 255, 0.15);
}

.pres-nav-btn:active {
    transform: translateY(0) scale(0.97);
}

.pres-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.pres-nav-btn i {
    font-size: 1rem;
    color: var(--primary-cyan);
    transition: transform 0.3s ease;
}

.pres-nav-btn.prev:hover i {
    transform: translateX(-4px);
}

.pres-nav-btn.next:hover i {
    transform: translateX(4px);
}

.pres-nav-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 140px;
}

.pres-nav-dots {
    display: flex;
    gap: 8px;
}

.pres-nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.pres-nav-dot:hover {
    background: rgba(0, 242, 255, 0.3);
    border-color: var(--primary-cyan);
}

.pres-nav-dot.active {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 12px rgba(0, 242, 255, 0.5);
    transform: scale(1.3);
}

.pres-nav-label {
    font-size: 0.65rem;
    color: var(--text-gray);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.pres-nav-shortcut {
    font-size: 0.6rem;
    color: rgba(148, 163, 184, 0.5);
    margin-left: 6px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

/* ========================================
   Page Number Badges (for Q&A reference)
   ======================================== */
.page-number-badge {
    position: fixed;
    top: 18px;
    right: 30px;
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.15), rgba(99, 102, 241, 0.15));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(0, 242, 255, 0.4);
    border-radius: 14px;
    animation: pageBadgePulse 3s ease-in-out infinite;
}

.page-number-badge .page-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00f2ff 0%, #6366f1 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-shadow: none;
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.3));
}

.page-number-badge .page-total {
    font-family: var(--font-main);
    font-size: 0.85rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    line-height: 1.3;
}

.page-number-badge .page-total span {
    display: block;
    font-size: 0.7rem;
    color: var(--primary-cyan);
    letter-spacing: 1px;
    margin-top: 2px;
    font-weight: 600;
}

@keyframes pageBadgePulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 242, 255, 0.1),
                    0 0 30px rgba(0, 242, 255, 0.05);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 242, 255, 0.25),
                    0 0 40px rgba(0, 242, 255, 0.1);
    }
}

/* Make module sections position relative for badge placement */
.module-section {
    position: relative;
}

/* Nav bar page counter */
.pres-nav-page-num {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary-cyan);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
}
