/* ============================================================
 * ICMD Brand CSS Override — Purple (#512DA8) + Gold (#C9A84C)
 * Appended AFTER master.css to override template defaults
 * ============================================================ */

/* ─── Import ICMD Typography ─── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── CSS Custom Properties ─── */
:root {
    --icmd-purple:    #512DA8;
    --icmd-purple-light: #7E57C2;
    --icmd-purple-dark:  #311B92;
    --icmd-gold:      #C9A84C;
    --icmd-gold-light: #DFC47A;
    --icmd-gold-dark:  #A68A2E;
    --icmd-navy:      #1A0A2E;
    --icmd-text:      #1D2124;
    --icmd-text-muted:#6D747C;
    --icmd-bg:        #FAFAFA;
    --icmd-white:     #FFFFFF;

    /* Tier colors */
    --tier1-color:    #512DA8;
    --tier2-color:    #C6426E;
    --tier3-color:    #1769FF;

    /* Typography */
    --font-serif:     'Playfair Display', 'Times New Roman', Georgia, serif;
    --font-sans:      'Inter', 'Open Sans', sans-serif;
    --font-mono:      'Consolas', 'Monaco', monospace;
}

/* ─── Brand Typography Override ─── */
h1, h2, h3, .hero-text, .section-title {
    font-family: var(--font-serif) !important;
    color: var(--icmd-navy) !important;
}
h4, h5, h6, .widget-title, .footer .widget-title {
    font-family: var(--font-serif) !important;
    color: var(--icmd-text) !important;
}
body, p, label, .blog-content, .service-description {
    font-family: var(--font-sans) !important;
    color: #555 !important;
}

/* ─── Primary Buttons: Gold ─── */
.btn-primary {
    background-color: var(--icmd-gold) !important;
    border-color: var(--icmd-gold) !important;
    color: var(--icmd-navy) !important;
    font-weight: 600 !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--icmd-gold-dark) !important;
    border-color: var(--icmd-gold-dark) !important;
    color: var(--icmd-white) !important;
}

/* ─── Links ─── */
a { color: var(--icmd-purple); transition: color 0.3s ease; }
a:hover { color: var(--icmd-gold-dark); }

/* ─── Footer ─── */
.footer-copyright { background-color: var(--icmd-navy) !important; }
.footer-main { background-color: #1A0A2E !important; }
.footer .widget-title { color: var(--icmd-gold) !important; }
.footer .widget-links a:hover { color: var(--icmd-gold) !important; }
.footer .widget-text p,
.footer .widget-links li,
.footer .widget-links a { color: #B0B0B0 !important; }

/* ─── Nav hover ─── */
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus { color: var(--icmd-gold) !important; }

/* ─── Mega Menu ─── */
.mega-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--icmd-white);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-top: 3px solid var(--icmd-gold);
    padding: 30px 0; display: none; z-index: 1000;
}
.navbar-nav > .dropdown:hover > .mega-menu,
.navbar-nav > .dropdown.open > .mega-menu { display: block !important; }
.mega-menu-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr 0.4fr;
    gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.mega-menu-tier-header {
    font-family: var(--font-serif); font-size: 16px; font-weight: 700;
    padding-bottom: 12px; margin-bottom: 16px; border-bottom: 2px solid;
}
.mega-menu-tier-header.tier-1 { color: var(--tier1-color); border-color: var(--tier1-color); }
.mega-menu-tier-header.tier-2 { color: var(--tier2-color); border-color: var(--tier2-color); }
.mega-menu-tier-header.tier-3 { color: var(--tier3-color); border-color: var(--tier3-color); }
.mega-menu-link {
    display: block; padding: 7px 0; color: var(--icmd-text);
    text-decoration: none; font-size: 13.5px; font-family: var(--font-sans);
    transition: color 0.2s, padding-left 0.2s;
}
.mega-menu-link:hover { color: var(--icmd-purple); padding-left: 6px; }
.tier-badge {
    display: inline-block; font-size: 9px; font-weight: 700; color: white;
    padding: 1px 6px; border-radius: 3px; margin-right: 5px; vertical-align: middle;
}
.tier-badge.t1 { background: var(--tier1-color); }
.tier-badge.t2 { background: var(--tier2-color); }
.tier-badge.t3 { background: var(--tier3-color); }
.mega-menu-cta {
    background: linear-gradient(135deg, var(--icmd-purple), var(--icmd-purple-dark));
    border-radius: 8px; padding: 25px 20px; text-align: center; color: white;
}
.mega-menu-cta h4 { color: var(--icmd-gold) !important; font-size: 15px; margin-bottom: 10px; }
.mega-menu-cta p { color: rgba(255,255,255,0.8) !important; font-size: 12px; margin-bottom: 15px; }
.mega-menu-cta a {
    display: inline-block; background: var(--icmd-gold); color: var(--icmd-navy) !important;
    padding: 8px 20px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 12px;
}
.mega-menu-cta a:hover { background: var(--icmd-gold-light); }

