/* ═══════════════════════════════════════════════════
   List.Solutions — Shared Stylesheet
   ═══════════════════════════════════════════════════ */

:root {
    --primary: #0f172a;
    --primary-mid: #1e293b;
    --primary-light: #334155;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --accent-glow: rgba(59,130,246,0.15);
    --green: #10b981;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --text: #f8fafc;
    --text-muted: #94a3b8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; }
body { font-family: 'DM Sans', sans-serif; background: var(--primary); color: var(--text); min-height: 100vh; overflow-x: hidden; }
a { color: var(--accent-light); text-decoration: none; }

/* ── NAV ── */
.nav { background: rgba(15,23,42,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 0 20px; position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-family: 'DM Serif Display', serif; font-size: 1.3rem; color: var(--white); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.nav-logo .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; display: inline-block; }
.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a { color: var(--gray-400); text-decoration: none; padding: 8px 16px; border-radius: 6px; font-size: 0.88rem; font-weight: 500; transition: all 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-ab { background: rgba(59,130,246,0.1) !important; color: var(--accent-light) !important; border: 1px solid rgba(59,130,246,0.25); }
.nav-ab:hover { background: rgba(59,130,246,0.18) !important; border-color: rgba(59,130,246,0.4); }
.nav-cta { background: var(--accent); color: var(--white); padding: 8px 20px; border-radius: 8px; font-weight: 600; font-size: 0.88rem; text-decoration: none; transition: all 0.2s; }
.nav-cta:hover { background: var(--accent-light); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--primary-mid); flex-direction: column; padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .nav-links.open { display: flex; }
}

/* ── HERO ── */
.hero { padding: 80px 20px 70px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 60%); pointer-events: none; }
.hero-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); color: var(--accent-light); padding: 6px 16px; border-radius: 100px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 24px; position: relative; }
.hero-chip .pulse { width: 6px; height: 6px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 400; line-height: 1.15; margin-bottom: 18px; position: relative; }
.hero h1 em { font-style: normal; color: var(--accent-light); }
.hero > p { font-size: 1.1rem; color: var(--gray-400); max-width: 640px; margin: 0 auto 36px; line-height: 1.7; font-weight: 300; position: relative; }
.hero-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; position: relative; }
.hero-stat-num { font-family: 'DM Serif Display', serif; font-size: 2.4rem; color: var(--white); }
.hero-stat-label { font-size: 0.78rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 2px; }

/* Hero CTA buttons */
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-bottom: 36px; position: relative; flex-wrap: wrap; }
.hero-btn-primary { font-size: 1.05rem; padding: 14px 32px; }
.hero-btn-secondary { font-size: 1.05rem; padding: 14px 32px; background: transparent; border: 1px solid rgba(255,255,255,0.15); }
.hero-btn-secondary:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }

/* AI Advisor Banner */
.ai-advisor-banner { padding: 60px 20px; background: linear-gradient(135deg, rgba(59,130,246,0.06) 0%, rgba(139,92,246,0.04) 100%); border-top: 1px solid rgba(59,130,246,0.1); border-bottom: 1px solid rgba(59,130,246,0.1); }
.ai-banner-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ai-banner-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.25); color: var(--accent-light); padding: 5px 14px; border-radius: 100px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 16px; }
.ai-banner-text h2 { font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 400; line-height: 1.25; margin-bottom: 14px; }
.ai-banner-text h2 em { font-style: normal; color: var(--accent-light); }
.ai-banner-text p { color: var(--gray-400); font-size: 0.95rem; line-height: 1.7; font-weight: 300; margin-bottom: 22px; }
.ai-banner-btn { font-size: 0.95rem; padding: 12px 28px; }

/* AI preview chat mockup */
.ai-banner-preview { background: var(--primary-mid); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.ai-preview-msg { padding: 10px 14px; border-radius: 12px; font-size: 0.85rem; line-height: 1.55; }
.ai-preview-bot { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); color: var(--gray-300); align-self: flex-start; max-width: 90%; border-bottom-left-radius: 4px; }
.ai-preview-bot strong { color: var(--gray-100); }
.ai-preview-user { background: var(--accent); color: white; align-self: flex-end; max-width: 80%; border-bottom-right-radius: 4px; }
.ai-preview-rec { display: flex; align-items: center; justify-content: space-between; padding: 6px 10px; margin-top: 6px; background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.15); border-radius: 6px; font-size: 0.8rem; color: var(--gray-200); }
.ai-preview-rec span { color: var(--accent-light); font-weight: 600; font-size: 0.75rem; }

/* CTA buttons pair */
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-outline { background: transparent !important; border: 1px solid rgba(255,255,255,0.2) !important; color: var(--gray-200) !important; }
.btn-outline:hover { background: rgba(255,255,255,0.06) !important; border-color: rgba(255,255,255,0.35) !important; }

/* ── SEARCH ── */
.search-section { background: var(--primary-mid); padding: 28px 20px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.search-wrapper { max-width: 560px; margin: 0 auto; position: relative; }
.search-container { position: relative; }
.search-container input { width: 100%; padding: 14px 18px 14px 46px; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; background: rgba(255,255,255,0.04); color: var(--white); font-size: 1rem; font-family: 'DM Sans', sans-serif; transition: all 0.3s; }
.search-container input::placeholder { color: var(--gray-500); }
.search-container input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.06); box-shadow: 0 0 24px rgba(59,130,246,0.1); }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1rem; }
.search-count { text-align: center; margin-top: 10px; color: var(--gray-500); font-size: 0.84rem; }
.search-count strong { color: var(--accent-light); }

/* ── SEARCH DROPDOWN ── */
.search-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: var(--primary-mid); border: 1px solid rgba(255,255,255,0.1); border-top: none; border-radius: 0 0 10px 10px; max-height: 420px; overflow-y: auto; z-index: 50; display: none; box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.search-dropdown.open { display: block; }
.dd-section { padding: 6px 0; }
.dd-section + .dd-section { border-top: 1px solid rgba(255,255,255,0.06); }
.dd-label { padding: 8px 16px 4px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gray-500); font-weight: 600; }
.dd-item { display: flex; align-items: center; gap: 10px; padding: 9px 16px; text-decoration: none; color: var(--text); transition: background 0.15s; cursor: pointer; }
.dd-item:hover { background: rgba(255,255,255,0.05); }
.dd-emoji { font-size: 1.1rem; flex-shrink: 0; width: 28px; text-align: center; }
.dd-text { flex: 1; font-size: 0.88rem; color: var(--gray-100); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-meta { font-size: 0.75rem; color: var(--gray-500); flex-shrink: 0; white-space: nowrap; }
.dd-tag { display: inline-block; background: rgba(59,130,246,0.12); color: var(--accent-light); padding: 1px 7px; border-radius: 4px; font-size: 0.68rem; font-weight: 600; margin-left: 6px; vertical-align: middle; letter-spacing: 0.3px; }
.dd-tag-seg { background: rgba(255,255,255,0.07); color: var(--gray-400); }
.dd-viewall { display: block; padding: 12px 16px; text-align: center; color: var(--accent-light); font-size: 0.85rem; font-weight: 600; text-decoration: none; border-top: 1px solid rgba(255,255,255,0.06); transition: background 0.15s; }
.dd-viewall:hover { background: rgba(59,130,246,0.06); }
.card-tag { display: inline-block; background: rgba(59,130,246,0.12); color: var(--accent-light); padding: 2px 8px; border-radius: 4px; font-size: 0.65rem; font-weight: 600; margin-left: 6px; vertical-align: middle; letter-spacing: 0.3px; }

/* ── WHY US ── */
.why-us { max-width: 1100px; margin: 0 auto; padding: 60px 20px 20px; text-align: center; }
.why-us h2 { font-family: 'DM Serif Display', serif; font-size: 1.8rem; margin-bottom: 10px; }
.why-us h2 em { font-style: normal; color: var(--accent-light); }
.why-us-sub { color: var(--gray-400); font-size: 1rem; font-weight: 300; max-width: 580px; margin: 0 auto 36px; line-height: 1.7; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.why-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 28px 22px; text-align: left; transition: border-color 0.25s; }
.why-card:hover { border-color: rgba(59,130,246,0.2); }
.why-icon { font-size: 1.6rem; margin-bottom: 12px; }
.why-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: var(--gray-100); }
.why-card p { color: var(--gray-400); font-size: 0.87rem; line-height: 1.65; font-weight: 300; }
.why-us-cta { margin-top: 28px; font-size: 0.92rem; }
.why-us-cta a { color: var(--accent-light); font-weight: 500; text-decoration: none; transition: color 0.2s; }
.why-us-cta a:hover { color: var(--white); }

