/**
 * PortailDoc Design System
 * Modern Premium Corporate B2B Platform
 * 
 * Color Palette:
 * - Primary: Deep Navy (#1E3A5F) - Trust, Corporate, Serious
 * - Secondary: Royal Blue (#2563EB) - Action, Modern, Professional
 * - Accent: Sky Blue (#0EA5E9) - Fresh, Highlight
 * - Neutrals: Cool grays for professional corporate feel
 * 
 * Design Philosophy: Modern, Clean, Glassmorphism-inspired
 */

/* ============================================
   1. CSS VARIABLES
   ============================================ */
:root {
    /* Primary Colors - Slate (serious, modern, less “blue everywhere”) */
    --pd-primary: #0F172A;
    --pd-primary-dark: #0B1220;
    --pd-primary-light: #1F2937;
    --pd-primary-lighter: #F1F5F9;
    --pd-primary-rgb: 15, 23, 42;
    
    /* Secondary Colors - Indigo (primary accent for CTAs) */
    --pd-secondary: #4F46E5;
    --pd-secondary-dark: #4338CA;
    --pd-secondary-light: #6366F1;
    --pd-secondary-lighter: #EEF2FF;
    --pd-secondary-rgb: 79, 70, 229;
    
    /* Accent - Teal (secondary accent for highlights) */
    --pd-accent: #14B8A6;
    --pd-accent-light: #2DD4BF;
    --pd-accent-lighter: #CCFBF1;
    
    /* Semantic Colors */
    --pd-success: #059669;
    --pd-success-light: #D1FAE5;
    --pd-warning: #D97706;
    --pd-warning-light: #FEF3C7;
    --pd-error: #DC2626;
    --pd-error-light: #FEE2E2;
    --pd-info: #0284C7;
    --pd-info-light: #E0F2FE;
    
    /* Neutrals - Cool tones (slightly tinted to avoid “too white”) */
    --pd-white: #FCFDFE;
    --pd-gray-50: #F5F7FB;
    --pd-gray-100: #EEF2F7;
    --pd-gray-200: #E2E8F0;
    --pd-gray-300: #CBD5E1;
    --pd-gray-400: #94A3B8;
    --pd-gray-500: #64748B;
    --pd-gray-600: #475569;
    --pd-gray-700: #334155;
    --pd-gray-800: #1E293B;
    --pd-gray-900: #0F172A;
    
    /* Typography */
    --pd-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --pd-font-display: 'Plus Jakarta Sans', var(--pd-font-sans);
    
    /* Font Sizes */
    --pd-text-xs: 0.75rem;
    --pd-text-sm: 0.875rem;
    --pd-text-base: 1rem;
    --pd-text-lg: 1.125rem;
    --pd-text-xl: 1.25rem;
    --pd-text-2xl: 1.5rem;
    --pd-text-3xl: 1.875rem;
    --pd-text-4xl: 2.25rem;
    --pd-text-5xl: 3rem;
    
    /* Line Heights */
    --pd-leading-tight: 1.2;
    --pd-leading-snug: 1.35;
    --pd-leading-normal: 1.5;
    --pd-leading-relaxed: 1.65;
    
    /* Font Weights */
    --pd-font-normal: 400;
    --pd-font-medium: 500;
    --pd-font-semibold: 600;
    --pd-font-bold: 700;
    --pd-font-extrabold: 800;
    
    /* Spacing */
    --pd-space-1: 0.25rem;
    --pd-space-2: 0.5rem;
    --pd-space-3: 0.75rem;
    --pd-space-4: 1rem;
    --pd-space-5: 1.25rem;
    --pd-space-6: 1.5rem;
    --pd-space-8: 2rem;
    --pd-space-10: 2.5rem;
    --pd-space-12: 3rem;
    --pd-space-16: 4rem;
    --pd-space-20: 5rem;
    --pd-space-24: 6rem;
    
    /* Border Radius - conservative for serious B2B */
    --pd-radius-sm: 0.1875rem; /* 3px */
    --pd-radius-md: 0.25rem;   /* 4px */
    --pd-radius-lg: 0.375rem;  /* 6px */
    --pd-radius-xl: 0.5rem;    /* 8px */
    --pd-radius-2xl: 0.5rem;   /* 8px */
    --pd-radius-3xl: 0.625rem; /* 10px */
    --pd-radius-full: 9999px;
    
    /* Shadows - Modern, colored, layered shadows */
    --pd-shadow-xs: 0 1px 2px 0 rgb(15 23 42 / 0.04);
    --pd-shadow-sm: 0 2px 4px -1px rgb(15 23 42 / 0.06), 0 1px 2px -1px rgb(15 23 42 / 0.04);
    --pd-shadow-md: 0 4px 8px -2px rgb(15 23 42 / 0.08), 0 2px 4px -2px rgb(15 23 42 / 0.04);
    --pd-shadow-lg: 0 12px 24px -4px rgb(15 23 42 / 0.08), 0 4px 8px -2px rgb(15 23 42 / 0.04);
    --pd-shadow-xl: 0 24px 48px -8px rgb(15 23 42 / 0.12), 0 8px 16px -4px rgb(15 23 42 / 0.06);
    --pd-shadow-2xl: 0 32px 64px -12px rgb(15 23 42 / 0.16), 0 16px 32px -8px rgb(15 23 42 / 0.08);
    
    /* Colored shadows for modern depth */
    --pd-shadow-blue: 0 8px 24px -4px rgb(37 99 235 / 0.25), 0 4px 8px -2px rgb(37 99 235 / 0.15);
    --pd-shadow-blue-lg: 0 16px 40px -8px rgb(37 99 235 / 0.3), 0 8px 16px -4px rgb(37 99 235 / 0.2);
    --pd-shadow-primary: 0 8px 24px -4px rgb(30 58 95 / 0.25), 0 4px 8px -2px rgb(30 58 95 / 0.15);
    --pd-shadow-primary-lg: 0 16px 40px -8px rgb(30 58 95 / 0.3), 0 8px 16px -4px rgb(30 58 95 / 0.2);
    
    /* Inner shadows for depth */
    --pd-shadow-inner: inset 0 2px 4px 0 rgb(15 23 42 / 0.05);
    --pd-shadow-inner-sm: inset 0 1px 2px 0 rgb(15 23 42 / 0.04);
    
    /* Glass effect shadows */
    --pd-shadow-glass: 0 8px 32px 0 rgb(15 23 42 / 0.08), 0 2px 8px 0 rgb(15 23 42 / 0.04);
    
    /* Transitions - Smooth, modern easing */
    --pd-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --pd-transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --pd-transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --pd-transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Container */
    --pd-container-max: 1280px;
    --pd-container-padding: 1.5rem;
    
    /* Gradients - calmer, premium, less saturated */
    --pd-gradient-primary: linear-gradient(135deg, var(--pd-primary) 0%, var(--pd-primary-light) 100%);
    --pd-gradient-primary-vibrant: linear-gradient(135deg, var(--pd-primary) 0%, #111827 50%, var(--pd-primary-light) 100%);
    --pd-gradient-secondary: linear-gradient(135deg, var(--pd-secondary) 0%, var(--pd-secondary-light) 100%);
    --pd-gradient-secondary-vibrant: linear-gradient(135deg, var(--pd-secondary-dark) 0%, var(--pd-secondary) 55%, var(--pd-accent) 100%);
    --pd-gradient-hero: linear-gradient(180deg, var(--pd-gray-50) 0%, var(--pd-white) 50%, var(--pd-gray-50) 100%);
    --pd-gradient-subtle: linear-gradient(180deg, var(--pd-white) 0%, var(--pd-gray-50) 100%);
    /* Slightly stronger mesh so pages don’t feel “flat white” */
    --pd-gradient-mesh: radial-gradient(at 20% 20%, rgba(79, 70, 229, 0.09) 0px, transparent 58%), radial-gradient(at 80% 0%, rgba(20, 184, 166, 0.075) 0px, transparent 58%), radial-gradient(at 0% 60%, rgba(15, 23, 42, 0.04) 0px, transparent 58%);
    
    /* Glassmorphism */
    --pd-glass-bg: rgba(255, 255, 255, 0.72);
    --pd-glass-bg-light: rgba(255, 255, 255, 0.88);
    --pd-glass-bg-dark: rgba(15, 23, 42, 0.78);
    --pd-glass-border: rgba(255, 255, 255, 0.2);
    --pd-glass-blur: blur(12px);
    --pd-glass-blur-lg: blur(20px);
}

/* ============================================
   2. BASE STYLES & RESET
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.pd-body {
    font-family: var(--pd-font-sans);
    font-size: var(--pd-text-base);
    line-height: var(--pd-leading-normal);
    color: var(--pd-gray-700);
    background-color: var(--pd-gray-50);
    overflow-x: hidden;
    background-image: var(--pd-gradient-mesh);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Subtle noise texture overlay for depth (reduced) */
body.pd-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.01;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
.pd-h1, .pd-h2, .pd-h3, .pd-h4, .pd-h5, .pd-h6 {
    font-family: var(--pd-font-display);
    font-weight: var(--pd-font-bold);
    color: var(--pd-gray-900);
    line-height: var(--pd-leading-tight);
    margin: 0;
    letter-spacing: -0.02em;
}

.pd-h1 {
    font-size: var(--pd-text-4xl);
    font-weight: var(--pd-font-extrabold);
    letter-spacing: -0.035em;
}

.pd-h1--gradient {
    background: var(--pd-gradient-secondary-vibrant);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pd-h2 {
    font-size: var(--pd-text-3xl);
    font-weight: var(--pd-font-bold);
    letter-spacing: -0.025em;
}

.pd-h3 {
    font-size: var(--pd-text-2xl);
    letter-spacing: -0.015em;
}

.pd-h4 {
    font-size: var(--pd-text-xl);
}

.pd-h5 {
    font-size: var(--pd-text-lg);
    font-weight: var(--pd-font-semibold);
}

.pd-h6 {
    font-size: var(--pd-text-base);
    font-weight: var(--pd-font-semibold);
}

.pd-lead {
    font-size: var(--pd-text-lg);
    color: var(--pd-gray-600);
    line-height: var(--pd-leading-relaxed);
    font-weight: var(--pd-font-normal);
}

.pd-text-sm {
    font-size: var(--pd-text-sm);
}

.pd-text-xs {
    font-size: var(--pd-text-xs);
    letter-spacing: 0.01em;
}

.pd-text-muted {
    color: var(--pd-gray-500);
}

.pd-text-primary {
    color: var(--pd-primary);
}

.pd-text-secondary {
    color: var(--pd-secondary);
}

/* Gradient text effect */
.pd-text-gradient {
    background: var(--pd-gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .pd-h1 {
        font-size: var(--pd-text-5xl);
    }
    .pd-h2 {
        font-size: var(--pd-text-4xl);
    }
}

/* ============================================
   4. LAYOUT & CONTAINERS
   ============================================ */
.pd-container {
    width: 100%;
    max-width: var(--pd-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--pd-container-padding);
    padding-right: var(--pd-container-padding);
}

.pd-section {
    padding-top: var(--pd-space-16);
    padding-bottom: var(--pd-space-16);
}

.pd-section--sm {
    padding-top: var(--pd-space-10);
    padding-bottom: var(--pd-space-10);
}

.pd-section--lg {
    padding-top: var(--pd-space-24);
    padding-bottom: var(--pd-space-24);
}

.pd-section--cream {
    background-color: var(--pd-gray-50);
}

.pd-section--white {
    /* Soft surface instead of pure white blocks */
    background: linear-gradient(180deg, rgba(252, 253, 254, 0.94) 0%, rgba(245, 247, 251, 0.90) 100%);
}

.pd-section--primary {
    background: var(--pd-gradient-primary);
    color: var(--pd-white);
}

.pd-grid {
    display: grid;
    gap: var(--pd-space-6);
}

.pd-grid-2 {
    grid-template-columns: repeat(1, 1fr);
}

.pd-grid-3 {
    grid-template-columns: repeat(1, 1fr);
}

.pd-grid-4 {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
    .pd-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .pd-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .pd-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pd-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .pd-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================
   5. HEADER & NAVIGATION
   ============================================ */
.pd-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--pd-glass-bg-light);
    backdrop-filter: var(--pd-glass-blur);
    -webkit-backdrop-filter: var(--pd-glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--pd-transition-base);
}

.pd-header.pd-header--scrolled {
    background: var(--pd-glass-bg);
    box-shadow: var(--pd-shadow-glass);
    border-bottom-color: rgba(226, 232, 240, 0.5);
}

.pd-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.pd-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pd-header__logo:hover {
    opacity: 0.9;
}

.pd-header__logo img {
    height: 40px;
    width: auto;
}

.pd-header__nav {
    display: none;
    align-items: center;
    gap: var(--pd-space-2);
}

.pd-header__nav-link {
    font-size: var(--pd-text-sm);
    font-weight: var(--pd-font-medium);
    color: var(--pd-gray-600);
    text-decoration: none;
    padding: var(--pd-space-2) var(--pd-space-4);
    border-radius: var(--pd-radius-lg);
    position: relative;
    transition: all var(--pd-transition-fast);
}

.pd-header__nav-link:hover {
    color: var(--pd-primary);
    background: rgba(30, 58, 95, 0.04);
}

.pd-header__nav-link.active {
    color: var(--pd-primary);
    background: var(--pd-primary-lighter);
}

.pd-header__nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--pd-gradient-secondary);
    border-radius: var(--pd-radius-full);
}

