/**
 * Professional UI/UX Enhancements v2.0
 * Modern, Clean, and Professional Design System
 */

/* ========================================
   CSS VARIABLES - Professional Color System
   ======================================== */
:root {
    /* Primary Colors */
    --pro-primary: #4A90E2;
    --pro-primary-dark: #1E6DB8;
    --pro-primary-light: #87CEEB;
    --pro-primary-rgb: 74, 144, 226;

    /* Secondary Colors */
    --pro-secondary: #1A365D;
    --pro-accent: #FF8C42;
    --pro-accent-light: #FFB07C;

    /* Semantic Colors */
    --pro-success: #10B981;
    --pro-warning: #F59E0B;
    --pro-danger: #EF4444;
    --pro-info: #3B82F6;

    /* Neutral Palette */
    --pro-white: #FFFFFF;
    --pro-gray-50: #F9FAFB;
    --pro-gray-100: #F3F4F6;
    --pro-gray-200: #E5E7EB;
    --pro-gray-300: #D1D5DB;
    --pro-gray-400: #9CA3AF;
    --pro-gray-500: #6B7280;
    --pro-gray-600: #4B5563;
    --pro-gray-700: #374151;
    --pro-gray-800: #1F2937;
    --pro-gray-900: #111827;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 40px rgba(74, 144, 226, 0.3);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

/* ========================================
   GLOBAL ENHANCEMENTS
   ======================================== */

/* Smooth Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--pro-gray-100);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--pro-primary), var(--pro-primary-dark));
    border-radius: 10px;
    border: 2px solid var(--pro-gray-100);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--pro-primary-dark), var(--pro-primary));
}

/* Selection */
::selection {
    background: rgba(74, 144, 226, 0.2);
    color: var(--pro-primary-dark);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Better Focus States */
*:focus-visible {
    outline: 3px solid rgba(74, 144, 226, 0.5);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* ========================================
   GLASSMORPHISM COMPONENTS
   ======================================== */

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-dark {
    background: rgba(26, 54, 93, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* ========================================
   PROFESSIONAL CARD STYLES
   ======================================== */

.pro-card {
    background: var(--pro-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--pro-gray-200);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.pro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pro-primary), var(--pro-accent));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.pro-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

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

/* Card with Glow */
.card-glow {
    position: relative;
}

.card-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--pro-primary), var(--pro-accent));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: opacity var(--transition-normal);
}

.card-glow:hover::after {
    opacity: 0.6;
}

/* Hover Effect Cards */
.card-hover-effect {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.card-hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

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

.btn-pro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-pro-primary {
    background: linear-gradient(135deg, var(--pro-primary), var(--pro-primary-dark));
    color: var(--pro-white);
    box-shadow: 0 4px 14px rgba(74, 144, 226, 0.4);
}

.btn-pro-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
}

.btn-pro-primary:active {
    transform: translateY(0);
}

.btn-pro-secondary {
    background: var(--pro-white);
    color: var(--pro-primary);
    border: 2px solid var(--pro-primary);
    box-shadow: var(--shadow-sm);
}

.btn-pro-secondary:hover {
    background: var(--pro-primary);
    color: var(--pro-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.3);
}

/* Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-ripple:hover::after {
    width: 300px;
    height: 300px;
}

/* Shine Effect */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

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

/* ========================================
   GRADIENT TEXT & EFFECTS
   ======================================== */

.text-gradient {
    background: linear-gradient(135deg, var(--pro-primary) 0%, var(--pro-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated Underline */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--pro-primary), var(--pro-accent));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    border-radius: 2px;
}

.animated-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ========================================
   PROFESSIONAL FORMS
   ======================================== */

.form-pro .form-control,
.form-pro .form-select {
    border: 2px solid var(--pro-gray-200);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    font-size: 1rem;
    transition: all var(--transition-normal);
    background: var(--pro-white);
}

.form-pro .form-control:focus,
.form-pro .form-select:focus {
    border-color: var(--pro-primary);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
    outline: none;
}

.form-pro .form-control::placeholder {
    color: var(--pro-gray-400);
}

/* Floating Labels */
.form-floating-pro {
    position: relative;
}

.form-floating-pro .form-control {
    padding: 24px 16px 8px;
}

.form-floating-pro label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--pro-gray-400);
    pointer-events: none;
    transition: all var(--transition-fast);
    background: var(--pro-white);
    padding: 0 4px;
}

.form-floating-pro .form-control:focus ~ label,
.form-floating-pro .form-control:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 0.75rem;
    color: var(--pro-primary);
}

/* ========================================
   SECTION STYLING
   ======================================== */

.section-pro {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--pro-gray-900);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--pro-gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(74, 144, 226, 0.1);
    color: var(--pro-primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Diagonal Sections */
.section-diagonal {
    position: relative;
    z-index: 1;
}

.section-diagonal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: inherit;
    transform: skewY(-3deg);
    transform-origin: top left;
    z-index: -1;
}

/* ========================================
   ANIMATED STATS
   ======================================== */

.stat-pro {
    text-align: center;
    padding: 30px;
}