/* ── BLOG PREVIEW ── */
.blog-preview { max-width: 1100px; margin: 0 auto; padding: 50px 20px 20px; }
.blog-preview h2 { font-family: 'DM Serif Display', serif; font-size: 1.6rem; margin-bottom: 28px; text-align: center; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.blog-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 26px 22px; text-decoration: none; color: var(--text); display: block; transition: all 0.25s; }
.blog-card:hover { border-color: rgba(59,130,246,0.2); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.blog-tag { display: inline-block; background: var(--accent-glow); color: var(--accent-light); padding: 3px 10px; border-radius: 100px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.blog-card h3 { font-size: 1rem; font-weight: 600; line-height: 1.4; margin-bottom: 10px; color: var(--gray-100); }
.blog-card p { color: var(--gray-400); font-size: 0.85rem; line-height: 1.65; font-weight: 300; margin-bottom: 14px; }
.blog-read { color: var(--accent-light); font-size: 0.82rem; font-weight: 600; }

/* ── HOW IT WORKS ── */
.how { max-width: 1000px; margin: 0 auto; padding: 60px 20px 20px; text-align: center; }
.how h2 { font-family: 'DM Serif Display', serif; font-size: 1.6rem; margin-bottom: 36px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.step-num { width: 40px; height: 40px; background: var(--accent); color: var(--white); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; margin-bottom: 14px; }
.step h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--gray-500); font-size: 0.87rem; line-height: 1.6; font-weight: 300; }

/* ── CATEGORIES ── */
.main { max-width: 1200px; margin: 0 auto; padding: 40px 20px 30px; }
/* ── SEGMENT ACCORDION ── */
.segment-accordion { margin-bottom: 8px; }
.section-header { display: flex; align-items: center; gap: 16px; margin-bottom: 0; margin-top: 0; padding: 16px 0; cursor: pointer; user-select: none; transition: opacity 0.2s; }
.section-header:hover { opacity: 0.85; }
.section-header h2 { font-family: 'DM Serif Display', serif; font-size: 1.4rem; white-space: nowrap; min-width: 0; }
.section-header .line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,0.08), transparent); }
.section-header .badge { background: var(--accent-glow); color: var(--accent-light); padding: 4px 14px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }
.section-header .accordion-arrow { color: var(--gray-500); font-size: 0.85rem; transition: transform 0.3s ease; display: flex; align-items: center; }
.segment-accordion.open .accordion-arrow { transform: rotate(180deg); }
.cards-wrap { max-height: 0; overflow: hidden; transition: max-height 0.45s ease; }
.segment-accordion.open .cards-wrap { max-height: 6000px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; padding-bottom: 36px; padding-top: 14px; }
.card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 10px; padding: 15px 17px; text-decoration: none; color: var(--text); display: block; transition: all 0.25s ease; position: relative; overflow: hidden; }
.card::after { content: '\2192'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%) translateX(6px); opacity: 0; color: var(--accent); font-size: 1rem; transition: all 0.25s; }
.card:hover { background: rgba(59,130,246,0.06); border-color: rgba(59,130,246,0.2); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.card:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.card-icon { font-size: 1.2rem; margin-bottom: 5px; display: block; }
.card-name { font-weight: 600; font-size: 0.9rem; line-height: 1.4; }
.card-sub { font-size: 0.76rem; color: var(--gray-500); margin-top: 2px; }
.no-results { text-align: center; padding: 60px 20px; color: var(--gray-500); font-size: 1rem; display: none; }

/* ── BREADCRUMB ── */
.breadcrumb { max-width: 1200px; margin: 0 auto; padding: 20px 20px 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: 0.84rem; }
.breadcrumb li { display: flex; align-items: center; gap: 4px; }
.breadcrumb li + li::before { content: '/'; color: var(--gray-600); margin-right: 4px; }
.breadcrumb a { color: var(--gray-400); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb .current { color: var(--gray-200); }

/* ── CATEGORY PAGE ── */
.category-hero { max-width: 1200px; margin: 0 auto; padding: 40px 20px 0; }
.category-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 400; margin-bottom: 10px; }
.category-hero .segment-badge { display: inline-block; background: var(--accent-glow); color: var(--accent-light); padding: 4px 14px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; margin-bottom: 12px; }
.category-hero .listing-count { color: var(--gray-400); font-size: 0.95rem; font-weight: 300; }

/* ── LISTINGS TABLE ── */
.listings-section { max-width: 1200px; margin: 0 auto; padding: 30px 20px; }
.listings-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.listings-search { position: relative; flex: 1; max-width: 400px; }
.listings-search input { width: 100%; padding: 10px 14px 10px 38px; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; background: rgba(255,255,255,0.04); color: var(--white); font-size: 0.9rem; font-family: 'DM Sans', sans-serif; }
.listings-search input::placeholder { color: var(--gray-500); }
.listings-search input:focus { outline: none; border-color: var(--accent); }
.listings-search .search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 0.85rem; }
.sort-controls { display: flex; gap: 8px; align-items: center; }
.sort-controls label { color: var(--gray-500); font-size: 0.84rem; }
.sort-controls select { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: var(--white); padding: 8px 12px; border-radius: 8px; font-size: 0.84rem; font-family: 'DM Sans', sans-serif; }
.sort-controls select:focus { outline: none; border-color: var(--accent); }

