﻿* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --primary: #075E54; --secondary: #128C7E; --accent: #25D366; --bg: #ECE5DD; --white: #fff; --text: #111; --text-light: #667; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); min-height: 100vh; overflow-x: hidden; }
#landing { min-height: 100vh; background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); padding: 40px 20px; display: flex; flex-direction: column; }
.header { text-align: center; color: var(--white); margin-bottom: 40px; }
.company-logo { width: 100px; height: 100px; background: var(--white); border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.logo-placeholder i { color: var(--primary); font-size: 40px; }
.header h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.subtitle { font-size: 16px; opacity: 0.9; }
.content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; }
.welcome-card { background: var(--white); border-radius: 24px; padding: 32px 24px; text-align: center; box-shadow: 0 16px 48px rgba(0,0,0,0.15); max-width: 340px; width: 100%; }
.welcome-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--accent), var(--secondary)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.welcome-icon i { color: var(--white); font-size: 28px; }
.welcome-card h2 { color: var(--primary); margin-bottom: 12px; font-size: 22px; }
.welcome-card p { color: var(--text-light); line-height: 1.6; font-size: 15px; }
.start-chat-btn { background: linear-gradient(135deg, var(--accent), var(--secondary)); color: var(--white); border: none; padding: 18px 48px; border-radius: 50px; font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 12px; box-shadow: 0 8px 32px rgba(37,211,102,0.4); transition: all 0.3s; cursor: pointer; }
.start-chat-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,211,102,0.5); }
.start-chat-btn i { font-size: 24px; }
.features { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.feature { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--white); }
.feature i { font-size: 24px; opacity: 0.9; }
.feature span { font-size: 13px; opacity: 0.8; }
.install-pwa { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); padding: 16px; border-radius: 16px; text-align: center; margin-top: 30px; }
.install-pwa p { color: var(--white); margin-bottom: 12px; font-size: 14px; }
.install-pwa button { background: var(--white); color: var(--primary); border: none; padding: 12px 24px; border-radius: 25px; font-weight: 600; cursor: pointer; }
#chat-container { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--bg); display: flex; flex-direction: column; transition: transform 0.3s ease; z-index: 1000; }
.chat-hidden { transform: translateY(100%); }
.chat-header { background: var(--primary); color: var(--white); padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.back-btn { background: none; border: none; color: var(--white); font-size: 20px; cursor: pointer; padding: 8px; }
.agent-info { display: flex; align-items: center; gap: 12px; flex: 1; }
.agent-avatar { width: 44px; height: 44px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.agent-avatar i { font-size: 20px; }
.agent-info h3 { font-size: 16px; font-weight: 600; }
.status { font-size: 12px; opacity: 0.9; display: flex; align-items: center; gap: 6px; }
.online-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.message { max-width: 80%; padding: 12px 16px; border-radius: 18px; position: relative; }
.message.bot { background: var(--white); align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.message.user { background: #DCF8C6; align-self: flex-end; border-bottom-right-radius: 4px; }
.message-time { font-size: 11px; color: var(--text-light); margin-top: 4px; text-align: right; }
.chat-input { background: var(--white); padding: 12px 16px; display: flex; align-items: center; gap: 8px; box-shadow: 0 -2px 8px rgba(0,0,0,0.05); }
.attach-btn, .emoji-btn { background: none; border: none; color: var(--text-light); font-size: 20px; cursor: pointer; padding: 8px; }
#messageInput { flex: 1; border: none; outline: none; padding: 12px 16px; border-radius: 24px; background: #f0f0f0; font-size: 16px; }
.send-btn { background: var(--accent); border: none; color: var(--white); width: 48px; height: 48px; border-radius: 50%; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
@media (min-width: 768px) { #landing { padding: 60px 20px; } .header h1 { font-size: 36px; } }
