/* Glaichat Landing - Premium Modern Design */
:root {
  --primary-start: #8B5CF6;
  --primary-end: #06B6D4;
  --primary-gradient: linear-gradient(135deg, var(--primary-start), var(--primary-end));
  --accent-green: #10B981;
  --bg-primary: #FAFBFF;
  --bg-secondary: #F1F5F9;
  --bg-card: rgba(255, 255, 255, 0.8);
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --border-color: rgba(148, 163, 184, 0.2);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-blur: blur(20px);
  --font-primary: 'Inter', sans-serif;
  --container-width: 1200px;
  --section-padding: 100px;
  --card-radius: 24px;
  --button-radius: 12px;
  --transition: 300ms ease;
}
[data-theme="dark"] {
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-card: rgba(30, 41, 59, 0.8);
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #64748B;
  --border-color: rgba(148, 163, 184, 0.1);
  --glass-bg: rgba(30, 41, 59, 0.7);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-primary); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; transition: background var(--transition), color var(--transition); }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
h1,h2,h3,h4 { font-weight: 700; line-height: 1.2; color: var(--text-primary); }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
p { color: var(--text-secondary); font-size: 1.125rem; }
.text-gradient { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Background Blobs */
.bg-decoration { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.bg-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; animation: float 20s ease-in-out infinite; }
.bg-blob-1 { width: 600px; height: 600px; background: var(--primary-start); top: -200px; right: -200px; }
.bg-blob-2 { width: 500px; height: 500px; background: var(--primary-end); bottom: -150px; left: -150px; animation-delay: -7s; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-20px,20px) scale(0.95); } }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all var(--transition); }
.navbar.scrolled { background: var(--glass-bg); backdrop-filter: var(--glass-blur); border-bottom: 1px solid var(--border-color); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.navbar-logo { width: 44px; height: 44px; background: var(--primary-gradient); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.navbar-title { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); }
.navbar-menu { display: flex; align-items: center; gap: 8px; list-style: none; }
.navbar-link { padding: 10px 18px; text-decoration: none; color: var(--text-secondary); font-weight: 500; border-radius: var(--button-radius); transition: all 150ms; }
.navbar-link:hover { color: var(--text-primary); background: var(--bg-card); }
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.lang-switcher { display: flex; background: var(--bg-secondary); border-radius: 8px; padding: 4px; gap: 4px; }
.lang-btn { padding: 6px 12px; border: none; background: transparent; color: var(--text-muted); font-size: 0.875rem; font-weight: 600; cursor: pointer; border-radius: 6px; transition: all 150ms; }
.lang-btn.active { background: var(--primary-gradient); color: white; }
.theme-toggle { width: 44px; height: 44px; border: none; background: var(--bg-secondary); border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; transition: all 150ms; }
.theme-toggle:hover { transform: scale(1.05); }
.mobile-menu-toggle { display: none; width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; font-size: 1rem; font-weight: 600; text-decoration: none; border: none; border-radius: var(--button-radius); cursor: pointer; transition: all 200ms; }
.btn-primary { background: var(--primary-gradient); color: white; box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(139, 92, 246, 0.5); }
.btn-secondary { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-secondary:hover { transform: translateY(-2px); }
.btn-lg { padding: 18px 36px; font-size: 1.125rem; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content { max-width: 600px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 100px; font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 24px; }
.hero-badge-dot { width: 8px; height: 8px; background: var(--accent-green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-title { margin-bottom: 24px; }
.hero-description { font-size: 1.25rem; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 60px; }
.hero-stat-value { font-size: 2rem; font-weight: 700; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stat-label { font-size: 0.875rem; color: var(--text-muted); }

/* Phone Mockup */
.hero-visual { display: flex; justify-content: center; position: relative; }
.phone-mockup { width: 300px; height: 620px; background: linear-gradient(145deg, #1a1a2e, #16213e); border-radius: 44px; padding: 12px; box-shadow: 0 50px 100px -20px rgba(0,0,0,0.25); }
.phone-screen { width: 100%; height: 100%; background: linear-gradient(180deg, #1E293B, #0F172A); border-radius: 36px; overflow: hidden; position: relative; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 28px; background: #000; border-radius: 0 0 20px 20px; z-index: 10; }
.phone-content { padding: 40px 16px 16px; height: 100%; display: flex; flex-direction: column; }
.chat-header { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.chat-avatar { width: 44px; height: 44px; background: var(--primary-gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.chat-info h4 { color: white; font-size: 1rem; }
.chat-info span { color: var(--accent-green); font-size: 0.75rem; }
.chat-messages { flex: 1; padding: 16px 0; display: flex; flex-direction: column; gap: 12px; }
.chat-bubble { max-width: 80%; padding: 12px 16px; border-radius: 18px; font-size: 0.875rem; }
.chat-bubble.received { align-self: flex-start; background: rgba(255,255,255,0.1); color: white; border-bottom-left-radius: 4px; }
.chat-bubble.sent { align-self: flex-end; background: var(--primary-gradient); color: white; border-bottom-right-radius: 4px; }
.chat-input { display: flex; align-items: center; gap: 8px; padding: 12px; background: rgba(255,255,255,0.05); border-radius: 24px; margin-top: auto; }
.chat-input input { flex: 1; background: none; border: none; color: white; font-size: 0.875rem; outline: none; }
.chat-input button { width: 36px; height: 36px; background: var(--primary-gradient); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
