/* ============================================
   PIPEDRIVE.CSS — Sub-Theme B
   Layers on top of style.css
   Link order: style.css → pipedrive.css

   Pipedrive palette:
   Primary accent : --color-green:       #10B981
   Dark accent    : --color-green-dark:  #059669
   Light bg       : --color-green-light-bg: #D1FAE5
   Navy dark      : --color-navy:        #1F2937
   ============================================ */

/* ============================================
   PIPEDRIVE-SPECIFIC TOKEN OVERRIDES
   ============================================ */

.pd-page {
    --pd-green:          #10B981;
    --pd-green-dark:     #059669;
    --pd-green-deeper:   #047857;
    --pd-green-light:    #D1FAE5;
    --pd-green-mid:      #A7F3D0;
    --pd-navy:           #1F2937;
    --pd-navy-deep:      #111827;
    --pd-navy-mid:       #374151;
    --pd-white:          #FFFFFF;
    --pd-slate:          #F9FAFB;
    --pd-border:         #E5E7EB;
    --pd-text-primary:   #1F2937;
    --pd-text-secondary: #6B7280;
    --pd-text-muted:     #9CA3AF;
    --pd-radius-card:    16px;
    --pd-radius-lg:      20px;
    --pd-shadow-card:    0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --pd-shadow-hover:   0 8px 16px -4px rgba(0,0,0,0.08), 0 4px 8px -2px rgba(0,0,0,0.04);
    --pd-transition:     all 0.3s ease;
    --pd-bg-hover:       #FAFBFC;
    --pd-avatar-gradient: linear-gradient(135deg, #6366F1, #8B5CF6);
    --pd-bg-section-grad: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

/* ============================================
   SHARED PILL OVERRIDES — GREEN VARIANT
   ============================================ */

.pd-pill-green {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 12px;
    border-radius: 12px;
    background-color: var(--pd-green-light);
    color: var(--pd-green-dark);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-16);
    width: fit-content;
}

/* ============================================
   SHARED UTILITY CLASSES
   ============================================ */

/* Use darker green for contrast compliance on light backgrounds (~3.8:1 vs #10B981's ~2.5:1) */
.pd-text-green { color: var(--pd-green-dark); }

.pd-body-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--pd-text-secondary);
    margin-bottom: var(--spacing-32);
}

/* ============================================
   BUTTONS
   ============================================ */

.pd-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--pd-green);
    color: var(--pd-white);
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--pd-transition);
    text-decoration: none;
}

.pd-btn-primary:hover {
    background-color: var(--pd-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

.pd-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--pd-text-primary);
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--pd-border);
    cursor: pointer;
    transition: var(--pd-transition);
    text-decoration: none;
}

.pd-btn-outline:hover {
    border-color: var(--pd-green);
    color: var(--pd-green-dark);
    background-color: var(--pd-green-light);
}

/* ============================================
   1. HERO SECTION
   ============================================ */

.pd-hero-wrapper {
    width: 100%;
    background-image: radial-gradient(#E2E8F0 1px, transparent 1px),
                      linear-gradient(180deg, #f9fafb 0%, #f9fafb 90%, #ffffff 100%);
    background-size: 24px 24px, 100% 100%;
    background-position: 0 0, 0 0;
    position: relative;
    overflow: hidden;
}

.pd-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.pd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--pd-green-light);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--pd-green-dark);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: var(--spacing-16);
}

.pd-hero-badge i {
    font-size: 14px;
}

.pd-hero-h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--pd-text-primary);
    margin-bottom: var(--spacing-16);
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.pd-hero-body {
    font-size: 18px;
    line-height: 1.6;
    color: var(--pd-text-secondary);
    max-width: 520px;
    margin: 0 auto var(--spacing-32);
}

.pd-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* Hero Mockup */
.pd-hero-mockup {
    background: var(--pd-white);
    border-radius: var(--pd-radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--pd-border);
}

/* ============================================
   HERO MOCKUP — pdm-* namespace (Leads Inbox)
   ============================================ */

.pdm-shell {
    background: var(--pd-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.14), 0 4px 16px rgba(0,0,0,0.07);
    max-width: 960px;
    margin: 0 auto;
    border: 1px solid var(--pd-border);
    user-select: none;
}

