:root {
    --bg-page: #fff7ed; /* Very light orange/peach background */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    
    --accent-orange: #f97316;
    --accent-pink: #f43f5e;
    --accent-purple: #9333ea;
    --accent-green: #10b981;
    
    --shadow-window: 0 35px 60px -15px rgba(249, 115, 22, 0.15), 0 0 0 1px rgba(255,255,255,1) inset;
    --shadow-float: 0 45px 70px -15px rgba(147, 51, 234, 0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-page);
    background: radial-gradient(circle at top left, #fff7ed 0%, #fdf4ff 50%, #f8fafc 100%);
    color: var(--text-dark);
    display: flex; justify-content: center; align-items: center;
    min-height: 100vh; overflow-x: hidden;
}

h1, h2, h3, h4, .logo b, .app-title b, .sys-info b { font-family: 'Outfit', sans-serif; }

/* Canvas & Glowing Background Orbs */
.presentation-canvas {
    width: 100%; max-width: 1400px; height: 900px;
    position: relative; display: flex; flex-direction: column;
}

.glow-orb {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; z-index: 0; pointer-events: none;
}
.glow-orb.top-left { width: 600px; height: 600px; background: #fed7aa; top: -100px; left: -100px; }
.glow-orb.bottom-right { width: 700px; height: 700px; background: #e9d5ff; bottom: -150px; right: -150px; }
.glow-orb.center-accent { width: 400px; height: 400px; background: #fecdd3; top: 30%; left: 40%; opacity: 0.4; }

/* Header */
.presentation-header { text-align: center; padding: 3rem 4rem 1rem; position: relative; z-index: 10; }
.presentation-header h1 { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; color: var(--text-dark); text-shadow: 0 4px 20px rgba(255,255,255,0.8);}
.presentation-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 800px; margin: 0 auto; line-height: 1.5; font-weight: 500;}

/* Floating Showcase Layout */
.floating-showcase { position: relative; width: 100%; height: 700px; margin-top: 2rem; z-index: 10; }

/* Mockup Windows (Bright Frosted Glass) */
.mockup-window {
    position: absolute;
    background: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    border-radius: 20px; box-shadow: var(--shadow-window);
    border: 1px solid rgba(255,255,255,1);
    display: flex; flex-direction: column; overflow: hidden;
}

/* Mac-style Window Header */
.mac-header {
    display: flex; align-items: center; padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.4); border-bottom: 1px solid rgba(0,0,0,0.03);
}
.mac-header i { width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; background: #cbd5e1; }
.mac-header i:nth-child(1) { background: #ff5f56; }
.mac-header i:nth-child(2) { background: #ffbd2e; }
.mac-header i:nth-child(3) { background: #27c93f; }
.mac-header span { margin-left: auto; margin-right: auto; font-size: 0.75rem; font-weight: 600; color: var(--text-muted); padding-right: 48px; }

.window-body { flex: 1; display: flex; flex-direction: column; overflow: hidden;}


/* --- 1. Left Float (Sentiment / AI Reviews) --- */
.left-float { width: 380px; height: 480px; left: 840px; top: 360px; z-index: 25; box-shadow: var(--shadow-float); }
.left-float .window-body { padding: 1.5rem; background: rgba(255, 255, 255, 0.5); gap: 1.5rem; overflow-y: auto;}

.app-header { display: flex; align-items: center; gap: 0.8rem; }
.app-icon { font-size: 1.5rem; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: white;}
.gradient-bg { background: linear-gradient(135deg, var(--accent-orange), var(--accent-pink)); box-shadow: 0 4px 10px rgba(244, 63, 94, 0.3);}
.app-title { font-size: 1.3rem; color: var(--text-dark);}

.sentiment-score { display: flex; align-items: center; gap: 1.5rem; background: white; padding: 1.5rem; border-radius: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.02);}
.score-circle { position: relative; width: 80px; height: 80px;}
.s-val { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column;}
.s-val b { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); line-height: 1;}
.s-val span { font-size: 0.65rem; color: var(--text-muted); font-weight: 700;}
.s-text { flex: 1; font-size: 0.85rem; color: var(--text-muted); line-height: 1.4;}
.s-text b { color: var(--accent-orange); font-weight: 700;}

.ai-summary h4 { font-size: 0.85rem; color: var(--text-dark); margin-bottom: 0.8rem;}
.chat-bubble { font-size: 0.85rem; padding: 1.2rem; border-radius: 16px; line-height: 1.5;}
.chat-bubble.bot { background: linear-gradient(135deg, #fdf4ff, #fff1f2); color: #831843; border: 1px solid #fce7f3; border-bottom-left-radius: 4px; box-shadow: 0 4px 10px rgba(0,0,0,0.02);}
.chat-bubble b { font-weight: 800; }

.review-list { display: flex; flex-direction: column; gap: 1rem;}
.r-item { display: flex; gap: 1rem; background: white; padding: 1rem; border-radius: 12px; border: 1px solid var(--border-color);}
.r-avatar { width: 36px; height: 36px; border-radius: 50%;}
.r-content .stars { color: #fbbf24; font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 0.3rem;}
.r-content p { font-size: 0.8rem; color: var(--text-dark); font-weight: 500;}


/* --- 2. Main Center Float (E-Commerce Dashboard) --- */
.main-window { width: 940px; height: 660px; left: 40px; top: 20px; z-index: 15; }
.main-topbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; background: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(0,0,0,0.03);}
.main-topbar .logo { font-size: 1.3rem; display: flex; align-items: center; gap: 0.5rem; color: var(--text-dark);}
.main-topbar .logo-icon { font-size: 1.4rem; }
.main-topbar nav { display: flex; gap: 1.5rem; margin-left: 2rem; flex: 1;}
.main-topbar nav a { text-decoration: none; color: var(--text-muted); font-size: 0.85rem; font-weight: 600;}
.main-topbar nav a.active { color: var(--accent-purple); }
.right-actions { display: flex; align-items: center; gap: 1.5rem;}
.date-picker { background: white; padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; color: var(--text-dark); box-shadow: 0 2px 5px rgba(0,0,0,0.02); border: 1px solid var(--border-color); cursor: pointer;}
.date-picker span { color: var(--text-muted); margin-left: 0.5rem; font-size: 0.6rem;}
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid white; box-shadow: 0 2px 5px rgba(0,0,0,0.1);}

.main-content { display: flex; flex-direction: column; height: 100%; background: rgba(255, 255, 255, 0.4); padding: 1.5rem; gap: 1.5rem;}

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;}
.kpi-card { background: white; padding: 1.5rem; border-radius: 16px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); border: 1px solid var(--border-color); display: flex; flex-direction: column;}
.kpi-card span { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;}
.kpi-card b { font-size: 2rem; color: var(--text-dark); margin: 0.5rem 0;}
.trend { font-size: 0.75rem; font-weight: 700; display: inline-block; padding: 0.2rem 0.6rem; border-radius: 50px; width: max-content;}
.trend.up { background: #dcfce7; color: #16a34a;}
.trend.down { background: #fee2e2; color: #dc2626;}

.main-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; flex: 1;}
.c-card { background: white; border-radius: 16px; padding: 1.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.02); border: 1px solid var(--border-color); display: flex; flex-direction: column;}
.card-title { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; display: flex; justify-content: space-between; align-items: center;}
.card-title span { font-size: 0.75rem; background: linear-gradient(135deg, #e9d5ff, #fbcfe8); color: #831843; padding: 0.2rem 0.6rem; border-radius: 4px; font-weight: 800;}

.rev-chart-card .chart-area { flex: 1; display: flex; align-items: flex-end;}
.smooth-chart { width: 100%; height: 100%;}

.heatmap-card { padding: 0; overflow: hidden;}
.heatmap-card .card-title { padding: 1.5rem 1.5rem 0 1.5rem;}
.map-view { flex: 1; position: relative; background: #e2e8f0;}
.bg-map { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; filter: sepia(30%) hue-rotate(-20deg);}
.heat-spot { position: absolute; border-radius: 50%; filter: blur(15px); mix-blend-mode: multiply; transform: translate(-50%, -50%);}
.pulse-orange { background: var(--accent-orange); animation: throb 3s infinite;}
.pulse-purple { background: var(--accent-purple); animation: throb 4s infinite;}
@keyframes throb { 0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.2); } 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); } }


/* --- 3. Right Float (Audience & Funnel) --- */
.right-float { width: 400px; height: 420px; left: 900px; top: -10px; z-index: 20; box-shadow: var(--shadow-float); }
.right-float .window-body { padding: 1.5rem; background: rgba(255, 255, 255, 0.5); gap: 1.5rem; overflow-y: auto;}

.alt-header { display: flex; justify-content: space-between; align-items: center;}
.sys-info { display: flex; flex-direction: column;}
.sys-info span { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase;}
.sys-info b { font-size: 1.2rem; color: var(--text-dark); margin-top: 0.2rem;}
.purple-text { color: var(--accent-purple); font-size: 2rem;}

.list-card { background: white; padding: 1.2rem; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 4px 15px rgba(0,0,0,0.02);}
.list-card h4 { font-size: 0.85rem; margin-bottom: 1.2rem; color: var(--text-dark); text-transform: uppercase; letter-spacing: 0.05em;}

.funnel-stage { margin-bottom: 1rem;}
.funnel-stage:last-child { margin-bottom: 0;}
.f-info { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 0.4rem;}
.f-info span { color: var(--text-muted); font-weight: 500;}
.f-info b { color: var(--text-dark);}
.f-bar { height: 8px; border-radius: 4px;}
.w-100 { width: 100%; }
.w-60 { width: 60%; }
.w-30 { width: 30%; }
.w-15 { width: 15%; }
.gradient-purple { background: linear-gradient(90deg, #c084fc, #9333ea); }
.gradient-orange { background: linear-gradient(90deg, #fb923c, #f97316); }
.gradient-green { background: linear-gradient(90deg, #34d399, #10b981); }

.mt-3 { margin-top: 1.5rem; }
.prod-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color);}
.prod-row:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none;}
.p-img { width: 48px; height: 48px; border-radius: 8px; background-color: #f1f5f9; background-size: cover; background-position: center;}
.p-img-1 { background-image: url('https://images.unsplash.com/photo-1551163943-3f6a855d1153?w=200&q=80'); }
.p-img-2 { background-image: url('https://images.unsplash.com/photo-1584852955513-39d1b730f0f4?w=200&q=80'); }
.p-info { display: flex; flex-direction: column; gap: 0.2rem;}
.p-info b { font-size: 0.9rem; color: var(--text-dark);}
.p-info span { font-size: 0.75rem; color: var(--text-muted); font-weight: 500;}