.stat-pro-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--pro-white), rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-pro-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ========================================
   ANIMATIONS
   ======================================== */

/* Fade Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scale Animations */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* Rotate Animation */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Shimmer Animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Animation Classes */
.animate-fade-in { animation: fadeIn 0.6s ease-out; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out; }
.animate-fade-in-down { animation: fadeInDown 0.6s ease-out; }
.animate-fade-in-left { animation: fadeInLeft 0.6s ease-out; }
.animate-fade-in-right { animation: fadeInRight 0.6s ease-out; }
.animate-scale-in { animation: scaleIn 0.6s ease-out; }
.animate-zoom-in { animation: zoomIn 0.6s ease-out; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-bounce { animation: bounce 2s ease-in-out infinite; }
.animate-rotate { animation: rotate 10s linear infinite; }

/* Stagger Animation for Lists */
.stagger-animation > * {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   HOVER EFFECTS
   ======================================== */

.hover-lift {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.hover-scale {
    transition: transform var(--transition-normal);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: box-shadow var(--transition-normal);
}

.hover-glow:hover {
    box-shadow: var(--shadow-glow);
}

.hover-rotate {
    transition: transform var(--transition-normal);
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* ========================================
   SKELETON LOADING
   ======================================== */

.skeleton {
    background: linear-gradient(
        90deg,
        var(--pro-gray-200) 25%,
        var(--pro-gray-100) 50%,
        var(--pro-gray-200) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
}

.skeleton-title {
    height: 1.5em;
    width: 60%;
    margin-bottom: 1em;
}

.skeleton-image {
    height: 200px;
    width: 100%;
}

/* ========================================
   BADGES & TAGS
   ======================================== */

.badge-pro {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pro-primary {
    background: rgba(74, 144, 226, 0.1);
    color: var(--pro-primary);
}

.badge-pro-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--pro-success);
}

.badge-pro-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--pro-warning);
}

.badge-pro-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--pro-danger);
}

/* ========================================
   TOOLTIPS
   ======================================== */

.tooltip-pro {
    position: relative;
}

.tooltip-pro::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 8px 16px;
    background: var(--pro-gray-900);
    color: var(--pro-white);
    font-size: 0.875rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 1000;
}

.tooltip-pro::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--pro-gray-900);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.tooltip-pro:hover::before,
.tooltip-pro:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ========================================
   DIVIDERS
   ======================================== */

.divider-pro {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, var(--pro-primary), var(--pro-accent));
    border-radius: 2px;
    margin: 20px auto;
}

.divider-pro-left {
    margin-left: 0;
}

/* ========================================
   ICONS
   ======================================== */

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pro-primary), var(--pro-primary-dark));
    color: var(--pro-white);
    font-size: 1.5rem;
    box-shadow: 0 4px 14px rgba(74, 144, 226, 0.4);
}

.icon-circle-lg {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

.icon-circle-sm {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.icon-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--pro-primary);
    color: var(--pro-primary);
    font-size: 1.5rem;
    transition: all var(--transition-normal);
}

.icon-outline:hover {
    background: var(--pro-primary);
    color: var(--pro-white);
}

/* ========================================
   NAVBAR ENHANCEMENTS
   ======================================== */

.navbar-pro {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.navbar-pro.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.navbar-pro .nav-link {
    position: relative;
    font-weight: 500;
    color: var(--pro-gray-700) !important;
    transition: color var(--transition-fast);
}

.navbar-pro .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pro-primary), var(--pro-accent));
    transition: width var(--transition-normal);
    border-radius: 1px;
}

.navbar-pro .nav-link:hover::after,
.navbar-pro .nav-link.active::after {
    width: 80%;
}

.navbar-pro .nav-link:hover,
.navbar-pro .nav-link.active {
    color: var(--pro-primary) !important;
}

/* ========================================
   HERO SECTION ENHANCEMENTS
   ======================================== */

.hero-pro {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-pro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.9), rgba(30, 109, 184, 0.9));
    z-index: 1;
}

.hero-pro-content {
    position: relative;
    z-index: 2;
}

.hero-pro-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--pro-white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-pro-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Animated Background Shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 20%;
    animation: float 7s ease-in-out infinite;
}

/* ========================================
   FOOTER ENHANCEMENTS
   ======================================== */

.footer-pro {
    background: linear-gradient(180deg, var(--pro-secondary), #0f2847);
    color: var(--pro-white);
    position: relative;
    overflow: hidden;
}

.footer-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pro-primary), var(--pro-accent), var(--pro-primary));
}

.footer-pro a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-pro a:hover {
    color: var(--pro-primary-light);
}

.footer-social-pro a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--pro-white);
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    margin: 0 6px;
}