/* Mobile mega menu */
@media (max-width: 991px) {
    .mega-menu { position: static; box-shadow: none; border-top: none; padding: 15px 20px; background: #f8f7ff; }
    .mega-menu-grid { grid-template-columns: 1fr; gap: 15px; padding: 0; }
    .mega-menu-cta { display: none; }
}

/* ─── Service Cards ─── */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.service-card {
    background: var(--icmd-white); border: 1px solid #E8E8E8; border-radius: 10px;
    padding: 30px 25px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(81,45,168,0.1); border-color: var(--icmd-purple-light); }
.service-card .card-tier-stripe { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.service-card .card-tier-stripe.t1 { background: var(--tier1-color); }
.service-card .card-tier-stripe.t2 { background: var(--tier2-color); }
.service-card .card-tier-stripe.t3 { background: var(--tier3-color); }
.service-card .card-title { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--icmd-navy); margin: 10px 0 8px; }
.service-card .card-tagline { font-size: 13.5px; color: var(--icmd-text-muted); line-height: 1.6; margin-bottom: 16px; }
.service-card .card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--icmd-text-muted); padding-top: 16px; border-top: 1px solid #F0F0F0; }
.service-card .card-price { font-weight: 700; color: var(--icmd-purple); }
.service-card .card-link { display: inline-block; margin-top: 15px; color: var(--icmd-purple); font-weight: 600; font-size: 13px; text-decoration: none; }
.service-card .card-link:hover { color: var(--icmd-gold-dark); }
.service-card .card-link::after { content: ' \2192'; }

/* ─── Service Detail Hero ─── */
.service-hero {
    background: linear-gradient(135deg, var(--icmd-navy) 0%, var(--icmd-purple-dark) 100%);
    color: white; padding: 80px 0 60px;
}
.service-hero h1 { color: white !important; font-size: 36px; margin-bottom: 15px; }
.service-hero .hero-tagline { font-size: 18px; color: rgba(255,255,255,0.85) !important; max-width: 700px; line-height: 1.7; }
.service-hero .hero-meta { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 20px; }
.service-hero .hero-meta-item { font-size: 14px; color: rgba(255,255,255,0.7); }
.service-hero .hero-meta-item strong { color: var(--icmd-gold); }

/* Process Steps */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin: 30px 0; }
.process-step { text-align: center; padding: 25px 15px; background: var(--icmd-white); border-radius: 8px; border: 1px solid #E8E8E8; }
.process-step .step-number {
    width: 40px; height: 40px; border-radius: 50%; background: var(--icmd-purple);
    color: white; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; margin: 0 auto 12px;
}
.process-step h4 { font-size: 14px; margin-bottom: 6px; }
.process-step p { font-size: 12.5px; color: var(--icmd-text-muted) !important; }

/* FAQ Accordion */
.faq-item { border-bottom: 1px solid #E8E8E8; padding: 18px 0; }
.faq-question {
    font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--icmd-text);
    cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none;
}
.faq-question::after { content: '+'; font-size: 24px; color: var(--icmd-purple); font-weight: 300; transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 500px; padding-top: 12px; }
.faq-answer p { font-size: 14px; line-height: 1.7; }

/* ─── Proof Points ─── */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.proof-card { text-align: center; padding: 30px 15px; background: var(--icmd-white); border-radius: 10px; border: 1px solid #E8E8E8; }
.proof-card .proof-number { font-family: var(--font-serif); font-size: 40px; font-weight: 900; color: var(--icmd-purple); line-height: 1.1; }
.proof-card .proof-label { font-size: 13px; color: var(--icmd-text-muted); margin-top: 8px; }

/* ─── Pricing Cards ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }
.pricing-card {
    background: var(--icmd-white); border: 2px solid #E8E8E8; border-radius: 12px;
    padding: 35px 25px; text-align: center; position: relative; transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.pricing-card.featured { border-color: var(--icmd-gold); box-shadow: 0 10px 30px rgba(201,168,76,0.15); }
.pricing-card .pricing-name { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--icmd-navy); margin-bottom: 10px; }
.pricing-card .pricing-range { font-size: 14px; color: var(--icmd-text-muted); margin-bottom: 25px; }
.pricing-card .pricing-features { list-style: none; padding: 0; text-align: left; margin-bottom: 25px; }
.pricing-card .pricing-features li { padding: 8px 0; font-size: 14px; color: var(--icmd-text); border-bottom: 1px solid #F5F5F5; }

/* ─── Contact Form ─── */
.icmd-form label { display: block; font-weight: 600; font-size: 13px; color: var(--icmd-text); margin-bottom: 6px; }
.icmd-form input, .icmd-form select, .icmd-form textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #DDD; border-radius: 6px;
    font-size: 14px; font-family: var(--font-sans); transition: border-color 0.3s; margin-bottom: 18px; box-sizing: border-box;
}
.icmd-form input:focus, .icmd-form select:focus, .icmd-form textarea:focus {
    outline: none; border-color: var(--icmd-purple); box-shadow: 0 0 0 3px rgba(81,45,168,0.1);
}
.icmd-form .form-error { color: #D32F2F; font-size: 12px; margin-top: -12px; margin-bottom: 12px; }
.icmd-form .form-success { background: #E8F5E9; color: #2E7D32; padding: 15px; border-radius: 6px; font-size: 14px; margin-bottom: 18px; }

/* ─── Section Spacing ─── */
.icmd-section { padding: 80px 0; }
.icmd-section-dark { background: var(--icmd-navy); color: white; padding: 80px 0; }
.icmd-section-dark h2, .icmd-section-dark h3 { color: var(--icmd-gold) !important; }
.icmd-section-dark p { color: rgba(255,255,255,0.75) !important; }
.icmd-section-gray { background: #F5F5F5; padding: 80px 0; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .service-grid, .pricing-grid { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: repeat(2, 1fr); }
    .service-hero h1 { font-size: 28px; }
    .case-study-grid { grid-template-columns: 1fr; }
    .insights-grid { grid-template-columns: 1fr; }
    .timeline-item { flex-direction: column; align-items: flex-start; padding-left: 30px; }
    .timeline-marker { left: 9px; top: 0; }
    .founder-visual { text-align: center; }
    .pricing-table { font-size: 12px; }
    .pricing-table th, .pricing-table td { padding: 8px 6px; }
}

/* ═══════════════════════════════════════════════════════════════
   PHASE 2 COMPONENTS
   ═══════════════════════════════════════════════════════════════ */

/* ─── Pricing Table ─── */
.pricing-table {
    width: 100%; border-collapse: collapse;
    font-family: var(--font-sans); font-size: 13.5px;
}
.pricing-table thead th {
    background: var(--icmd-purple); color: white; font-weight: 600;
    padding: 14px 12px; font-size: 12px; text-transform: uppercase;
    letter-spacing: 0.5px; border: none;
}
.pricing-table tbody tr { border-bottom: 1px solid #F0F0F0; transition: background 0.2s; }
.pricing-table tbody tr:hover { background: #FAFAFF; }
.pricing-table tbody td { padding: 14px 12px; vertical-align: middle; text-align: center; }
.pricing-detail-link {
    color: var(--icmd-purple); font-weight: 600; text-decoration: none; font-size: 13px;
    transition: color 0.2s;
}
.pricing-detail-link:hover { color: var(--icmd-gold-dark); }
.pricing-quote {
    background: #F3E8FF; color: var(--icmd-purple); font-weight: 600;
    padding: 4px 12px; border-radius: 4px; font-size: 12px;
}

/* ─── Case Study Cards ─── */
.case-study-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
}
.cs-card {
    background: var(--icmd-white); border: 1px solid #E8E8E8; border-radius: 10px;
    padding: 30px 25px; transition: transform 0.3s, box-shadow 0.3s;
    position: relative; overflow: hidden;
}
.cs-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(81,45,168,0.1); }
.cs-featured-badge {
    position: absolute; top: 0; right: 20px; background: var(--icmd-gold);
    color: var(--icmd-navy); font-size: 10px; font-weight: 700;
    padding: 5px 14px; border-radius: 0 0 6px 6px; text-transform: uppercase;
    letter-spacing: 1px;
}
.cs-card-header { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.cs-service-tag {
    display: inline-block; font-size: 11px; font-weight: 700; color: white;
    padding: 3px 10px; border-radius: 3px; text-decoration: none;
    transition: opacity 0.2s;
}
.cs-service-tag:hover { opacity: 0.85; color: white; }
.cs-service-tag.t1 { background: var(--tier1-color); }
.cs-service-tag.t2 { background: var(--tier2-color); }
.cs-service-tag.t3 { background: var(--tier3-color); }
.cs-industry-tag {
    display: inline-block; font-size: 11px; font-weight: 600;
    color: var(--icmd-text-muted); padding: 3px 10px; border-radius: 3px;
    background: #F0F0F0;
}
.cs-card-title {
    font-family: var(--font-serif); font-size: 19px; font-weight: 700;
    color: var(--icmd-text); margin: 0 0 12px; line-height: 1.35;
}
.cs-card-challenge {
    font-size: 13.5px; color: var(--icmd-text-muted); line-height: 1.65;
    margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}
.cs-card-results {
    font-size: 13px; font-weight: 600; color: var(--icmd-purple);
    padding: 12px 14px; background: #F3E8FF; border-radius: 6px;
    margin-bottom: 16px; line-height: 1.6;
}
.cs-testimonial {
    border-left: 3px solid var(--icmd-gold); padding-left: 16px;
    margin-bottom: 16px;
}
.cs-testimonial p {
    font-size: 13.5px; font-style: italic; line-height: 1.65;
    color: var(--icmd-text) !important; margin: 0 0 6px;
}
.cs-testimonial cite {
    font-size: 12px; font-style: normal; font-weight: 600; color: var(--icmd-text-muted);
}
.cs-read-more {
    display: inline-block; color: var(--icmd-purple); font-weight: 600;
    font-size: 13px; text-decoration: none; transition: color 0.2s;
}
.cs-read-more:hover { color: var(--icmd-gold-dark); }

/* ─── Insights Grid ─── */
.insights-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.insight-card {
    display: block; background: var(--icmd-white); border: 1px solid #E8E8E8;
    border-radius: 10px; padding: 28px 25px; transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(81,45,168,0.1); }
.insight-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 8px; }
.insight-card-title {
    font-family: var(--font-serif); font-size: 18px; font-weight: 700;
    color: var(--icmd-text); margin: 0 0 12px; line-height: 1.35;
}
.insight-card-excerpt {
    font-size: 13.5px; color: var(--icmd-text-muted); line-height: 1.65;
    margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}
.insight-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.insight-date { font-size: 12px; color: var(--icmd-text-muted); }
.insight-source-tag {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11px; color: var(--icmd-text-muted);
}
.insight-read-link {
    font-size: 13px; font-weight: 600; color: var(--icmd-purple);
    transition: color 0.2s;
}
.insight-card:hover .insight-read-link { color: var(--icmd-gold-dark); }
.insight-featured-card { display: block; background: white; border: 1px solid #E8E8E8; border-radius: 12px; padding: 35px 30px; transition: box-shadow 0.3s; }
.insight-featured-card:hover { box-shadow: 0 12px 40px rgba(81,45,168,0.08); }

/* ─── Insight Article Body ─── */
.insight-article-body { font-size: 16px; line-height: 1.9; color: var(--icmd-text); }
.insight-article-body h2 { font-size: 24px; margin: 35px 0 18px; color: var(--icmd-text) !important; }
.insight-article-body p { margin-bottom: 20px; color: #444 !important; }
.insight-article-body strong { color: var(--icmd-text); }
.insight-article-body .article-tag-line { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--icmd-purple); font-weight: 600; border-bottom: 2px solid var(--icmd-purple); display: inline-block; padding-bottom: 6px; margin-bottom: 25px; }
.insight-article-body .article-subtitle { font-size: 17px; color: #6D747C; font-style: italic; margin-bottom: 30px; line-height: 1.6; }
.insight-article-body .article-hero-img { width: 100%; border-radius: 8px; margin: 25px 0; display: block; }
.insight-article-body .article-img-caption { text-align: center; font-size: 13px; color: #888; font-style: italic; margin-top: -15px; margin-bottom: 30px; }
.insight-article-body ul { margin: 0 0 25px 0; padding-left: 0; list-style: none; }
.insight-article-body ul li { position: relative; padding-left: 25px; margin-bottom: 12px; color: #444; }
.insight-article-body ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--icmd-purple); }
.insight-article-body .article-cta-block { background: linear-gradient(135deg, var(--icmd-purple-light, #F3E8FF), #F8F6FF); border-left: 4px solid var(--icmd-purple); border-radius: 0 10px 10px 0; padding: 28px 30px; margin: 40px 0; }
.insight-article-body .article-cta-block h3 { color: var(--icmd-text); margin: 0 0 10px; font-size: 18px; }
.insight-article-body .article-cta-block p { color: #555; margin-bottom: 15px; font-size: 15px; }
.insight-article-body .article-cta-block a { color: var(--icmd-purple); font-weight: 700; }

/* ─── Share Buttons ─── */
.share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: #F0F0F0; color: var(--icmd-text); text-decoration: none;
    font-size: 15px; transition: background 0.2s, color 0.2s;
}
.share-btn:hover { background: var(--icmd-purple); color: white; }

/* ─── About Page: Founder ─── */
.founder-visual { text-align: center; }
.founder-avatar { margin-bottom: 20px; }
.founder-avatar-placeholder {
    width: 150px; height: 150px; border-radius: 50%;
    background: linear-gradient(135deg, #F3E8FF, #E0DBFF);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto; border: 3px solid var(--icmd-purple);
}
.founder-credentials { display: flex; flex-direction: column; gap: 10px; }
.founder-cred-item {
    display: flex; align-items: center; gap: 10px; font-size: 14px;
    color: var(--icmd-text-muted);
}
.founder-cred-item i { font-size: 16px; }

/* ─── About Page: Timeline ─── */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
    content: ''; position: absolute; left: 14px; top: 0; bottom: 0;
    width: 2px; background: #E0DBFF;
}
.timeline-item { position: relative; padding-bottom: 45px; display: flex; gap: 20px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker {
    position: absolute; left: -33px; top: 5px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--icmd-purple); border: 3px solid white;
    box-shadow: 0 0 0 2px var(--icmd-purple);
}
.timeline-year {
    display: inline-block; font-family: var(--font-serif); font-size: 13px;
    font-weight: 700; color: var(--icmd-gold-dark);
    background: #FFFBEB; padding: 3px 12px; border-radius: 4px;
    margin-bottom: 8px;
}
.timeline-content h4 { margin: 0 0 8px; font-size: 17px; color: var(--icmd-text) !important; }
.timeline-content p { font-size: 14px; line-height: 1.7; color: var(--icmd-text-muted) !important; margin: 0; }

/* ─── Insight Sidebar ─── */
.insight-sidebar { position: sticky; top: 80px; }
.insight-sidebar a { transition: color 0.2s; }
.insight-sidebar a:hover { color: var(--icmd-purple) !important; }

/* ─── Tier Badge Inline (used in service hero) ─── */
.tier-badge-inline {
    display: inline-block; font-size: 11px; font-weight: 700; color: white;
    padding: 3px 10px; border-radius: 4px; text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tier-badge-inline.t1 { background: var(--tier1-color); }
.tier-badge-inline.t2 { background: var(--tier2-color); }
.tier-badge-inline.t3 { background: var(--tier3-color); }

/* ─── Filter Buttons (Case Studies / Insights) ─── */
.filter-btn {
    display: inline-block; padding: 8px 20px; border: 1px solid #DDD; border-radius: 25px;
    background: white; color: var(--icmd-text); font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all 0.2s; font-family: var(--font-sans);
}
.filter-btn:hover { border-color: var(--icmd-purple); color: var(--icmd-purple); }
.filter-btn.active { background: var(--icmd-purple); color: white; border-color: var(--icmd-purple); }

/* ─── Category Tabs (Insights) ─── */
.category-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 20px 0; }
.category-tab {
    padding: 7px 18px; border: 1px solid #DDD; border-radius: 20px;
    background: white; color: var(--icmd-text-muted); font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all 0.2s; font-family: var(--font-sans);
}
.category-tab:hover { border-color: var(--icmd-purple); color: var(--icmd-purple); }
.category-tab.active { background: var(--icmd-purple); color: white; border-color: var(--icmd-purple); }

/* ─── Social Follow Cards (Insights Page) ─── */
.social-follow-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 90px; height: 90px; border-radius: 12px;
    background: var(--icmd-white); border: 1px solid #E0E0E0;
    text-decoration: none; transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.social-follow-card i {
    font-size: 28px; color: var(--icmd-purple); margin-bottom: 8px;
    transition: color 0.3s, transform 0.3s;
}
.social-follow-card span {
    font-size: 11px; font-weight: 600; color: var(--icmd-text-muted);
    font-family: var(--font-sans); transition: color 0.3s;
}
.social-follow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(81,45,168,0.15);
    border-color: var(--icmd-purple-light);
}
.social-follow-card:hover i { color: var(--icmd-purple); transform: scale(1.1); }
.social-follow-card:hover span { color: var(--icmd-purple); }
.social-follow-card[title="WhatsApp"]:hover { border-color: #25D366; box-shadow: 0 8px 24px rgba(37,211,102,0.15); }
.social-follow-card[title="WhatsApp"]:hover i { color: #25D366; }
.social-follow-card[title="WhatsApp"]:hover span { color: #25D366; }
.social-follow-card[title="Facebook"]:hover { border-color: #1877F2; box-shadow: 0 8px 24px rgba(24,119,242,0.15); }
.social-follow-card[title="Facebook"]:hover i { color: #1877F2; }
.social-follow-card[title="Facebook"]:hover span { color: #1877F2; }
.social-follow-card[title="Instagram"]:hover { border-color: #E4405F; box-shadow: 0 8px 24px rgba(228,64,95,0.15); }
.social-follow-card[title="Instagram"]:hover i { color: #E4405F; }
.social-follow-card[title="Instagram"]:hover span { color: #E4405F; }
.social-follow-card[title="YouTube"]:hover { border-color: #FF0000; box-shadow: 0 8px 24px rgba(255,0,0,0.15); }
.social-follow-card[title="YouTube"]:hover i { color: #FF0000; }
.social-follow-card[title="YouTube"]:hover span { color: #FF0000; }
.social-follow-card[title="Reddit"]:hover { border-color: #FF4500; box-shadow: 0 8px 24px rgba(255,69,0,0.15); }
.social-follow-card[title="Reddit"]:hover i { color: #FF4500; }
.social-follow-card[title="Reddit"]:hover span { color: #FF4500; }

@media (max-width: 480px) {
    .social-follow-card { width: 72px; height: 72px; }
    .social-follow-card i { font-size: 22px; margin-bottom: 5px; }
    .social-follow-card span { font-size: 10px; }
}

/* ─── Contact Page: WhatsApp CTA Button ─── */
.contact-wa-btn {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    width: 360px; height: 360px; border-radius: 50%;
    background: #25D366; text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 12px 50px rgba(37,211,102,0.35);
}
.contact-wa-btn i {
    font-size: 120px; color: white; margin-bottom: 14px;
    transition: transform 0.3s;
}
.contact-wa-btn-label {
    font-size: 18px; font-weight: 700; color: white;
    font-family: var(--font-sans); text-align: center; line-height: 1.3;
    padding: 0 30px;
}
.contact-wa-btn-number {
    font-size: 16px; color: rgba(255,255,255,0.85); margin-top: 6px;
    font-family: var(--font-sans);
}
.contact-wa-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 12px 40px rgba(37,211,102,0.4);
}
.contact-wa-btn:hover i { transform: scale(1.08); }

@media (max-width: 480px) {
    .contact-wa-btn { width: 280px; height: 280px; }
    .contact-wa-btn i { font-size: 90px; }
    .contact-wa-btn-label { font-size: 16px; }
    .contact-wa-btn-number { font-size: 14px; }
}

/* ─── Contact Page: WeChat Row ─── */
.contact-wechat-row {
    display: inline-flex; align-items: center; gap: 16px;
    margin-top: 35px; padding: 18px 30px;
    background: #F5F3FF; border-radius: 10px;
}
.contact-wechat-icon {
    width: 48px; height: 48px; border-radius: 50%;
    background: #07C160; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-wechat-icon i { font-size: 26px; color: white; }

/* ─── Floating WhatsApp Button (all pages) ─── */
.whatsapp-float {
    position: fixed !important;
    bottom: 28px;
    right: 28px;
    z-index: 99999 !important;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.5);
    color: white;
}
.whatsapp-float-btn::before,
.whatsapp-float-btn::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(37,211,102,0.4);
    animation: waPulse 2s ease-out infinite;
}
.whatsapp-float-btn::after { animation-delay: 1s; }
@keyframes waPulse {
    0%   { transform: scale(1);   opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}
.whatsapp-float-tooltip {
    background: white;
    color: var(--icmd-text);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
    transform: translateX(0);
}
/* Hide floating WhatsApp on Contact page (already has prominent CTA) */
body.contact-page .whatsapp-float {
    display: none !important;
}
@media (max-width: 991px) {
    .whatsapp-float-tooltip { display: none; }
}
@media (max-width: 480px) {
    .whatsapp-float-btn { width: 52px; height: 52px; font-size: 26px; bottom: 20px; right: 20px; }
}