/* marketing.css — Extracted from marketing.php inline <style> block + inline style="" attributes */

:root {
    --primary: #1a237e;
    --primary-light: #3949ab;
    --primary-dark: #0d1452;
    --accent: #ff6f00;
    --accent-light: #ff8f00;
    --success: #2e7d32;
    --bg: #f4f6f9;
    --card-bg: #ffffff;
    --text: #1a1a2e;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --radius: 10px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-size: 14px; line-height: 1.6; color: var(--text); background: var(--bg); }

.top-bar { background: var(--primary-dark); padding: 8px 30px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.8); }
.top-bar a { color: #ffd54f; text-decoration: none; font-weight: 600; }
.header { background: var(--primary); padding: 18px 30px; }
.header-inner { max-width: 1600px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo img { height: 50px; border-radius: 8px; }
.logo-text { color: #fff; }
.logo-title { font-size: 24px; font-weight: 800; letter-spacing: 3px; }
.logo-sub { font-size: 11px; color: rgba(255,255,255,0.7); letter-spacing: 1px; }

.nav { background: #fff; border-bottom: 2px solid var(--border); padding: 0 30px; display: flex; align-items: center; gap: 0; overflow-x: auto; }
.nav-link { padding: 14px 24px; color: var(--text-light); text-decoration: none; font-weight: 600; font-size: 13px; border-bottom: 3px solid transparent; white-space: nowrap; transition: all 0.2s; }
.nav-link:hover { color: var(--primary); background: #f8f9ff; }
.nav-link.active { color: var(--primary); border-bottom-color: var(--accent); font-weight: 700; }
.nav-separator { flex: 1; }

.main { max-width: 1400px; margin: 0 auto; padding: 30px; }

/* HERO */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #283593 50%, var(--accent) 100%); border-radius: var(--radius); padding: 40px; color: #fff; margin-bottom: 30px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: rgba(255,255,255,0.05); border-radius: 50%; }
.hero h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.hero p { font-size: 15px; color: rgba(255,255,255,0.85); max-width: 700px; line-height: 1.7; }
.hero-stats { display: flex; gap: 30px; margin-top: 24px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-val { font-size: 28px; font-weight: 800; color: #ffd54f; }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 1px; }

/* SECTION TABS */
.tab-bar { display: flex; gap: 4px; margin-bottom: 24px; flex-wrap: wrap; background: #fff; padding: 6px; border-radius: 8px; border: 1px solid var(--border); }
.tab-btn { padding: 10px 20px; border: none; background: transparent; color: var(--text-light); font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 6px; transition: all 0.2s; }
.tab-btn:hover { background: #f0f1f3; color: var(--text); }
.tab-btn.active { background: var(--primary); color: #fff; }

.section { display: none; }
.section.active { display: block; }

/* CARDS */
.card { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); margin-bottom: 20px; overflow: hidden; }
.card-header { padding: 16px 20px; font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.card-body { padding: 20px; }

/* GRID */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

/* INTEL CARDS */
.intel-card { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); padding: 20px; }
.intel-card-title { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); font-weight: 700; margin-bottom: 12px; }
.intel-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 13px; border-bottom: 1px solid #f5f5f5; }
.intel-row:last-child { border-bottom: none; }
.intel-row .label { color: var(--text-light); }
.intel-row .value { font-weight: 700; color: var(--text); }
.intel-row .value.green { color: var(--success); }
.intel-row .value.orange { color: var(--accent); }
.intel-row .value.red { color: #d32f2f; }

/* TOOL CARDS */
.tool-card { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.tool-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.tool-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.tool-desc { font-size: 12px; color: var(--text-light); line-height: 1.5; }
.tool-cost { font-size: 11px; font-weight: 600; color: var(--accent); margin-top: 4px; }

/* CAMPAIGN CARDS */
.campaign-card { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); border: 2px solid var(--border); overflow: hidden; }
.campaign-header { padding: 16px 20px; font-weight: 700; font-size: 15px; }
.campaign-body { padding: 20px; }
.campaign-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; border-bottom: 1px solid #f5f5f5; }
.campaign-row:last-child { border-bottom: none; }
.campaign-total { background: #f8f9ff; border-top: 2px solid var(--primary); padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; }
.campaign-total .label { font-size: 12px; font-weight: 600; color: var(--text-light); }
.campaign-total .value { font-size: 20px; font-weight: 800; color: var(--primary); }

/* PRICE TABLE */
.price-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.price-table th { background: #f8f9ff; padding: 10px 14px; text-align: left; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); border-bottom: 2px solid var(--border); }
.price-table td { padding: 10px 14px; border-bottom: 1px solid #f5f5f5; }
.price-table tr:hover { background: #fafbfc; }
.price-table .highlight { background: #fff8e1; font-weight: 700; }
.margin-badge { display: inline-block; background: var(--success); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }
.margin-badge.high { background: var(--success); }
.margin-badge.medium { background: var(--accent); }
.margin-badge.low { background: #ff5722; }

/* CALENDAR */
.cal-week { margin-bottom: 16px; }
.cal-week-header { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 8px; padding: 8px 12px; background: #f8f9ff; border-radius: 6px; }
.cal-post { display: flex; gap: 10px; padding: 8px 12px; font-size: 12px; border-bottom: 1px solid #f5f5f5; align-items: center; }
.cal-day { width: 32px; font-weight: 700; color: var(--text-light); flex-shrink: 0; }
.cal-platform { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px; flex-shrink: 0; }
.cal-platform.li { background: #e3f2fd; color: #0077B5; }
.cal-platform.ig { background: #fce4ec; color: #E1306C; }
.cal-content { flex: 1; color: var(--text); }
.cal-format { font-size: 10px; color: var(--text-light); font-weight: 600; }

/* BADGE */
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 700; }
.badge-critical { background: #ffebee; color: #d32f2f; }
.badge-high { background: #fff3e0; color: #e65100; }
.badge-medium { background: #e8f5e9; color: #2e7d32; }
.badge-active { background: #e3f2fd; color: #1565c0; }

.footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 30px; text-align: center; font-size: 12px; margin-top: 40px; }
.footer a { color: #ffd54f; text-decoration: none; }

@media (max-width: 900px) {
    .header-inner { flex-direction: column; gap: 12px; }
    .hero { padding: 24px; }
    .hero h1 { font-size: 22px; }
    .hero-stats { gap: 16px; }
    .main { padding: 16px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .tab-bar { overflow-x: auto; flex-wrap: nowrap; }
    .tab-btn { white-space: nowrap; font-size: 12px; padding: 8px 14px; }
}

/* ============================================================
   UTILITY CLASSES — replacements for inline style="" attributes
   ============================================================ */

/* Text helpers */
.text-small { font-size: 10px; color: var(--text-light); }
.text-xs { font-size: 11px; color: var(--text-light); }
.text-sm { font-size: 12px; color: var(--text-light); }
.text-sm-bold { font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.text-sm-heading { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.text-body-light { font-size: 13px; line-height: 1.8; }
.text-body-light-color { font-size: 13px; line-height: 1.8; color: var(--text); }
.text-primary-color { color: var(--primary); }
.text-na { color: var(--text-light); }

/* Spacing */
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* Card body variants */
.card-body--overflow { padding: 20px; overflow-x: auto; }

/* Paragraph spacing */
.p-mt-12 { margin-top: 12px; color: var(--text-light); }

/* Intel row total separator */
.intel-row--total { border-top: 2px solid var(--border); margin-top: 4px; padding-top: 8px; }
.intel-row--total-budget { border-top: 2px solid var(--border); padding-top: 10px; margin-top: 6px; }
.label--bold { font-weight: 700; }
.label--bold-dark { font-weight: 700; color: var(--text); }
.value--primary { color: var(--primary); }
.value--primary-lg { font-size: 18px; color: var(--primary); }

/* Example / info boxes */
.example-box { margin-top: 16px; padding: 14px; background: #f8f9ff; border-radius: 8px; border: 1px solid #e8eaf6; }
.info-box { margin-top: 12px; padding: 10px; background: #f8f9ff; border-radius: 6px; font-size: 12px; color: var(--text-light); }

/* Table cell helpers */
.td-source { font-size: 11px; color: var(--text-light); }
.td-size-detail { font-size: 11px; color: var(--text-light); }

/* Material type badge dynamic colors (PHP-generated, handled via specific classes) */
.badge-material-paper { background: #e8f5e9; color: #2e7d32; }
.badge-material-plastic { background: #fff3e0; color: #e65100; }
.badge-material-other { background: #e3f2fd; color: #1565c0; }

/* Campaign headers */
.campaign-header--linkedin { background: #e3f2fd; color: #0077B5; }
.campaign-header--google { background: #fff3e0; color: #e65100; }

/* Campaign detail text */
.campaign-detail { font-size: 11px; color: var(--text-light); padding: 4px 0 12px; }
.campaign-detail-last { font-size: 11px; color: var(--text-light); padding: 4px 0 8px; }

/* Email sequence card */
.sequence-card { padding: 12px; background: #f8f9ff; border-radius: 8px; }
.sequence-title { font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.sequence-desc { font-size: 11px; color: var(--text-light); }

/* Outreach footer */
.outreach-footer { margin-top: 14px; font-size: 12px; color: var(--text-light); }

/* Content marketing text blocks */
.content-list { font-size: 12px; color: var(--text-light); line-height: 1.8; }

/* Section category heading */
.section-title { margin-bottom: 16px; font-size: 16px; }
.section-category { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }

/* Tool icon color variants */
.tool-icon--linkedin { background: #e3f2fd; color: #0077B5; }
.tool-icon--apollo { background: #ede7f6; color: #7c4dff; }
.tool-icon--hunter { background: #fff3e0; color: #ff6d00; }
.tool-icon--google { background: #fff3e0; color: #e65100; }
.tool-icon--gbp { background: #e8f5e9; color: #2e7d32; }
.tool-icon--instagram { background: #fce4ec; color: #E1306C; }
.tool-icon--insight { background: #e3f2fd; color: #1565c0; }
.tool-icon--europages { background: #f3e5f5; color: #7b1fa2; }
.tool-icon--psg { background: #e8f5e9; color: #2e7d32; }
.tool-icon--saphety { background: #fce4ec; color: #c62828; }

/* Transparency card (green border) */
.card--transparency { margin-top: 20px; border: 2px solid var(--success); }
.card-header--transparency { background: #e8f5e9; color: var(--success); }

/* Footer paragraphs */
.footer p + p { margin-top: 8px; }