.pd-header__actions {
    display: flex;
    align-items: center;
    gap: var(--pd-space-3);
}

.pd-header__mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    border-radius: var(--pd-radius-lg);
    cursor: pointer;
    color: var(--pd-gray-700);
    transition: all var(--pd-transition-fast);
}

.pd-header__mobile-toggle:hover {
    background: var(--pd-gray-100);
}

@media (min-width: 1024px) {
    .pd-header__nav {
        display: flex;
    }
    
    .pd-header__mobile-toggle {
        display: none;
    }
}

/* Mobile Navigation */
.pd-mobile-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--pd-glass-bg-light);
    backdrop-filter: var(--pd-glass-blur-lg);
    -webkit-backdrop-filter: var(--pd-glass-blur-lg);
    z-index: 999;
    transform: translateX(100%);
    transition: transform var(--pd-transition-slow);
    overflow-y: auto;
    padding: var(--pd-space-6);
}

.pd-mobile-nav.pd-mobile-nav--open {
    transform: translateX(0);
}

.pd-mobile-nav__link {
    display: flex;
    align-items: center;
    padding: var(--pd-space-4) var(--pd-space-4);
    margin-bottom: var(--pd-space-2);
    font-size: var(--pd-text-base);
    font-weight: var(--pd-font-medium);
    color: var(--pd-gray-700);
    text-decoration: none;
    border-radius: var(--pd-radius-xl);
    transition: all var(--pd-transition-fast);
}

.pd-mobile-nav__link:hover {
    background: var(--pd-gray-100);
    color: var(--pd-primary);
}

.pd-mobile-nav__link.active {
    background: var(--pd-primary-lighter);
    color: var(--pd-primary);
}

.pd-mobile-nav__actions {
    margin-top: var(--pd-space-6);
    padding-top: var(--pd-space-6);
    border-top: 1px solid var(--pd-gray-200);
    display: flex;
    flex-direction: column;
    gap: var(--pd-space-3);
}

/* ============================================
   6. BUTTONS
   ============================================ */
.pd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--pd-space-2);
    padding: 0.75rem 1.5rem;
    font-family: var(--pd-font-sans);
    font-size: var(--pd-text-sm);
    font-weight: var(--pd-font-semibold);
    line-height: 1.25;
    border-radius: var(--pd-radius-xl);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--pd-transition-base);
    white-space: nowrap;
    position: relative;
    isolation: isolate;
}

/* Button loading state */
.pd-btn__spinner {
    display: none;
    animation: pd-spin 1s linear infinite;
}

.pd-btn--loading {
    pointer-events: none;
    opacity: 0.85;
}

.pd-btn--loading .pd-btn__text,
.pd-btn--loading .pd-btn__icon {
    opacity: 0;
}

.pd-btn--loading .pd-btn__spinner {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes pd-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.pd-btn:focus {
    outline: none;
}

.pd-btn:focus-visible {
    outline: 2px solid var(--pd-secondary);
    outline-offset: 2px;
}

/* Primary Button - Solid Blue (Main CTA) */
.pd-btn--primary {
    background: var(--pd-secondary);
    color: var(--pd-white);
    box-shadow: var(--pd-shadow-sm);
}

.pd-btn--primary:hover {
    background: var(--pd-secondary-dark);
    color: var(--pd-white);
    box-shadow: var(--pd-shadow-md);
}

.pd-btn--primary:active {
    background: var(--pd-secondary-dark);
    box-shadow: var(--pd-shadow-xs);
}

/* Secondary Button - Deep Navy */
.pd-btn--secondary {
    background: var(--pd-primary);
    color: var(--pd-white);
    box-shadow: var(--pd-shadow-sm);
}

.pd-btn--secondary:hover {
    background: var(--pd-primary-dark);
    color: var(--pd-white);
    box-shadow: var(--pd-shadow-md);
}

.pd-btn--secondary:active {
    background: var(--pd-primary-dark);
    box-shadow: var(--pd-shadow-xs);
}

/* Outline Button */
.pd-btn--outline {
    background: var(--pd-white);
    color: var(--pd-primary);
    border: 1.5px solid var(--pd-gray-300);
    box-shadow: var(--pd-shadow-xs);
}

.pd-btn--outline:hover {
    background: var(--pd-primary-lighter);
    border-color: var(--pd-primary);
    color: var(--pd-primary);
    transform: none;
    box-shadow: var(--pd-shadow-xs);
}

.pd-btn--outline:active {
    transform: translateY(0);
}

/* Outline Secondary Button */
.pd-btn--outline-secondary {
    background: var(--pd-white);
    color: var(--pd-secondary);
    border: 1.5px solid var(--pd-secondary-light);
    box-shadow: var(--pd-shadow-xs);
}

.pd-btn--outline-secondary:hover {
    background: var(--pd-secondary-lighter);
    border-color: var(--pd-secondary);
    transform: none;
    box-shadow: var(--pd-shadow-xs);
}

/* Ghost Button */
.pd-btn--ghost {
    background: transparent;
    color: var(--pd-gray-700);
}

.pd-btn--ghost:hover {
    background: var(--pd-gray-100);
    color: var(--pd-gray-900);
}

/* White Button (for dark backgrounds) */
.pd-btn--white {
    background: rgba(255, 255, 255, 0.95);
    color: var(--pd-primary);
    box-shadow: var(--pd-shadow-lg), inset 0 1px 0 0 rgba(255, 255, 255, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pd-btn--white:hover {
    background: var(--pd-white);
    color: var(--pd-primary);
    transform: translateY(-1px);
    box-shadow: var(--pd-shadow-lg);
}

/* Pill Button - Fully rounded */
.pd-btn--pill {
    border-radius: var(--pd-radius-full);
    padding: 0.75rem 2rem;
}

/* Glass Button */
.pd-btn--glass {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--pd-white);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pd-btn--glass:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.pd-btn--lg {
    padding: 1rem 2rem;
    font-size: var(--pd-text-base);
    border-radius: var(--pd-radius-2xl);
}

.pd-btn--sm {
    /* Used in header/actions: keep compact but readable */
    padding: 0.625rem 1.125rem;
    font-size: var(--pd-text-sm);
    border-radius: var(--pd-radius-lg);
}

.pd-btn--xs {
    padding: 0.375rem 0.75rem;
    font-size: var(--pd-text-xs);
    border-radius: var(--pd-radius-md);
}

.pd-btn--block {
    width: 100%;
}

.pd-btn--icon {
    padding: 0.75rem;
    border-radius: var(--pd-radius-xl);
}

.pd-btn--icon.pd-btn--sm {
    padding: 0.5rem;
}

.pd-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    filter: grayscale(0.2);
}

/* ============================================
   7. CARDS
   ============================================ */
.pd-card {
    background: var(--pd-white);
    border-radius: var(--pd-radius-2xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
    transition: all var(--pd-transition-base);
    position: relative;
}

.pd-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--pd-transition-base);
}

.pd-card:hover {
    box-shadow: var(--pd-shadow-md);
    border-color: var(--pd-gray-300);
}

.pd-card:hover::before {
    opacity: 1;
}

.pd-card--clickable {
    cursor: pointer;
}

.pd-card--clickable:hover {
    box-shadow: var(--pd-shadow-lg);
}

.pd-card--elevated {
    border: 1px solid var(--pd-gray-200);
    box-shadow: var(--pd-shadow-sm);
    background: var(--pd-white);
}

.pd-card--elevated:hover {
    box-shadow: var(--pd-shadow-md);
}

/* Glass Card variant */
.pd-card--glass {
    background: var(--pd-glass-bg);
    backdrop-filter: var(--pd-glass-blur);
    -webkit-backdrop-filter: var(--pd-glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.pd-card--glass:hover {
    background: var(--pd-glass-bg-light);
    border-color: rgba(255, 255, 255, 0.5);
}

.pd-card__header {
    padding: var(--pd-space-5) var(--pd-space-6);
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
}

.pd-card__body {
    padding: var(--pd-space-6);
}

.pd-card__footer {
    padding: var(--pd-space-4) var(--pd-space-6);
    background: var(--pd-gray-50);
    border-top: 1px solid var(--pd-gray-200);
}

/* Service Card */
.pd-service-card {
    padding: var(--pd-space-8);
    text-align: left;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--pd-white) 0%, rgba(248, 250, 252, 0.5) 100%);
}

.pd-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--pd-gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--pd-transition-base);
}

.pd-service-card:hover::before {
    transform: scaleX(1);
}

.pd-service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
    transform: translate(30%, -30%);
    pointer-events: none;
}

.pd-service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--pd-secondary);
    border-radius: var(--pd-radius-lg);
    color: var(--pd-white);
    margin-bottom: var(--pd-space-5);
    box-shadow: var(--pd-shadow-sm);
    position: relative;
    transition: all var(--pd-transition-base);
}

.pd-service-card:hover .pd-service-card__icon {
    box-shadow: var(--pd-shadow-md);
}

.pd-service-card__icon svg {
    width: 28px;
    height: 28px;
}

.pd-service-card__title {
    font-size: var(--pd-text-lg);
    font-weight: var(--pd-font-bold);
    color: var(--pd-gray-900);
    margin-bottom: var(--pd-space-3);
    letter-spacing: -0.01em;
}

.pd-service-card__text {
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-600);
    line-height: var(--pd-leading-relaxed);
}

/* Pricing Card */
.pd-pricing-card {
    text-align: center;
    position: relative;
    padding: var(--pd-space-8);
    background: linear-gradient(180deg, var(--pd-white) 0%, rgba(248, 250, 252, 0.3) 100%);
}

.pd-pricing-card--featured {
    border: 2px solid transparent;
    background: linear-gradient(var(--pd-white), var(--pd-white)) padding-box,
                linear-gradient(135deg, var(--pd-secondary-light), var(--pd-secondary), var(--pd-accent)) border-box;
    box-shadow: var(--pd-shadow-blue-lg);
    transform: scale(1.02);
}