.footer-social-pro a:hover {
    background: var(--pro-primary);
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonial-pro {
    background: var(--pro-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.testimonial-pro::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    color: rgba(74, 144, 226, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-pro-content {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    color: var(--pro-gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-pro-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-pro-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pro-primary-light);
}

.testimonial-pro-name {
    font-weight: 600;
    color: var(--pro-gray-900);
    margin-bottom: 2px;
}

.testimonial-pro-role {
    font-size: 0.875rem;
    color: var(--pro-gray-500);
}

/* ========================================
   PRICING CARDS
   ======================================== */

.pricing-pro {
    background: var(--pro-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.pricing-pro:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.pricing-pro.featured {
    background: linear-gradient(135deg, var(--pro-primary), var(--pro-primary-dark));
    color: var(--pro-white);
}

.pricing-pro.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--pro-accent);
    color: var(--pro-white);
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.pricing-pro-price {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.pricing-pro-price span {
    font-size: 1rem;
    font-weight: 500;
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */

@media (max-width: 992px) {
    .section-pro {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-pro-title {
        font-size: 2.5rem;
    }

    .hero-pro-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .section-pro {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .stat-pro-number {
        font-size: 2.5rem;
    }

    .pricing-pro {
        padding: 30px;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .pro-card {
        border: 2px solid var(--pro-gray-900);
    }

    .btn-pro {
        border: 2px solid currentColor;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .navbar-pro,
    .footer-pro,
    .btn-pro {
        display: none !important;
    }

    .pro-card {
        box-shadow: none;
        border: 1px solid #000;
    }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

[data-theme="dark"] {
    --pro-white: #1F2937;
    --pro-gray-50: #111827;
    --pro-gray-100: #1F2937;
    --pro-gray-200: #374151;
    --pro-gray-300: #4B5563;
    --pro-gray-400: #6B7280;
    --pro-gray-500: #9CA3AF;
    --pro-gray-600: #D1D5DB;
    --pro-gray-700: #E5E7EB;
    --pro-gray-800: #F3F4F6;
    --pro-gray-900: #F9FAFB;

    --glass-bg: rgba(31, 41, 55, 0.85);
    --glass-border: rgba(75, 85, 99, 0.3);
}

[data-theme="dark"] body {
    background: #111827;
    color: #F9FAFB;
}

[data-theme="dark"] .navbar {
    background: rgba(31, 41, 55, 0.95);
    border-bottom-color: rgba(75, 85, 99, 0.3);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(31, 41, 55, 0.98);
}

[data-theme="dark"] .navbar-brand {
    color: var(--pro-primary-light) !important;
}

[data-theme="dark"] .nav-link {
    color: #E5E7EB !important;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: var(--pro-primary-light) !important;
}

[data-theme="dark"] .card,
[data-theme="dark"] .pro-card {
    background: #1F2937;
    border-color: #374151;
}

[data-theme="dark"] .card h1,
[data-theme="dark"] .card h2,
[data-theme="dark"] .card h3,
[data-theme="dark"] .card h4,
[data-theme="dark"] .card h5,
[data-theme="dark"] .card h6 {
    color: #F9FAFB;
}

[data-theme="dark"] .bg-light {
    background: #1F2937 !important;
}

[data-theme="dark"] .bg-white {
    background: #1F2937 !important;
}

[data-theme="dark"] .text-muted {
    color: #9CA3AF !important;
}

[data-theme="dark"] .text-dark {
    color: #F9FAFB !important;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: #F9FAFB;
}

[data-theme="dark"] p {
    color: #D1D5DB;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background: #374151;
    border-color: #4B5563;
    color: #F9FAFB;
}

[data-theme="dark"] .form-control::placeholder {
    color: #9CA3AF;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background: #374151;
    border-color: var(--pro-primary);
    color: #F9FAFB;
}

[data-theme="dark"] .shadow,
[data-theme="dark"] .shadow-sm,
[data-theme="dark"] .shadow-lg {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #1F2937;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    border-color: #1F2937;
}

/* Dark mode toggle button */
.dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pro-primary), var(--pro-primary-dark));
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
}

[data-theme="dark"] .dark-mode-toggle {
    background: linear-gradient(135deg, #FCD34D, #F59E0B);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

[data-theme="dark"] .dark-mode-toggle:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* ========================================
   ADDITIONAL UTILITY CLASSES
   ======================================== */

/* Text utilities */
.text-balance {
    text-wrap: balance;
}

.text-pretty {
    text-wrap: pretty;
}

/* Aspect ratio containers */
.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-portrait {
    aspect-ratio: 3 / 4;
}

/* Object fit utilities */
.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

/* Gap utilities */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.gap-5 { gap: 3rem; }

/* Custom container */
.container-tight {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.container-wide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Backdrop blur utilities */
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur { backdrop-filter: blur(8px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-lg { backdrop-filter: blur(16px); }
.backdrop-blur-xl { backdrop-filter: blur(24px); }

/* Ring utilities for focus states */
.ring-primary {
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.5);
}

.ring-accent {
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.5);
}

/* Line clamp for text truncation */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Smooth image loading */
.img-smooth {
    image-rendering: smooth;
    image-rendering: -webkit-optimize-contrast;
}

/* Gradient borders */
.border-gradient {
    position: relative;
    border: none;
}

.border-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(135deg, var(--pro-primary), var(--pro-accent));
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: xor;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

/* Shine overlay effect */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Noise texture overlay */
.noise-overlay {
    position: relative;
}

.noise-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}
