:root {
    --primary: #00bfa5;
    --primary-dark: #00897b;
    --accent: #64ffda;
    --bg-dark: #0a192f;
    --bg-body: #112240;
    --bg-light: #233554;
    --text-heading: #ccd6f6;
    --text-body: #8892b0;
    --glass-bg: rgba(10, 25, 47, 0.7);
    --glass-border: rgba(100, 255, 218, 0.1);
    --font-main: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); background: var(--bg-dark); color: var(--text-body); overflow: hidden; height: 100vh; display: flex; flex-direction: column; }

/* Navbar */
.navbar { height: 70px; display: flex; align-items: center; padding: 0 2rem; background: rgba(10, 25, 47, 0.9); border-bottom: 1px solid var(--glass-border); z-index: 100; backdrop-filter: blur(10px); }
.container { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); }
.logo-icon { font-size: 2rem; }
.logo-text h1 { font-size: 1.2rem; margin: 0; line-height: 1; color: var(--text-heading); }
.logo-text span { font-size: 0.8rem; color: var(--accent); }
.nav-links { display: flex; gap: 1.5rem; }
.nav-item { position: relative; }
.nav-link { background: none; border: none; color: var(--text-heading); font-size: 0.9rem; font-family: var(--font-main); cursor: pointer; padding: 10px; opacity: 0.8; transition: all 0.3s; }
.nav-link:hover, .nav-link.active { opacity: 1; color: var(--accent); }
.btn { padding: 0.5rem 1.5rem; border: none; border-radius: 4px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-sm { padding: 0.3rem 1rem; font-size: 0.9rem; }

/* Presentation Stage */
.presentation-stage { flex: 1; position: relative; display: flex; flex-direction: column; }
.slide-container { flex: 1; position: relative; overflow: hidden; background: var(--bg-body); perspective: 1000px; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; transform: translateY(30px) scale(0.98); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); display: flex; overflow-y: auto; padding-bottom: 50px; }
.slide.active { opacity: 1; visibility: visible; transform: translateY(0) scale(1); z-index: 5; }

/* Overlays & Cards */
.content-overlay { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; padding: 3rem; background: var(--bg-body); }
.map-slide-container { display: flex; width: 100%; max-width: 1400px; height: 100%; gap: 2rem; align-items: stretch; }
.text-card { flex: 0 0 450px; background: rgba(17, 34, 64, 0.9); border: 1px solid var(--glass-border); border-radius: 12px; padding: 2.5rem; display: flex; flex-direction: column; z-index: 10; box-shadow: 0 10px 30px rgba(0,0,0,0.3); transition: transform 0.4s ease, box-shadow 0.4s ease; }
.text-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.5); }
.slide-header { margin-bottom: 1.5rem; }
.badge-pill { display: inline-block; padding: 0.3rem 1rem; background: rgba(100, 255, 218, 0.1); color: var(--accent); border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.text-card h2 { color: var(--text-heading); font-size: 2.2rem; margin-bottom: 1rem; }
.text-card p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 2rem; }
.map-canvas { flex: 1; border-radius: 12px; overflow: hidden; position: relative; border: 1px solid var(--glass-border); }

/* Dashboard Specs */
.project-specs { margin-top: auto; display: flex; flex-direction: column; gap: 1rem; }
.spec-item { display: flex; justify-content: space-between; padding: 1rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; }
.spec-label { font-size: 0.9rem; color: var(--text-body); display: flex; align-items: center; gap: 10px; }
.spec-val { font-size: 1.2rem; font-weight: 600; color: var(--accent); }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.data-table th, .data-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--glass-border); color: var(--text-heading); }
.data-table th { color: var(--accent); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.t-num { font-family: monospace; font-size: 1.1rem; }

/* Home Slide Special */
.vision-content { text-align: center; max-width: 800px; }
.display-title { font-size: 4rem; color: var(--text-heading); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.highlight-text { color: var(--accent); }
.lead-text { font-size: 1.4rem; color: var(--text-body); }

/* Controls */
.controls-bar { height: 65px; background: rgba(10, 25, 47, 0.95); display: flex; flex-direction: column; border-top: 1px solid var(--glass-border); z-index: 100; backdrop-filter: blur(10px); }
.progress-track { height: 4px; background: rgba(255,255,255,0.1); width: 100%; }
.progress-bar { height: 100%; background: var(--primary); width: 0%; transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.control-actions { flex: 1; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; }
.primary-controls, .secondary-controls { display: flex; align-items: center; gap: 1rem; }
.control-btn { background: none; border: none; color: var(--text-body); font-size: 1.2rem; cursor: pointer; transition: color 0.3s; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.control-btn:hover { color: var(--accent); background: rgba(255,255,255,0.05); }
.play-pause-btn { color: var(--primary); }
.slide-counter { font-family: monospace; font-size: 1rem; color: var(--text-body); margin: 0 1rem; }
.avatar-icon { width: 100%; height: 100%; background: var(--bg-light); border: 2px solid var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); }

/* Chatbot */
.chatbot-container { position: fixed; bottom: 85px; right: 20px; width: 360px; background: var(--bg-body); border: 1px solid var(--glass-border); border-radius: 12px; display: flex; flex-direction: column; box-shadow: 0 10px 40px rgba(0,0,0,0.8); z-index: 1000; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); overflow: hidden; }
.chatbot-container.collapsed { transform: translateY(120%) scale(0.9); opacity: 0; pointer-events: none; }
.chat-header { background: var(--bg-dark); padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--glass-border); }
.chat-title { font-weight: 600; color: var(--text-heading); }
.header-profile-group { display: flex; align-items: center; gap: 12px; }
.chat-avatar-large { width: 35px; height: 35px; background: var(--glass-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--accent); color: var(--accent); }
.close-chat { background: none; border: none; color: var(--text-body); cursor: pointer; font-size: 1.2rem; transition: 0.3s; }
.close-chat:hover { color: #ff4757; }
.chat-body { height: 320px; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 15px; }
.message { padding: 1rem; border-radius: 12px; max-width: 85%; font-size: 0.95rem; line-height: 1.5; }
.message.bot { background: rgba(100, 255, 218, 0.1); align-self: flex-start; color: var(--text-heading); border-bottom-left-radius: 0; }
.message.user { background: var(--primary); align-self: flex-end; color: white; border-bottom-right-radius: 0; }
.chat-footer { padding: 1rem 1.5rem; display: flex; gap: 10px; border-top: 1px solid var(--glass-border); background: var(--bg-dark); }
.chat-footer input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: white; padding: 0.8rem; border-radius: 8px; outline: none; font-family: var(--font-main); }
.chat-footer input:focus { border-color: var(--accent); }
.mic-btn, .send-btn { background: var(--bg-light); border: 1px solid var(--glass-border); color: var(--accent); width: 45px; height: 45px; border-radius: 8px; cursor: pointer; transition: 0.3s; }
.mic-btn:hover, .send-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.mic-btn.listening { background: #ff4757; color: white; border-color: #ff4757; animation: pulse 1s infinite; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