.pd-pricing-card--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--pd-gradient-secondary-vibrant);
    border-radius: var(--pd-radius-2xl) var(--pd-radius-2xl) 0 0;
}

.pd-pricing-card__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--pd-space-1);
    padding: 0.375rem 1rem;
    background: var(--pd-secondary);
    color: var(--pd-white);
    font-size: var(--pd-text-xs);
    font-weight: var(--pd-font-bold);
    border-radius: var(--pd-radius-md);
    margin-bottom: var(--pd-space-4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: var(--pd-shadow-blue);
}

.pd-pricing-card__title {
    font-size: var(--pd-text-xl);
    font-weight: var(--pd-font-bold);
    color: var(--pd-gray-900);
    margin-bottom: var(--pd-space-2);
    letter-spacing: -0.01em;
}

.pd-pricing-card__price {
    margin-bottom: var(--pd-space-2);
}

.pd-pricing-card__amount {
    font-size: var(--pd-text-4xl);
    font-weight: var(--pd-font-extrabold);
    color: var(--pd-primary);
    letter-spacing: -0.03em;
}

.pd-pricing-card__period {
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-500);
    font-weight: var(--pd-font-medium);
}

.pd-pricing-card__trial {
    display: inline-flex;
    align-items: center;
    gap: var(--pd-space-2);
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    color: var(--pd-secondary-dark);
    font-size: var(--pd-text-sm);
    font-weight: var(--pd-font-bold);
    border-radius: var(--pd-radius-xl);
    margin-bottom: var(--pd-space-6);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.pd-pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--pd-space-6) 0;
    text-align: left;
}

.pd-pricing-card__feature {
    display: flex;
    align-items: flex-start;
    gap: var(--pd-space-3);
    padding: var(--pd-space-3) 0;
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-700);
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
}

.pd-pricing-card__feature:last-child {
    border-bottom: none;
}

.pd-pricing-card__feature-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--pd-secondary);
}

/* ============================================
   8. FORMS
   ============================================ */
.pd-form-group {
    margin-bottom: var(--pd-space-5);
    position: relative;
}

.pd-label {
    display: block;
    font-size: var(--pd-text-sm);
    font-weight: var(--pd-font-medium);
    color: var(--pd-gray-700);
    margin-bottom: var(--pd-space-2);
    letter-spacing: 0.01em;
}

.pd-label--required::after {
    content: ' *';
    color: var(--pd-error);
}

.pd-input,
.pd-select,
.pd-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--pd-font-sans);
    font-size: var(--pd-text-base);
    color: var(--pd-gray-900);
    background: var(--pd-white);
    border: 1.5px solid var(--pd-gray-200);
    border-radius: var(--pd-radius-xl);
    transition: all var(--pd-transition-base);
    box-shadow: var(--pd-shadow-inner-sm);
}

.pd-input::placeholder,
.pd-textarea::placeholder {
    color: var(--pd-gray-400);
}

.pd-input:hover,
.pd-select:hover,
.pd-textarea:hover {
    border-color: var(--pd-gray-300);
}

.pd-input:focus,
.pd-select:focus,
.pd-textarea:focus {
    outline: none;
    border-color: var(--pd-secondary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), var(--pd-shadow-sm);
    background: var(--pd-white);
}

.pd-input--error,
.pd-select--error,
.pd-textarea--error {
    border-color: var(--pd-error);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.06);
}

.pd-input--error:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.pd-input--lg {
    padding: 1rem 1.25rem;
    font-size: var(--pd-text-lg);
    border-radius: var(--pd-radius-2xl);
}

.pd-textarea {
    min-height: 140px;
    resize: vertical;
    line-height: var(--pd-leading-relaxed);
}

.pd-form-error {
    display: flex;
    align-items: center;
    gap: var(--pd-space-1);
    font-size: var(--pd-text-sm);
    color: var(--pd-error);
    margin-top: var(--pd-space-2);
}

.pd-form-hint {
    display: block;
    font-size: var(--pd-text-xs);
    color: var(--pd-gray-500);
    margin-top: var(--pd-space-1);
}

/* Checkbox & Radio - Custom styled */
.pd-checkbox-group,
.pd-radio-group {
    display: flex;
    align-items: flex-start;
    gap: var(--pd-space-3);
}

.pd-checkbox,
.pd-radio {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--pd-white);
    border: 2px solid var(--pd-gray-300);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all var(--pd-transition-fast);
    position: relative;
}

.pd-checkbox {
    border-radius: var(--pd-radius-md);
}

.pd-radio {
    border-radius: 50%;
}

.pd-checkbox:hover,
.pd-radio:hover {
    border-color: var(--pd-secondary);
}

.pd-checkbox:checked,
.pd-radio:checked {
    background: var(--pd-secondary);
    border-color: var(--pd-secondary);
}

.pd-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--pd-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pd-radio:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--pd-white);
    border-radius: 50%;
}

.pd-checkbox:focus,
.pd-radio:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.pd-checkbox-label,
.pd-radio-label {
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-700);
    cursor: pointer;
    line-height: 1.5;
}

/* Search Input */
.pd-search {
    position: relative;
}

.pd-search__input {
    padding-left: 3rem;
    padding-right: var(--pd-space-4);
}

.pd-search__icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pd-gray-400);
    pointer-events: none;
    transition: color var(--pd-transition-fast);
}

.pd-search__input:focus + .pd-search__icon,
.pd-search:focus-within .pd-search__icon {
    color: var(--pd-secondary);
}

/* Hide search icon on mobile to maximize input width */
@media (max-width: 639px) {
    .pd-search__icon {
        display: none;
    }
    
    .pd-search__input {
        padding-left: 1rem;
    }
}

.pd-search__btn {
    position: absolute;
    right: 0.375rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Select dropdown arrow */
.pd-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

/* ============================================
   9. TABLES
   ============================================ */
.pd-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--pd-radius-2xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: var(--pd-white);
    box-shadow: var(--pd-shadow-sm);
    /* Scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: var(--pd-gray-300) transparent;
}

.pd-table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.pd-table-wrapper::-webkit-scrollbar-track {
    background: var(--pd-gray-100);
    border-radius: 4px;
}

.pd-table-wrapper::-webkit-scrollbar-thumb {
    background: var(--pd-gray-300);
    border-radius: 4px;
}

.pd-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--pd-gray-400);
}

/* Table scroll hint indicator */
.pd-table-wrapper--scrollable {
    position: relative;
}

.pd-table-wrapper--scrollable::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 8px;
    width: 40px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.9));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.pd-table-wrapper--scrollable.scrolled-right::after {
    opacity: 0;
}

.pd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--pd-text-sm);
}

.pd-table th,
.pd-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
}

.pd-table th {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%);
    color: var(--pd-gray-700);
    font-weight: var(--pd-font-semibold);
    white-space: nowrap;
    letter-spacing: 0.01em;
    font-size: var(--pd-text-xs);
    text-transform: uppercase;
}

.pd-table th:first-child {
    border-top-left-radius: calc(var(--pd-radius-2xl) - 1px);
}

.pd-table th:last-child {
    border-top-right-radius: calc(var(--pd-radius-2xl) - 1px);
}

.pd-table tbody tr {
    transition: background-color var(--pd-transition-fast);
}

.pd-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.04) 0%, rgba(14, 165, 233, 0.04) 100%);
}

.pd-table tbody tr:last-child td {
    border-bottom: none;
}

.pd-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: calc(var(--pd-radius-2xl) - 1px);
}

.pd-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: calc(var(--pd-radius-2xl) - 1px);
}

.pd-table--striped tbody tr:nth-child(even) {
    background-color: rgba(248, 250, 252, 0.5);
}

.pd-table--striped tbody tr:nth-child(even):hover {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.06) 0%, rgba(14, 165, 233, 0.04) 100%);
}

/* Compact variant for dense data tables (e.g. Top 15) */
.pd-table--compact th,
.pd-table--compact td {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
}

.pd-table--compact th {
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
}

.pd-table--compact .pd-rank {
    width: 40px;
    font-size: 0.9375rem;
}

.pd-table--compact .pd-company-logo {
    width: 36px;
    height: 36px;
}

.pd-table--compact .pd-company-logo svg,
.pd-table--compact .pd-company-logo img {
    width: 24px;
    height: 24px;
}

.pd-table--compact .pd-company-siren {
    font-size: 0.6875rem;
}

/* Responsive table - hide less important columns on mobile */
@media (max-width: 767px) {
    .pd-table--responsive th:nth-child(n+5),
    .pd-table--responsive td:nth-child(n+5) {
        display: none;
    }
    
    .pd-table--compact th,
    .pd-table--compact td {
        padding: 0.625rem 0.5rem;
        font-size: 0.75rem;
    }
    
    .pd-table--compact .pd-company-logo {
        width: 28px;
        height: 28px;
    }
    
    .pd-table--compact .pd-company-logo svg,
    .pd-table--compact .pd-company-logo img {
        width: 18px;
        height: 18px;
    }
    
    .pd-table--compact .pd-company-name {
        font-size: 0.8125rem;
    }
    
    .pd-table--compact .pd-company-siren {
        display: none;
    }
    
    .pd-table--compact .pd-rank {
        width: 32px;
        font-size: 0.8125rem;
    }
    
    .pd-sector {
        font-size: 0.625rem;
        padding: 0.125rem 0.375rem;
    }
    
    .pd-revenue {
        font-size: 0.75rem;
    }
}

@media (max-width: 479px) {
    /* Even more compact on very small screens */
    .pd-table--compact th:nth-child(n+4),
    .pd-table--compact td:nth-child(n+4) {
        display: none;
    }
    
    .pd-table--compact th,
    .pd-table--compact td {
        padding: 0.5rem 0.375rem;
    }
    
    .pd-company-cell {
        gap: 0.5rem;
    }
}

/* ============================================
   10. BADGES & TAGS
   ============================================ */
.pd-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--pd-space-1);
    padding: 0.25rem 0.75rem;
    font-size: var(--pd-text-xs);
    font-weight: var(--pd-font-semibold);
    border-radius: var(--pd-radius-md);
    letter-spacing: 0.02em;
    transition: all var(--pd-transition-fast);
}

.pd-badge--primary {
    background: var(--pd-primary-lighter);
    color: var(--pd-primary);
    border: 1px solid rgba(30, 58, 95, 0.15);
}

.pd-badge--secondary {
    background: var(--pd-secondary-lighter);
    color: var(--pd-secondary-dark);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.pd-badge--success {
    background: var(--pd-success-light);
    color: var(--pd-success);
    border: 1px solid rgba(5, 150, 105, 0.15);
}

.pd-badge--warning {
    background: var(--pd-warning-light);
    color: var(--pd-warning);
    border: 1px solid rgba(217, 119, 6, 0.15);
}

.pd-badge--error {
    background: var(--pd-error-light);
    color: var(--pd-error);
    border: 1px solid rgba(220, 38, 38, 0.15);
}

.pd-badge--neutral {
    background: var(--pd-gray-100);
    color: var(--pd-gray-600);
    border: 1px solid var(--pd-gray-200);
}

/* Solid variants */
.pd-badge--solid.pd-badge--primary {
    background: var(--pd-primary);
    color: var(--pd-white);
    border: none;
}

.pd-badge--solid.pd-badge--secondary {
    background: var(--pd-secondary);
    color: var(--pd-white);
    border: none;
}

/* ============================================
   11. ALERTS
   ============================================ */
.pd-alert {
    display: flex;
    align-items: flex-start;
    gap: var(--pd-space-3);
    padding: 1rem 1.25rem;
    border-radius: var(--pd-radius-xl);
    font-size: var(--pd-text-sm);
    line-height: var(--pd-leading-relaxed);
    position: relative;
    overflow: hidden;
}

.pd-alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
}

.pd-alert__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

