/* =============================================
   AI Assistant Page — Outreach by Taladria
   Matches site-wide design system
   ============================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #1e293b; line-height: 1.6; background: #fff; }

/* === HEADER (site-wide) === */
header { background: #0f172a; padding: 16px 0; position: fixed; width: 100%; top: 0; z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { color: white; font-size: 20px; font-weight: 700; }
.logo-text span { color: #5eead4; }
.header-nav { display: none; gap: 32px; align-items: center; margin-left: auto; justify-content: flex-end; }
@media (min-width: 768px) { .header-nav { display: flex; } }
.nav-link { color: #94a3b8; text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-link:hover { color: white; }
.nav-item-dropdown { position: relative; height: 100%; display: flex; align-items: center; }
.dropdown-trigger { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.dropdown-menu { opacity: 0; visibility: hidden; position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); background-color: #0f172a; min-width: 220px; box-shadow: 0 10px 25px -5px rgba(0,0,0,.5); border-radius: 12px; padding: 8px; z-index: 1000; border: 1px solid rgba(255,255,255,.1); transition: all 0.2s ease-in-out; margin-top: 16px; }
.dropdown-menu::before { content: ''; position: absolute; top: -20px; left: 0; right: 0; height: 20px; }
.nav-item-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-item { display: flex; align-items: center; gap: 8px; color: #94a3b8; padding: 10px 16px; text-decoration: none; font-size: 14px; border-radius: 8px; transition: all 0.2s; font-weight: 500; }
.dropdown-item:hover { background-color: rgba(255,255,255,.05); color: white; }
.active-item { color: #5eead4 !important; }
.new-pill { background: #0d9488; color: white; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 50px; letter-spacing: 0.5px; }
.dropdown-icon { transition: transform 0.2s; }
.nav-item-dropdown:hover .dropdown-icon { transform: rotate(180deg); }
.header-cta { display: flex; gap: 12px; align-items: center; }
.btn-ghost { color: #94a3b8; text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 8px; transition: all 0.2s; }
.btn-ghost:hover { color: white; background: rgba(255,255,255,.1); }
.btn-primary { background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%); color: white; text-decoration: none; font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 8px; transition: all 0.2s; border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(13,148,136,.4); }
.btn-large { font-size: 16px; padding: 14px 32px; }
.btn-secondary { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: white; text-decoration: none; font-size: 16px; font-weight: 600; padding: 14px 32px; border-radius: 8px; transition: all 0.2s; }
.btn-secondary:hover { background: rgba(255,255,255,.15); }
.btn-outline { display: inline-block; color: #5eead4; text-decoration: none; font-size: 18px; font-weight: 600; padding: 16px 40px; border-radius: 8px; border: 2px solid rgba(94,234,212,.3); transition: all 0.2s; }
.btn-outline:hover { background: rgba(94,234,212,.1); border-color: #5eead4; }

/* === SECTION UTILITIES === */
.section-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #0d9488; margin-bottom: 16px; }
.section-label.light { color: #5eead4; }
.hidden { display: none !important; }

/* === HERO === */
.hero { padding: 140px 24px 80px; background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%); text-align: center; }
.hero-inner { max-width: 900px; margin: 0 auto; }
.hero-badge { display: inline-block; background: rgba(94,234,212,.1); border: 1px solid rgba(94,234,212,.3); color: #5eead4; font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 50px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; color: white; line-height: 1.1; margin-bottom: 24px; }
.sweep-word { background: linear-gradient(90deg, #fff 0%, #fde68a 40%, #f59e0b 65%, #ef4444 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 20px; color: #94a3b8; max-width: 700px; margin: 0 auto 40px; line-height: 1.6; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.works-with { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.works-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: #64748b; }
.works-logos { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.works-logo-item { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #94a3b8; font-size: 13px; font-weight: 600; padding: 6px 16px; border-radius: 8px; transition: all 0.2s; }
.works-logo-item:hover { background: rgba(255,255,255,.1); color: white; }

/* === PAIN SECTION === */
.pain { padding: 100px 24px; background: #f8fafc; }
.pain-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.pain-inner h2 { font-size: 36px; font-weight: 700; color: #0f172a; margin-bottom: 48px; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card { background: white; border-radius: 16px; padding: 32px; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: transform 0.2s; }
.pain-card:hover { transform: translateY(-4px); }
.pain-emoji { font-size: 32px; margin-bottom: 16px; }
.pain-card h3 { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 20px; }
.pain-today, .pain-after { padding: 16px; border-radius: 10px; margin-bottom: 12px; }
.pain-today { background: #fef2f2; }
.pain-after { background: #ecfdf5; }
.pain-today p { font-size: 14px; color: #991b1b; }
.pain-after p { font-size: 14px; color: #065f46; font-weight: 600; }
.pain-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.pain-tag.today { color: #dc2626; }
.pain-tag.after { color: #059669; }

/* === CHAT DEMO === */
.chat-demo { padding: 100px 24px; background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%); }
.chat-demo-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.chat-demo-inner h2 { font-size: 36px; font-weight: 700; color: white; margin-bottom: 16px; }
.chat-demo-subtitle { font-size: 18px; color: #94a3b8; margin-bottom: 40px; }
.scenario-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.tab { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: #94a3b8; font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 50px; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.tab:hover { background: rgba(255,255,255,.1); color: white; }
.tab.active { background: #0d9488; border-color: #0d9488; color: white; }
.chat-window { background: #0a0f1a; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 24px; text-align: left; max-height: 560px; overflow-y: auto; }
.chat-messages { display: flex; flex-direction: column; gap: 16px; }
.msg { padding: 14px 18px; border-radius: 14px; font-size: 14px; line-height: 1.6; max-width: 90%; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.msg.user { background: #0d9488; color: white; align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }
.msg.bot { background: rgba(255,255,255,.05); color: #e2e8f0; border: 1px solid rgba(255,255,255,.08); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.bot strong { color: white; }
.msg .muted { color: #94a3b8; font-size: 13px; }
.match-card-mini { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; background: rgba(255,255,255,.04); border-radius: 10px; margin: 6px 0; }
.score { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 28px; border-radius: 6px; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.score.high { background: rgba(16,185,129,.15); color: #34d399; }
.score.good { background: rgba(250,204,21,.15); color: #fbbf24; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 6px; }
.tag.green { background: rgba(16,185,129,.15); color: #34d399; }
.tag.yellow { background: rgba(250,204,21,.12); color: #fbbf24; }
.tag.blue { background: rgba(56,189,248,.12); color: #38bdf8; }
.email-preview { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; overflow: hidden; margin: 8px 0; }
.email-header-bar { background: rgba(255,255,255,.06); padding: 10px 14px; font-size: 13px; color: #94a3b8; border-bottom: 1px solid rgba(255,255,255,.06); }
.email-header-bar strong { color: #cbd5e1; }
.email-body { padding: 14px; font-size: 13px; color: #cbd5e1; line-height: 1.7; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0; }
.compare-table th { text-align: left; padding: 8px 10px; color: #94a3b8; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.1); }
.compare-table td { padding: 8px 10px; color: #e2e8f0; border-bottom: 1px solid rgba(255,255,255,.05); }
.score-inline { font-weight: 800; }
.score-inline.high { color: #34d399; }
.score-inline.good { color: #fbbf24; }

/* === SEMANTIC SEARCH === */
.semantic { padding: 100px 24px; background: #fff; }
.semantic-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.semantic-inner h2 { font-size: 36px; font-weight: 700; color: #0f172a; margin-bottom: 16px; }
.semantic-inner h2 em { font-style: normal; color: #0d9488; }
.semantic-subtitle { font-size: 18px; color: #64748b; max-width: 800px; margin: 0 auto 48px; }
.semantic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; }
@media (max-width: 768px) { .semantic-grid { grid-template-columns: 1fr; } }
.semantic-card { padding: 32px; border-radius: 16px; border: 2px solid; }
.semantic-card.bad { background: #fef2f2; border-color: #fecaca; }
.semantic-card.good { background: #ecfdf5; border-color: #a7f3d0; }
.semantic-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #dc2626; margin-bottom: 12px; }
.semantic-tag.accent { color: #059669; }
.semantic-query { font-family: 'Inter', monospace; font-size: 15px; font-weight: 600; color: #0f172a; background: rgba(0,0,0,.04); padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
.semantic-result .result-count { font-size: 24px; font-weight: 800; color: #dc2626; margin-bottom: 8px; }
.semantic-result .result-count.accent { color: #059669; }
.semantic-result p { font-size: 14px; color: #475569; }
.semantic-footnote { font-size: 16px; color: #64748b; font-style: italic; margin-top: 32px; }

/* === HOW THEY USE IT === */
.how-use { padding: 100px 24px; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); }
.how-use-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.how-use-inner h2 { font-size: 36px; font-weight: 700; color: white; margin-bottom: 16px; }
.how-use-subtitle { font-size: 18px; color: #94a3b8; margin-bottom: 48px; }
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .channel-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .channel-grid { grid-template-columns: 1fr; } }
.channel-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 28px; text-align: left; transition: all 0.3s; position: relative; }
.channel-card:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.channel-icon { font-size: 32px; margin-bottom: 16px; }
.channel-card h3 { font-size: 18px; font-weight: 700; color: white; margin-bottom: 10px; }
.channel-card p { font-size: 14px; color: #94a3b8; line-height: 1.6; }
.channel-card code { background: rgba(94,234,212,.15); color: #5eead4; padding: 2px 6px; border-radius: 4px; font-size: 13px; }
.channel-tag { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #5eead4; background: rgba(94,234,212,.1); padding: 4px 10px; border-radius: 50px; }

/* === COMPARISON TABLE === */
.comparison { padding: 100px 24px; background: #f8fafc; }
.comparison-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.comparison-inner h2 { font-size: 36px; font-weight: 700; color: #0f172a; margin-bottom: 16px; }
.comparison-subtitle { font-size: 18px; color: #64748b; margin-bottom: 48px; }
.comparison-subtitle em { font-style: normal; color: #0d9488; font-weight: 600; }
.comparison-table-wrap { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table thead th { padding: 16px 20px; font-size: 14px; font-weight: 700; text-align: center; background: #f1f5f9; color: #475569; }
.comparison-table thead th.highlight-col { background: #0d9488; color: white; }
.comparison-table tbody td { padding: 14px 20px; font-size: 15px; text-align: center; border-bottom: 1px solid #f1f5f9; }
.comparison-table tbody td:first-child { text-align: left; font-weight: 500; color: #334155; }

/* === SECURITY === */
.security { padding: 60px 24px; background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 100%); }
.security-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.security-icon-large { font-size: 48px; margin-bottom: 16px; }
.security-inner h2 { font-size: 32px; font-weight: 700; color: #0f172a; margin-bottom: 32px; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
@media (max-width: 600px) { .security-grid { grid-template-columns: 1fr; } }
.security-item { background: white; padding: 16px 20px; border-radius: 10px; font-size: 14px; color: #334155; box-shadow: 0 1px 3px rgba(0,0,0,.05); display: flex; gap: 10px; align-items: flex-start; }
.security-item .check { flex-shrink: 0; }

/* === SETUP STEPS === */
.setup { padding: 100px 24px; background: white; }
.setup-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.setup-inner h2 { font-size: 36px; font-weight: 700; color: #0f172a; margin-bottom: 16px; }
.setup-subtitle { font-size: 18px; color: #64748b; margin-bottom: 48px; }
.setup-steps { display: flex; gap: 32px; }
@media (max-width: 768px) { .setup-steps { flex-direction: column; } }
.setup-step { flex: 1; text-align: center; }
.setup-num { width: 48px; height: 48px; background: #0d9488; color: white; font-size: 20px; font-weight: 800; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.setup-step h3 { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.setup-step p { font-size: 14px; color: #64748b; }

/* === CLOSING CTA === */
.closing-cta { padding: 100px 24px; background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); text-align: center; }
.closing-cta-inner { max-width: 700px; margin: 0 auto; }
.cta-badge { display: inline-block; background: rgba(250,204,21,.1); border: 1px solid rgba(250,204,21,.3); color: #fbbf24; font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 50px; margin-bottom: 24px; }
.closing-cta h2 { font-size: 36px; font-weight: 700; color: white; margin-bottom: 16px; }
.closing-cta p { font-size: 18px; color: #94a3b8; margin-bottom: 40px; line-height: 1.7; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-buttons .btn-primary { font-size: 18px; padding: 16px 40px; }
.cta-reassure { font-size: 14px; color: #64748b; margin-top: 16px; }

/* === FOOTER === */
footer { background: #0f172a; padding: 48px 24px; text-align: center; border-top: 1px solid rgba(255,255,255,.1); }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 24px; }
.footer-text { color: #64748b; font-size: 14px; }
.footer-links { margin-top: 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: white; }
.footer-legal { color: #64748b; font-size: 12px; margin-top: 32px; }

/* === MOBILE === */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .hero-subtitle { font-size: 16px; }
    .pain-inner h2, .chat-demo-inner h2, .semantic-inner h2, .how-use-inner h2, .comparison-inner h2, .setup-inner h2, .closing-cta h2 { font-size: 28px; }
    .cta-buttons { flex-direction: column; align-items: center; }
}

/* Scrollbar for chat window */
.chat-window::-webkit-scrollbar { width: 6px; }
.chat-window::-webkit-scrollbar-track { background: transparent; }
.chat-window::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }
