/*
Theme Name: CapturaMe Growth Hub v5
Theme URI: https://capturame.tech
Author: CapturaMe
Author URI: https://capturame.com.br
Description: Tema profissional para capturame.tech — Hub de conversão e conhecimento. Procurement com IA, setor público e fornecedores, com textos revisados e fallback estável para WordPress.
Version: 2.1.2
License: Proprietary
Text Domain: capturame
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Tags: procurement, saas, b2b, ia, custom-menu, featured-images, custom-logo
*/

/* ═══════════════════════════════════════════════ */
/*  DESIGN TOKENS                                  */
/* ═══════════════════════════════════════════════ */
:root {
    /* Brand Colors */
    --c-purple-900: #2d1b69;
    --c-purple-700: #4a2db2;
    --c-purple: #6A35FF;
    --c-purple-400: #8b5cf6;
    --c-purple-200: #c4b5fd;
    --c-purple-50: #f5f3ff;

    --c-orange: #FF7A00;
    --c-orange-400: #fb923c;
    --c-orange-50: #fff7ed;

    /* Neutrals */
    --c-ink: #0c111d;
    --c-ink-700: #1e293b;
    --c-slate: #475569;
    --c-slate-400: #94a3b8;
    --c-border: #e2e8f0;
    --c-surface: #ffffff;
    --c-bg: #fafbfc;
    --c-bg-alt: #f1f5f9;

    /* Semantic */
    --c-success: #059669;
    --c-info: #0284c7;

    /* Typography */
    --font-body: 'Outfit', sans-serif;
    --font-display: 'Clash Display', 'Outfit', sans-serif;

    /* Spacing */
    --section-pad: clamp(4rem, 8vw, 7rem);
    --container: 1240px;

    /* Radius */
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --r-xl: 28px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(12,17,29,0.04);
    --shadow-md: 0 4px 20px rgba(12,17,29,0.07);
    --shadow-lg: 0 12px 40px rgba(12,17,29,0.1);
    --shadow-glow: 0 0 40px rgba(106,53,255,0.15);
}

/* ═══════════════════════════════════════════════ */
/*  RESET & BASE                                   */
/* ═══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--c-ink);
    background: var(--c-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.65;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s ease; }

::selection { background: var(--c-purple-200); color: var(--c-purple-900); }

/* ═══════════════════════════════════════════════ */
/*  UTILITIES                                      */
/* ═══════════════════════════════════════════════ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 2rem);
}

.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--c-bg-alt); }
.section-dark {
    background: linear-gradient(135deg, var(--c-ink) 0%, var(--c-purple-900) 100%);
    color: #fff;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-purple);
    margin-bottom: 0.75rem;
}
.section-dark .section-label { color: var(--c-purple-400); }

.section-title {
    margin-bottom: 1rem;
    max-width: 680px;
}

.section-desc {
    color: var(--c-slate);
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.7;
}
.section-dark .section-desc { color: var(--c-slate-400); }

.text-center { text-align: center; }
.text-center .section-title,
.text-center .section-desc { margin-left: auto; margin-right: auto; }

.accent { color: var(--c-purple); }
.accent-orange { color: var(--c-orange); }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ═══════════════════════════════════════════════ */
/*  BUTTONS                                        */
/* ═══════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 12px 28px;
    border-radius: var(--r-md);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--c-purple);
    color: #fff;
    box-shadow: 0 2px 12px rgba(106,53,255,0.25);
}
.btn-primary:hover {
    background: var(--c-purple-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(106,53,255,0.35);
}

.btn-orange {
    background: var(--c-orange);
    color: #fff;
    box-shadow: 0 2px 12px rgba(255,122,0,0.25);
}
.btn-orange:hover {
    background: #e86e00;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--c-purple);
    border: 1.5px solid var(--c-purple);
}
.btn-outline:hover {
    background: var(--c-purple);
    color: #fff;
}

.btn-ghost {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.15);
}

.btn-white {
    background: #fff;
    color: var(--c-purple);
    font-weight: 700;
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg { padding: 15px 34px; font-size: 1rem; border-radius: var(--r-lg); }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }

/* ═══════════════════════════════════════════════ */
/*  NAVIGATION                                     */
/* ═══════════════════════════════════════════════ */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--c-border);
    transition: all 0.3s ease;
}
.site-nav.scrolled {
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.25rem, 3vw, 2rem);
    height: 72px;
    transition: height 0.3s;
}
.site-nav.scrolled .nav-inner { height: 60px; }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo img { height: 36px; }
.nav-logo-image { height: 36px; width: auto; display: block; }
.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--c-ink);
}
.nav-logo-text span { color: var(--c-purple); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: var(--c-slate);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}
.nav-links a:hover,
.nav-links a.active { color: var(--c-purple); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    height: 2px;
    background: var(--c-purple);
    border-radius: 2px;
}

/* Dropdown for Soluções */
.nav-dropdown { position: relative; }
.nav-dropdown-content {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 1.25rem;
    min-width: 280px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-content a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    font-size: 0.88rem;
    color: var(--c-ink);
}
.nav-dropdown-content a:hover { background: var(--c-purple-50); color: var(--c-purple); }
.nav-dropdown-content a .dd-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.nav-dropdown-content a .dd-desc {
    font-size: 0.78rem;
    color: var(--c-slate);
    font-weight: 400;
    margin-top: 2px;
}

.nav-right { display: flex; gap: 10px; align-items: center; }

.nav-platform {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--c-purple);
    font-weight: 600;
    font-size: 0.85rem;
    border: 1.5px solid var(--c-purple);
    padding: 8px 18px;
    border-radius: var(--r-md);
    transition: all 0.2s;
}
.nav-platform:hover { background: var(--c-purple); color: #fff; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-purple);
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s;
    box-shadow: 0 2px 12px rgba(106,53,255,0.2);
}
.nav-cta:hover {
    background: var(--c-purple-700);
    transform: translateY(-1px);
}

/* Mobile Navigation */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: var(--c-ink);
    font-size: 1.4rem;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    z-index: 99;
    padding: 2rem;
    overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
    display: block;
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--c-ink);
    border-bottom: 1px solid var(--c-border);
}
.mobile-menu a:hover { color: var(--c-purple); }
.mobile-menu .btn { margin-top: 1.5rem; width: 100%; justify-content: center; }

@media (max-width: 1024px) {
    .nav-links, .nav-right { display: none; }
    .nav-hamburger { display: flex; }
}

/* ═══════════════════════════════════════════════ */
/*  HERO                                           */
/* ═══════════════════════════════════════════════ */
.hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(145deg, var(--c-ink) 0%, #1a103d 60%, var(--c-purple-900) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(106,53,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 40%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(255,122,0,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(106,53,255,0.12);
    border: 1px solid rgba(106,53,255,0.2);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--c-purple-200);
    margin-bottom: 1.5rem;
}

.hero h1 {
    margin-bottom: 1.25rem;
    font-weight: 700;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--c-purple-400), var(--c-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--c-slate-400);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-xl);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.hero-stat .number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}
.hero-stat .number .hl { color: var(--c-purple-400); }
.hero-stat .label {
    font-size: 0.8rem;
    color: var(--c-slate-400);
    margin-top: 4px;
}

@media (max-width: 900px) {
    .hero { padding: 8rem 0 4rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { order: -1; }
}

/* ═══════════════════════════════════════════════ */
/*  TRUST BAR                                      */
/* ═══════════════════════════════════════════════ */
.trust-bar {
    padding: 2rem 0;
    border-bottom: 1px solid var(--c-border);
    background: var(--c-surface);
}
.trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.trust-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-slate-400);
}
.trust-logos {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}
.trust-logos span {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--c-slate);
    opacity: 0.5;
}
.trust-logos img {
    height: 28px;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all 0.3s;
}
.trust-logos img:hover { opacity: 1; filter: none; }

/* ═══════════════════════════════════════════════ */
/*  CARDS                                          */
/* ═══════════════════════════════════════════════ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
    .cards-grid { grid-template-columns: 1fr; }
    .cards-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .cards-grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}
.card:hover {
    border-color: var(--c-purple-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px; height: 48px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--c-slate); font-size: 0.9rem; line-height: 1.6; }

/* ═══════════════════════════════════════════════ */
/*  AUDIENCE TABS                                  */
/* ═══════════════════════════════════════════════ */
.audience-tabs {
    display: flex;
    gap: 4px;
    background: var(--c-bg-alt);
    border-radius: var(--r-md);
    padding: 4px;
    margin: 2.5rem 0;
    max-width: fit-content;
}
.audience-tab {
    font-family: var(--font-body);
    padding: 10px 24px;
    border-radius: var(--r-sm);
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--c-slate);
    cursor: pointer;
    transition: all 0.2s;
}
.audience-tab.active {
    background: var(--c-surface);
    color: var(--c-purple);
    box-shadow: var(--shadow-sm);
}

.audience-content {
    display: none;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0;
}
.audience-content.active { display: grid; }

.audience-content ul {
    list-style: none;
    padding: 0;
}
.audience-content li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    color: var(--c-ink-700);
    font-size: 0.95rem;
}
.audience-content li i { color: var(--c-success); margin-top: 3px; font-size: 0.85rem; }

.audience-visual {
    background: var(--c-purple-50);
    border-radius: var(--r-xl);
    padding: 3rem;
    text-align: center;
}
.audience-visual .big-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 700;
    color: var(--c-purple);
    line-height: 1;
}
.audience-visual .caption {
    color: var(--c-slate);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

@media (max-width: 768px) {
    .audience-content { grid-template-columns: 1fr; }
    .audience-visual { order: -1; padding: 2rem; }
    .audience-visual .big-number { font-size: 3.5rem; }
}

/* ═══════════════════════════════════════════════ */
/*  STEPS                                          */
/* ═══════════════════════════════════════════════ */
.steps-grid {
    counter-reset: step;
    position: relative;
}
.step-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    counter-increment: step;
}
.step-card::before {
    content: counter(step);
    display: flex;
    width: 42px; height: 42px;
    align-items: center;
    justify-content: center;
    background: var(--c-purple);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
}
.step-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.step-card p {
    font-size: 0.85rem;
    color: var(--c-slate);
}

/* ═══════════════════════════════════════════════ */
/*  FINANCE SECTION                                */
/* ═══════════════════════════════════════════════ */
.finance-section {
    background: linear-gradient(145deg, var(--c-ink) 0%, #1a103d 100%);
    color: #fff;
}
.finance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.finance-feature {
    display: flex;
    gap: 1rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-md);
    padding: 1.25rem;
}
.finance-feature .icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: rgba(106,53,255,0.2);
    color: var(--c-purple-400);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.finance-feature h4 { font-size: 0.95rem; margin-bottom: 4px; }
.finance-feature p { font-size: 0.82rem; color: var(--c-slate-400); }

@media (max-width: 768px) {
    .finance-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ═══════════════════════════════════════════════ */
/*  CTA SECTIONS                                   */
/* ═══════════════════════════════════════════════ */
.cta-section {
    text-align: center;
}
.cta-purple {
    background: linear-gradient(145deg, var(--c-purple) 0%, var(--c-purple-900) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-purple::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 60%);
    pointer-events: none;
}
.cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    margin-bottom: 1rem;
}
.cta-section p {
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════ */
/*  INSIGHT CARDS                                  */
/* ═══════════════════════════════════════════════ */
.insight-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.insight-card:hover {
    border-color: var(--c-purple-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.insight-card-thumb {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--c-bg-alt);
}
.insight-card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.insight-card:hover .insight-card-thumb img {
    transform: scale(1.05);
}

.insight-card-thumb .type-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--c-purple);
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.insight-card-thumb .type-badge.podcast { background: var(--c-orange); }
.insight-card-thumb .type-badge.video { background: var(--c-info); }
.insight-card-thumb .type-badge.newsletter { background: var(--c-success); }

/* Placeholder quando não há thumbnail */
.insight-card-thumb .placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--c-purple-50) 0%, var(--c-bg-alt) 100%);
    color: var(--c-purple-200);
    font-size: 3rem;
}

.insight-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.insight-card-body h3 {
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}
.insight-card:hover .insight-card-body h3 { color: var(--c-purple); }

.insight-card-body .excerpt {
    font-size: 0.85rem;
    color: var(--c-slate);
    line-height: 1.5;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--c-border);
    font-size: 0.78rem;
    color: var(--c-slate-400);
}

/* ═══════════════════════════════════════════════ */
/*  INSIGHTS ARCHIVE                               */
/* ═══════════════════════════════════════════════ */
.insights-hero {
    padding: 9rem 0 4rem;
    background: linear-gradient(145deg, var(--c-ink) 0%, var(--c-purple-900) 100%);
    color: #fff;
    text-align: center;
}

.insights-search {
    max-width: 540px;
    margin: 2rem auto 0;
    position: relative;
}
.insights-search input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
}
.insights-search input::placeholder { color: var(--c-slate-400); }
.insights-search input:focus {
    border-color: var(--c-purple-400);
    background: rgba(255,255,255,0.12);
}
.insights-search i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-slate-400);
}

.insights-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.5rem;
}
.filter-pill {
    padding: 8px 20px;
    border-radius: 100px;
    border: none;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-pill:hover { background: rgba(255,255,255,0.15); color: #fff; }
.filter-pill.active { background: var(--c-purple); color: #fff; }

/* Featured Insights */
.insights-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.insight-featured-card {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
}
.insight-featured-card img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.insight-featured-card:hover img { transform: scale(1.05); }
.insight-featured-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
}
.insight-featured-card .content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: #fff;
    width: 100%;
}
.insight-featured-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}
.insight-featured-card p { font-size: 0.88rem; color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
    .insights-featured { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════ */
/*  SINGLE INSIGHT                                 */
/* ═══════════════════════════════════════════════ */
.single-insight-hero {
    padding: 9rem 0 3rem;
    background: linear-gradient(145deg, var(--c-ink) 0%, var(--c-purple-900) 100%);
    color: #fff;
}

.single-insight-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 0;
}
.single-insight-content h2 { margin: 2rem 0 1rem; }
.single-insight-content h3 { margin: 1.5rem 0 0.75rem; }
.single-insight-content p { margin-bottom: 1.25rem; color: var(--c-ink-700); }
.single-insight-content ul,
.single-insight-content ol { margin: 1rem 0 1.25rem 1.5rem; }
.single-insight-content li { margin-bottom: 0.5rem; color: var(--c-ink-700); }
.single-insight-content img {
    border-radius: var(--r-md);
    margin: 1.5rem 0;
}
.single-insight-content blockquote {
    border-left: 3px solid var(--c-purple);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--c-purple-50);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    font-style: italic;
    color: var(--c-ink-700);
}
.single-insight-content a { color: var(--c-purple); font-weight: 500; }
.single-insight-content a:hover { text-decoration: underline; }

/* Embed containers */
.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--r-md);
    margin: 1.5rem 0;
}
.embed-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* ═══════════════════════════════════════════════ */
/*  CONVERSION PAGES                               */
/* ═══════════════════════════════════════════════ */
.conversion-hero {
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.conversion-hero.private {
    background: linear-gradient(145deg, var(--c-ink) 0%, var(--c-purple-900) 100%);
}
.conversion-hero.public {
    background: linear-gradient(145deg, var(--c-ink) 0%, #0c2d48 100%);
}
.conversion-hero.suppliers {
    background: linear-gradient(145deg, var(--c-ink) 0%, #2d1500 100%);
}

.conversion-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.conversion-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.conversion-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-md);
    padding: 1.25rem;
    text-align: center;
}
.conversion-stat .num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--c-purple-400);
}
.conversion-stat .lbl {
    font-size: 0.78rem;
    color: var(--c-slate-400);
    margin-top: 4px;
}

@media (max-width: 900px) {
    .conversion-hero { padding: 8rem 0 3rem; }
    .conversion-hero-grid { grid-template-columns: 1fr; }
    .conversion-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.feature-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 2rem;
    transition: all 0.3s;
}
.feature-card:hover {
    border-color: var(--c-purple-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.feature-card .icon {
    width: 48px; height: 48px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.88rem; color: var(--c-slate); line-height: 1.6; }

@media (max-width: 900px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* Testimonial */
.testimonial {
    background: var(--c-purple-50);
    border-radius: var(--r-xl);
    padding: 3rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}
.testimonial-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--c-purple-200);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-purple);
    font-size: 1.5rem;
}
.testimonial blockquote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--c-ink-700);
    line-height: 1.7;
}
.testimonial cite {
    display: block;
    margin-top: 0.75rem;
    font-style: normal;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--c-purple);
}

@media (max-width: 600px) {
    .testimonial { flex-direction: column; text-align: center; padding: 2rem; }
}

/* ═══════════════════════════════════════════════ */
/*  CONTACT / LEAD FORM                            */
/* ═══════════════════════════════════════════════ */
.contact-form-wrapper {
    background: var(--c-surface);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 900px;
    margin: 0 auto;
}
.contact-info {
    background: linear-gradient(145deg, var(--c-ink) 0%, var(--c-purple-900) 100%);
    color: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-info h3 { margin-bottom: 1rem; font-size: 1.5rem; }
.contact-info p { color: var(--c-slate-400); font-size: 0.92rem; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-details a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}
.contact-details a:hover { color: #fff; }
.contact-details .icon-circle {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-form {
    padding: 2.5rem;
}
.contact-form .form-group {
    margin-bottom: 1rem;
}
.contact-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--c-ink);
    margin-bottom: 4px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.2s;
    outline: none;
    background: var(--c-surface);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--c-purple);
    box-shadow: 0 0 0 3px rgba(106,53,255,0.08);
}