.pd-alert--success {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.06) 0%, rgba(16, 185, 129, 0.04) 100%);
    color: var(--pd-success);
    border: 1px solid rgba(5, 150, 105, 0.15);
}

.pd-alert--success::before {
    background: linear-gradient(180deg, #059669 0%, #10B981 100%);
}

.pd-alert--error {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.06) 0%, rgba(239, 68, 68, 0.04) 100%);
    color: var(--pd-error);
    border: 1px solid rgba(220, 38, 38, 0.15);
}

.pd-alert--error::before {
    background: linear-gradient(180deg, #DC2626 0%, #EF4444 100%);
}

.pd-alert--warning {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.06) 0%, rgba(245, 158, 11, 0.04) 100%);
    color: var(--pd-warning);
    border: 1px solid rgba(217, 119, 6, 0.15);
}

.pd-alert--warning::before {
    background: linear-gradient(180deg, #D97706 0%, #F59E0B 100%);
}

.pd-alert--info {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(14, 165, 233, 0.04) 100%);
    color: var(--pd-info);
    border: 1px solid rgba(2, 132, 199, 0.15);
}

.pd-alert--info::before {
    background: linear-gradient(180deg, #0284C7 0%, #0EA5E9 100%);
}

/* ============================================
   12. HERO SECTION
   ============================================ */
.pd-hero {
    position: relative;
    background: var(--pd-gradient-hero);
    padding: var(--pd-space-20) 0 var(--pd-space-16) 0;
    overflow: hidden;
}

/* Decorative gradient orbs */
.pd-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.pd-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

/* Top accent line */
.pd-hero-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pd-secondary);
}

.pd-hero--light {
    background: var(--pd-gray-50);
}

.pd-hero--light::before {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
}

.pd-hero--light::after {
    background: radial-gradient(circle, rgba(30, 58, 95, 0.04) 0%, transparent 60%);
}

.pd-hero__content {
    position: relative;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    z-index: 1;
}

.pd-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--pd-space-2);
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--pd-radius-full);
    font-size: var(--pd-text-sm);
    font-weight: var(--pd-font-medium);
    color: var(--pd-secondary-light);
    margin-bottom: var(--pd-space-6);
}

.pd-hero__badge svg {
    width: 16px;
    height: 16px;
}

.pd-hero__title {
    font-size: var(--pd-text-3xl);
    font-weight: var(--pd-font-extrabold);
    color: var(--pd-white);
    margin-bottom: var(--pd-space-5);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.pd-hero__title span {
    background: linear-gradient(135deg, var(--pd-secondary-light) 0%, var(--pd-accent-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pd-hero--light .pd-hero__title {
    color: var(--pd-gray-900);
}

.pd-hero--light .pd-hero__title span {
    background: var(--pd-gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pd-hero__subtitle {
    font-size: var(--pd-text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--pd-space-8);
    line-height: var(--pd-leading-relaxed);
    font-weight: var(--pd-font-normal);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.pd-hero--light .pd-hero__subtitle {
    color: var(--pd-gray-600);
}

@media (min-width: 768px) {
    .pd-hero {
        padding: var(--pd-space-24) 0 var(--pd-space-20) 0;
    }
    
    .pd-hero__title {
        font-size: var(--pd-text-5xl);
    }
    
    .pd-hero__subtitle {
        font-size: var(--pd-text-xl);
    }
}

/* Search Box */
.pd-search-box {
    background: transparent;
    border-radius: 0.625rem;
    padding: 0;
    box-shadow: none;
    max-width: 800px;
    margin: 0 auto;
    border: none;
}

.pd-search-box__inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pd-search-box__inner .pd-search {
    width: 100%;
    min-width: 0;
}

.pd-search-box__inner .pd-search__input {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    font-size: 1rem;
}

.pd-search-box__inner .pd-search__input:focus {
    outline: none;
    border-color: var(--pd-primary);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.pd-search-box__inner .pd-search__input::placeholder {
    color: var(--pd-gray-500);
    font-size: 0.9375rem;
}

.pd-search-box__btn {
    border-radius: 0.5rem;
    padding: 1rem 1.75rem;
    width: 100%;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}

.pd-search-box__input {
    flex: 1;
    border: none;
    padding: 1rem 1.25rem;
    font-size: var(--pd-text-base);
    background: transparent;
    color: var(--pd-gray-900);
    border-radius: var(--pd-radius-xl);
}

.pd-search-box__input::placeholder {
    color: var(--pd-gray-400);
}

.pd-search-box__input:focus {
    outline: none;
    box-shadow: none;
    background: rgba(248, 250, 252, 0.5);
}

.pd-search-box__btn {
    width: 100%;
    border-radius: var(--pd-radius-xl);
}

@media (min-width: 640px) {
    .pd-search-box {
        padding: 0;
        background: var(--pd-white);
        border-radius: 0.625rem;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
        border: 2px solid var(--pd-gray-200);
    }
    
    .pd-search-box:focus-within {
        border-color: var(--pd-primary);
        box-shadow: 0 4px 24px rgba(37, 99, 235, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .pd-search-box__inner {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
    
    .pd-search-box__inner .pd-search {
        flex: 1;
    }
    
    .pd-search-box__inner .pd-search__input {
        border: none;
        background: transparent;
        box-shadow: none;
        padding: 1.25rem 1rem 1.25rem 1.25rem;
        border-radius: 0.5rem 0 0 0.5rem;
        font-size: 1.0625rem;
    }
    
    .pd-search-box__inner .pd-search__input::placeholder {
        font-size: 0.9375rem;
    }
    
    .pd-search-box__inner .pd-search__input:focus {
        box-shadow: none;
    }
    
    .pd-search-box__btn {
        width: auto;
        flex-shrink: 0;
        margin: 0.5rem;
        border-radius: 0.5rem;
        box-shadow: none;
        padding: 0.875rem 1.5rem;
    }
}

.pd-search-hints {
    text-align: center;
    margin-top: var(--pd-space-5);
    font-size: var(--pd-text-sm);
    color: rgba(255, 255, 255, 0.55);
}

.pd-hero--light .pd-search-hints {
    color: var(--pd-gray-500);
}

.pd-search-hints a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    margin: 0 var(--pd-space-2);
    font-weight: var(--pd-font-medium);
    padding: 0.25rem 0.5rem;
    border-radius: var(--pd-radius-md);
    transition: all var(--pd-transition-fast);
}

.pd-search-hints a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--pd-white);
}

.pd-hero--light .pd-search-hints a {
    color: var(--pd-secondary);
}

.pd-hero--light .pd-search-hints a:hover {
    background: var(--pd-secondary-lighter);
    color: var(--pd-secondary-dark);
}

/* ============================================
   13. FOOTER
   ============================================ */
.pd-footer {
    background: linear-gradient(180deg, var(--pd-gray-900) 0%, #0B1120 100%);
    color: var(--pd-gray-300);
    padding-top: var(--pd-space-16);
    position: relative;
    overflow: hidden;
}

/* Decorative gradient orb */
.pd-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Top accent line */
.pd-footer-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--pd-gradient-secondary-vibrant);
}

.pd-footer__grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--pd-space-8);
    margin-bottom: var(--pd-space-12);
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .pd-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pd-footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.pd-footer__brand {
    max-width: 300px;
}

.pd-footer__logo {
    display: block;
    margin-bottom: var(--pd-space-4);
    transition: opacity var(--pd-transition-fast);
}

.pd-footer__logo:hover {
    opacity: 0.8;
}

.pd-footer__logo img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

.pd-footer__tagline {
    font-size: var(--pd-text-sm);
    line-height: var(--pd-leading-relaxed);
    color: var(--pd-gray-400);
    margin-bottom: var(--pd-space-5);
}

.pd-footer__trust {
    display: flex;
    align-items: center;
    gap: var(--pd-space-3);
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    border-radius: var(--pd-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pd-footer__trust-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pd-gradient-secondary);
    border-radius: var(--pd-radius-lg);
    color: var(--pd-white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.pd-footer__trust-icon svg {
    width: 18px;
    height: 18px;
}

.pd-footer__trust-text {
    font-size: var(--pd-text-xs);
    color: var(--pd-gray-300);
    line-height: 1.5;
}

.pd-footer__title {
    font-size: var(--pd-text-xs);
    font-weight: var(--pd-font-bold);
    color: var(--pd-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--pd-space-5);
    position: relative;
    padding-bottom: var(--pd-space-3);
}

.pd-footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 3px;
    background: var(--pd-gradient-secondary);
    border-radius: var(--pd-radius-full);
}

.pd-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pd-footer__link {
    display: inline-flex;
    align-items: center;
    gap: var(--pd-space-2);
    padding: 0.5rem 0;
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-400);
    text-decoration: none;
    transition: all var(--pd-transition-fast);
}

.pd-footer__link:hover {
    color: var(--pd-secondary-light);
    transform: translateX(4px);
}

.pd-footer__contact-item {
    display: flex;
    align-items: center;
    gap: var(--pd-space-3);
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-400);
    margin-bottom: var(--pd-space-4);
}

.pd-footer__contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--pd-radius-xl);
    flex-shrink: 0;
    transition: all var(--pd-transition-fast);
}

.pd-footer__contact-item:hover .pd-footer__contact-icon {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.pd-footer__contact-icon svg {
    width: 18px;
    height: 18px;
    color: var(--pd-secondary-light);
}

.pd-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--pd-space-6) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--pd-space-4);
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .pd-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.pd-footer__copyright {
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-500);
}

.pd-footer__payment {
    display: flex;
    align-items: center;
    gap: var(--pd-space-3);
}

.pd-footer__payment-label {
    font-size: var(--pd-text-xs);
    color: var(--pd-gray-500);
}

.pd-footer__payment-icons {
    display: flex;
    gap: var(--pd-space-2);
}

.pd-footer__payment-icon {
    width: 42px;
    height: 28px;
    background: var(--pd-white);
    border-radius: var(--pd-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--pd-transition-fast);
}

.pd-footer__payment-icon:hover {
    transform: translateY(-2px);
}

/* ============================================
   14. SECTION HEADERS
   ============================================ */
.pd-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--pd-space-12) auto;
}

.pd-section-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--pd-space-2);
    font-size: var(--pd-text-xs);
    font-weight: var(--pd-font-bold);
    color: var(--pd-secondary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--pd-space-4);
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.06) 100%);
    border-radius: var(--pd-radius-full);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.pd-section-header__title {
    font-size: var(--pd-text-2xl);
    font-weight: var(--pd-font-bold);
    color: var(--pd-gray-900);
    margin-bottom: var(--pd-space-4);
    letter-spacing: -0.02em;
}

.pd-section-header__subtitle {
    font-size: var(--pd-text-base);
    color: var(--pd-gray-600);
    line-height: var(--pd-leading-relaxed);
    max-width: 560px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pd-section-header__title {
        font-size: var(--pd-text-3xl);
    }
    
    .pd-section-header__subtitle {
        font-size: var(--pd-text-lg);
    }
}

/* ============================================
   15. AUTH PAGES
   ============================================ */
.pd-auth {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--pd-space-8) var(--pd-space-4);
    background: linear-gradient(180deg, var(--pd-white) 0%, var(--pd-gray-50) 100%);
    position: relative;
}

.pd-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--pd-gradient-mesh);
    pointer-events: none;
}

.pd-auth__card {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.pd-auth__header {
    text-align: center;
    margin-bottom: var(--pd-space-8);
}

.pd-auth__icon {
    width: 72px;
    height: 72px;
    background: var(--pd-gradient-secondary-vibrant);
    border-radius: var(--pd-radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--pd-space-5) auto;
    box-shadow: var(--pd-shadow-blue-lg);
    position: relative;
}

.pd-auth__icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: calc(var(--pd-radius-2xl) + 4px);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(14, 165, 233, 0.1) 100%);
    z-index: -1;
}

.pd-auth__icon svg {
    width: 32px;
    height: 32px;
    color: var(--pd-white);
}

.pd-auth__title {
    font-size: var(--pd-text-2xl);
    font-weight: var(--pd-font-bold);
    color: var(--pd-gray-900);
    margin-bottom: var(--pd-space-2);
    letter-spacing: -0.02em;
}

.pd-auth__subtitle {
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-600);
    line-height: var(--pd-leading-relaxed);
}

.pd-auth__footer {
    text-align: center;
    margin-top: var(--pd-space-6);
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-600);
}

.pd-auth__footer a {
    color: var(--pd-secondary);
    text-decoration: none;
    font-weight: var(--pd-font-semibold);
    transition: color var(--pd-transition-fast);
}

.pd-auth__footer a:hover {
    color: var(--pd-secondary-dark);
}

.pd-auth__divider {
    display: flex;
    align-items: center;
    gap: var(--pd-space-4);
    margin: var(--pd-space-6) 0;
    color: var(--pd-gray-400);
    font-size: var(--pd-text-sm);
}

.pd-auth__divider::before,
.pd-auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pd-gray-200), transparent);
}

/* ============================================
   16. STATS & METRICS
   ============================================ */
.pd-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--pd-space-5);
}

@media (min-width: 768px) {
    .pd-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pd-stat {
    text-align: center;
    padding: var(--pd-space-6);
    background: linear-gradient(180deg, var(--pd-white) 0%, rgba(248, 250, 252, 0.5) 100%);
    border-radius: var(--pd-radius-2xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all var(--pd-transition-base);
    position: relative;
    overflow: hidden;
}

.pd-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pd-gradient-secondary);
    transform: scaleX(0);
    transition: transform var(--pd-transition-base);
}

.pd-stat:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: var(--pd-shadow-lg);
    transform: translateY(-2px);
}

.pd-stat:hover::before {
    transform: scaleX(1);
}

.pd-stat__value {
    font-size: var(--pd-text-4xl);
    font-weight: var(--pd-font-extrabold);
    background: var(--pd-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: var(--pd-space-2);
    letter-spacing: -0.02em;
}

.pd-stat__label {
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-600);
    font-weight: var(--pd-font-medium);
}

/* ============================================
   17. COMPANY RESULTS
   ============================================ */
.pd-result {
    display: flex;
    align-items: flex-start;
    gap: var(--pd-space-4);
    padding: 1.25rem;
    background: var(--pd-white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--pd-radius-xl);
    transition: all var(--pd-transition-base);
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.pd-result:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: var(--pd-shadow-md);
    transform: translateX(4px);
}

.pd-result__content {
    flex: 1;
    min-width: 0;
}

.pd-result__title {
    font-size: var(--pd-text-lg);
    font-weight: var(--pd-font-semibold);
    color: var(--pd-gray-900);
    margin-bottom: var(--pd-space-2);
    letter-spacing: -0.01em;
}

.pd-result__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--pd-space-4);
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-500);
    margin-bottom: var(--pd-space-3);
}

.pd-result__meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.pd-result__meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--pd-gray-400);
}

.pd-result__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--pd-space-2);
}

.pd-result__action {
    flex-shrink: 0;
}

.pd-result__logo {
    margin-top: 0.125rem;
}

.pd-result__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ============================================
   18. CONTACT SECTION
   ============================================ */
.pd-contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--pd-space-4);
}

.pd-contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: var(--pd-space-4);
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, var(--pd-white) 100%);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: var(--pd-radius-xl);
    transition: all var(--pd-transition-base);
}

.pd-contact-info__item:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, var(--pd-white) 100%);
    border-color: rgba(37, 99, 235, 0.15);
    transform: translateX(4px);
}

.pd-contact-info__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pd-gradient-secondary-vibrant);
    color: var(--pd-white);
    border-radius: var(--pd-radius-xl);
    box-shadow: var(--pd-shadow-blue);
}

.pd-contact-info__icon svg {
    width: 24px;
    height: 24px;
}

.pd-contact-info__label {
    font-size: var(--pd-text-xs);
    font-weight: var(--pd-font-semibold);
    color: var(--pd-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.375rem;
}

.pd-contact-info__value {
    font-size: var(--pd-text-base);
    font-weight: var(--pd-font-semibold);
    color: var(--pd-gray-900);
}

/* ============================================
   19. DASHBOARD
   ============================================ */
.pd-dashboard {
    display: flex;
    min-height: calc(100vh - 72px);
}

.pd-sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--pd-white) 0%, rgba(248, 250, 252, 0.5) 100%);
    border-right: 1px solid rgba(226, 232, 240, 0.8);
    padding: var(--pd-space-6) 0;
    display: none;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .pd-sidebar {
        display: block;
    }
}

.pd-sidebar__nav {
    list-style: none;
    padding: 0 var(--pd-space-3);
    margin: 0;
}

.pd-sidebar__link {
    display: flex;
    align-items: center;
    gap: var(--pd-space-3);
    padding: 0.875rem 1rem;
    margin-bottom: 0.25rem;
    font-size: var(--pd-text-sm);
    font-weight: var(--pd-font-medium);
    color: var(--pd-gray-600);
    text-decoration: none;
    transition: all var(--pd-transition-fast);
    border-radius: var(--pd-radius-xl);
    position: relative;
}

.pd-sidebar__link:hover {
    color: var(--pd-primary);
    background: rgba(37, 99, 235, 0.04);
}

.pd-sidebar__link.active {
    color: var(--pd-secondary-dark);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.06) 100%);
}

.pd-sidebar__link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--pd-gradient-secondary);
    border-radius: 0 4px 4px 0;
}

.pd-sidebar__link svg {
    width: 20px;
    height: 20px;
    transition: transform var(--pd-transition-fast);
}

.pd-sidebar__link:hover svg {
    transform: scale(1.1);
}

.pd-dashboard__content {
    flex: 1;
    padding: var(--pd-space-8);
    background: linear-gradient(180deg, var(--pd-gray-50) 0%, var(--pd-white) 100%);
    background-image: var(--pd-gradient-mesh);
    overflow-y: auto;
}

.pd-dashboard__header {
    margin-bottom: var(--pd-space-8);
}

.pd-dashboard__title {
    font-size: var(--pd-text-2xl);
    font-weight: var(--pd-font-bold);
    color: var(--pd-gray-900);
    letter-spacing: -0.02em;
}

/* ============================================
   20. LEGAL PAGES
   ============================================ */
.pd-legal {
    padding: var(--pd-space-16) 0;
    background-color: var(--pd-white);
}

.pd-legal__content {
    max-width: 800px;
    margin: 0 auto;
}

.pd-legal h1 {
    font-size: var(--pd-text-3xl);
    font-weight: var(--pd-font-bold);
    color: var(--pd-gray-900);
    margin-bottom: var(--pd-space-8);
}

.pd-legal h2 {
    font-size: var(--pd-text-xl);
    font-weight: var(--pd-font-semibold);
    color: var(--pd-gray-900);
    margin-top: var(--pd-space-8);
    margin-bottom: var(--pd-space-4);
}

.pd-legal h3 {
    font-size: var(--pd-text-lg);
    font-weight: var(--pd-font-semibold);
    color: var(--pd-gray-900);
    margin-top: var(--pd-space-6);
    margin-bottom: var(--pd-space-3);
}

.pd-legal p {
    font-size: var(--pd-text-base);
    color: var(--pd-gray-700);
    line-height: var(--pd-leading-relaxed);
    margin-bottom: var(--pd-space-4);
}

.pd-legal ul,
.pd-legal ol {
    margin-bottom: var(--pd-space-4);
    padding-left: var(--pd-space-6);
}

.pd-legal li {
    margin-bottom: var(--pd-space-2);
    color: var(--pd-gray-700);
}

/* ============================================
   21. CTA SECTION
   ============================================ */
.pd-cta {
    position: relative;
    background: var(--pd-primary);
    padding: var(--pd-space-20) 0;
    text-align: center;
    overflow: hidden;
}

/* Clean background for CTA */
.pd-cta::before,
.pd-cta::after {
    display: none;
}

.pd-cta__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.pd-cta__title {
    font-size: var(--pd-text-2xl);
    font-weight: var(--pd-font-extrabold);
    color: var(--pd-white);
    margin-bottom: var(--pd-space-4);
    letter-spacing: -0.02em;
}

.pd-cta__text {
    font-size: var(--pd-text-lg);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--pd-space-8);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: var(--pd-leading-relaxed);
}

.pd-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--pd-space-4);
}

@media (min-width: 640px) {
    .pd-cta__actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .pd-cta__title {
        font-size: var(--pd-text-4xl);
    }
    
    .pd-cta__text {
        font-size: var(--pd-text-xl);
    }
}

/* ============================================
   21b. HOME/LANDING CONTENT BLOCKS
   ============================================ */

/* Steps */
.pd-step {
    text-align: center;
    padding: var(--pd-space-8) var(--pd-space-6);
}

.pd-step__number {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--pd-radius-lg);
    background: var(--pd-secondary);
    color: var(--pd-white);
    font-family: var(--pd-font-display);
    font-weight: var(--pd-font-bold);
    font-size: var(--pd-text-lg);
    box-shadow: 0 12px 22px -18px rgba(var(--pd-secondary-rgb), 0.55);
    margin-bottom: var(--pd-space-5);
}

.pd-step__title {
    font-size: var(--pd-text-lg);
    font-weight: var(--pd-font-bold);
    color: var(--pd-gray-900);
    margin: 0 0 var(--pd-space-3) 0;
    letter-spacing: -0.01em;
}

.pd-step__text {
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-600);
    line-height: var(--pd-leading-relaxed);
    margin: 0;
}

/* Icon circle (for small “trust / audience” cards) */
.pd-icon-circle {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--pd-space-4) auto;
    border-radius: var(--pd-radius-lg);
    background: var(--pd-secondary-lighter);
    border: 1px solid rgba(79, 70, 229, 0.15);
    color: var(--pd-secondary);
}

.pd-icon-circle svg {
    width: 26px;
    height: 26px;
}

/* FAQ */
.pd-faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.pd-faq-item {
    background: var(--pd-white);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--pd-radius-xl);
    margin-bottom: var(--pd-space-3);
    overflow: hidden;
}

.pd-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--pd-space-4);
    padding: 1.125rem 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: var(--pd-text-base);
    font-weight: var(--pd-font-semibold);
    color: var(--pd-gray-900);
    transition: background-color var(--pd-transition-fast);
}

.pd-faq-question:hover {
    background: rgba(241, 245, 249, 0.6);
}

.pd-faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--pd-gray-500);
    flex-shrink: 0;
    transition: transform var(--pd-transition-base);
}

.pd-faq-item.active .pd-faq-question svg {
    transform: rotate(180deg);
}

.pd-faq-answer {
    display: none;
    padding: 0 1.25rem 1.25rem 1.25rem;
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-600);
    line-height: var(--pd-leading-relaxed);
    border-top: 1px solid rgba(241, 245, 249, 0.9);
}

.pd-faq-item.active .pd-faq-answer {
    display: block;
}

/* Top companies table helpers (used on landing/home) */
.pd-rank {
    font-weight: var(--pd-font-extrabold);
    width: 52px;
    white-space: nowrap;
}

.pd-rank-gold { color: #CA8A04; }
.pd-rank-silver { color: var(--pd-gray-500); }
.pd-rank-bronze { color: #C2410C; }
.pd-rank-normal { color: var(--pd-primary); }

.pd-company-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pd-company-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--pd-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--pd-font-semibold);
    font-size: var(--pd-text-xs);
    color: var(--pd-gray-600);
    flex-shrink: 0;
    background: var(--pd-gray-50);
    border: 1px solid var(--pd-gray-200);
    overflow: hidden;
}