.listings-table { width: 100%; border-collapse: collapse; }
.listings-table th { text-align: left; padding: 12px 16px; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-500); border-bottom: 1px solid rgba(255,255,255,0.06); }
.listings-table td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 0.9rem; vertical-align: top; }
.listings-table tr:hover { background: rgba(255,255,255,0.02); }
.listings-table .list-name { font-weight: 600; color: var(--text); }
.listings-table .list-name a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.listings-table .list-name a:hover { color: var(--accent-light); }
.listings-table .list-desc { color: var(--gray-400); font-size: 0.84rem; font-weight: 300; line-height: 1.6; }
.listings-table .list-universe { color: var(--gray-200); font-weight: 500; white-space: nowrap; }
.request-btn { display: inline-flex; align-items: center; gap: 4px; background: var(--accent); color: var(--white); padding: 6px 14px; border-radius: 6px; font-weight: 600; font-size: 0.78rem; text-decoration: none; transition: all 0.2s; white-space: nowrap; }
.request-btn:hover { background: var(--accent-light); color: var(--white); }

/* Responsive table */
@media (max-width: 768px) {
    .listings-table thead { display: none; }
    .listings-table tr { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
    .listings-table td { display: block; padding: 4px 0; border: none; }
    .listings-table td:first-child { padding-bottom: 6px; }
    .listings-table td::before { content: attr(data-label); display: block; font-size: 0.72rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
    .listings-table td.list-actions::before { display: none; }
}

/* ── PAGINATION ── */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 30px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 6px; font-size: 0.88rem; font-weight: 500; transition: all 0.2s; }
.pagination a { color: var(--gray-400); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); text-decoration: none; }
.pagination a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.pagination .active { color: var(--white); background: var(--accent); border: 1px solid var(--accent); }

/* ── BLOG INDEX ── */
.blog-index { max-width: 780px; margin: 0 auto; padding: 0 20px 40px; }
.blog-index-card { display: block; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 28px 26px; margin-bottom: 16px; text-decoration: none; color: var(--text); transition: all 0.25s; }
.blog-index-card:hover { border-color: rgba(59,130,246,0.2); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.blog-index-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-date { color: var(--gray-500); font-size: 0.8rem; }
.blog-index-card h2 { font-family: 'DM Serif Display', serif; font-size: 1.25rem; margin-bottom: 10px; color: var(--gray-100); }
.blog-index-card p { color: var(--gray-400); font-size: 0.9rem; line-height: 1.7; font-weight: 300; margin-bottom: 12px; }

/* ── BLOG ARTICLE ── */
.blog-article { max-width: 720px; margin: 0 auto; padding: 30px 20px 60px; }
.blog-article-header { margin-bottom: 36px; }
.blog-article-header h1 { font-family: 'DM Serif Display', serif; font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 14px 0 12px; line-height: 1.25; }
.blog-article-meta { color: var(--gray-500); font-size: 0.84rem; display: flex; gap: 8px; }
.blog-article-body { color: var(--gray-300); line-height: 1.85; font-weight: 300; font-size: 0.96rem; }
.blog-article-body h2 { font-family: 'DM Serif Display', serif; font-size: 1.3rem; color: var(--gray-100); margin: 36px 0 14px; }
.blog-article-body h3 { font-size: 1.05rem; font-weight: 600; color: var(--gray-200); margin: 28px 0 10px; }
.blog-article-body p { margin-bottom: 18px; }
.blog-article-body ul, .blog-article-body ol { margin: 0 0 18px 24px; }
.blog-article-body li { margin-bottom: 8px; }
.blog-article-body strong { color: var(--gray-100); font-weight: 600; }
.blog-article-cta { background: var(--primary-mid); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 32px; text-align: center; margin-top: 48px; }
.blog-article-cta h3 { font-family: 'DM Serif Display', serif; font-size: 1.2rem; margin-bottom: 10px; }
.blog-article-cta p { color: var(--gray-400); font-size: 0.9rem; font-weight: 300; margin-bottom: 20px; line-height: 1.6; }

/* ── SEO CONTENT ── */
.seo-content { max-width: 780px; margin: 0 auto; padding: 50px 20px 50px; border-top: 1px solid rgba(255,255,255,0.04); }
.seo-content h2 { font-family: 'DM Serif Display', serif; font-size: 1.3rem; margin-bottom: 12px; color: var(--gray-200); }
.seo-content p { color: var(--gray-400); line-height: 1.8; font-weight: 300; margin-bottom: 22px; font-size: 0.93rem; }

/* ── FAQ ── */
.faq { max-width: 780px; margin: 0 auto; padding: 0 20px 60px; }
.faq h2 { font-family: 'DM Serif Display', serif; font-size: 1.4rem; margin-bottom: 28px; text-align: center; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.05); padding: 20px 0; cursor: pointer; }
.faq-q { font-weight: 600; font-size: 0.98rem; color: var(--gray-200); display: flex; justify-content: space-between; align-items: center; }
.faq-q .toggle { color: var(--accent); font-size: 1.2rem; transition: transform 0.3s; }
.faq-q .toggle.open { transform: rotate(45deg); }
.faq-a { color: var(--gray-400); line-height: 1.7; font-weight: 300; font-size: 0.9rem; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-a.open { max-height: 300px; padding-top: 12px; }

/* ── CTA ── */
.cta-section { text-align: center; padding: 70px 20px; background: linear-gradient(180deg, transparent, rgba(59,130,246,0.04)); border-top: 1px solid rgba(255,255,255,0.04); }
.cta-section h2 { font-family: 'DM Serif Display', serif; font-size: 1.8rem; margin-bottom: 12px; }
.cta-section p { color: var(--gray-400); margin-bottom: 28px; font-weight: 300; max-width: 480px; margin-left: auto; margin-right: auto; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--white); padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: all 0.25s; }
.btn:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,130,246,0.25); }

/* ── FOOTER ── */
.footer { text-align: center; padding: 32px 20px 24px; border-top: 1px solid rgba(255,255,255,0.04); color: var(--gray-500); font-size: 0.82rem; }
.footer a { color: var(--accent-light); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer-main { margin-bottom: 10px; }
.footer-contact { margin-top: 8px; }
.footer-contact a { color: var(--gray-400); }
.footer-contact a:hover { color: var(--accent-light); }
.footer-sep { margin: 0 8px; color: var(--gray-600); }
.footer-links { margin-bottom: 10px; font-size: 0.8rem; }
.footer-links a { color: var(--gray-500); }
.footer-links a:hover { color: var(--accent-light); }
.footer-legal { margin-top: 4px; color: var(--gray-600); font-size: 0.78rem; }

/* ── LEGAL PAGES ── */
.legal-page h2 { margin-top: 36px; }
.legal-page h3 { font-size: 1.05rem; margin-top: 24px; margin-bottom: 8px; color: var(--gray-300); font-family: 'DM Sans', sans-serif; }
.legal-page ul { color: var(--gray-400); line-height: 1.8; font-weight: 300; margin-bottom: 18px; font-size: 0.95rem; padding-left: 24px; }
.legal-page li { margin-bottom: 6px; }
.legal-updated { color: var(--gray-500); font-size: 0.88rem; font-style: italic; margin-bottom: 28px; }

/* ── TRUST BANNER ── */
.trust-banner {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px;
    margin-bottom: 36px; padding: 0;
}
.trust-banner-item {
    display: flex; gap: 14px; align-items: flex-start;
    background: rgba(59,130,246,0.04); border: 1px solid rgba(59,130,246,0.1);
    border-radius: 12px; padding: 20px;
}
.trust-banner-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.trust-banner-item strong { display: block; font-size: 0.9rem; color: var(--gray-100); margin-bottom: 4px; }
.trust-banner-item p { font-size: 0.82rem; color: var(--gray-400); line-height: 1.6; font-weight: 300; margin: 0; }
@media (max-width: 600px) {
    .trust-banner { grid-template-columns: 1fr; }
}

/* ── ABOUT PAGE ── */
.page-content { max-width: 780px; margin: 0 auto; padding: 50px 20px; }
.page-content h1 { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 24px; }
.page-content h2 { font-family: 'DM Serif Display', serif; font-size: 1.3rem; margin-top: 32px; margin-bottom: 12px; color: var(--gray-200); }
.page-content p { color: var(--gray-400); line-height: 1.8; font-weight: 300; margin-bottom: 18px; font-size: 0.95rem; }
.page-content a { color: var(--accent-light); }

/* ── CONTACT FORM PAGE ── */
.cf-page { max-width: 1100px; margin: 0 auto; padding: 0 20px 60px; }
.cf-hero { text-align: center; padding: 48px 20px 36px; }
.cf-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.cf-hero p { color: var(--gray-400); font-size: 1.02rem; font-weight: 300; max-width: 600px; margin: 0 auto; line-height: 1.7; }

.cf-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }

/* ── Form main column ── */
.cf-main { background: var(--primary-mid); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 32px; }

.cf-inquiry-banner { display: flex; align-items: center; gap: 14px; background: var(--accent-glow); border: 1px solid rgba(59,130,246,0.2); border-radius: 10px; padding: 16px 18px; margin-bottom: 24px; }
.cf-inquiry-icon { font-size: 1.4rem; flex-shrink: 0; }
.cf-inquiry-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cf-inquiry-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray-400); font-weight: 600; }
.cf-inquiry-text strong { font-size: 0.95rem; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-inquiry-meta { font-size: 0.82rem; color: var(--gray-400); }

.cf-honeypot { position: absolute; left: -9999px; }

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { margin-bottom: 20px; }
.cf-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--gray-200); margin-bottom: 7px; }
.cf-req { color: var(--accent-light); }
.cf-field input,
.cf-field select,
.cf-field textarea {
    width: 100%; padding: 11px 14px; background: var(--primary); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px; color: var(--text); font-family: inherit; font-size: 0.92rem; transition: border-color 0.2s;
}
.cf-field input::placeholder,
.cf-field textarea::placeholder { color: var(--gray-500); }
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.cf-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.cf-field select option { background: var(--primary-mid); color: var(--text); }
.cf-field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.cf-field textarea.cf-short { min-height: 80px; }

.cf-submit {
    width: 100%; padding: 14px; background: var(--accent); color: white; border: none; border-radius: 10px;
    font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.2s; margin-top: 4px;
}
.cf-submit:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(59,130,246,0.3); }
.cf-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── Success state ── */
.cf-success { text-align: center; padding: 48px 20px; }
.cf-success-icon { width: 56px; height: 56px; background: rgba(16,185,129,0.15); border: 2px solid var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.5rem; color: var(--green); }
.cf-success h3 { font-family: 'DM Serif Display', serif; font-size: 1.5rem; margin-bottom: 12px; }
.cf-success p { color: var(--gray-400); font-weight: 300; margin-bottom: 24px; line-height: 1.7; }

/* ── Sidebar ── */
.cf-sidebar { display: flex; flex-direction: column; gap: 16px; }
.cf-sidebar-card { background: var(--primary-mid); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 24px; }
.cf-sidebar-card h3 { font-size: 0.95rem; margin-bottom: 10px; color: var(--gray-200); }
.cf-sidebar-card p { font-size: 0.85rem; color: var(--gray-400); line-height: 1.6; font-weight: 300; margin-bottom: 0; }

.cf-email-link {
    display: block; margin-top: 12px; padding: 10px 16px; background: var(--accent-glow); border: 1px solid rgba(59,130,246,0.2);
    border-radius: 8px; text-align: center; font-weight: 600; font-size: 0.92rem; color: var(--accent-light); transition: all 0.2s;
}
.cf-email-link:hover { background: rgba(59,130,246,0.2); text-decoration: none; }

.cf-steps { list-style: none; counter-reset: step; }
.cf-steps li { counter-increment: step; position: relative; padding-left: 36px; margin-bottom: 16px; }
.cf-steps li:last-child { margin-bottom: 0; }
.cf-steps li::before {
    content: counter(step); position: absolute; left: 0; top: 0;
    width: 24px; height: 24px; background: var(--accent-glow); border: 1px solid rgba(59,130,246,0.3);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 700; color: var(--accent-light);
}
.cf-steps li strong { display: block; font-size: 0.85rem; color: var(--gray-200); margin-bottom: 2px; }
.cf-steps li span { font-size: 0.78rem; color: var(--gray-500); }

/* ── Contact responsive ── */
@media (max-width: 768px) {
    .cf-layout { grid-template-columns: 1fr; }
    .cf-row { grid-template-columns: 1fr; }
    .cf-main { padding: 24px 18px; }
    .cf-sidebar { order: 2; }
}

/* ── 404 PAGE ── */
.error-page { text-align: center; padding: 120px 20px; }
.error-page h1 { font-family: 'DM Serif Display', serif; font-size: 6rem; color: var(--accent); margin-bottom: 16px; }
.error-page h2 { font-family: 'DM Serif Display', serif; font-size: 1.6rem; margin-bottom: 16px; }
.error-page p { color: var(--gray-400); margin-bottom: 32px; font-weight: 300; }

/* ── SEARCH PAGE ── */
.search-all-link { color: var(--accent-light); font-size: 0.84rem; }
.search-all-link:hover { text-decoration: underline; }

/* Search page hero */
.sp-hero { max-width: 900px; margin: 0 auto; padding: 40px 20px 0; text-align: center; }
.sp-hero h1 { font-family: 'DM Serif Display', serif; font-size: 2rem; margin-bottom: 6px; }
.sp-subtitle { color: var(--gray-400); font-size: 0.95rem; }

/* Search input bar */
.sp-search-bar { max-width: 700px; margin: 24px auto 0; padding: 0 20px; }
.sp-input-wrap { position: relative; }
.sp-input-wrap input { width: 100%; padding: 16px 44px 16px 48px; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; background: rgba(255,255,255,0.04); color: var(--white); font-size: 1.05rem; font-family: 'DM Sans', sans-serif; transition: all 0.3s; }
.sp-input-wrap input::placeholder { color: var(--gray-500); }
.sp-input-wrap input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.06); box-shadow: 0 0 30px rgba(59,130,246,0.12); }
.sp-search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.1rem; pointer-events: none; }
.sp-clear { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--gray-400); font-size: 1.4rem; cursor: pointer; display: none; padding: 4px 8px; line-height: 1; transition: color 0.2s; }
.sp-clear:hover { color: var(--white); }