@media (max-width: 768px) {
    .contact-form-wrapper { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════ */
/*  SECURITY BADGES                                */
/* ═══════════════════════════════════════════════ */
.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.security-card {
    text-align: center;
    padding: 2rem 1.25rem;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    transition: all 0.3s;
}
.security-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.security-card .icon {
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 1rem;
}
.security-card h4 { font-size: 0.92rem; margin-bottom: 4px; }
.security-card p { font-size: 0.78rem; color: var(--c-slate); }

@media (max-width: 768px) {
    .security-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════ */
/*  FOOTER                                         */
/* ═══════════════════════════════════════════════ */
.site-footer {
    background: var(--c-ink);
    color: rgba(255,255,255,0.6);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.88rem; margin-top: 1rem; line-height: 1.6; max-width: 280px; }

.footer-col h4 {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.footer-col a {
    display: block;
    padding: 4px 0;
    font-size: 0.85rem;
    transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.8rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.footer-social a:hover {
    background: var(--c-purple);
    color: #fff;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ═══════════════════════════════════════════════ */
/*  ANIMATIONS                                     */
/* ═══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* Subtle hover glow on cards */
@media (hover: hover) {
    .card::before,
    .insight-card::before,
    .feature-card::before {
        content: '';
        position: absolute;
        inset: -1px;
        border-radius: inherit;
        background: linear-gradient(135deg, var(--c-purple), var(--c-orange));
        opacity: 0;
        transition: opacity 0.3s;
        z-index: -1;
    }
    .card:hover::before,
    .insight-card:hover::before,
    .feature-card:hover::before {
        opacity: 0.06;
    }
}

/* ═══════════════════════════════════════════════ */
/*  WORDPRESS SPECIFIC                             */
/* ═══════════════════════════════════════════════ */
.wp-block-image { margin: 1.5rem 0; }
.wp-block-image img { border-radius: var(--r-md); }
.wp-block-embed { margin: 1.5rem 0; }
.alignwide { max-width: calc(var(--container) + 4rem); margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100vw; margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 3rem;
}
.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    font-weight: 600;
}
.pagination a {
    background: var(--c-bg-alt);
    color: var(--c-slate);
}
.pagination a:hover { background: var(--c-purple); color: #fff; }
.pagination .current {
    background: var(--c-purple);
    color: #fff;
}

/* ═══════════════════════════════════════════════ */
/*  ABOUT PAGE                                     */
/* ═══════════════════════════════════════════════ */
.about-hero {
    padding: 10rem 0 4rem;
    background: linear-gradient(145deg, var(--c-ink) 0%, var(--c-purple-900) 100%);
    color: #fff;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-grid img { border-radius: var(--r-xl); }

.about-numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--c-border);
}
.about-number .big {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--c-purple);
}
.about-number .lbl { font-size: 0.82rem; color: var(--c-slate); margin-top: 4px; }

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════ */
/*  404 PAGE                                       */
/* ═══════════════════════════════════════════════ */
.page-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
}
.page-404 .big-404 {
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--c-purple), var(--c-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.page-404 h2 { margin: 1rem 0 0.5rem; }
.page-404 p { color: var(--c-slate); margin-bottom: 2rem; }


/* Builder-ready pages */
.capturame-builder-content--page,
.capturame-builder-content--front {
    min-height: 40vh;
}
.capturame-builder-content .elementor-section:first-child,
.capturame-builder-content .wp-block-group:first-child {
    margin-top: 0;
}


/* ═══════════════════════════════════════════════ */
/*  GROWTH HUB V4 — CRO / CONTENT HUB ADDITIONS   */
/* ═══════════════════════════════════════════════ */
.metric-band {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1rem;
    margin-top:2rem;
}
.metric-tile {
    background:var(--c-surface);
    border:1px solid var(--c-border);
    border-radius:var(--r-lg);
    padding:1.25rem;
    text-align:center;
}
.metric-tile .num {
    font-family:var(--font-display);
    font-size:2rem;
    font-weight:700;
    color:var(--c-purple);
    line-height:1;
}
.metric-tile .lbl {
    margin-top:0.45rem;
    font-size:0.82rem;
    color:var(--c-slate);
}
.segment-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1.5rem;
    margin-top:2.5rem;
}
.segment-card {
    background:var(--c-surface);
    border:1px solid var(--c-border);
    border-radius:var(--r-xl);
    padding:2rem;
    box-shadow:var(--shadow-sm);
    transition:all .25s ease;
    position:relative;
    overflow:hidden;
}
.segment-card::before {
    content:'';
    position:absolute;
    inset:0 0 auto 0;
    height:4px;
    background:linear-gradient(90deg,var(--c-purple),var(--c-orange));
}
.segment-card:hover {
    transform:translateY(-4px);
    box-shadow:var(--shadow-md);
    border-color:var(--c-purple-200);
}
.segment-card .eyebrow {
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:0.74rem;
    text-transform:uppercase;
    letter-spacing:.08em;
    font-weight:700;
    color:var(--c-purple);
    margin-bottom:1rem;
}
.segment-card p {
    color:var(--c-slate);
    font-size:.9rem;
    line-height:1.65;
}
.icon-list {
    list-style:none;
    padding:0;
    margin:1rem 0 0;
}
.icon-list li {
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:7px 0;
    color:var(--c-ink-700);
    font-size:.92rem;
}
.icon-list li i {
    color:var(--c-success);
    margin-top:4px;
    font-size:.82rem;
}
.proof-strip {
    display:flex;
    gap:.75rem;
    flex-wrap:wrap;
    margin-top:1.25rem;
}
.proof-chip {
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 14px;
    border-radius:999px;
    background:var(--c-surface);
    border:1px solid var(--c-border);
    font-size:.82rem;
    color:var(--c-ink-700);
    font-weight:600;
}
.proof-chip i { color:var(--c-purple); }
.split-section {
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:3rem;
    align-items:center;
}
.glass-panel {
    background:linear-gradient(145deg,rgba(106,53,255,.08),rgba(255,255,255,.95));
    border:1px solid rgba(106,53,255,.14);
    border-radius:var(--r-xl);
    padding:2rem;
    box-shadow:var(--shadow-md);
}
.dark-proof-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1rem;
    margin-top:2.5rem;
}
.dark-proof-card {
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    border-radius:var(--r-lg);
    padding:1.5rem;
    text-align:center;
}
.dark-proof-card .num {
    font-family:var(--font-display);
    font-size:2rem;
    font-weight:700;
    color:var(--c-purple-400);
}
.dark-proof-card .lbl {
    font-size:.8rem;
    color:var(--c-slate-400);
}
.faq-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:1rem;
    margin-top:2rem;
}
.faq-item {
    background:var(--c-surface);
    border:1px solid var(--c-border);
    border-radius:var(--r-lg);
    padding:1.4rem;
}
.faq-item h3 {
    font-size:1rem;
    margin-bottom:.55rem;
}
.faq-item p {
    color:var(--c-slate);
    font-size:.9rem;
    line-height:1.65;
}
.content-categories {
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:1rem;
    margin-top:2rem;
}
.content-category {
    background:var(--c-surface);
    border:1px solid var(--c-border);
    border-radius:var(--r-lg);
    padding:1.2rem;
    text-align:left;
}
.content-category h4 {
    font-size:.92rem;
    margin:.8rem 0 .25rem;
}
.content-category p {
    color:var(--c-slate);
    font-size:.8rem;
    line-height:1.5;
}
.compare-grid {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1.5rem;
    margin-top:2rem;
}
.compare-card {
    border-radius:var(--r-xl);
    padding:2rem;
    border:1px solid var(--c-border);
}
.compare-card.bad {
    background:#fff7f7;
    border-color:#fecaca;
}
.compare-card.good {
    background:#f6f3ff;
    border-color:var(--c-purple-200);
}
.compare-card h3 {
    margin-bottom:1rem;
}
.compare-card ul { list-style:none; padding:0; }
.compare-card li {
    display:flex;
    gap:10px;
    padding:8px 0;
    font-size:.92rem;
    color:var(--c-ink-700);
}
.compare-card.bad li i { color:#dc2626; margin-top:4px; }
.compare-card.good li i { color:var(--c-success); margin-top:4px; }
.cta-inline {
    margin-top:1.5rem;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}
.resource-links {
    display:flex;
    flex-wrap:wrap;
    gap:.75rem;
    margin-top:1.5rem;
}
.resource-links a {
    padding:10px 14px;
    border:1px solid var(--c-border);
    border-radius:999px;
    background:var(--c-surface);
    font-size:.82rem;
    font-weight:600;
    color:var(--c-ink-700);
}
.resource-links a:hover { border-color:var(--c-purple-200); color:var(--c-purple); }
@media (max-width: 1024px) {
    .content-categories { grid-template-columns:repeat(3,1fr); }
    .dark-proof-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 900px) {
    .metric-band, .segment-grid, .faq-grid, .compare-grid, .split-section { grid-template-columns:1fr; }
    .content-categories { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 640px) {
    .content-categories, .dark-proof-grid { grid-template-columns:1fr; }
}