.pd-company-logo svg,
.pd-company-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.pd-effectif { /* legacy alias on landing */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--pd-gray-700);
    font-size: var(--pd-text-sm);
}

.pd-siege { /* legacy alias on landing */
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--pd-gray-600);
    font-size: var(--pd-text-sm);
}

.pd-indice { /* legacy alias on landing */
    display: inline-flex;
    padding: 0.25rem 0.625rem;
    background: var(--pd-gray-100);
    border: 1px solid var(--pd-gray-200);
    border-radius: var(--pd-radius-md);
    font-size: 0.6875rem;
    font-weight: var(--pd-font-semibold);
    color: var(--pd-gray-700);
    letter-spacing: 0.02em;
}
.pd-company-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pd-company-name {
    font-weight: var(--pd-font-semibold);
    color: var(--pd-gray-900);
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pd-company-siren {
    font-size: var(--pd-text-xs);
    color: var(--pd-gray-500);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.pd-sector {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: var(--pd-radius-full);
    font-size: var(--pd-text-xs);
    font-weight: var(--pd-font-semibold);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.pd-sector-energie { background-color: #FEF3C7; color: #92400E; border-color: rgba(146, 64, 14, 0.12); }
.pd-sector-banque { background-color: #DBEAFE; color: #1E40AF; border-color: rgba(30, 64, 175, 0.12); }
.pd-sector-assurance { background-color: #E0E7FF; color: #3730A3; border-color: rgba(55, 48, 163, 0.12); }
.pd-sector-auto { background-color: #FEE2E2; color: #991B1B; border-color: rgba(153, 27, 27, 0.12); }
.pd-sector-luxe { background-color: #FCE7F3; color: #9D174D; border-color: rgba(157, 23, 77, 0.12); }
.pd-sector-pharma { background-color: #D1FAE5; color: #065F46; border-color: rgba(6, 95, 70, 0.12); }
.pd-sector-aero { background-color: #E0F2FE; color: #0369A1; border-color: rgba(3, 105, 161, 0.12); }
.pd-sector-distrib { background-color: #FFEDD5; color: #9A3412; border-color: rgba(154, 52, 18, 0.12); }
.pd-sector-telecom { background-color: #F3E8FF; color: #6B21A8; border-color: rgba(107, 33, 168, 0.12); }

/* Extra sectors for the Top 15 table */
.pd-sector-infra { background-color: #E0F2FE; color: #075985; border-color: rgba(7, 89, 133, 0.12); }
.pd-sector-logistique { background-color: #E2E8F0; color: #334155; border-color: rgba(51, 65, 85, 0.14); }
.pd-sector-services { background-color: #FFE4E6; color: #9F1239; border-color: rgba(159, 18, 57, 0.12); }

.pd-revenue {
    font-weight: var(--pd-font-semibold);
    color: var(--pd-gray-900);
}

.pd-growth {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: var(--pd-font-semibold);
    font-size: var(--pd-text-sm);
}

.pd-growth-up { color: var(--pd-success); }
.pd-growth-down { color: var(--pd-error); }

.pd-growth-icon {
    width: 14px;
    height: 14px;
}

.pd-employees {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--pd-gray-700);
}

.pd-employees-icon {
    width: 16px;
    height: 16px;
    color: var(--pd-gray-500);
}

.pd-location {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--pd-gray-600);
    font-size: var(--pd-text-sm);
}

.pd-location-icon {
    width: 14px;
    height: 14px;
    color: var(--pd-gray-500);
}

.pd-status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: var(--pd-radius-full);
    font-size: 0.6875rem;
    font-weight: var(--pd-font-bold);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pd-status-cac40 { background-color: #DBEAFE; color: #1E40AF; }
.pd-status-sbf120 { background-color: var(--pd-gray-100); color: var(--pd-gray-700); }

/* ============================================
   22. PAYMENT PAGE
   ============================================ */
.pd-payment {
    padding: var(--pd-space-12) 0;
    background-color: var(--pd-gray-50);
}

.pd-payment__grid {
    display: grid;
    gap: var(--pd-space-8);
}

@media (min-width: 1024px) {
    .pd-payment__grid {
        grid-template-columns: 1fr 400px;
    }
}

.pd-payment__summary {
    background-color: var(--pd-white);
    border: 1px solid var(--pd-gray-200);
    border-radius: var(--pd-radius-xl);
    padding: var(--pd-space-6);
    position: relative;
    overflow: hidden;
}

.pd-payment__summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--pd-gradient-secondary);
}

.pd-payment__summary-header {
    background: var(--pd-gradient-primary);
    color: var(--pd-white);
    padding: var(--pd-space-3) var(--pd-space-4);
    border-radius: var(--pd-radius-lg);
    text-align: center;
    margin-bottom: var(--pd-space-6);
    font-weight: var(--pd-font-bold);
}

.pd-payment__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pd-payment__feature {
    display: flex;
    align-items: flex-start;
    gap: var(--pd-space-3);
    padding: var(--pd-space-3) 0;
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-700);
    border-bottom: 1px solid var(--pd-gray-100);
}

.pd-payment__feature:last-child {
    border-bottom: none;
}

.pd-payment__feature svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--pd-primary);
}

.pd-payment__total {
    margin-top: var(--pd-space-6);
    padding-top: var(--pd-space-4);
    border-top: 2px solid var(--pd-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pd-payment__total-label {
    font-weight: var(--pd-font-semibold);
    color: var(--pd-gray-900);
}

.pd-payment__total-amount {
    font-size: var(--pd-text-2xl);
    font-weight: var(--pd-font-bold);
    color: var(--pd-primary);
}

/* ============================================
   23. FEATURE CARDS
   ============================================ */
.pd-feature {
    display: flex;
    gap: var(--pd-space-5);
    padding: 1.5rem;
    background: linear-gradient(180deg, var(--pd-white) 0%, rgba(248, 250, 252, 0.3) 100%);
    border-radius: var(--pd-radius-2xl);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all var(--pd-transition-base);
    position: relative;
}

.pd-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--pd-gradient-secondary);
    border-radius: 0 4px 4px 0;
    transition: height var(--pd-transition-base);
}

.pd-feature:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: var(--pd-shadow-lg);
    transform: translateY(-2px);
}

.pd-feature:hover::before {
    height: 60%;
}

.pd-feature__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pd-gradient-secondary-vibrant);
    border-radius: var(--pd-radius-xl);
    color: var(--pd-white);
    box-shadow: var(--pd-shadow-blue);
    transition: all var(--pd-transition-base);
}

.pd-feature:hover .pd-feature__icon {
    transform: scale(1.05);
    box-shadow: var(--pd-shadow-blue-lg);
}

.pd-feature__icon svg {
    width: 24px;
    height: 24px;
}

.pd-feature__content {
    flex: 1;
}

.pd-feature__title {
    font-size: var(--pd-text-lg);
    font-weight: var(--pd-font-bold);
    color: var(--pd-gray-900);
    margin-bottom: var(--pd-space-2);
    letter-spacing: -0.01em;
}

.pd-feature__text {
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-600);
    line-height: var(--pd-leading-relaxed);
}

/* ============================================
   24. UTILITIES
   ============================================ */
.pd-text-center { text-align: center; }
.pd-text-left { text-align: left; }
.pd-text-right { text-align: right; }

.pd-mb-0 { margin-bottom: 0 !important; }
.pd-mb-2 { margin-bottom: var(--pd-space-2); }
.pd-mb-4 { margin-bottom: var(--pd-space-4); }
.pd-mb-6 { margin-bottom: var(--pd-space-6); }
.pd-mb-8 { margin-bottom: var(--pd-space-8); }

.pd-mt-0 { margin-top: 0 !important; }
.pd-mt-4 { margin-top: var(--pd-space-4); }
.pd-mt-6 { margin-top: var(--pd-space-6); }
.pd-mt-8 { margin-top: var(--pd-space-8); }

.pd-hidden { display: none !important; }
.pd-flex { display: flex; }
.pd-items-center { align-items: center; }
.pd-justify-between { justify-content: space-between; }
.pd-gap-2 { gap: var(--pd-space-2); }
.pd-gap-4 { gap: var(--pd-space-4); }

.pd-bg-white { background-color: var(--pd-white); }
.pd-bg-gray-50 { background-color: var(--pd-gray-50); }
.pd-bg-primary { background-color: var(--pd-primary); }

.pd-rounded { border-radius: var(--pd-radius-lg); }
.pd-shadow { box-shadow: var(--pd-shadow-md); }

/* Secure Badge */
.pd-secure-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--pd-space-2);
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(14, 165, 233, 0.04) 100%);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: var(--pd-radius-xl);
    font-size: var(--pd-text-sm);
    color: var(--pd-secondary-dark);
    font-weight: var(--pd-font-medium);
}

.pd-secure-badge svg {
    width: 18px;
    height: 18px;
    color: var(--pd-secondary);
}

/* Trust Badges */
.pd-trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--pd-space-6);
    margin-top: var(--pd-space-6);
}

.pd-trust-badges img {
    height: 32px;
    width: auto;
    opacity: 0.6;
    transition: opacity var(--pd-transition-fast);
}

.pd-trust-badges img:hover {
    opacity: 0.9;
}

/* Divider */
.pd-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--pd-gray-200) 20%, var(--pd-gray-200) 80%, transparent 100%);
    margin: var(--pd-space-8) 0;
}

.pd-divider--accent {
    height: 3px;
    background: var(--pd-gradient-secondary);
    width: 60px;
    border-radius: var(--pd-radius-full);
    margin-left: auto;
    margin-right: auto;
}

/* Highlight box */
.pd-highlight {
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(14, 165, 233, 0.04) 100%);
    border-left: 4px solid var(--pd-secondary);
    border-radius: var(--pd-radius-lg);
    font-size: var(--pd-text-sm);
    color: var(--pd-gray-700);
    line-height: var(--pd-leading-relaxed);
}

/* Glass panel */
.pd-glass-panel {
    background: var(--pd-glass-bg);
    backdrop-filter: var(--pd-glass-blur);
    -webkit-backdrop-filter: var(--pd-glass-blur);
    border: 1px solid var(--pd-glass-border);
    border-radius: var(--pd-radius-2xl);
}

/* Glow effect for emphasis */
.pd-glow {
    position: relative;
}

.pd-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: var(--pd-gradient-secondary);
    opacity: 0.15;
    filter: blur(12px);
    z-index: -1;
}

/* ============================================
   25. PAGE CONTENT WRAPPER
   ============================================ */
.pd-page {
    padding-top: 72px;
    min-height: 100vh;
    overflow-x: hidden;
}

.pd-page--gray {
    background-color: var(--pd-gray-50);
}

/* ============================================
   26. RESPONSIVE HELPERS & GLOBAL RESPONSIVE FIXES
   ============================================ */

/* ----- Prevent horizontal overflow globally ----- */
html, body.pd-body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ----- Responsive Typography with clamp() ----- */
.pd-h1 {
    font-size: clamp(1.75rem, 5vw, var(--pd-text-5xl));
}

.pd-h2 {
    font-size: clamp(1.5rem, 4vw, var(--pd-text-4xl));
}

.pd-h3 {
    font-size: clamp(1.25rem, 3vw, var(--pd-text-2xl));
}

.pd-hero__title {
    font-size: clamp(1.5rem, 6vw, var(--pd-text-5xl));
}

.pd-hero__subtitle {
    font-size: clamp(0.9375rem, 2.5vw, var(--pd-text-xl));
}

.pd-cta__title {
    font-size: clamp(1.25rem, 4vw, var(--pd-text-4xl));
}