/* ── TOP CHROME ── */
.pdm-chrome {
    background: var(--pd-white);
    border-bottom: 1px solid var(--pd-border);
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 48px;
    flex-shrink: 0;
}
.pdm-chrome-left  { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pdm-chrome-center { flex: 1; display: flex; justify-content: center; }
.pdm-chrome-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

.pdm-hamburger {
    background: none; border: none; cursor: pointer;
    color: var(--pd-text-secondary); font-size: 14px;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px; flex-shrink: 0;
}

.pdm-breadcrumb {
    display: flex; align-items: center; gap: 5px;
    font-size: 13px; white-space: nowrap;
}
.pdm-bc-parent   { color: var(--pd-text-muted); font-weight: 400; }
.pdm-bc-sep      { color: var(--pd-text-muted); }
.pdm-bc-current  { color: var(--pd-text-primary); font-weight: 700; }
.pdm-bc-info     { color: var(--pd-text-muted); font-size: 11px; }

.pdm-search {
    display: flex; align-items: center; gap: 8px;
    background: #F9FAFB; border: 1px solid #E5E7EB;
    border-radius: 20px; padding: 6px 16px;
    font-size: 12px; color: var(--pd-text-muted);
    width: 240px;
}
.pdm-search i { font-size: 11px; }

/* Chrome right-side buttons */
.pdm-chrome-icon-btn {
    width: 28px; height: 28px; border-radius: 50%;
    border: 1.5px solid var(--pd-border); background: var(--pd-white);
    color: var(--pd-text-secondary); font-size: 12px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0;
}
.pdm-chrome-purple-circle {
    background: linear-gradient(135deg, #7C3AED, #C084FC);
    border-color: transparent; color: white; font-size: 11px;
}
.pdm-notif-wrap { position: relative; }
.pdm-notif-badge {
    position: absolute; top: -4px; right: -4px;
    background: #EF4444; color: white;
    font-size: 8px; font-weight: 700;
    border-radius: 8px; padding: 1px 4px;
    border: 1.5px solid white; line-height: 1.4;
}
.pdm-user-chip {
    display: flex; align-items: center; gap: 6px;
    margin-left: 4px;
}
.pdm-user-av {
    width: 28px; height: 28px; border-radius: 50%;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    color: white; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ── BODY ── */
.pdm-body {
    display: flex;
    height: 480px;
    overflow: hidden;
}

/* ── NARROW ICON SIDEBAR ── */
.pdm-sidebar {
    width: 44px;
    background: #1C2536;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px 0;
    flex-shrink: 0;
}
.pdm-nav-wrap {
    display: flex; flex-direction: column;
    align-items: center; gap: 2px;
}
.pdm-nav-icon {
    width: 32px; height: 32px; border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.4); font-size: 13px;
    cursor: pointer; position: relative;
    transition: color 0.15s, background 0.15s;
}
.pdm-nav-icon:hover { color: rgba(255,255,255,0.75); }
.pdm-nav-active {
    background: rgba(255,255,255,0.12) !important;
    color: rgba(255,255,255,0.9) !important;
}
.pdm-nav-badge {
    position: absolute; top: 0px; right: 0px;
    background: #EF4444; color: white;
    font-size: 7px; font-weight: 700;
    border-radius: 6px; padding: 1px 3px;
    border: 1px solid #1C2536; line-height: 1.4;
}
.pdm-nav-bottom-icons {
    display: flex; flex-direction: column;
    align-items: center; padding-bottom: 4px;
}

/* ── SUB-NAV PANEL ── */
.pdm-subnav {
    width: 200px;
    background: #F8F9FA;
    border-right: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.pdm-subnav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 16px;
    font-size: 13px; color: var(--pd-text-secondary);
    cursor: pointer; border-radius: 0;
    transition: background 0.15s, color 0.15s;
}
.pdm-subnav-item:hover { background: #EDEEF0; color: var(--pd-text-primary); }
.pdm-subnav-active {
    background: #E8F5F0 !important;
    color: #059669 !important;
    font-weight: 600;
}
.pdm-subnav-icon { font-size: 14px; width: 16px; flex-shrink: 0; }

.pdm-subnav-section {
    padding: 16px 16px 5px;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.6px;
    color: var(--pd-text-muted);
    text-transform: uppercase;
}

/* LinkedIn row with NEW badge */
.pdm-subnav-linkedin { align-items: center; }
.pdm-linkedin-icon {
    width: 18px; height: 18px; border-radius: 3px;
    background: #0A66C2; color: white;
    font-size: 10px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.pdm-new-badge {
    margin-left: auto;
    background: #2563EB; color: white;
    font-size: 9px; font-weight: 700;
    border-radius: 4px; padding: 2px 5px;
    letter-spacing: 0.3px;
}

/* Promo card — pinned to bottom of subnav */
.pdm-promo-card {
    margin: auto 10px 10px;
    background: var(--pd-white);
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.pdm-promo-header {
    display: flex; align-items: flex-start;
    justify-content: space-between;
    padding: 10px 12px 4px;
    gap: 8px;
}
.pdm-promo-title {
    font-size: 12px; font-weight: 600;
    color: var(--pd-text-primary); line-height: 1.4;
}
.pdm-promo-close {
    background: none; border: none; cursor: pointer;
    color: var(--pd-text-muted); font-size: 16px; line-height: 1;
    flex-shrink: 0; padding: 0; margin-top: -2px;
}
.pdm-promo-body {
    display: flex; align-items: center; gap: 8px;
    padding: 4px 12px 8px;
}
.pdm-promo-icon {
    width: 22px; height: 22px; border-radius: 4px;
    background: #0A66C2; color: white;
    font-size: 11px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.pdm-promo-name { font-size: 12px; font-weight: 500; color: var(--pd-text-primary); flex: 1; }
.pdm-promo-star  { color: #F59E0B; font-size: 12px; }
.pdm-promo-rating { font-size: 12px; font-weight: 600; color: var(--pd-text-primary); }
.pdm-promo-footer {
    border-top: 1px solid #F3F4F6;
    padding: 8px 12px;
}
.pdm-promo-learn {
    font-size: 12px; font-weight: 600;
    color: #2563EB; cursor: pointer;
}

/* ── MAIN ── */
.pdm-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--pd-white);
    overflow: hidden;
    min-width: 0;
}

/* ── TOOLBAR ── */
.pdm-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: var(--pd-white);
    border-bottom: 1px solid var(--pd-border);
    gap: 12px;
    flex-shrink: 0;
}
.pdm-toolbar-left  { display: flex; align-items: center; gap: 4px; }
.pdm-toolbar-right { display: flex; align-items: center; gap: 8px; }

.pdm-view-btn {
    width: 32px; height: 32px; border-radius: 6px;
    border: 1px solid var(--pd-border);
    background: var(--pd-white); color: var(--pd-text-secondary);
    font-size: 13px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.pdm-view-btn:hover { border-color: #9CA3AF; color: var(--pd-text-primary); }

/* Split green + Lead button */
.pdm-add-btn {
    display: inline-flex; align-items: center; gap: 0;
    background: var(--pd-green); color: white;
    border: none; border-radius: 6px;
    font-size: 13px; font-weight: 600;
    cursor: pointer; overflow: hidden;
    margin-left: 4px; height: 32px;
    padding: 0;
}
.pdm-add-btn-main {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 0 12px;
    height: 100%;
}
.pdm-add-sep {
    display: inline-block; width: 1px;
    background: rgba(255,255,255,0.35);
    align-self: stretch;
    flex-shrink: 0;
}
.pdm-add-caret {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 10px;
    height: 100%;
    font-size: 10px;
}
.pdm-add-btn:hover { background: var(--pd-green-dark); }

.pdm-filter-btn {
    display: flex; align-items: center; gap: 5px;
    font-size: 12px; font-weight: 500; color: var(--pd-text-secondary);
    border: 1px solid var(--pd-border); border-radius: 6px;
    background: var(--pd-white); padding: 6px 10px;
    cursor: pointer; height: 32px;
}
.pdm-filter-btn i { font-size: 10px; }
.pdm-filter-icon { color: var(--pd-text-muted) !important; }
.pdm-filter-btn:hover { border-color: #9CA3AF; }

.pdm-more-btn {
    width: 32px; height: 32px; border-radius: 6px;
    border: 1px solid var(--pd-border);
    background: var(--pd-white); color: var(--pd-text-secondary);
    font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}

/* ── LEAD COUNT in toolbar ── */
.pdm-lead-count {
    font-size: 12px; font-weight: 500;
    color: var(--pd-text-muted);
    margin-left: 8px;
}

/* ── LEADS TABLE ── */
.pdm-leads-table {
    flex: 1;
    overflow-y: auto;
    background: var(--pd-white);
}

.pdm-leads-header {
    display: grid;
    grid-template-columns: 36px 1fr 1fr 1fr 1fr 36px;
    border-bottom: 1.5px solid var(--pd-border);
    background: var(--pd-white);
    position: sticky; top: 0; z-index: 1;
}

.pdm-th {
    padding: 10px 12px;
    font-size: 12px; font-weight: 600;
    color: var(--pd-text-primary);
    white-space: nowrap;
    display: flex; align-items: center;
}
.pdm-th-check, .pdm-th-more {
    justify-content: center; padding: 10px 6px;
}

.pdm-lead-row {
    display: grid;
    grid-template-columns: 36px 1fr 1fr 1fr 1fr 36px;
    border-bottom: 1px solid #F3F4F6;
    transition: background 0.12s;
    cursor: pointer;
}
.pdm-lead-row:hover { background: var(--pd-slate); }
.pdm-lead-row:hover .pdm-row-more { opacity: 1; }

.pdm-td {
    padding: 9px 12px;
    font-size: 12px; color: var(--pd-text-secondary);
    display: flex; align-items: center;
    min-width: 0;
}
.pdm-td-check, .pdm-td-more {
    justify-content: center; padding: 9px 6px;
}
.pdm-td-title {
    font-weight: 600; color: var(--pd-text-primary);
}
.pdm-td-labels {
    display: flex; align-items: center; gap: 4px; flex-wrap: nowrap;
}
.pdm-td-truncate {
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}

/* Checkbox */
.pdm-chk {
    width: 13px; height: 13px;
    accent-color: var(--pd-green);
    cursor: pointer;
}

/* More icon */
.pdm-row-more {
    font-size: 12px; color: var(--pd-text-muted);
    opacity: 0; transition: opacity 0.15s;
}

/* Label chips */
.pdm-label {
    display: inline-flex; align-items: center;
    padding: 2px 6px; border-radius: 3px;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.4px; white-space: nowrap;
    text-transform: uppercase;
}
.pdm-label-red   { background: #FEE2E2; color: var(--pd-navy-mid); }
.pdm-label-blue  { background: #DBEAFE; color: #1D4ED8; }
.pdm-label-teal  { background: #CCFBF1; color: #0F766E; }
.pdm-label-sm    { font-size: 9px; padding: 2px 5px; }

/* ============================================
   2. WHAT IS PIPEDRIVE CRM?
   ============================================ */

.pd-what-wrapper {
    width: 100%;
    background: var(--pd-bg-section-grad);
    
}

.pd-what-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px;
}

.pd-what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.pd-what-left {
    display: flex;
    flex-direction: column;
}

/* Override section-h2 margin for left-column layout */
.pd-what-left .section-h2 {
    margin-bottom: 24px;
}

.pd-what-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pd-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.pd-feature-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--pd-white);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-card);
    padding: 20px;
    transition: var(--pd-transition);
}

.pd-feature-item:hover {
    background: var(--pd-bg-hover);
    box-shadow: var(--pd-shadow-hover);
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.2);
}

.pd-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    margin-bottom: 4px;
}

.pd-icon-green {
    background-color: var(--pd-green-light);
    color: var(--pd-green-dark);
}

.pd-feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--pd-text-primary);
    margin-bottom: 4px;
}

.pd-feature-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--pd-text-secondary);
}