/* Segment filter tabs */
.sp-filters { display: flex; justify-content: center; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.sp-filter { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border: 1px solid rgba(255,255,255,0.08); border-radius: 100px; background: transparent; color: var(--gray-400); font-size: 0.82rem; font-family: 'DM Sans', sans-serif; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.sp-filter:hover { border-color: rgba(255,255,255,0.15); color: var(--gray-200); }
.sp-filter.active { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.3); color: var(--accent-light); }
.sp-filter-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.sp-filter-num { font-weight: 400; opacity: 0.7; }

/* Status text */
.sp-status { text-align: center; margin-top: 12px; color: var(--gray-500); font-size: 0.84rem; min-height: 20px; }

/* Results container */
.sp-results { max-width: 960px; margin: 0 auto; padding: 20px 20px 40px; min-height: 400px; }
.sp-section { margin-bottom: 36px; animation: spFadeIn 0.25s ease; }
@keyframes spFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.sp-section-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.sp-section-head h2 { font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--gray-200); }
.sp-section-count { font-size: 0.82rem; color: var(--gray-500); font-weight: 400; background: rgba(255,255,255,0.04); padding: 2px 10px; border-radius: 100px; }

/* Category result cards */
.sp-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.sp-cat-card { display: block; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 10px; padding: 16px; text-decoration: none; color: var(--text); transition: all 0.25s; }
.sp-cat-card:hover { background: rgba(59,130,246,0.06); border-color: rgba(59,130,246,0.2); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.sp-cat-card.sp-kb-active { border-color: var(--accent); background: rgba(59,130,246,0.08); }
.sp-cat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sp-cat-emoji { font-size: 1.2rem; }
.sp-seg-tag { display: inline-block; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 2px 8px; border-radius: 4px; background: rgba(255,255,255,0.06); color: var(--seg-color, var(--gray-400)); }
.sp-cat-name { font-weight: 600; font-size: 0.9rem; line-height: 1.35; margin-bottom: 4px; }
.sp-cat-name mark { background: rgba(59,130,246,0.2); color: var(--white); border-radius: 2px; padding: 0 1px; }
.sp-cat-meta { font-size: 0.76rem; color: var(--gray-500); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sp-prefix-tag { display: inline-block; background: rgba(59,130,246,0.1); color: var(--accent-light); padding: 1px 6px; border-radius: 3px; font-size: 0.65rem; font-weight: 600; }

/* List result rows */
.sp-list-grid { display: flex; flex-direction: column; gap: 2px; }
.sp-result { display: flex; align-items: center; gap: 14px; padding: 13px 16px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.04); border-radius: 8px; text-decoration: none; color: var(--text); transition: all 0.2s; }
.sp-result:hover { background: rgba(255,255,255,0.05); border-color: rgba(59,130,246,0.15); }
.sp-result.sp-kb-active { background: rgba(59,130,246,0.08); border-color: var(--accent); }
.sp-result-emoji { font-size: 1.25rem; flex-shrink: 0; width: 36px; text-align: center; }
.sp-result-body { flex: 1; min-width: 0; }
.sp-result-title { font-size: 0.92rem; font-weight: 500; color: var(--gray-100); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-result-title mark { background: rgba(59,130,246,0.2); color: var(--white); border-radius: 2px; padding: 0 1px; }
.sp-result-meta { font-size: 0.78rem; color: var(--gray-500); margin-top: 2px; display: flex; align-items: center; gap: 4px; }
.sp-result-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-right: 2px; }
.sp-result-arrow { color: var(--gray-600); font-size: 1.5rem; flex-shrink: 0; transition: all 0.2s; }
.sp-result:hover .sp-result-arrow { color: var(--accent-light); transform: translateX(2px); }

/* Show more */
.sp-show-more { text-align: center; margin-top: 20px; }
.btn-outline { display: inline-block; padding: 10px 28px; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; color: var(--gray-200); background: transparent; font-size: 0.88rem; font-family: 'DM Sans', sans-serif; cursor: pointer; transition: all 0.2s; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-light); background: rgba(59,130,246,0.05); }

/* Empty state */
.sp-empty { text-align: center; padding: 60px 20px; animation: spFadeIn 0.3s ease; }
.sp-empty-icon { font-size: 2.5rem; margin-bottom: 16px; opacity: 0.4; }
.sp-empty h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--gray-200); }
.sp-empty p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 20px; }
.sp-empty-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.sp-empty-links a { padding: 8px 18px; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: var(--accent-light); font-size: 0.85rem; transition: all 0.2s; text-decoration: none; }
.sp-empty-links a:hover { border-color: var(--accent); background: rgba(59,130,246,0.05); }

/* Initial state */
.sp-initial { text-align: center; padding: 40px 20px 20px; }
.sp-initial-cards { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.sp-stat-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 24px 28px; min-width: 170px; flex: 1; max-width: 220px; transition: border-color 0.25s; }
.sp-stat-card:hover { border-color: rgba(255,255,255,0.1); }
.sp-stat-icon { width: 42px; height: 42px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 12px; }
.sp-stat-num { font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: var(--white); margin-bottom: 2px; }
.sp-stat-label { font-size: 0.78rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 1px; }

/* Popular search tags */
.sp-popular { margin-top: 10px; }
.sp-popular h4 { font-size: 0.78rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; font-weight: 500; }
.sp-popular-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sp-pop-tag { padding: 7px 18px; border: 1px solid rgba(255,255,255,0.08); border-radius: 100px; color: var(--gray-300); font-size: 0.82rem; font-family: 'DM Sans', sans-serif; background: transparent; cursor: pointer; transition: all 0.2s; }
.sp-pop-tag:hover { border-color: var(--accent); color: var(--accent-light); background: rgba(59,130,246,0.04); }
.sp-hint { color: var(--gray-600); font-size: 0.76rem; margin-top: 28px; letter-spacing: 0.2px; }

/* Search page responsive */
@media (max-width: 600px) {
    .sp-initial-cards { gap: 10px; }
    .sp-stat-card { min-width: 140px; padding: 18px 16px; }
    .sp-stat-num { font-size: 1.3rem; }
    .sp-cat-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); }
    .sp-filters { gap: 4px; }
    .sp-filter { padding: 6px 12px; font-size: 0.78rem; }
    .sp-result { padding: 10px 12px; gap: 10px; }
    .sp-result-emoji { width: 28px; font-size: 1rem; }
    .sp-hint { display: none; }
}