.pd-section-header__title {
    font-size: clamp(1.25rem, 3.5vw, var(--pd-text-3xl));
}

/* ----- Responsive container padding ----- */
.pd-container {
    padding-left: max(1rem, env(safe-area-inset-left, 1rem));
    padding-right: max(1rem, env(safe-area-inset-right, 1rem));
}

@media (min-width: 640px) {
    .pd-container {
        padding-left: var(--pd-container-padding);
        padding-right: var(--pd-container-padding);
    }
}

/* ----- Responsive section padding ----- */
.pd-section {
    padding-top: clamp(2.5rem, 6vw, var(--pd-space-16));
    padding-bottom: clamp(2.5rem, 6vw, var(--pd-space-16));
}

.pd-section--lg {
    padding-top: clamp(3rem, 8vw, var(--pd-space-24));
    padding-bottom: clamp(3rem, 8vw, var(--pd-space-24));
}

/* ----- Text overflow protection ----- */
.pd-result__title,
.pd-company-name,
.pd-service-card__title,
.pd-pricing-card__title,
.pd-h1, .pd-h2, .pd-h3, .pd-h4, .pd-h5, .pd-h6 {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ----- Responsive images ----- */
img, svg, video, canvas, picture {
    max-width: 100%;
    height: auto;
}

/* ----- Minimum tap target sizes (44px) ----- */
.pd-btn,
.pd-header__mobile-toggle,
.pd-mobile-nav__link,
.pd-sidebar__link,
.pd-faq-question,
.pd-checkbox,
.pd-radio {
    min-height: 44px;
}

.pd-btn--sm {
    min-height: 40px;
    padding: 0.5rem 0.875rem;
}

.pd-btn--xs {
    min-height: 36px;
}

/* ----- Visibility helpers ----- */
@media (max-width: 639px) {
    .pd-hide-sm { display: none !important; }
    .pd-show-sm-only { display: block !important; }
    .pd-show-sm-inline { display: inline !important; }
}

@media (min-width: 640px) {
    .pd-show-sm { display: block !important; }
    .pd-show-sm-only { display: none !important; }
    .pd-show-sm-inline { display: none !important; }
}

@media (max-width: 767px) {
    .pd-hide-mobile { display: none !important; }
    .pd-show-mobile-only { display: block !important; }
    .pd-show-mobile-inline { display: inline !important; }
}

@media (min-width: 768px) {
    .pd-show-tablet { display: block !important; }
    .pd-show-mobile-only { display: none !important; }
    .pd-show-mobile-inline { display: none !important; }
}

@media (max-width: 1023px) {
    .pd-hide-md { display: none !important; }
    .pd-show-md-only { display: block !important; }
}

@media (min-width: 1024px) {
    .pd-show-md { display: block !important; }
    .pd-show-md-only { display: none !important; }
}

/* ============================================
   27. MOBILE-FIRST RESPONSIVE BREAKPOINTS
   ============================================ */

/* ----- Extra small devices (< 360px) ----- */
@media (max-width: 359px) {
    :root {
        --pd-container-padding: 0.75rem;
    }
    
    .pd-hero {
        padding: var(--pd-space-12) 0 var(--pd-space-10) 0;
    }
    
    .pd-hero__content {
        padding: 0 0.25rem;
    }
    
    .pd-btn {
        padding: 0.625rem 1rem;
        font-size: var(--pd-text-sm);
    }
    
    .pd-btn--lg {
        padding: 0.75rem 1.25rem;
    }
    
    .pd-search-box {
        padding: 0.375rem;
    }
    
    .pd-search-box__input {
        padding: 0.75rem 1rem;
        font-size: var(--pd-text-sm);
    }
    
    .pd-stat {
        padding: var(--pd-space-4);
    }
    
    .pd-stat__value {
        font-size: var(--pd-text-2xl);
    }
    
    .pd-card__body {
        padding: var(--pd-space-4);
    }
    
    .pd-service-card,
    .pd-pricing-card {
        padding: var(--pd-space-5);
    }
    
    .pd-footer__grid {
        gap: var(--pd-space-6);
    }
}

/* ----- Small mobile (360px - 479px) ----- */
@media (min-width: 360px) and (max-width: 479px) {
    .pd-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--pd-space-3);
    }
    
    .pd-stat {
        padding: var(--pd-space-4);
    }
    
    .pd-stat__value {
        font-size: var(--pd-text-3xl);
    }
    
    .pd-stat__label {
        font-size: var(--pd-text-xs);
    }
}

/* ----- Mobile (< 640px) ----- */
@media (max-width: 639px) {
    /* Header mobile adjustments */
    .pd-header__inner {
        height: 64px;
        padding: 0 0.5rem;
    }
    
    .pd-header__logo img {
        height: 32px;
    }
    
    .pd-header__actions {
        gap: var(--pd-space-2);
    }
    
    .pd-header__actions .pd-btn--sm {
        padding: 0.5rem 0.75rem;
        font-size: var(--pd-text-xs);
    }
    
    /* Hide text on small header buttons, keep icons */
    .pd-header__actions .pd-btn--outline svg {
        margin-right: 0;
    }
    
    /* Page wrapper adjustment for smaller header */
    .pd-page {
        padding-top: 64px;
    }
    
    /* Mobile nav position adjustment */
    .pd-mobile-nav {
        top: 64px;
    }
    
    /* Hero section mobile */
    .pd-hero {
        padding: var(--pd-space-12) 0 var(--pd-space-8) 0;
    }
    
    .pd-hero__content {
        max-width: 100%;
    }
    
    /* Search box mobile */
    .pd-search-box {
        max-width: 100%;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .pd-search-box__inner {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .pd-search-box__inner .pd-search__input {
        border: 2px solid rgba(255, 255, 255, 0.3);
        background: rgba(255, 255, 255, 0.95);
        border-radius: 0.5rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }
    
    .pd-search-box__btn {
        width: 100%;
        border-radius: 0.5rem;
    }
    
    .pd-search-hints {
        font-size: var(--pd-text-xs);
        margin-top: var(--pd-space-4);
    }
    
    .pd-search-hints a {
        margin: 0 var(--pd-space-1);
        padding: 0.25rem 0.375rem;
    }
    
    /* Stats grid mobile */
    .pd-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--pd-space-3);
    }
    
    /* Steps/cards mobile */
    .pd-step {
        padding: var(--pd-space-6) var(--pd-space-4);
    }
    
    /* Section header mobile */
    .pd-section-header {
        margin-bottom: var(--pd-space-8);
    }
    
    /* Feature cards mobile */
    .pd-feature {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }
    
    .pd-feature__icon {
        margin: 0 auto;
    }
    
    /* Result cards mobile */
    .pd-result {
        flex-wrap: wrap;
        padding: 1rem;
    }
    
    .pd-result__content {
        flex: 1 1 100%;
        order: 2;
        margin-top: 0.5rem;
    }
    
    .pd-result__action {
        order: 3;
        width: 100%;
        margin-top: 0.75rem;
    }
    
    .pd-result__action .pd-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Contact info mobile */
    .pd-contact-info__item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .pd-contact-info__icon {
        margin: 0 auto var(--pd-space-3);
    }
    
    /* CTA section mobile */
    .pd-cta {
        padding: var(--pd-space-12) 0;
    }
    
    .pd-cta__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .pd-cta__actions .pd-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer mobile */
    .pd-footer {
        padding-top: var(--pd-space-10);
    }
    
    .pd-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--pd-space-8);
        text-align: center;
    }
    
    .pd-footer__brand {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .pd-footer__title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .pd-footer__trust {
        justify-content: center;
    }
    
    .pd-footer__links {
        text-align: center;
    }
    
    .pd-footer__link {
        justify-content: center;
    }
    
    .pd-footer__contact-item {
        justify-content: center;
    }
    
    .pd-footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--pd-space-4);
    }
    
    /* Auth pages mobile */
    .pd-auth {
        padding: var(--pd-space-6) var(--pd-space-4);
        min-height: calc(100vh - 64px);
    }
    
    .pd-auth__card {
        max-width: 100%;
    }
    
    .pd-auth__icon {
        width: 60px;
        height: 60px;
    }
    
    .pd-auth__icon svg {
        width: 28px;
        height: 28px;
    }
    
    /* Forms mobile */
    .pd-form-group {
        margin-bottom: var(--pd-space-4);
    }
    
    .pd-input,
    .pd-select,
    .pd-textarea {
        padding: 0.75rem;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
    
    /* Buttons full-width on mobile */
    .pd-btn--block-mobile {
        width: 100%;
    }
    
    /* Pricing cards mobile */
    .pd-pricing-card {
        padding: var(--pd-space-6);
    }
    
    .pd-pricing-card--featured {
        transform: none;
    }
    
    .pd-pricing-card__amount {
        font-size: var(--pd-text-3xl);
    }
    
    /* Legal pages mobile */
    .pd-legal {
        padding: var(--pd-space-10) 0;
    }
    
    .pd-legal h1 {
        font-size: var(--pd-text-2xl);
    }
    
    .pd-legal h2 {
        font-size: var(--pd-text-lg);
    }
    
    /* FAQ mobile */
    .pd-faq-question {
        padding: 1rem;
        font-size: var(--pd-text-sm);
    }
    
    .pd-faq-answer {
        padding: 0 1rem 1rem 1rem;
    }
    
    /* Dashboard mobile */
    .pd-dashboard__content {
        padding: var(--pd-space-4);
    }
}

/* ----- Tablet (640px - 767px) ----- */
@media (min-width: 640px) and (max-width: 767px) {
    .pd-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pd-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pd-cta__actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* ----- Tablet landscape (768px - 1023px) ----- */
@media (min-width: 768px) and (max-width: 1023px) {
    .pd-header__inner {
        height: 72px;
    }
    
    .pd-page {
        padding-top: 72px;
    }
    
    .pd-mobile-nav {
        top: 72px;
    }
    
    .pd-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .pd-footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* ----- Desktop (1024px+) ----- */
@media (min-width: 1024px) {
    .pd-header__inner {
        height: 72px;
    }
    
    .pd-page {
        padding-top: 72px;
    }
    
    /* Restore header buttons */
    .pd-header__actions .pd-btn--sm {
        padding: 0.625rem 1.125rem;
        font-size: var(--pd-text-sm);
    }
}

/* ----- Large desktop (1280px+) ----- */
@media (min-width: 1280px) {
    :root {
        --pd-container-max: 1320px;
    }
}

/* ----- Extra large (1536px+) ----- */
@media (min-width: 1536px) {
    :root {
        --pd-container-max: 1440px;
    }
}

/* ============================================
   27. FORM ELEMENTS - Extended
   ============================================ */
.pd-form-input:focus,
.pd-form-select:focus,
.pd-form-textarea:focus {
    border-color: var(--pd-primary);
    box-shadow: 0 0 0 3px rgba(var(--pd-primary-rgb), 0.1);
}

.pd-form-checkbox,
.pd-form-radio {
    accent-color: var(--pd-primary);
}

/* ============================================
   28. INLINE ELEMENT STYLES
   ============================================ */
/* For elements that need primary color text */
.pd-text-accent {
    color: var(--pd-primary);
}

/* For links with primary color */
.pd-link {
    color: var(--pd-primary);
    text-decoration: none;
    transition: color var(--pd-transition-fast);
}

.pd-link:hover {
    color: var(--pd-primary-dark);
    text-decoration: underline;
}

/* Primary border */
.pd-border-primary {
    border-color: var(--pd-primary);
}

/* Card with primary border */
.pd-card--primary-border {
    border: 2px solid var(--pd-primary);
}

/* Featured card header gradient */
.pd-card-header--gradient {
    background: var(--pd-gradient-primary);
    color: var(--pd-white);
}

/* Button base for inline styles */
.pd-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pd-white);
    background: var(--pd-gradient-primary);
    border: none;
    border-radius: var(--pd-radius-lg);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--pd-transition-fast);
}