/* ============================================
   3. PERFECT CRM FOR SALES TEAMS
   ============================================ */

.pd-perfect-wrapper {
    width: 100%;
    background-color: var(--pd-white);
    
}

.pd-perfect-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px;
}

.pd-perfect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-bottom: 48px;
}

.pd-perfect-left {
    display: flex;
    flex-direction: column;
}

.pd-perfect-left .section-h2 {
    margin-bottom: 24px;
}

.pd-perfect-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: var(--spacing-32);
}

/* Full-width mockup row below the grid */
.pd-perfect-mockup-row {
    width: 100%;
    overflow: hidden;
}

/* 2x2 sales feature cards */
.pd-sales-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.pd-sales-feature-card {
    background: var(--pd-white);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-card);
    padding: 20px;
    transition: var(--pd-transition);
    box-shadow: var(--pd-shadow-card);
}

.pd-sales-feature-card:hover {
    background: var(--pd-bg-hover);
    box-shadow: var(--pd-shadow-hover);
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.2);
}

.pd-sales-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--pd-green-light);
    color: var(--pd-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 12px;
    transition: var(--pd-transition);
}

.pd-sales-feature-card:hover .pd-sales-feature-icon {
    background-color: var(--pd-green);
    color: var(--pd-white);
}

.pd-sales-feature-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--pd-text-primary);
    margin-bottom: 4px;
}