/* ── LISTING PAGE ── */
.lp-layout { max-width: 1200px; margin: 0 auto; padding: 30px 20px 40px; display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.lp-main { min-width: 0; }
.lp-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.lp-emoji { font-size: 2rem; }
.lp-seg-badge { display: inline-block; background: var(--accent-glow); color: var(--accent-light); padding: 4px 14px; border-radius: 100px; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.lp-prefix-badge { display: inline-block; background: rgba(255,255,255,0.06); color: var(--gray-400); padding: 4px 12px; border-radius: 100px; font-size: 0.72rem; font-weight: 600; margin-left: 6px; }
.lp-title { font-family: 'DM Serif Display', serif; font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 400; line-height: 1.25; margin-bottom: 20px; }
.lp-universe { display: inline-flex; flex-direction: column; background: rgba(59,130,246,0.06); border: 1px solid rgba(59,130,246,0.15); border-radius: 10px; padding: 14px 20px; margin-bottom: 28px; }
.lp-universe-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--gray-500); margin-bottom: 4px; }
.lp-universe-value { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--accent-light); }
.lp-desc-section { margin-bottom: 28px; }
.lp-desc-section h2 { font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--gray-200); margin-bottom: 10px; }
.lp-desc { color: var(--gray-400); font-size: 0.95rem; line-height: 1.8; font-weight: 300; }
.lp-details { margin-bottom: 28px; }
.lp-details h2 { font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--gray-200); margin-bottom: 12px; }
.lp-table { width: 100%; border-collapse: collapse; }
.lp-table tr { border-bottom: 1px solid rgba(255,255,255,0.04); }
.lp-table td { padding: 10px 12px; font-size: 0.9rem; }
.lp-table-label { color: var(--gray-500); font-weight: 500; width: 140px; font-size: 0.84rem; }
.lp-table a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
.lp-table a:hover { color: var(--white); }
.lp-cta-box { background: var(--primary-mid); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 28px; margin-top: 8px; }
.lp-cta-box h3 { font-family: 'DM Serif Display', serif; font-size: 1.15rem; margin-bottom: 8px; }
.lp-cta-box p { color: var(--gray-400); font-size: 0.9rem; line-height: 1.7; font-weight: 300; margin-bottom: 18px; }
.lp-cta-box strong { color: var(--gray-200); }

/* Listing page sidebar */
.lp-sidebar { display: flex; flex-direction: column; gap: 16px; }
.lp-sidebar-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; }
.lp-sidebar-card h3 { font-size: 0.92rem; font-weight: 600; margin-bottom: 12px; color: var(--gray-200); }
.lp-sidebar-text { color: var(--gray-500); font-size: 0.84rem; line-height: 1.6; font-weight: 300; margin-bottom: 12px; }
.lp-sidebar-link { color: var(--accent-light); font-size: 0.84rem; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.lp-sidebar-link:hover { color: var(--white); }
.lp-sidebar-cta { background: rgba(59,130,246,0.04); border-color: rgba(59,130,246,0.12); }
.lp-related { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; max-height: 360px; overflow-y: auto; }
.lp-related-item { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; text-decoration: none; color: var(--gray-200); font-size: 0.84rem; transition: background 0.15s; }
.lp-related-item:hover { background: rgba(255,255,255,0.04); }
.lp-related-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-related-uni { color: var(--gray-500); font-size: 0.76rem; flex-shrink: 0; }
.lp-sidebar-viewall { display: block; text-align: center; padding: 10px; color: var(--accent-light); font-size: 0.82rem; font-weight: 600; text-decoration: none; border-top: 1px solid rgba(255,255,255,0.05); transition: background 0.15s; }
.lp-sidebar-viewall:hover { background: rgba(59,130,246,0.04); }

/* ── LISTING PAGE PRICE ── */
.lp-price { display: inline-flex; align-items: center; gap: 10px; background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.15); border-radius: 10px; padding: 12px 18px; margin-bottom: 28px; }
.lp-price-tier { font-weight: 700; font-size: 1rem; letter-spacing: 1px; }
.lp-tier-1 { color: var(--green); }
.lp-tier-2 { color: #f59e0b; }
.lp-tier-3 { color: #ef4444; }
.lp-price-amount { font-size: 0.95rem; color: var(--gray-300); }
.lp-price-amount strong { color: var(--white); font-weight: 600; }

/* ── CATEGORY TABLE PRICE ── */
.listings-table .list-price { white-space: nowrap; }
.price-tag { display: inline-block; background: rgba(16,185,129,0.08); color: var(--green); padding: 3px 10px; border-radius: 6px; font-size: 0.82rem; font-weight: 600; }
.price-contact { color: var(--gray-500); font-size: 0.82rem; font-style: italic; }

/* ── PRICING PAGE ── */
.pricing-intro { font-size: 1.05rem; color: var(--gray-300); line-height: 1.8; margin-bottom: 36px; }
.pricing-segments { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-bottom: 40px; }
.pricing-card { background: var(--primary-mid); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; padding: 28px 24px; transition: border-color 0.25s; }
.pricing-card:hover { border-color: rgba(59,130,246,0.2); }
.pricing-card-icon { font-size: 2rem; margin-bottom: 10px; }
.pricing-card h2 { font-family: 'DM Serif Display', serif; font-size: 1.15rem; margin-bottom: 8px; margin-top: 0; }
.pricing-range { font-family: 'DM Serif Display', serif; font-size: 1.8rem; color: var(--green); margin-bottom: 6px; }
.pricing-unit { font-size: 1rem; color: var(--gray-400); }
.pricing-card-count { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 14px; }
.pricing-card p { color: var(--gray-400); font-size: 0.88rem; line-height: 1.65; font-weight: 300; margin-bottom: 14px; }
.pricing-card-link { color: var(--accent-light); font-size: 0.85rem; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.pricing-card-link:hover { color: var(--white); }

/* Listing page responsive */
@media (max-width: 900px) {
    .lp-layout { grid-template-columns: 1fr; gap: 24px; }
    .lp-sidebar { order: 2; }
}
@media (max-width: 600px) {
    .lp-layout { padding: 20px 16px; }
    .lp-cta-box { padding: 20px; }
}

/* ═══════════════════════════════════════════════════
   WHY LIST.SOLUTIONS PAGE
   ═══════════════════════════════════════════════════ */

.why-hero { padding: 70px 20px 60px; text-align: center; position: relative; overflow: hidden; }
.why-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 60%); pointer-events: none; }
.why-hero-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); color: var(--accent-light); padding: 6px 16px; border-radius: 100px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 24px; position: relative; }
.why-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 400; line-height: 1.2; margin-bottom: 18px; position: relative; }
.why-hero h1 em { font-style: normal; color: var(--accent-light); }
.why-hero > p { font-size: 1.05rem; color: var(--gray-400); max-width: 660px; margin: 0 auto; line-height: 1.7; font-weight: 300; position: relative; }

/* Sections */
.why-section { padding: 60px 20px; border-top: 1px solid rgba(255,255,255,0.04); }
.why-section-alt { background: var(--primary-mid); }
.why-section-inner { max-width: 800px; margin: 0 auto; }
.why-section-label { font-family: 'DM Serif Display', serif; font-size: 2rem; color: var(--accent); opacity: 0.3; margin-bottom: 8px; }
.why-section h2 { font-family: 'DM Serif Display', serif; font-size: 1.5rem; margin-bottom: 16px; color: var(--gray-100); }
.why-section p { color: var(--gray-400); line-height: 1.8; font-weight: 300; margin-bottom: 18px; font-size: 0.95rem; }
.why-section strong { color: var(--gray-200); font-weight: 600; }

/* Callout box */
.why-callout { background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.18); border-radius: 10px; padding: 20px 24px; margin-top: 24px; color: var(--gray-200); font-size: 0.95rem; line-height: 1.7; }
.why-callout strong { color: var(--accent-light); }

