/* Dark theme (default) */
:root { --bg-primary: #0a0a0a; --bg-secondary: #141414; --bg-card: #1a1a1a; --accent: #f59e0b; --accent-hover: #d97706; --success: #22c55e; --danger: #ef4444; --text-primary: #ffffff; --text-secondary: #a1a1aa; --text-muted: #71717a; --border: #27272a; }

/* Light theme */
[data-theme="light"] { --bg-primary: #f8f9fc; --bg-secondary: #eef0f5; --bg-card: #ffffff; --accent: #2563eb; --accent-hover: #1d4ed8; --success: #16a34a; --danger: #dc2626; --text-primary: #0f172a; --text-secondary: #475569; --text-muted: #94a3b8; --border: #e2e8f0; }
[data-theme="light"] header { background: rgba(248,249,252,0.95); }
[data-theme="light"] .logo-icon { background: var(--accent); }
[data-theme="light"] .logo-icon svg { stroke: #fff; }
[data-theme="light"] .home-title { background: linear-gradient(135deg, #0f172a 0%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
[data-theme="light"] #home, [data-theme="light"] .page-home { background: linear-gradient(135deg, #f8f9fc 0%, #eef0f5 100%); }
[data-theme="light"] .page-auth { background: linear-gradient(135deg, #f8f9fc 0%, #eef0f5 100%); }
[data-theme="light"] .pricing-card.featured { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; }
[data-theme="light"] .pricing-card.featured h3 { color: #cbd5e1; }
[data-theme="light"] .pricing-card.featured .pricing-price { color: var(--accent); }
[data-theme="light"] .pricing-card.featured .pricing-features li { color: #e2e8f0; border-color: #334155; }
[data-theme="light"] .btn-primary { color: #fff; }
[data-theme="light"] .pricing-cta-primary { color: #fff; }
[data-theme="light"] .pricing-badge { color: #fff; }
[data-theme="light"] .home-badge { background: rgba(37,99,235,0.08); border-color: var(--accent); }
[data-theme="light"] .solution-cta-box { background: var(--bg-secondary); }
[data-theme="light"] .invest-banner { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; }
[data-theme="light"] .invest-banner h3 { color: #fff; }
[data-theme="light"] .invest-banner p { color: #cbd5e1; }

/* Theme toggle */
.theme-toggle { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 0.4rem 0.6rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; margin-left: 0.5rem; }
.theme-toggle:hover { border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; stroke: var(--text-secondary); transition: all 0.2s; }
.theme-toggle:hover svg { stroke: var(--accent); }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: var(--bg-primary); color: var(--text-primary); min-height: 100vh; }

/* Header & Nav */
header { position: fixed; top: 0; left: 0; right: 0; background: rgba(10,10,10,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; z-index: 1000; }
.logo { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; text-decoration: none; }
.logo-icon { width: 40px; height: 40px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.logo-icon svg { width: 24px; height: 24px; stroke: #000; }
.logo-text { font-size: 1.5rem; font-weight: 700; color: var(--accent); }

nav { display: flex; gap: 0.5rem; align-items: center; }
nav a, nav button { color: var(--text-secondary); background: none; border: none; padding: 0.6rem 1.2rem; font-size: 0.9rem; font-weight: 500; border-radius: 8px; cursor: pointer; font-family: inherit; transition: all 0.2s; text-decoration: none; }
nav a:hover, nav button:hover { color: var(--text-primary); background: var(--bg-card); }
nav a.active, nav button.active { color: var(--accent); background: rgba(245,158,11,0.1); }
.nav-divider { width: 1px; height: 24px; background: var(--border); margin: 0 0.5rem; }
.user-email { color: var(--text-secondary); font-size: 0.85rem; max-width: 150px; overflow: hidden; text-overflow: ellipsis; }

/* Language Switcher */
.lang-switcher { display: flex; background: var(--bg-card); border-radius: 8px; overflow: hidden; border: 1px solid var(--border); margin-left: 0.5rem; }
.lang-btn { padding: 0.4rem 0.8rem; font-size: 0.8rem; font-weight: 600; border: none; cursor: pointer; font-family: inherit; transition: all 0.2s; background: transparent; color: var(--text-muted); }
.lang-btn.active { background: var(--accent); color: #000; }
.lang-btn:hover:not(.active) { color: var(--text-primary); }

/* Buttons */
.btn { padding: 0.7rem 1.5rem; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 0.5rem; border: none; font-size: 0.9rem; font-family: inherit; text-decoration: none; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #000; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); }
.btn-success { background: rgba(34,197,94,0.1); color: var(--success); border: 1px solid var(--success); }
.btn-danger { background: rgba(239,68,68,0.1); color: var(--danger); border: 1px solid var(--danger); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* Pages */
.page-home { min-height: 100vh; padding-top: 80px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%); }
.page-auth { min-height: 100vh; padding-top: 80px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%); }
.page-inner { min-height: 100vh; padding: 120px 2rem 4rem; }
.page-dashboard { padding: 100px 2rem 4rem; }

/* Home */
.home-content { text-align: center; max-width: 900px; padding: 2rem; }
.home-badge { display: inline-block; background: rgba(245,158,11,0.1); border: 1px solid var(--accent); color: var(--accent); padding: 0.5rem 1rem; border-radius: 50px; font-size: 0.85rem; margin-bottom: 2rem; }
.home-title { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; background: linear-gradient(135deg, #fff 0%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.home-subtitle { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 3rem; line-height: 1.6; }
.home-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.home-stats { display: flex; justify-content: center; gap: 4rem; margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.home-stat { text-align: center; }
.home-stat-value { font-size: 2.5rem; font-weight: 700; color: var(--accent); }
.home-stat-label { color: var(--text-muted); font-size: 0.9rem; }

/* Auth */
.auth-container { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; width: 100%; max-width: 400px; margin: 2rem; }
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-header h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.auth-header p { color: var(--text-muted); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 0.5rem; }
.form-group input { width: 100%; padding: 0.85rem 1rem; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary); font-size: 1rem; font-family: inherit; }
.form-group input:focus { outline: none; border-color: var(--accent); }
.auth-btn { width: 100%; padding: 1rem; background: var(--accent); color: #000; border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; font-family: inherit; margin-top: 0.5rem; }
.auth-btn:hover { background: var(--accent-hover); }
.auth-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.auth-footer { text-align: center; margin-top: 1.5rem; color: var(--text-muted); font-size: 0.9rem; }
.auth-footer a { color: var(--accent); text-decoration: none; cursor: pointer; }
.auth-error { background: rgba(239,68,68,0.1); border: 1px solid var(--danger); color: var(--danger); padding: 0.75rem; border-radius: 8px; font-size: 0.9rem; margin-bottom: 1rem; display: none; }
.auth-error.show { display: block; }

/* Dashboard */
.dashboard-container { max-width: 1400px; margin: 0 auto; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.dashboard-header h1 { font-size: 2rem; }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.dash-stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }
.dash-stat-label { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
.dash-stat-value { font-size: 2rem; font-weight: 700; }
.dash-stat-value.good { color: var(--success); }
.dash-stat-value.bad { color: var(--danger); }
.analyses-section h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.analyses-list { display: flex; flex-direction: column; gap: 1rem; }
.analysis-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.analysis-card:hover { border-color: var(--accent); }
.analysis-info h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.analysis-info p { color: var(--text-muted); font-size: 0.85rem; }
.analysis-stats { display: flex; gap: 1.5rem; }
.analysis-stat { text-align: center; }
.analysis-stat-value { font-size: 1.25rem; font-weight: 600; }
.analysis-stat-value.score { color: var(--success); }
.analysis-stat-value.violations { color: var(--danger); }
.analysis-stat-label { font-size: 0.75rem; color: var(--text-muted); }
.analysis-actions { display: flex; gap: 0.5rem; }
.no-analyses { text-align: center; padding: 4rem 2rem; color: var(--text-muted); }
.no-analyses svg { width: 64px; height: 64px; stroke: var(--border); margin-bottom: 1rem; }
.no-analyses h3 { color: var(--text-secondary); margin-bottom: 0.5rem; }

/* Demo */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.section-header p { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.demo-container { max-width: 1400px; margin: 0 auto; }
.upload-section { background: var(--bg-card); border: 2px dashed var(--border); border-radius: 16px; padding: 3rem; text-align: center; cursor: pointer; margin-bottom: 2rem; }
.upload-section:hover { border-color: var(--accent); background: rgba(245,158,11,0.05); }
.upload-icon { width: 80px; height: 80px; margin: 0 auto 1.5rem; background: var(--bg-secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.upload-icon svg { width: 40px; height: 40px; stroke: var(--accent); }
.upload-text { color: var(--text-primary); font-size: 1.1rem; margin-bottom: 0.5rem; }
.upload-hint { color: var(--text-muted); font-size: 0.9rem; }
#fileInput { display: none; }
.progress-container { display: none; margin: 2rem 0; padding: 2rem; background: var(--bg-card); border-radius: 16px; }
.progress-bar { height: 10px; background: var(--bg-secondary); border-radius: 5px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent); width: 0%; transition: width 0.3s; }
.progress-text { text-align: center; margin-top: 1rem; color: var(--text-secondary); }
.results-section { display: none; }
.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.results-header h2 { font-size: 1.5rem; }
.results-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: var(--bg-card); border-radius: 12px; padding: 1.5rem; text-align: center; border: 1px solid var(--border); }
.stat-value { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.stat-value.score { color: var(--success); }
.stat-value.violations { color: var(--danger); }
.stat-value.safe { color: var(--success); }
.stat-label { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; }
.video-container { display: grid; grid-template-columns: 1fr 350px; gap: 1.5rem; }
.video-wrapper { background: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.video-header { background: var(--bg-secondary); padding: 1rem; display: flex; justify-content: space-between; border-bottom: 1px solid var(--border); }
.video-header span { color: var(--text-secondary); font-size: 0.9rem; }
#resultVideo { width: 100%; display: block; }
.detections-panel { background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border); display: flex; flex-direction: column; max-height: 600px; }
.panel-header { padding: 1rem; border-bottom: 1px solid var(--border); font-weight: 600; }
.detections-list { flex: 1; overflow-y: auto; padding: 1rem; }
.detection-item { background: var(--bg-secondary); border-radius: 8px; padding: 0.75rem; margin-bottom: 0.5rem; border-left: 3px solid var(--danger); }
.detection-class { font-weight: 500; margin-bottom: 0.25rem; }
.detection-meta { font-size: 0.8rem; color: var(--text-muted); }
.no-detections { text-align: center; padding: 2rem; color: var(--text-muted); }
.no-detections svg { width: 48px; height: 48px; stroke: var(--success); margin-bottom: 1rem; }

/* Company & Contact */
.company-container, .contact-container { max-width: 1200px; margin: 0 auto; }
.company-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 5rem; }
.company-image { border-radius: 16px; overflow: hidden; }
.company-image img { width: 100%; height: auto; }
.company-info h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.company-info p { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.8; margin-bottom: 1rem; }
.company-values h2 { font-size: 1.8rem; margin-bottom: 2rem; text-align: center; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.value-card { background: var(--bg-card); border-radius: 16px; padding: 2rem; text-align: center; border: 1px solid var(--border); transition: all 0.3s; }
.value-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.value-icon { width: 60px; height: 60px; background: rgba(245,158,11,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.value-icon svg { width: 30px; height: 30px; stroke: var(--accent); }
.value-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--text-muted); font-size: 0.9rem; }
.founders-section h2 { font-size: 2rem; text-align: center; margin-bottom: 3rem; }
.founders-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.founder-card { background: var(--bg-card); border-radius: 20px; padding: 2.5rem; text-align: center; border: 1px solid var(--border); transition: all 0.3s; }
.founder-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.founder-image { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 1.5rem; overflow: hidden; border: 4px solid var(--accent); }
.founder-image img { width: 100%; height: 100%; object-fit: cover; }
.founder-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.25rem; }
.founder-role { color: var(--accent); font-size: 0.95rem; margin-bottom: 1.5rem; }
.founder-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.founder-contact a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; padding: 0.5rem; border-radius: 8px; }
.founder-contact a:hover { color: var(--accent); background: rgba(245,158,11,0.1); }
.founder-contact svg { width: 18px; height: 18px; }
.contact-info { background: var(--bg-card); border-radius: 20px; padding: 3rem; text-align: center; border: 1px solid var(--border); margin-top: 4rem; }
.contact-info h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.contact-info p { color: var(--text-secondary); margin-bottom: 2rem; }
.contact-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.contact-link { display: flex; align-items: center; gap: 0.75rem; color: var(--text-primary); text-decoration: none; padding: 1rem 1.5rem; background: var(--bg-secondary); border-radius: 12px; }
.contact-link:hover { background: var(--accent); color: #000; }
.contact-link svg { width: 24px; height: 24px; }

/* Problem Section */
.problem-section { padding: 6rem 2rem; background: var(--bg-secondary); }
.problem-container { max-width: 1200px; margin: 0 auto; }
.section-label { color: var(--accent); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; }
.problem-title { font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 3rem; }
.problem-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; }
.problem-stat { padding: 1.5rem; }
.problem-stat-value { font-size: 3rem; font-weight: 800; color: var(--accent); margin-bottom: 0.5rem; }
.problem-stat-label { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.problem-stat-sub { font-size: 0.85rem; color: var(--text-muted); }
.problem-desc { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; padding-top: 2rem; border-top: 1px solid var(--border); }

/* Solution Section */
.solution-section { padding: 6rem 2rem; }
.solution-container { max-width: 1200px; margin: 0 auto; }
.solution-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 3rem; }
.solution-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.solution-features { display: flex; flex-direction: column; gap: 2rem; }
.solution-feature { display: flex; gap: 1.25rem; align-items: flex-start; }
.solution-icon { width: 50px; height: 50px; min-width: 50px; background: rgba(245,158,11,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.solution-icon svg { width: 26px; height: 26px; stroke: var(--accent); }
.solution-feature h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.solution-feature p { color: var(--text-muted); font-size: 0.9rem; }
.solution-cta-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 3rem; }
.solution-cta-box h3 { font-size: 1.8rem; font-weight: 700; line-height: 1.3; margin-bottom: 1rem; }
.solution-cta-box p { color: var(--text-secondary); font-size: 1rem; line-height: 1.6; }

/* How It Works */
.how-section { padding: 6rem 2rem; background: var(--bg-secondary); }
.how-container { max-width: 1200px; margin: 0 auto; }
.how-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 4rem; }
.how-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1.5rem; align-items: center; margin-bottom: 3rem; }
.how-step { text-align: center; }
.how-step-num { font-size: 3.5rem; font-weight: 800; color: var(--accent); margin-bottom: 0.5rem; }
.how-step h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; }
.how-step p { color: var(--text-muted); font-size: 0.95rem; }
.how-arrow { color: var(--accent); font-size: 2rem; }
.how-arrow svg { width: 32px; height: 32px; stroke: var(--accent); }
.how-tech { color: var(--text-muted); font-size: 0.9rem; text-align: center; padding-top: 2rem; border-top: 1px solid var(--border); }

/* Pricing */
.pricing-section { padding: 6rem 2rem; }
.pricing-container { max-width: 1200px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; text-align: center; transition: all 0.3s; position: relative; display: flex; flex-direction: column; }
.pricing-card:hover { border-color: var(--accent); transform: translateY(-5px); }
.pricing-card.featured { background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%); border-color: var(--accent); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #000; padding: 0.3rem 1.2rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700; }
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--text-secondary); }
.pricing-price { font-size: 3rem; font-weight: 800; color: var(--accent); margin-bottom: 0.25rem; }
.pricing-period { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.pricing-features { list-style: none; margin-bottom: 2rem; flex: 1; }
.pricing-features li { padding: 0.6rem 0; color: var(--text-secondary); font-size: 0.95rem; border-bottom: 1px solid var(--border); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-cta { width: 100%; padding: 1rem; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; font-family: inherit; border: none; transition: all 0.3s; text-decoration: none; display: block; }
.pricing-cta-primary { background: var(--accent); color: #000; }
.pricing-cta-primary:hover { background: var(--accent-hover); }
.pricing-cta-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.pricing-cta-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Market */
.market-section { padding: 6rem 2rem; }
.market-container { max-width: 1200px; margin: 0 auto; }
.market-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 3rem; }
.market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.market-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 3rem; text-align: center; }
.market-card-value { font-size: 3.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.market-card-value.accent { color: var(--accent); }
.market-card-value.green { color: var(--success); }
.market-card-label { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; }
.market-card-sub { color: var(--text-muted); font-size: 0.9rem; }
.market-target { color: var(--text-secondary); font-size: 1rem; }

/* Traction */
.traction-section { padding: 6rem 2rem; background: var(--bg-secondary); }
.traction-container { max-width: 1200px; margin: 0 auto; }
.traction-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 3rem; }
.traction-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.traction-list { display: flex; flex-direction: column; gap: 1.25rem; }
.traction-item { display: flex; align-items: center; gap: 1rem; font-size: 1.05rem; }
.traction-check { width: 28px; height: 28px; min-width: 28px; background: rgba(34,197,94,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.traction-check svg { width: 16px; height: 16px; stroke: var(--success); }
.roadmap h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1.5rem; }
.roadmap-item { display: flex; gap: 1rem; align-items: baseline; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.roadmap-q { color: var(--accent); font-weight: 700; min-width: 30px; }
.invest-banner { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; text-align: center; }
.invest-banner h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.invest-banner p { color: var(--text-muted); font-size: 0.95rem; }
.founder-desc { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; margin-bottom: 1rem; }

/* Demo Request */
.demo-request-page { min-height: 100vh; padding: 120px 2rem 4rem; }
.demo-request-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.demo-request-info { padding-top: 1rem; }
.demo-request-badge { display: inline-block; background: rgba(245,158,11,0.1); border: 1px solid var(--accent); color: var(--accent); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem; }
[data-theme="light"] .demo-request-badge { background: rgba(37,99,235,0.08); }
.demo-request-info h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.5rem; }
.demo-request-info p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; }
.demo-request-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; }
.demo-request-form .form-group { margin-bottom: 1.25rem; }
.demo-request-form .form-group label { display: block; color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 0.5rem; font-weight: 500; }
.demo-request-form .form-group label span { color: var(--danger); }
.demo-request-form .form-group input,
.demo-request-form .form-group textarea { width: 100%; padding: 0.85rem 1rem; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary); font-size: 1rem; font-family: inherit; transition: border-color 0.2s; }
.demo-request-form .form-group input:focus,
.demo-request-form .form-group textarea:focus { outline: none; border-color: var(--accent); }
.demo-request-form .form-group textarea { resize: vertical; min-height: 100px; }
.demo-request-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.demo-form-submit { width: 100%; padding: 1rem; background: var(--accent); color: #000; border: none; border-radius: 10px; font-size: 1.05rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: all 0.3s; margin-top: 0.5rem; }
[data-theme="light"] .demo-form-submit { color: #fff; }
.demo-form-submit:hover { background: var(--accent-hover); }
.demo-form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.demo-form-success { background: rgba(34,197,94,0.1); border: 1px solid var(--success); color: var(--success); padding: 1rem; border-radius: 10px; text-align: center; font-weight: 500; display: none; }
.demo-form-success.show { display: block; }

/* Chat Widget */
.chat-fab { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,0.3); z-index: 9999; transition: all 0.3s; }
.chat-fab:hover { transform: scale(1.08); }
.chat-fab svg { width: 28px; height: 28px; stroke: #fff; fill: none; }
[data-theme="light"] .chat-fab svg { stroke: #fff; }
.chat-panel { position: fixed; bottom: 96px; right: 24px; width: 380px; max-height: 520px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 8px 40px rgba(0,0,0,0.4); z-index: 9999; display: none; flex-direction: column; overflow: hidden; }
.chat-panel.open { display: flex; }
.chat-header { background: var(--accent); padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; }
.chat-header-info { display: flex; align-items: center; gap: 0.75rem; }
.chat-header-avatar { width: 36px; height: 36px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.chat-header-avatar svg { width: 20px; height: 20px; stroke: #fff; }
.chat-header-name { color: #fff; font-weight: 700; font-size: 0.95rem; }
.chat-header-status { color: rgba(255,255,255,0.8); font-size: 0.75rem; }
.chat-close { background: none; border: none; cursor: pointer; padding: 4px; border-radius: 6px; }
.chat-close:hover { background: rgba(255,255,255,0.15); }
.chat-close svg { width: 20px; height: 20px; stroke: #fff; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; max-height: 320px; }
.chat-msg { max-width: 85%; padding: 0.75rem 1rem; border-radius: 12px; font-size: 0.9rem; line-height: 1.5; }
.chat-msg.bot { background: var(--bg-secondary); color: var(--text-primary); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
[data-theme="light"] .chat-msg.user { color: #fff; }
.chat-quick-actions { padding: 0 1rem 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chat-quick-btn { background: var(--bg-secondary); border: 1px solid var(--border); color: var(--text-primary); padding: 0.5rem 0.85rem; border-radius: 20px; font-size: 0.8rem; cursor: pointer; font-family: inherit; transition: all 0.2s; }
.chat-quick-btn:hover { border-color: var(--accent); color: var(--accent); }
.chat-input-area { padding: 0.75rem 1rem; border-top: 1px solid var(--border); display: flex; gap: 0.5rem; }
.chat-input { flex: 1; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 20px; padding: 0.6rem 1rem; color: var(--text-primary); font-size: 0.9rem; font-family: inherit; }
.chat-input:focus { outline: none; border-color: var(--accent); }
.chat-send { background: var(--accent); border: none; border-radius: 50%; width: 38px; height: 38px; min-width: 38px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.chat-send:hover { background: var(--accent-hover); }
.chat-send svg { width: 18px; height: 18px; stroke: #fff; fill: none; }
[data-theme="light"] .chat-send svg { stroke: #fff; }
.chat-typing { display: flex; gap: 4px; padding: 0.75rem 1rem; align-self: flex-start; }
.chat-typing span { width: 8px; height: 8px; background: var(--text-muted); border-radius: 50%; animation: chatTyping 1.4s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatTyping { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }

@media (max-width: 768px) {
    .chat-panel { width: calc(100vw - 32px); right: 16px; bottom: 88px; }
    .chat-fab { bottom: 16px; right: 16px; }
}

/* Footer */
footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 2rem; text-align: center; }
footer p { color: var(--text-muted); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid, .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
    .video-container, .company-hero { grid-template-columns: 1fr; }
    .values-grid, .founders-grid { grid-template-columns: repeat(2, 1fr); }
    .home-title { font-size: 2.5rem; }
    .solution-grid, .traction-grid, .market-grid { grid-template-columns: 1fr; }
    .how-steps { grid-template-columns: 1fr; gap: 2rem; }
    .how-arrow { display: none; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 450px; margin: 0 auto; }
    .problem-stats { grid-template-columns: 1fr; }
    .problem-title, .solution-title, .how-title, .market-title, .traction-title { font-size: 2rem; }
    .demo-request-container { grid-template-columns: 1fr; }
    .demo-request-form .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    header { flex-direction: column; gap: 1rem; padding: 1rem; }
    nav { flex-wrap: wrap; justify-content: center; }
    nav button { padding: 0.5rem 0.8rem; font-size: 0.85rem; }
    .home-title { font-size: 2rem; }
    .home-stats { flex-direction: column; gap: 1.5rem; }
    .stats-grid, .dashboard-stats { grid-template-columns: 1fr; }
    .values-grid, .founders-grid { grid-template-columns: 1fr; }
    .user-email { display: none; }
}