.pd-sales-feature-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--pd-text-secondary);
}

/* ============================================
   ANALYTICS MOCKUP — pda-* namespace
   All colours via pd-page token vars
   ============================================ */

.pda-shell {
    background: var(--pd-white);
    border-radius: var(--pd-radius-card);
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.18);
    overflow: hidden;
    border: 1px solid var(--pd-border);
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* ── TOP CHROME ── */
.pda-chrome {
    background: var(--pd-white);
    border-bottom: 1px solid var(--pd-border);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    height: 52px;
}
.pda-chrome-left  { display: flex; align-items: center; gap: 16px; }
.pda-chrome-center { flex: 1; display: flex; justify-content: center; }
.pda-chrome-right { display: flex; align-items: center; }

.pda-brand {
    width: 34px; height: 34px; border-radius: 8px;
    background: var(--pd-navy-deep); color: var(--pd-white);
    font-size: 16px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.pda-page-title { font-size: 16px; font-weight: 700; color: var(--pd-text-primary); }
.pda-search {
    display: flex; align-items: center; gap: 8px;
    background: var(--pd-slate); border: 1px solid var(--pd-border);
    border-radius: 20px; padding: 7px 16px;
    font-size: 12px; color: var(--pd-text-muted); width: 200px;
}
.pda-search i { font-size: 11px; }
.pda-avatar {
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--pd-avatar-gradient);
    border: 2px solid var(--pd-border);
    overflow: hidden;
}