/* Platform grid */
.why-platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 28px; }
.why-platform-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 20px 18px; transition: border-color 0.25s; }
.why-platform-card:hover { border-color: rgba(59,130,246,0.2); }
.why-platform-icon { font-size: 1.4rem; margin-bottom: 8px; }
.why-platform-card strong { display: block; font-size: 0.9rem; color: var(--gray-100); margin-bottom: 6px; }
.why-platform-card span { font-size: 0.82rem; color: var(--gray-400); line-height: 1.5; font-weight: 300; }

/* Company grid */
.why-company-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 24px 0; }
.why-company-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; padding: 18px 16px; transition: border-color 0.25s; }
.why-company-card:hover { border-color: rgba(59,130,246,0.2); }
.why-company-card strong { display: block; font-size: 0.88rem; color: var(--gray-100); margin-bottom: 6px; }
.why-company-card span { font-size: 0.82rem; color: var(--gray-400); line-height: 1.5; font-weight: 300; }

/* Broker value cards */
.why-broker-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 28px; }
.why-broker-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 24px 20px; transition: border-color 0.25s; }
.why-broker-card:hover { border-color: rgba(59,130,246,0.2); }
.why-broker-icon { font-size: 1.6rem; margin-bottom: 10px; }
.why-broker-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: var(--gray-100); }
.why-broker-card p { color: var(--gray-400); font-size: 0.85rem; line-height: 1.65; font-weight: 300; margin-bottom: 0; }

/* Use case cards */
.why-usecase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.why-usecase-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 24px 20px; transition: border-color 0.25s; }
.why-usecase-card:hover { border-color: rgba(59,130,246,0.2); }
.why-usecase-icon { font-size: 1.6rem; margin-bottom: 10px; }
.why-usecase-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: var(--gray-100); }
.why-usecase-card p { color: var(--gray-400); font-size: 0.85rem; line-height: 1.65; font-weight: 300; margin-bottom: 0; }

/* ═══════════════════════════════════════════════════
   AUDIENCE BUILDER
   ═══════════════════════════════════════════════════ */

.ab-hero { padding: 60px 20px 40px; text-align: center; position: relative; overflow: hidden; }
.ab-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 60%); pointer-events: none; }
.ab-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 400; line-height: 1.2; margin-bottom: 14px; position: relative; }
.ab-hero h1 em { font-style: normal; color: var(--accent-light); }
.ab-hero > p { font-size: 1rem; color: var(--gray-400); max-width: 600px; margin: 0 auto; line-height: 1.7; font-weight: 300; position: relative; }

/* Single-column layout */
.ab-container { max-width: 720px; margin: 0 auto; padding: 0 20px 40px; }

/* Chat panel */
.ab-chat-panel { background: var(--primary-mid); border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; overflow: hidden; }

/* Panel label */
.ab-panel-label {
    display: flex; align-items: center; gap: 8px; padding: 14px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--accent-light); font-size: 0.88rem; font-weight: 600;
    background: rgba(59,130,246,0.04);
}
.ab-panel-dot {
    width: 8px; height: 8px; background: var(--green); border-radius: 50%;
    animation: pulse 2s infinite; flex-shrink: 0;
}

/* Trust bar under hero */
.ab-trust-bar {
    display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
    margin-top: 20px; position: relative;
}
.ab-trust-bar span {
    font-size: 0.82rem; color: var(--gray-400); font-weight: 400;
}

/* How it works section */
.ab-how-section { max-width: 900px; margin: 0 auto; padding: 50px 20px 10px; text-align: center; }
.ab-how-section h2 { font-family: 'DM Serif Display', serif; font-size: 1.5rem; margin-bottom: 32px; }
.ab-how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ab-how-step { text-align: center; }
.ab-how-num {
    width: 36px; height: 36px; background: var(--accent); color: white; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.95rem; margin-bottom: 12px;
}
.ab-how-step h3 { font-size: 0.92rem; font-weight: 600; margin-bottom: 6px; color: var(--gray-100); }
.ab-how-step p { color: var(--gray-400); font-size: 0.85rem; line-height: 1.6; font-weight: 300; }
@media (max-width: 600px) {
    .ab-how-grid { grid-template-columns: 1fr; gap: 20px; }
    .ab-trust-bar { gap: 12px; }
    .ab-trust-bar span { font-size: 0.75rem; }
}

/* AI Advisor chat */
.ab-advisor { display: flex; flex-direction: column; height: 520px; }
.ab-chat-messages {
    flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.ab-chat-messages::-webkit-scrollbar { width: 4px; }
.ab-chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.ab-msg { max-width: 88%; }
.ab-msg-user { align-self: flex-end; }
.ab-msg-ai { align-self: flex-start; }

.ab-msg-body {
    padding: 12px 16px; border-radius: 14px; font-size: 0.9rem; line-height: 1.65; font-weight: 300;
}
.ab-msg-user .ab-msg-body {
    background: var(--accent); color: white; border-bottom-right-radius: 4px;
}
.ab-msg-ai .ab-msg-body {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06);
    color: var(--gray-200); border-bottom-left-radius: 4px;
}
.ab-msg-ai .ab-msg-body p { margin: 0 0 10px; }
.ab-msg-ai .ab-msg-body p:last-child { margin-bottom: 0; }
.ab-msg-ai .ab-msg-body strong { color: var(--gray-100); font-weight: 600; }
.ab-msg-ai .ab-msg-body a { color: var(--accent-light); text-decoration: none; }
.ab-msg-ai .ab-msg-body a:hover { text-decoration: underline; }

/* Category links in chat (inline badges) */
.ab-cat-link {
    display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; margin: 2px 0;
    background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.15);
    border-radius: 6px; color: var(--accent-light); font-size: 0.82rem; font-weight: 500;
    text-decoration: none; transition: all 0.2s; white-space: nowrap;
}
.ab-cat-link:hover { background: rgba(59,130,246,0.15); border-color: rgba(59,130,246,0.3); text-decoration: none; }
.ab-cat-link span { font-size: 0.7rem; }

/* Typing indicator */
.ab-dots span {
    display: inline-block; animation: abBounce 1.4s infinite; font-size: 1.5rem; line-height: 1;
    color: var(--gray-500);
}
.ab-dots span:nth-child(2) { animation-delay: 0.2s; }
.ab-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes abBounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
}

/* Chat input bar */
.ab-chat-bar {
    display: flex; align-items: flex-end; gap: 8px; padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.06); background: rgba(0,0,0,0.15);
}
.ab-chat-bar textarea {
    flex: 1; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px; background: rgba(255,255,255,0.04); color: var(--text);
    font-family: 'DM Sans', sans-serif; font-size: 0.9rem; resize: none; line-height: 1.5;
    max-height: 120px; transition: border-color 0.2s;
}
.ab-chat-bar textarea::placeholder { color: var(--gray-500); }
.ab-chat-bar textarea:focus { outline: none; border-color: var(--accent); }
.ab-send-btn {
    width: 42px; height: 42px; border-radius: 10px; border: none;
    background: var(--accent); color: white; font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
}
.ab-send-btn:hover { background: var(--accent-light); transform: scale(1.05); }
.ab-send-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Request panel (appears after conversation) */
.ab-request-panel {
    margin-top: 24px; background: var(--primary-mid); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px; overflow: hidden; max-height: 0; opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease;
}
.ab-request-panel.ab-request-visible {
    max-height: 800px; opacity: 1;
}
.ab-request-header {
    padding: 24px 24px 0; text-align: center;
}
.ab-request-header h2 { font-family: 'DM Serif Display', serif; font-size: 1.3rem; margin-bottom: 8px; }
.ab-request-header p { color: var(--gray-400); font-size: 0.88rem; line-height: 1.6; font-weight: 300; }

