/* ============================================================
   ai-index-2026.css
   iAdsClick — AI Hub Master Index (Sitemap / Directory Page)
   Plain CSS. No Tailwind. Scoped under .aihub-* to avoid clashing
   with nav-2026.css (header-2026.php) or the legacy aipage-css.css
   used by the older /ai/*.php pages.
   Drop this file in: /assets-2026/ai-index-2026.css
   ============================================================ */

.aihub {
    --ah-bg: #0A0E1A;
    --ah-bg-card: #10162a;
    --ah-bg-card-hover: #141c36;
    --ah-border: rgba(255,255,255,0.08);
    --ah-accent: #2EE6D6;
    --ah-accent-2: #7c3aed;
    --ah-text: #e7ecf7;
    --ah-text-muted: #94a3b8;
    --ah-radius: 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--ah-bg);
    color: var(--ah-text);
    overflow-x: hidden;
}

.aihub *, .aihub *::before, .aihub *::after { box-sizing: border-box; }

.aihub .aihub-container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }

/* ── In-page quick nav (works with header-2026 inpage-nav OR standalone) ── */
.aihub-jumpnav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10,14,26,0.92); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ah-border);
}
.aihub-jumpnav .aihub-container { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; padding-top: 14px; padding-bottom: 14px; }
.aihub-jumpnav .aihub-container::-webkit-scrollbar { display: none; }
.aihub-jumpnav a {
    color: var(--ah-text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 700;
    white-space: nowrap; letter-spacing: 0.02em; transition: color .2s;
}
.aihub-jumpnav a:hover, .aihub-jumpnav a.is-active { color: var(--ah-accent); }

/* ── Hero ── */
.aihub-hero { padding: 90px 0 70px; text-align: center; position: relative; }
.aihub-hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(124,58,237,0.20) 0%, transparent 70%);
    pointer-events: none;
}
.aihub-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(46,230,214,0.10); border: 1px solid rgba(46,230,214,0.35);
    color: var(--ah-accent); font-size: 0.75rem; font-weight: 800;
    padding: 7px 16px; border-radius: 999px; margin-bottom: 24px;
    text-transform: uppercase; letter-spacing: 0.08em;
}
.aihub-hero h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 900; line-height: 1.15;
    max-width: 900px; margin: 0 auto 20px;
}
.aihub-hero h1 span { background: linear-gradient(90deg,#2EE6D6,#7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.aihub-hero p { color: var(--ah-text-muted); font-size: 1.05rem; max-width: 640px; margin: 0 auto 34px; line-height: 1.7; }
.aihub-hero-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 10px; }
.aihub-hero-stats .stat b { display: block; font-size: 1.6rem; font-weight: 900; color: #fff; }
.aihub-hero-stats .stat span { font-size: 0.72rem; color: var(--ah-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Section shells ── */
.aihub-section { padding: 70px 0; border-top: 1px solid var(--ah-border); }
.aihub-section.alt { background: #0d1220; }
.aihub-sec-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.aihub-sec-head .aihub-eyebrow { margin-bottom: 16px; }
.aihub-sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; margin-bottom: 12px; }
.aihub-sec-head h2 span { color: var(--ah-accent); }
.aihub-sec-head p { color: var(--ah-text-muted); font-size: 0.98rem; line-height: 1.7; }

/* ── Solutions grid (4 primary cards) ── */
.aihub-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.aihub-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.aihub-card {
    background: var(--ah-bg-card); border: 1px solid var(--ah-border); border-radius: var(--ah-radius);
    padding: 30px 26px; text-decoration: none; color: var(--ah-text); display: block;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
    position: relative; overflow: hidden;
}
.aihub-card:hover { transform: translateY(-4px); border-color: rgba(46,230,214,0.4); background: var(--ah-bg-card-hover); }
.aihub-card .aihub-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.aihub-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.aihub-card p { font-size: 0.85rem; color: var(--ah-text-muted); line-height: 1.6; margin-bottom: 14px; }
.aihub-card .aihub-go { font-size: 0.75rem; font-weight: 800; color: var(--ah-accent); text-transform: uppercase; letter-spacing: 0.05em; }

/* ── Cluster headings for the 20-agent directory ── */
.aihub-cluster-head {
    display: flex; align-items: center; gap: 14px; margin: 46px 0 20px;
}
.aihub-cluster-head:first-child { margin-top: 0; }
.aihub-cluster-head .badge {
    font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em;
    color: #0A0E1A; background: var(--ah-accent); padding: 4px 12px; border-radius: 999px;
}
.aihub-cluster-head .line { flex: 1; height: 1px; background: var(--ah-border); }
.aihub-cluster-head h3 { font-size: 1rem; font-weight: 800; color: #fff; white-space: nowrap; }

.aihub-agent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aihub-agent-card {
    background: var(--ah-bg-card); border: 1px solid var(--ah-border); border-radius: 10px;
    padding: 20px 18px; text-decoration: none; color: var(--ah-text); transition: all .2s ease;
}
.aihub-agent-card:hover { border-color: rgba(46,230,214,0.4); transform: translateY(-3px); }
.aihub-agent-card .a-icon { font-size: 1.4rem; margin-bottom: 10px; display: block; }
.aihub-agent-card h4 { font-size: 0.92rem; font-weight: 800; margin-bottom: 6px; }
.aihub-agent-card p { font-size: 0.78rem; color: var(--ah-text-muted); line-height: 1.55; }

/* ── Compliance / coming soon banner ── */
.aihub-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(46,230,214,0.08));
    border: 1px solid rgba(124,58,237,0.3); border-radius: var(--ah-radius);
    padding: 28px 32px; flex-wrap: wrap;
}
.aihub-banner h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.aihub-banner p { color: var(--ah-text-muted); font-size: 0.88rem; max-width: 560px; }
.aihub-banner .tag { font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; background: rgba(255,255,255,0.08); padding: 5px 12px; border-radius: 999px; color: #fbbf24; }
.aihub-banner .aihub-btn-outline { flex-shrink: 0; }

/* ── Buttons ── */
.aihub-btn {
    display: inline-flex; align-items: center; gap: 10px; background: var(--ah-accent); color: #0A0E1A;
    font-weight: 900; font-size: 0.85rem; padding: 14px 28px; border-radius: 8px; text-decoration: none;
    text-transform: uppercase; letter-spacing: 0.03em; transition: transform .2s, box-shadow .2s;
}
.aihub-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(46,230,214,0.35); }
.aihub-btn-outline {
    display: inline-flex; align-items: center; gap: 10px; background: transparent; color: #fff;
    border: 1px solid rgba(255,255,255,0.25); font-weight: 800; font-size: 0.85rem; padding: 13px 26px;
    border-radius: 8px; text-decoration: none; transition: all .2s;
}
.aihub-btn-outline:hover { border-color: var(--ah-accent); color: var(--ah-accent); }
.aihub-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Breadcrumb ── */
.aihub-breadcrumb { font-size: 0.8rem; color: var(--ah-text-muted); margin-bottom: 18px; }
.aihub-breadcrumb a { color: var(--ah-text-muted); text-decoration: none; }
.aihub-breadcrumb a:hover { color: var(--ah-accent); }
.aihub-breadcrumb .sep { margin: 0 8px; opacity: .5; }

/* ── FAQ ── */
.aihub-faq { max-width: 820px; margin: 0 auto; }
.aihub-faq details {
    background: var(--ah-bg-card); border: 1px solid var(--ah-border); border-radius: 10px;
    padding: 18px 22px; margin-bottom: 14px; cursor: pointer;
}
.aihub-faq summary { font-weight: 800; font-size: 0.95rem; list-style: none; }
.aihub-faq summary::-webkit-details-marker { display: none; }
.aihub-faq p { margin-top: 12px; color: var(--ah-text-muted); font-size: 0.88rem; line-height: 1.7; }

/* ── Responsive ── */
@media (max-width: 1080px) {
    .aihub-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .aihub-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .aihub-agent-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .aihub-grid-4, .aihub-grid-3, .aihub-agent-grid { grid-template-columns: 1fr; }
    .aihub-hero { padding: 60px 0 50px; }
    .aihub-section { padding: 50px 0; }
    .aihub-banner { flex-direction: column; align-items: flex-start; }
}