/* ── BODY ── */
.pda-body {
    display: flex;
    flex: 1;
    min-height: 540px;
    background: var(--pd-slate);
}

/* ── SIDEBAR ── */
.pda-sidebar {
    width: 60px;
    background: var(--pd-navy-deep);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 0;
    flex-shrink: 0;
}
.pda-nav-top {
    display: flex; flex-direction: column;
    align-items: center; gap: 4px;
}
.pda-nav-bottom-wrap {
    display: flex; flex-direction: column;
    align-items: center;
}
.pda-nav-icon {
    width: 38px; height: 38px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--pd-text-secondary); font-size: 16px; cursor: pointer;
    transition: var(--pd-transition);
}
.pda-nav-icon:hover { color: var(--pd-white); background: rgba(255,255,255,0.08); }
.pda-nav-active {
    background: #3B82F6 !important;
    color: var(--pd-white) !important;
}

/* ── MAIN ── */
.pda-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    background: var(--pd-slate);
    overflow: hidden;
    min-width: 0;
}

/* Sub-header row */
.pda-sub-header {
    display: flex; align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.pda-sub-title {
    font-size: 20px; font-weight: 700; color: var(--pd-text-primary);
}
.pda-sub-actions { display: flex; gap: 10px; }
.pda-btn-outline {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 500; color: var(--pd-text-secondary);
    border: 1px solid var(--pd-border); border-radius: 6px;
    background: var(--pd-white); padding: 7px 14px; cursor: pointer;
    transition: var(--pd-transition);
}
.pda-btn-green {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--pd-white);
    background: var(--pd-green); border: none; border-radius: 6px;
    padding: 7px 16px; cursor: pointer;
}
.pda-btn-green:hover { background: var(--pd-green-dark); }

/* ── DASHBOARD 2-COL GRID ── */
.pda-reports-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
}
.pda-reports-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* ── CARD ── */
.pda-card {
    background: var(--pd-white);
    border: 1px solid var(--pd-border);
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}
.pda-card-header {
    display: flex; justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}
.pda-card-title-row {
    display: flex; align-items: center; gap: 7px;
}
.pda-card-icon { font-size: 13px; color: var(--pd-text-secondary); }
.pda-card-title { font-size: 13px; font-weight: 700; color: var(--pd-text-primary); }
.pda-menu { font-size: 16px; color: var(--pd-text-muted); cursor: pointer; letter-spacing: 1px; line-height: 1; }

/* ── LEGEND SHARED ── */
.pda-hbar-legend,
.pda-stacked-legend {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin-top: 10px;
}
.pda-leg-item {
    display: flex; align-items: center; gap: 5px;
    font-size: 10px; color: var(--pd-text-secondary);
}
.pda-leg-dot {
    width: 8px; height: 8px; border-radius: 50%;
    display: inline-block; flex-shrink: 0;
}