.ab-request-form { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.ab-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ab-form-field { display: flex; flex-direction: column; gap: 6px; }
.ab-form-field label {
    font-size: 0.78rem; font-weight: 600; color: var(--gray-200);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.ab-req { color: var(--accent-light); }
.ab-form-field input, .ab-form-field textarea {
    width: 100%; padding: 10px 14px; background: var(--primary); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px; color: var(--text); font-family: inherit; font-size: 0.88rem; transition: border-color 0.2s;
}
.ab-form-field input::placeholder, .ab-form-field textarea::placeholder { color: var(--gray-500); }
.ab-form-field input:focus, .ab-form-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }
.ab-form-field textarea { resize: vertical; line-height: 1.6; }

.ab-submit-btn {
    width: 100%; padding: 14px; background: var(--accent); color: white; border: none; border-radius: 10px;
    font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.25s; margin-top: 4px;
    font-family: 'DM Sans', sans-serif;
}
.ab-submit-btn:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(59,130,246,0.3); }
.ab-submit-note { text-align: center; color: var(--gray-500); font-size: 0.78rem; margin-top: 4px; font-weight: 300; }

/* Success state */
.ab-success { text-align: center; padding: 40px 24px; }
.ab-success-icon { font-size: 2.5rem; margin-bottom: 12px; }
.ab-success h3 { font-family: 'DM Serif Display', serif; font-size: 1.3rem; margin-bottom: 10px; }
.ab-success p { color: var(--gray-400); font-size: 0.9rem; line-height: 1.6; font-weight: 300; margin-bottom: 8px; }
.ab-success-contact { font-size: 0.85rem; }
.ab-success-contact a { color: var(--accent-light); }

/* Audience builder responsive */
@media (max-width: 900px) {
    .ab-advisor { height: 440px; }
}
@media (max-width: 600px) {
    .ab-hero { padding: 40px 16px 24px; }
    .ab-container { padding: 0 12px 30px; }
    .ab-advisor { height: 380px; }
    .ab-form-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════
   CHAT WIDGET
   ═══════════════════════════════════════════════════ */

.chat-toggle {
    position: fixed; bottom: 24px; right: 24px; z-index: 1000;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--accent); border: none; cursor: pointer;
    color: white; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(59,130,246,0.4);
    transition: transform 0.2s, background 0.2s;
}
.chat-toggle:hover { transform: scale(1.08); background: var(--accent-light); }
.chat-toggle.open { background: var(--primary-light); box-shadow: none; }

.chat-panel {
    position: fixed; bottom: 92px; right: 24px; z-index: 1000;
    width: 380px; height: 480px; border-radius: 16px;
    background: var(--primary); border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
    display: flex; flex-direction: column; overflow: hidden;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(12px) scale(0.95);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    clip-path: inset(0 0 0 0);
}
.chat-panel.open {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateY(0) scale(1);
}

.chat-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px 16px 0 0; background: var(--primary-mid);
}
.chat-header-info { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--gray-100); }
.chat-header-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.chat-close { background: none; border: none; color: var(--gray-400); font-size: 1.4rem; cursor: pointer; padding: 0 4px; line-height: 1; }
.chat-close:hover { color: var(--white); }

.chat-messages {
    flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px;
    min-height: 200px; max-height: 340px;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.chat-msg { display: flex; }
.chat-msg-user { justify-content: flex-end; }
.chat-msg-bot { justify-content: flex-start; }

.chat-msg-content {
    max-width: 85%; padding: 10px 14px; border-radius: 14px;
    font-size: 0.87rem; line-height: 1.6; font-weight: 300;
}
.chat-msg-user .chat-msg-content {
    background: var(--accent); color: white; border-bottom-right-radius: 4px;
}
.chat-msg-bot .chat-msg-content {
    background: var(--primary-mid); color: var(--gray-200); border-bottom-left-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
}
.chat-msg-bot .chat-msg-content a { color: var(--accent-light); text-decoration: underline; }
.chat-msg-bot .chat-msg-content strong { color: var(--gray-100); font-weight: 600; }

/* Typing indicator */
.chat-typing { display: flex; gap: 4px; padding: 12px 16px !important; }
.chat-typing span {
    width: 7px; height: 7px; border-radius: 50%; background: var(--gray-500);
    animation: chatBounce 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

.chat-input-wrap {
    display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(255,255,255,0.06);
    background: var(--primary-mid); border-radius: 0 0 16px 16px; flex-shrink: 0;
}
.chat-header { flex-shrink: 0; }
.chat-input {
    flex: 1; background: var(--primary); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px; padding: 10px 14px; color: var(--text); font-size: 0.87rem;
    font-family: 'DM Sans', sans-serif; outline: none; transition: border-color 0.2s;
}
.chat-input::placeholder { color: var(--gray-500); }
.chat-input:focus { border-color: rgba(59,130,246,0.3); }
.chat-send {
    background: var(--accent); border: none; border-radius: 10px; width: 40px;
    display: flex; align-items: center; justify-content: center;
    color: white; cursor: pointer; transition: background 0.2s;
}
.chat-send:hover { background: var(--accent-light); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hero { padding: 50px 16px; }
    .hero-stats { gap: 30px; }
    .ai-banner-inner { grid-template-columns: 1fr; gap: 24px; }
    .ai-banner-preview { max-width: 400px; }
    .section-header h2 { white-space: normal; font-size: 1.15rem; }
    .section-header { gap: 10px; flex-wrap: wrap; }
    .section-header .line { display: none; }
    .cards-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 8px; padding-bottom: 28px; }
    .card { padding: 13px 14px; }
    .category-hero { padding: 24px 16px 0; }
    .listings-section { padding: 20px 16px; }
    .listings-controls { flex-direction: column; }
    .listings-search { max-width: 100%; }
    .why-hero { padding: 50px 16px 40px; }
    .why-section { padding: 40px 16px; }
    .why-platform-grid, .why-company-grid, .why-broker-grid { grid-template-columns: 1fr; }
    .why-usecase-grid { grid-template-columns: 1fr; }
    .chat-toggle { bottom: 16px; right: 16px; width: 50px; height: 50px; }
    .chat-panel {
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        width: 100%; height: 100%; max-height: 100%; border-radius: 0;
        z-index: 1001;
    }
    .chat-panel .chat-header { border-radius: 0; padding: 16px; }
    .chat-panel .chat-messages { min-height: 0; max-height: none; flex: 1; }
    .chat-panel .chat-input-wrap { border-radius: 0; padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
    .chat-panel .chat-input { font-size: 16px; }
}