.pd-button:hover {
    background: var(--pd-gradient-button-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(var(--pd-primary-rgb), 0.35);
}

.pd-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Tab active state */
.pd-tab--active {
    color: var(--pd-primary);
    border-bottom-color: var(--pd-primary);
}

/* Price highlight */
.pd-price {
    color: var(--pd-primary);
    font-weight: 700;
}

/* Icon containers */
.pd-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pd-gradient-primary);
    color: var(--pd-white);
    border-radius: var(--pd-radius-lg);
}

/* Navbar button gradient */
.pd-nav-btn {
    background: var(--pd-gradient-primary);
    color: var(--pd-white);
    padding: 0.5rem 1rem;
    border-radius: var(--pd-radius-lg);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all var(--pd-transition-fast);
}

.pd-nav-btn:hover {
    background: var(--pd-gradient-button-hover);
    transform: translateY(-1px);
}

/* Top banner gradient */
.pd-top-banner {
    background: var(--pd-gradient-primary);
    color: var(--pd-white);
    padding: 0.5rem 1rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Hero search button */
.pd-search-btn {
    background: var(--pd-gradient-primary);
    color: var(--pd-white);
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--pd-radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--pd-transition-fast);
}

.pd-search-btn:hover {
    background: var(--pd-gradient-button-hover);
}

/* ============================================
   29. ANIMATIONS & TRANSITIONS
   Subtle, professional animations for corporate feel
   ============================================ */

/* Animation Variables */
:root {
    --pd-animation-duration-fast: 0.2s;
    --pd-animation-duration-normal: 0.35s;
    --pd-animation-duration-slow: 0.5s;
    --pd-animation-easing: cubic-bezier(0.4, 0, 0.2, 1);
    --pd-animation-easing-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --pd-animation-easing-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --pd-animation-easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ---- Keyframes ---- */

/* Fade In */
@keyframes pd-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Fade In Up - subtle slide up effect */
@keyframes pd-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Down */
@keyframes pd-fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In Scale - very subtle scale */
@keyframes pd-fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide In from Left */
@keyframes pd-slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide In from Right */
@keyframes pd-slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Subtle Pulse - for attention */
@keyframes pd-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Spinner rotation */
@keyframes pd-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Shimmer for skeleton loading */
@keyframes pd-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Bounce subtle */
@keyframes pd-bounceSubtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Progress bar */
@keyframes pd-progress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Dot loading animation */
@keyframes pd-dotPulse {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ---- Animation Utility Classes ---- */

/* Fade In animations with staggered delays */
.pd-animate-fade-in {
    animation: pd-fadeIn var(--pd-animation-duration-normal) var(--pd-animation-easing) forwards;
    opacity: 0;
}

.pd-animate-fade-in-up {
    animation: pd-fadeInUp var(--pd-animation-duration-normal) var(--pd-animation-easing) forwards;
    opacity: 0;
}

.pd-animate-fade-in-down {
    animation: pd-fadeInDown var(--pd-animation-duration-normal) var(--pd-animation-easing) forwards;
    opacity: 0;
}

.pd-animate-fade-in-scale {
    animation: pd-fadeInScale var(--pd-animation-duration-normal) var(--pd-animation-easing) forwards;
    opacity: 0;
}

.pd-animate-slide-in-left {
    animation: pd-slideInLeft var(--pd-animation-duration-normal) var(--pd-animation-easing) forwards;
    opacity: 0;
}

.pd-animate-slide-in-right {
    animation: pd-slideInRight var(--pd-animation-duration-normal) var(--pd-animation-easing) forwards;
    opacity: 0;
}

/* Animation delays for staggered effects */
.pd-delay-1 { animation-delay: 0.05s; }
.pd-delay-2 { animation-delay: 0.1s; }
.pd-delay-3 { animation-delay: 0.15s; }
.pd-delay-4 { animation-delay: 0.2s; }
.pd-delay-5 { animation-delay: 0.25s; }
.pd-delay-6 { animation-delay: 0.3s; }
.pd-delay-7 { animation-delay: 0.35s; }
.pd-delay-8 { animation-delay: 0.4s; }

/* Animation on scroll - elements start hidden */
.pd-animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--pd-animation-duration-normal) var(--pd-animation-easing),
                transform var(--pd-animation-duration-normal) var(--pd-animation-easing);
}

.pd-animate-on-scroll.pd-is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Loading Spinner ---- */
.pd-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: currentColor;
    animation: pd-spin 0.8s linear infinite;
}

.pd-spinner--sm {
    width: 14px;
    height: 14px;
    border-width: 2px;
}

.pd-spinner--lg {
    width: 28px;
    height: 28px;
    border-width: 3px;
}

.pd-spinner--primary {
    border-color: rgba(30, 58, 95, 0.2);
    border-top-color: var(--pd-primary);
}

.pd-spinner--secondary {
    border-color: rgba(37, 99, 235, 0.2);
    border-top-color: var(--pd-secondary);
}

/* ---- Dot Loading ---- */
.pd-loading-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.pd-loading-dots span {
    width: 6px;
    height: 6px;
    background-color: currentColor;
    border-radius: 50%;
    animation: pd-dotPulse 1.4s ease-in-out infinite;
}

.pd-loading-dots span:nth-child(1) { animation-delay: 0s; }
.pd-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.pd-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

/* ---- Skeleton Loading ---- */
.pd-skeleton {
    background: linear-gradient(
        90deg,
        var(--pd-gray-200) 0%,
        var(--pd-gray-100) 50%,
        var(--pd-gray-200) 100%
    );
    background-size: 200% 100%;
    animation: pd-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--pd-radius-md);
}

.pd-skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
    border-radius: var(--pd-radius-sm);
}

.pd-skeleton-text:last-child {
    width: 70%;
}

.pd-skeleton-circle {
    border-radius: 50%;
}

.pd-skeleton-card {
    background-color: var(--pd-white);
    border: 1px solid var(--pd-gray-200);
    border-radius: var(--pd-radius-xl);
    padding: var(--pd-space-6);
}

/* ---- Button Loading State ---- */
.pd-btn--loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.pd-btn--loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    margin-left: -9px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: pd-spin 0.8s linear infinite;
}

.pd-btn--outline.pd-btn--loading::after,
.pd-btn--ghost.pd-btn--loading::after {
    border-color: rgba(30, 58, 95, 0.2);
    border-top-color: var(--pd-primary);
}

/* ---- Progress Bar ---- */
.pd-progress-bar {
    height: 4px;
    background-color: var(--pd-gray-200);
    border-radius: var(--pd-radius-full);
    overflow: hidden;
}

.pd-progress-bar__fill {
    height: 100%;
    background: var(--pd-gradient-secondary);
    border-radius: var(--pd-radius-full);
    transition: width var(--pd-animation-duration-slow) var(--pd-animation-easing);
}

.pd-progress-bar--animated .pd-progress-bar__fill {
    animation: pd-progress 2s var(--pd-animation-easing);
}

.pd-progress-bar--indeterminate .pd-progress-bar__fill {
    width: 30%;
    animation: pd-progressIndeterminate 1.5s ease-in-out infinite;
}

@keyframes pd-progressIndeterminate {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(400%);
    }
}

/* ---- Enhanced Hover Effects ---- */

/* Cards with smooth hover */
.pd-card,
.pd-service-card,
.pd-pricing-card,
.pd-result {
    transition: transform var(--pd-transition-base),
                box-shadow var(--pd-transition-base),
                border-color var(--pd-transition-base);
}

/* Button hover shine effect */
.pd-btn--shine {
    position: relative;
    overflow: hidden;
}

.pd-btn--shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* Subtle sheen (keep corporate) */
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transition: left 0.5s ease;
}

.pd-btn--shine:hover::after {
    left: 100%;
}

/* Links with smooth underline */
.pd-link-animated {
    position: relative;
    text-decoration: none;
}

.pd-link-animated::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pd-secondary);
    transition: width var(--pd-animation-duration-fast) var(--pd-animation-easing);
}

.pd-link-animated:hover::after {
    width: 100%;
}

/* Icon hover bounce */
.pd-icon-bounce:hover svg {
    animation: pd-bounceSubtle 0.4s ease;
}

/* ---- Page Transitions ---- */
.pd-page-enter {
    animation: pd-fadeInUp var(--pd-animation-duration-slow) var(--pd-animation-easing);
}

/* ---- Form Focus Animations ---- */
.pd-input,
.pd-select,
.pd-textarea {
    transition: border-color var(--pd-animation-duration-fast) var(--pd-animation-easing),
                box-shadow var(--pd-animation-duration-fast) var(--pd-animation-easing),
                transform var(--pd-animation-duration-fast) var(--pd-animation-easing);
}

.pd-input:focus,
.pd-select:focus,
.pd-textarea:focus {
    transform: translateY(-1px);
}

/* ---- Hero Animations ---- */
.pd-hero-animate {
    animation: pd-fadeIn 0.6s var(--pd-animation-easing);
}

.pd-hero-animate .pd-hero__title,
.pd-hero-animate .pd-hero__badge {
    animation: pd-fadeInDown var(--pd-animation-duration-slow) var(--pd-animation-easing);
}

.pd-hero-animate .pd-hero__subtitle {
    animation: pd-fadeInUp var(--pd-animation-duration-slow) var(--pd-animation-easing);
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.pd-hero-animate .pd-search-box,
.pd-hero-animate .pd-search-wrapper {
    animation: pd-fadeInUp var(--pd-animation-duration-slow) var(--pd-animation-easing);
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

/* ---- Table Row Animations ---- */
.pd-table tbody tr {
    transition: background-color var(--pd-animation-duration-fast) var(--pd-animation-easing);
}

/* ---- Badge Pulse ---- */
.pd-badge-pulse {
    animation: pd-pulse 2s ease-in-out infinite;
}

/* ---- Modal Animations ---- */
.pd-modal-overlay {
    animation: pd-fadeIn var(--pd-animation-duration-fast) var(--pd-animation-easing);
}

.pd-modal-content {
    animation: pd-fadeInScale var(--pd-animation-duration-normal) var(--pd-animation-easing-spring);
}

/* ---- Toast/Alert Animations ---- */
.pd-toast-enter {
    animation: pd-slideInRight var(--pd-animation-duration-normal) var(--pd-animation-easing-spring);
}

.pd-toast-exit {
    animation: pd-fadeIn var(--pd-animation-duration-fast) var(--pd-animation-easing) reverse forwards;
}

/* ---- Section Header Animations ---- */
.pd-section-header-animated .pd-section-header__eyebrow {
    animation: pd-fadeInUp var(--pd-animation-duration-normal) var(--pd-animation-easing);
    animation-delay: 0s;
    animation-fill-mode: both;
}

.pd-section-header-animated .pd-section-header__title {
    animation: pd-fadeInUp var(--pd-animation-duration-normal) var(--pd-animation-easing);
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.pd-section-header-animated .pd-section-header__subtitle {
    animation: pd-fadeInUp var(--pd-animation-duration-normal) var(--pd-animation-easing);
    animation-delay: 0.15s;
    animation-fill-mode: both;
}

/* ---- Number Count Animation ---- */
.pd-count-up {
    transition: all 0.4s var(--pd-animation-easing);
}

/* ---- Hover Card Lift Effect ---- */
.pd-hover-lift {
    transition: transform var(--pd-animation-duration-fast) var(--pd-animation-easing),
                box-shadow var(--pd-animation-duration-fast) var(--pd-animation-easing);
}

.pd-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--pd-shadow-xl);
}

/* ---- Reduce Motion for Accessibility ---- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .pd-animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}