/* ── HORIZONTAL STACKED BAR (emails) ── */
.pda-hbar-chart {
    display: flex; flex-direction: column;
    gap: 10px; margin-top: 10px;
}
.pda-hbar-row {
    display: flex; align-items: center; gap: 10px;
}
.pda-hbar-label {
    width: 58px; font-size: 11px; color: var(--pd-text-secondary);
    font-weight: 500; flex-shrink: 0; text-align: right;
}
.pda-hbar-track {
    flex: 1; height: 24px;
    display: flex; border-radius: 3px; overflow: hidden;
    background: var(--pd-slate);
}
.pda-hbar-seg { height: 100%; }
.pda-hbar-xaxis {
    display: flex; justify-content: space-between;
    font-size: 9px; color: var(--pd-text-muted);
    padding-left: 68px; margin-top: 4px;
}

/* ── STACKED VERTICAL BARS (deal performance) ── */
.pda-stacked-chart {
    display: flex;
    height: 130px; margin-top: 8px;
}
.pda-ycol {
    display: flex; flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 9px; color: var(--pd-text-muted);
    padding-bottom: 18px;
    width: 24px; flex-shrink: 0; gap: 0;
}
.pda-stacked-bars {
    display: flex; flex: 1; align-items: flex-end;
    gap: 6px; padding-bottom: 18px;
}
.pda-scol {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; position: relative;
    gap: 2px;
}
.pda-scol-num {
    font-size: 9px; font-weight: 700; color: var(--pd-text-primary);
    flex-shrink: 0;
}
.pda-sbar-wrap {
    display: flex; flex-direction: column;
    width: 100%; flex: 1;
    border-radius: 3px 3px 0 0; overflow: hidden;
    min-height: 40px;
}
.pda-sbar { width: 100%; }
.pda-scol-label {
    position: absolute; bottom: -15px;
    font-size: 9px; color: var(--pd-text-muted);
    left: 50%; transform: translateX(-50%);
    white-space: nowrap;
}

/* ── DEALS WON GOAL ── */
.pda-goal-chart {
    display: flex;
    height: 170px;
    margin-top: 8px;
    gap: 4px;
    position: relative;
}
.pda-goal-ycol {
    display: flex; flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 9px; color: var(--pd-text-muted);
    padding-bottom: 20px;
    width: 34px; flex-shrink: 0;
}
.pda-goal-y-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 9px; color: var(--pd-text-muted);
    white-space: nowrap;
    align-self: center;
    margin-right: 4px;
    flex-shrink: 0;
}
.pda-goal-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding-bottom: 20px;
    border-left: 1px solid var(--pd-border);
    border-bottom: 1px solid var(--pd-border);
    position: relative;
    padding-left: 8px;
}
.pda-goal-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.pda-goal-bar-wrap {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.pda-goal-bar {
    width: 100%;
    border-radius: 3px 3px 0 0;
    display: flex; align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
    position: relative; z-index: 1;
}
.pda-goal-bar-val {
    font-size: 10px; font-weight: 700; color: var(--pd-white);
}
.pda-goal-target {
    position: absolute;
    left: 0; right: 0;
    display: flex; flex-direction: column;
    align-items: flex-start;
    z-index: 2; pointer-events: none;
}
.pda-goal-target-val {
    font-size: 9px; font-weight: 600; color: #374151;
    white-space: nowrap; margin-bottom: 2px;
}
.pda-goal-target-line {
    width: 100%; height: 1.5px;
    background: #374151;
    position: relative;
}
.pda-goal-target-line::after {
    content: '';
    position: absolute; right: -5px; top: -3px;
    border-top: 3.5px solid transparent;
    border-bottom: 3.5px solid transparent;
    border-left: 5px solid #374151;
}
.pda-goal-col-label {
    position: absolute; bottom: -16px;
    left: 50%; transform: translateX(-50%);
    font-size: 9px; color: var(--pd-text-muted); white-space: nowrap;
}

/* ============================================
   4. PIPEDRIVE CONSULTING SERVICES
   ============================================ */

.pd-services-wrapper {
    width: 100%;
    background-color: var(--pd-slate);
    
}

.pd-services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px;
}

.pd-services-header {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pd-services-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--pd-text-secondary);
    max-width: 540px;
    margin: 0 auto;
}

.pd-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pd-service-card {
    background: var(--pd-white);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-card);
    padding: 28px 24px;
    transition: var(--pd-transition);
    box-shadow: var(--pd-shadow-card);
}

.pd-service-card:hover {
    background: var(--pd-bg-hover);
    box-shadow: var(--pd-shadow-hover);
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.2);
}

.pd-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--pd-green-light);
    color: var(--pd-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: var(--spacing-16);
    transition: var(--pd-transition);
}

.pd-service-card:hover .pd-service-icon {
    background-color: var(--pd-green);
    color: var(--pd-white);
}

.pd-service-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--pd-text-primary);
    margin-bottom: 10px;
}

.pd-service-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--pd-text-secondary);
}

/* ============================================
   5. WHY PARTNER WITH US?
   ============================================ */

.pd-why-wrapper {
    width: 100%;
    background: var(--pd-white);
    
}

.pd-why-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px;
}

.pd-why-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.pd-why-h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--pd-text-primary);
    margin-bottom: var(--spacing-16);
}

.pd-why-body {
    font-size: 16px;
    line-height: 1.6;
    color: var(--pd-text-secondary);
    margin-bottom: 32px;
}

.pd-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 48px;
    margin-top: 32px;
    margin-bottom: 32px;
}

.pd-why-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pd-text-secondary);
}

.pd-why-list li i {
    color: var(--pd-green);
    font-size: 20px;
    flex-shrink: 0;
}

/* ============================================
   6. OUR IMPLEMENTATION PROCESS
   ============================================ */

.pd-process-wrapper {
    width: 100%;
    background: var(--pd-bg-section-grad);
    
}

.pd-process-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px;
}

.pd-process-header {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pd-process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.pd-process-connector {
    position: absolute;
    top: 28px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--pd-green) 0%, var(--pd-green-light) 100%);
    z-index: 0;
}

.pd-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.pd-process-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pd-green), var(--pd-green-dark));
    color: var(--pd-white);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
    flex-shrink: 0;
}

.pd-process-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--pd-text-primary);
    margin-bottom: 10px;
}

.pd-process-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--pd-text-secondary);
}

/* ============================================
   7. COMMON INTEGRATIONS
   ============================================ */

.pd-integrations-wrapper {
    width: 100%;
    background-color: var(--pd-white);
    
}

.pd-integrations-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px;
}

.pd-integrations-header {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pd-integrations-table {
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-card);
    overflow: hidden;
    box-shadow: var(--pd-shadow-card);
}

.pd-table-header {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    background: var(--pd-navy);
}

.pd-table-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1.5fr;
    border-top: 1px solid var(--pd-border);
    transition: background 0.2s;
}

.pd-table-row:hover {
    background: var(--pd-slate);
}

.pd-table-cell {
    padding: 16px 20px;
    font-size: 14px;
    color: var(--pd-text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
}

.pd-cell-head {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.85);
    padding: 14px 20px;
}

.pd-cell-name {
    font-weight: 600;
    color: var(--pd-text-primary);
}

.pd-cell-name i {
    color: var(--pd-green);
    font-size: 16px;
    flex-shrink: 0;
}

.pd-cell-benefit {
    color: var(--pd-text-secondary);
    font-weight: 400;
}

/* ============================================
   8. FREQUENTLY ASKED QUESTIONS
   ============================================ */

.pd-faq-wrapper {
    width: 100%;
    background-color: var(--pd-slate);
    
}

.pd-faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 96px 24px;
}

.pd-faq-header {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pd-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd-faq-item {
    background: var(--pd-white);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-card);
    overflow: hidden;
    transition: var(--pd-transition);
}

.pd-faq-item.open {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
}

.pd-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--pd-text-primary);
    transition: color 0.3s;
}

.pd-faq-question:hover {
    color: var(--pd-green-dark);
}

.pd-faq-icon {
    font-size: 20px;
    font-weight: 300;
    color: var(--pd-text-secondary);
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
    width: 20px;
    text-align: center;
}

.pd-faq-item.open .pd-faq-icon {
    transform: rotate(45deg);
    color: var(--pd-green);
}

.pd-faq-item.open .pd-faq-question {
    color: var(--pd-green-dark);
}

.pd-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.pd-faq-item.open .pd-faq-answer {
    max-height: 300px;
}

.pd-faq-answer p {
    padding: 0 24px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--pd-text-secondary);
    border-top: 1px solid var(--pd-border);
    padding-top: 16px;
    margin-top: 0;
}

/* ============================================
   9. ABOUT OUR EXPERTISE
   ============================================ */

.pd-expertise-wrapper {
    width: 100%;
    background: var(--pd-white);
    
}

.pd-expertise-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 96px 24px;
    text-align: center;
}

.pd-expertise-h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--pd-text-primary);
    margin-bottom: var(--spacing-16);
}

.pd-expertise-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--pd-text-secondary);
}

/* ============================================
   10. FINAL CTA
   ============================================ */

.pd-cta-wrapper {
    width: 100%;
    background-color: var(--pd-green);
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 32px 32px;
    
    position: relative;
}

.pd-cta-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 96px 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.pd-cta-h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--pd-white);
    margin-bottom: var(--spacing-16);
}

.pd-cta-body {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.pd-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--pd-white);
    color: var(--pd-green-dark);
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--pd-transition);
}

.pd-cta-btn:hover {
    background-color: var(--pd-green-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================
   RESPONSIVE — PIPEDRIVE PAGE
   ============================================ */

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

    
}

@media (max-width: 768px) {
    .pd-what-container,
    .pd-perfect-container,
    .pd-services-container,
    .pd-why-container,
    .pd-process-container,
    .pd-integrations-container,
    .pd-faq-container,
    .pd-expertise-container,
    .pd-cta-container {
        padding: 64px 24px;
    }

    .pd-why-list {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .pd-hero-h1 {
        font-size: 36px;
    }

    .pd-hero-body {
        font-size: 16px;
    }

    .pd-what-grid,
    .pd-perfect-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .pd-perfect-right {
        padding-top: 0;
    }

    .pd-feature-grid,
    .pd-sales-feature-grid {
        grid-template-columns: 1fr;
    }

    .pd-services-grid {
        grid-template-columns: 1fr;
    }

    .pd-process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .pd-process-connector {
        display: none;
    }

    .pd-table-header {
        display: none;
    }

    .pd-table-row {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--pd-border);
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .pd-table-cell.pd-cell-name {
        font-size: 16px;
        font-weight: 700;
        color: var(--pd-text-primary);
        margin-bottom: 4px;
    }

    .pd-table-cell {
        font-size: 14px;
    }

    .pd-cell-benefit {
        display: block;
        font-size: 13px;
        color: var(--pd-text-muted);
        font-style: italic;
        margin-top: 4px;
    }

    .pd-why-h2 {
        font-size: 32px;
    }

    .pd-cta-h2 {
        font-size: 32px;
    }

    .pd-hero-mockup {
        border-radius: 12px;
    }

    /* Scale mockups to fit mobile viewport */
    .pdm-shell {
        width: 122%;
        max-width: 122%;
        transform: scale(0.82);
        transform-origin: top left;
    }

    .pda-shell {
        width: 100%;
        max-width: 100%;
    }

    .pdm-subnav {
        display: none;
    }

    .pdm-body,
    .pda-body {
        height: 360px;
    }

    .pdm-chrome,
    .pda-chrome {
        padding: 8px 10px;
        height: 40px;
    }

    .pdm-sidebar {
        width: 36px;
    }

    .pdm-subnav {
        width: 160px;
    }

    .pdm-search,
    .pda-search {
        width: 140px;
        font-size: 10px;
        padding: 5px 12px;
    }

    /* Hide scrollbars */
    .pdm-leads-table,
    .pda-reports-top {
        overflow: hidden;
    }

    /* Compress table */
    .pdm-leads-header,
    .pdm-lead-row {
        grid-template-columns: 24px 1fr 0 0 0.6fr 24px;
    }

    .pdm-td {
        font-size: 9px;
        padding: 6px 4px;
    }

    .pdm-td-contact,
    .pdm-td-org,
    .pdm-td-more {
        display: none;
    }

    .pdm-th:nth-child(3),
    .pdm-th:nth-child(4) {
        display: none;
    }

    .pda-reports-top {
        grid-template-columns: 1fr;
    }

    .pdm-search,
    .pda-search {
        width: 160px;
        font-size: 11px;
    }

    .pdm-body,
    .pda-body {
        min-height: 400px;
    }

    .pda-reports-top {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    
}

@media (max-width: 480px) {
    .pd-hero-h1 {
        font-size: 28px;
    }

    .pd-feature-grid,
    .pd-sales-feature-grid {
        grid-template-columns: 1fr;
    }

    .pd-process-timeline {
        grid-template-columns: 1fr;
    }

    /* Further compress mockups on small mobile */
    .pdm-shell,
    .pda-shell {
        width: 100%;
    }

    .pdm-body,
    .pda-body {
        height: 300px;
    }

    .pdm-leads-header,
    .pdm-lead-row {
        grid-template-columns: 20px 1fr 0 0.6fr 0 20px;
    }

    .pdm-td {
        font-size: 8px;
        padding: 5px 3px;
    }

    .pd-services-grid {
        grid-template-columns: 1fr;
    }

    .pd-table-header,
    .pd-table-row {
        grid-template-columns: 1fr;
    }

    .pd-cell-head:not(:first-child) {
        display: none;
    }

    
}