/* Enhanced Pricing Panel Styles */

.pricing-overview-enhanced {
    margin: 4rem 0;
    padding: 0 1rem;
}

.pricing-tiers-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.tier-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-height: 700px;
}

/* Mobile responsive fixes for tier cards */
@media (max-width: 480px) {
    .tier-card {
        padding: 1.5rem 1rem;
        min-height: 550px;
        margin-bottom: 1rem;
    }
    
    .tier-card.premium {
        padding-bottom: 2.5rem;
    }
}

.tier-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(103, 126, 234, 0.3);
    background: rgba(255, 255, 255, 0.98);
}

.tier-card.featured {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%, rgba(255, 255, 255, 0.95) 100%);
    transform: scale(1.05);
}

.tier-card.featured:hover {
    transform: scale(1.05) translateY(-12px);
}

.tier-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.popular-label {
    position: absolute;
    top: -1px;
    right: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.4rem 0.6rem;
    border-radius: 0 0 12px 12px;
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    box-shadow: 0 4px 12px rgba(103, 126, 234, 0.3);
    z-index: 10;
    max-width: 150px;
    line-height: 1.1;
    text-align: center;
}

.popular-label span {
    display: inline-block;
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
    font-size: inherit;
}

.tier-header {
    text-align: center;
    margin-bottom: 2rem;
    flex-shrink: 0;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tier-header h4 {
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
}

.tier-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 24px rgba(103, 126, 234, 0.3);
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tier-card.basic .tier-icon {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    box-shadow: 0 8px 24px rgba(72, 187, 120, 0.3);
}

.tier-card.basic:hover .tier-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(72, 187, 120, 0.4);
}

.tier-card.standard .tier-icon {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    box-shadow: 0 8px 24px rgba(66, 153, 225, 0.3);
}

.tier-card.standard:hover .tier-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(66, 153, 225, 0.4);
}

.tier-card.premium .tier-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 24px rgba(103, 126, 234, 0.3);
}

.tier-card.premium:hover .tier-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(103, 126, 234, 0.4);
}

.tier-card.enterprise .tier-icon {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    box-shadow: 0 8px 24px rgba(237, 137, 54, 0.3);
}

.tier-card.enterprise:hover .tier-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(237, 137, 54, 0.4);
}

.tier-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem 1rem;
    background: rgba(247, 250, 252, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
    min-height: 100px;
    align-content: center;
    box-sizing: border-box;
}

.price-prefix {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    margin-right: 0.25rem;
}

.price-amount {
    font-size: 2.25rem;
    font-weight: 900;
    color: #667eea;
    line-height: 1;
}

.tier-card.basic .price-amount {
    color: #48bb78;
}

.tier-card.standard .price-amount {
    color: #4299e1;
}

.tier-card.premium .price-amount {
    color: #667eea;
}

.tier-card.enterprise .price-amount {
    color: #ed8936;
}

.price-currency {
    font-size: 0.875rem;
    font-weight: 700;
    color: #7c3aed;
    margin-left: 0.25rem;
}

.price-period {
    font-size: 0.875rem;
    color: #64748b;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

.tier-features {
    margin-bottom: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.tier-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-height: 48px;
}

.tier-features .feature-item:hover {
    background: rgba(103, 126, 234, 0.05);
    border-radius: 8px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.tier-features .feature-item:last-child {
    border-bottom: none;
}

.tier-features .feature-item i {
    color: #48bb78;
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.tier-features .feature-item span {
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Enhanced ideal customer section */
.tier-ideal {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: auto;
    margin-bottom: 4px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    position: relative;
    overflow: visible;
    min-height: 80px;
    box-sizing: border-box;
}

.tier-ideal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0ea5e9, #3b82f6, #6366f1);
}

.tier-ideal i {
    font-size: 18px;
    color: #0ea5e9;
    background: rgba(14, 165, 233, 0.1);
    padding: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.tier-ideal span {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    flex: 1;
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Special styling for each tier */
.tier-card.basic .tier-ideal {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.tier-card.basic .tier-ideal::before {
    background: linear-gradient(90deg, #10b981, #059669, #047857);
}

.tier-card.basic .tier-ideal i {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.tier-card.standard .tier-ideal {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
}

.tier-card.standard .tier-ideal::before {
    background: linear-gradient(90deg, #f59e0b, #d97706, #b45309);
}

.tier-card.standard .tier-ideal i {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.tier-card.premium .tier-ideal {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
}

.tier-card.premium .tier-ideal::before {
    background: linear-gradient(90deg, #a855f7, #7c3aed, #6d28d9);
}

.tier-card.premium .tier-ideal i {
    color: #6d28d9;
    background: rgba(168, 85, 247, 0.08);
}

.tier-card.enterprise .tier-ideal {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

.tier-card.enterprise .tier-ideal::before {
    background: linear-gradient(90deg, #ec4899, #db2777, #be185d);
}

.tier-card.enterprise .tier-ideal i {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.1);
}

/* Hover effects */
.tier-card:hover .tier-ideal {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tier-card.premium:hover .tier-ideal {
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .tier-card {
        padding: 2rem 1.5rem;
        min-height: 600px;
    }
    
    .tier-header {
        min-height: 200px;
        margin-bottom: 1.5rem;
    }
    
    .tier-header h4 {
        font-size: 1.25rem;
        min-height: 32px;
        margin-bottom: 1rem;
    }
    
    .tier-price {
        padding: 1.25rem 1rem;
        min-height: 90px;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .tier-features {
        min-height: 180px;
    }
    
    .tier-ideal {
        min-height: 70px;
        padding: 16px 18px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .tier-ideal i {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .tier-ideal span {
        font-size: 13px;
    }
    
    .tier-ideal::after {
        bottom: auto;
        top: 100%;
        margin-top: 8px;
        font-size: 11px;
        max-width: 200px;
        white-space: normal;
        text-align: center;
    }
}

/* Animation for better UX */
@keyframes idealGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.tier-card.premium .tier-ideal::before {
    animation: idealGlow 2s ease-in-out infinite;
}

/* Additional emphasis for featured tier */
.tier-card.premium .tier-ideal {
    position: relative;
}

.tier-card.premium .tier-ideal span {
    position: relative;
}

/* Golden star in top-right corner of "Idealne dla" container */


.tier-card.premium .tier-ideal i::after {
    content: "⭐";
    position: absolute;
    top: -12px;
    right: -12px;
    font-size: 16px;
    color: #fbbf24;
    background: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(251, 191, 36, 0.3);
    z-index: 10;
    border: 2px solid #fbbf24;
}

/* Mobile responsive for golden star */
@media (max-width: 768px) {
    .tier-card.premium .tier-ideal i::after {
        font-size: 14px;
        width: 20px;
        height: 20px;
        top: -10px;
        right: -10px;
        border-width: 1px;
    }
}

@media (max-width: 480px) {
    .tier-card.premium .tier-ideal i::after {
        font-size: 12px;
        width: 18px;
        height: 18px;
        top: -9px;
        right: -9px;
        border-width: 1px;
    }
}

.tier-card.premium .tier-ideal span::after {
    position: absolute;
    bottom: -18px;
    left: 0;
    font-size: 11px;
    color: #7c3aed;
    font-weight: 500;
    opacity: 0.8;
}

/* Hide premium label on mobile to prevent overflow */
@media (max-width: 768px) {
    .tier-card.premium .tier-ideal span::after {
        display: none;
    }
}

/* Tooltip functionality for tier-ideal sections */
.tier-ideal {
    position: relative;
    cursor: help;
}

.tier-ideal::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.tier-ideal:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Pulse animation for better attention */
.tier-ideal {
    animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.3);
    }
    50% { 
        box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.1);
    }
}

/* Package-specific pulse colors */
.tier-card.basic .tier-ideal {
    animation: basicPulse 3s ease-in-out infinite;
}

@keyframes basicPulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3);
    }
    50% { 
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1);
    }
}

.tier-card.standard .tier-ideal {
    animation: standardPulse 3s ease-in-out infinite;
}

@keyframes standardPulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.3);
    }
    50% { 
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.1);
    }
}

.tier-card.premium .tier-ideal {
    animation: premiumPulse 3s ease-in-out infinite;
}

@keyframes premiumPulse {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2), 0 0 0 0 rgba(168, 85, 247, 0.3);
    }
    50% { 
        box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2), 0 0 0 8px rgba(168, 85, 247, 0.1);
    }
}

.tier-card.enterprise .tier-ideal {
    animation: enterprisePulse 3s ease-in-out infinite;
}

@keyframes enterprisePulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.3);
    }
    50% { 
        box-shadow: 0 0 0 8px rgba(236, 72, 153, 0.1);
    }
}

/* Enhanced visual indicators */
.tier-ideal span {
    position: relative;
    display: inline-block;
}

.tier-ideal span::before {
    content: "💼";
    margin-right: 6px;
    font-size: 14px;
}

/* Stop animations on hover for better UX */
.tier-ideal:hover {
    animation-play-state: paused;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .tier-ideal {
        animation: none;
    }
}

/* Focus states for keyboard navigation */
.tier-ideal:focus-within {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Enhanced mobile styling for tooltips */
@media (max-width: 768px) {
    .tier-ideal::after {
        bottom: auto;
        top: 100%;
        margin-top: 8px;
        font-size: 11px;
        max-width: 200px;
        white-space: normal;
        text-align: center;
    }
}

/* Pricing Features Comparison */
.pricing-features-comparison {
    margin: 6rem 0 4rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 4rem 2rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.comparison-header {
    text-align: center;
    margin-bottom: 4rem;
}

.comparison-header h3 {
    color: #1a202c;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.comparison-header p {
    color: #64748b;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced pricing table styling */
.features-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    margin: 2rem 0;
}

.table-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    padding: 24px 0;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table-header .feature-name {
    padding-left: 24px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.table-header .package-col {
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    padding: 12px 8px;
    word-wrap: break-word;
    hyphens: auto;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    margin: 0 4px;
    color: #1f2937;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 16px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    position: relative;
}

.table-row:hover {
    background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 100%);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row .feature-name {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 24px;
    font-weight: 600;
    color: #1f2937;
    font-size: 15px;
}

.table-row .feature-name i {
    font-size: 18px;
    color: #667eea;
    width: 24px;
    height: 24px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.table-row:hover .feature-name i {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.table-row .package-col {
    text-align: center;
    font-weight: 600;
    color: #1f2937;
    padding: 16px 12px;
    border-radius: 12px;
    position: relative;
    font-size: 14px;
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
    line-height: 1.5;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin: 0 4px;
}

/* Enhanced package column styling */
.table-row .package-col.basic {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #22c55e;
    color: #047857;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
}

.table-row .package-col.basic:hover {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.table-row .package-col.standard {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-color: #f59e0b;
    color: #b45309;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.table-row .package-col.standard:hover {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.table-row .package-col.premium {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-color: #a855f7;
    color: #6d28d9;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.25);
    position: relative;
}

.table-row .package-col.premium::before {
    content: "⭐";
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 12px;
    background: #fbbf24;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.table-row .package-col.premium:hover {
    background: linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(168, 85, 247, 0.3);
}

.table-row .package-col.enterprise {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border-color: #ec4899;
    color: #be185d;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.15);
}

.table-row .package-col.enterprise:hover {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

/* Mobile-friendly pricing comparison enhancement */
.mobile-pricing-comparison {
    display: none;
    gap: 20px;
    margin-top: 30px;
}

.mobile-package {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    position: relative;
}

.mobile-package h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.mobile-package .price {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 20px;
}

.mobile-package .features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-package .features li {
    padding: 8px 16px 8px 24px;
    color: #4b5563;
    font-size: 14px;
    position: relative;
}

.mobile-package .features li::before {
    content: "✓";
    position: absolute;
    left: 4px;
    color: #10b981;
    font-weight: 600;
}

/* Special styling for featured mobile package */
.mobile-package:nth-child(3) {
    border: 2px solid #a855f7;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.2);
}

.mobile-package:nth-child(3)::before {
    content: "⭐ Najpopularniejszy";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .table-header {
        grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
        gap: 12px;
        padding: 16px 0;
    }
    
    .table-header .feature-name {
        padding-left: 16px;
        font-size: 14px;
    }
    
    .table-header .package-col {
        font-size: 12px;
        padding: 0 4px;
    }
    
    .table-row {
        grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
        gap: 12px;
        padding: 16px 0;
    }
    
    .table-row .feature-name {
        padding-left: 16px;
        font-size: 14px;
    }
    
    .table-row .package-col {
        font-size: 13px;
        padding: 8px 4px;
        min-height: 44px;
    }
}

@media (max-width: 768px) {
    .features-table {
        display: none;
    }
    
    .mobile-pricing-comparison {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .mobile-pricing-comparison {
        grid-template-columns: 1fr;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .table-header .package-col,
    .table-row .package-col {
        display: none;
    }
}

/* Enhanced mobile package styling */
.mobile-package:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mobile-package h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 8px;
}

.mobile-package h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

/* Special styling for "Idealne dla" items in mobile */
.mobile-package .features li:nth-last-child(-n+2) {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 12px 20px 12px 32px;
    margin: 8px 0;
    font-weight: 600;
    color: #0f172a;
    position: relative;
}

.mobile-package .features li:nth-last-child(-n+2)::before {
    content: "👥";
    color: #0ea5e9;
    font-size: 16px;
    font-weight: normal;
    left: 4px;
}

.mobile-package .features li:nth-last-child(1)::before {
    content: "📞";
    color: #0ea5e9;
    left: 4px;
}

/* Package-specific colors for mobile ideal sections */
.mobile-package:nth-child(1) h4::after {
    background: linear-gradient(90deg, #10b981, #059669);
}

.mobile-package:nth-child(1) .features li:nth-last-child(-n+2) {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #bbf7d0;
    color: #047857;
}

.mobile-package:nth-child(1) .features li:nth-last-child(-n+2)::before {
    color: #10b981;
}

.mobile-package:nth-child(2) h4::after {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.mobile-package:nth-child(2) .features li:nth-last-child(-n+2) {
    background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    border-color: #fbbf24;
    color: #b45309;
}

.mobile-package:nth-child(2) .features li:nth-last-child(-n+2)::before {
    color: #f59e0b;
}

.mobile-package:nth-child(3) h4::after {
    background: linear-gradient(90deg, #a855f7, #7c3aed);
}

.mobile-package:nth-child(3) .features li:nth-last-child(-n+2) {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-color: #a855f7;
    color: #6d28d9;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.2);
}

.mobile-package:nth-child(3) .features li:nth-last-child(-n+2)::before {
    color: #a855f7;
}

.mobile-package:nth-child(4) h4::after {
    background: linear-gradient(90deg, #ec4899, #db2777);
}

.mobile-package:nth-child(4) .features li:nth-last-child(-n+2) {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border-color: #ec4899;
    color: #be185d;
}

.mobile-package:nth-child(4) .features li:nth-last-child(-n+2)::before {
    color: #ec4899;
}

/* Enhanced CTA Section */
.pricing-cta-enhanced {
    margin: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    border-radius: 32px;
    border: 1px solid rgba(103, 126, 234, 0.3);
    backdrop-filter: blur(10px);
}

.cta-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.cta-shape-1 {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.cta-shape-2 {
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 5rem 3rem;
    text-align: center;
}

.cta-header {
    margin-bottom: 4rem;
}

.cta-header h3 {
    color: white;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-header p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.375rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.cta-feature:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.cta-feature i {
    color: white;
    font-size: 1.75rem;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.cta-feature span {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-enhanced {
    position: relative;
    overflow: hidden;
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.btn-enhanced:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 4s ease-in-out infinite;
}

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

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.guarantee-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 8px 24px rgba(72, 187, 120, 0.3);
    flex-shrink: 0;
}

.guarantee-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.guarantee-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.guarantee-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Enhanced Overview Grid and Button Styles */
.key-features-overview {
    margin: 4rem 0;
    padding: 0 1rem;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.overview-item {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.overview-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(103, 126, 234, 0.3);
    background: rgba(255, 255, 255, 1);
}

.overview-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(103, 126, 234, 0.05), transparent);
    transition: left 0.6s ease;
}

.overview-item:hover::before {
    left: 100%;
}

.overview-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 24px rgba(103, 126, 234, 0.3);
}

.overview-item:hover .overview-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(103, 126, 234, 0.4);
}

.overview-item h3 {
    font-size: 1.4rem;
    color: #1a202c;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    line-height: 1.3;
}

.overview-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-badge {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 700;
    display: inline-block;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(72, 187, 120, 0.4);
}

/* Enhanced Button Styles */
.features-toggle {
    text-align: center;
    margin: 4rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(103, 126, 234, 0.1);
    box-shadow: 0 4px 20px rgba(103, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.features-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.features-toggle:hover::before {
    opacity: 1;
}

.btn-enhanced {
    position: relative;
    overflow: hidden;
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.btn-enhanced:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 4s ease-in-out infinite;
}

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

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.guarantee-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    box-shadow: 0 8px 24px rgba(72, 187, 120, 0.3);
    flex-shrink: 0;
}

.guarantee-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.guarantee-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.guarantee-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Enhanced Button Styles */
.features-toggle {
    text-align: center;
    margin: 4rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(103, 126, 234, 0.1);
    box-shadow: 0 4px 20px rgba(103, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.features-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.features-toggle:hover::before {
    opacity: 1;
}

/* Additional Button Enhancements */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(103, 126, 234, 0.3);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.1);
    color: white;
}

/* Toggle Button Specific Styles with Higher Specificity */
#toggleFeatureDetails {
    min-width: 350px !important;
    position: relative !important;
    z-index: 1000 !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: 2px solid #667eea !important;
    box-shadow: 0 8px 25px rgba(103, 126, 234, 0.3) !important;
    padding: 1.25rem 2.5rem !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    border-radius: 15px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    cursor: pointer !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

#toggleFeatureDetails:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%) !important;
    color: white !important;
    border-color: #5a67d8 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 40px rgba(103, 126, 234, 0.4) !important;
}

#toggleFeatureDetails.active {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%) !important;
    border-color: #48bb78 !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(72, 187, 120, 0.3) !important;
}

#toggleFeatureDetails.active:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%) !important;
    color: white !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 40px rgba(72, 187, 120, 0.4) !important;
}

#toggleFeatureDetails i {
    font-size: 1.1rem !important;
    transition: transform 0.3s ease !important;
    color: white !important;
}

#toggleFeatureDetails.active i {
    transform: rotate(45deg) !important;
}

/* Additional Override for Feature Toggle Button */
.features-toggle .btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: 2px solid #667eea !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    padding: 1.25rem 2.5rem !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(103, 126, 234, 0.3) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    min-width: 350px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.features-toggle .btn-secondary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%) !important;
    color: white !important;
    border-color: #5a67d8 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 40px rgba(103, 126, 234, 0.4) !important;
}

.features-toggle .btn-secondary i {
    color: white !important;
    font-size: 1.1rem !important;
}

.features-toggle .btn-secondary:hover i {
    color: white !important;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .pricing-tiers-enhanced {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .tier-card.featured {
        transform: none;
    }
    
    .tier-card.featured:hover {
        transform: translateY(-12px);
    }
    
    .price-amount {
        font-size: 2.25rem;
    }

    .overview-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .pricing-tiers-enhanced {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }
    
    .tier-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
    
    .tier-header {
        min-height: auto;
        margin-bottom: 2rem;
    }
    
    .tier-header h4 {
        font-size: 1.25rem;
        min-height: auto;
        margin-bottom: 1rem;
    }
    
    .tier-features {
        min-height: auto;
    }
    
    .tier-ideal {
        min-height: auto;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .tier-price {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
        min-height: auto;
    }
    
    .price-period {
        width: auto;
        margin-top: 0.25rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .features-table {
        grid-template-columns: 1fr;
        gap: 1px;
    }
    
    .table-header,
    .table-row {
        display: block;
    }
    
    .table-header > div,
    .table-row > div {
        display: block;
        text-align: left;
        padding: 1.5rem;
    }
    
    .table-header > div:first-child,
    .table-row > div:first-child {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        font-weight: 800;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        font-size: 1.25rem;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-content {
        padding: 3rem 1.5rem;
    }
    
    .cta-header h3 {
        font-size: 2.25rem;
    }
    
    .cta-header p {
        font-size: 1.125rem;
    }
    
    .popular-label {
        right: 0.5rem;
        padding: 0.3rem 0.5rem;
        font-size: 0.6rem;
        max-width: 130px;
        gap: 0.2rem;
        border-radius: 0 0 10px 10px;
    }
    
    .tier-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
    
    .pricing-features-comparison {
        padding: 2rem 1rem;
    }
    
    .comparison-header h3 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-enhanced {
        transform: none;
        width: 100%;
        max-width: 300px;
    }
    
    .btn-enhanced:hover {
        transform: translateY(-2px);
    }

    .overview-item {
        padding: 2rem 1.5rem;
    }
    
    .overview-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .overview-item h3 {
        font-size: 1.2rem;
    }
    
    .overview-item p {
        font-size: 0.9rem;
    }
    
    .feature-badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
    
    #toggleFeatureDetails {
        min-width: 280px;
    }
}

@media (max-width: 640px) {
    .tier-card {
        padding: 1.5rem 1rem;
        min-height: 550px;
    }
    
    .tier-header {
        min-height: 180px;
    }
    
    .tier-header h4 {
        font-size: 1.125rem;
        min-height: 28px;
    }
    
    .tier-price {
        padding: 1rem 0.75rem;
        min-height: 80px;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .price-amount {
        font-size: 1.75rem;
    }
    
    .price-currency {
        font-size: 0.875rem;
    }
    
    .price-period {
        width: auto;
        margin-top: 0.25rem;
        font-size: 0.8rem;
    }
    
    .tier-features {
        min-height: 160px;
    }
    
    .tier-features .feature-item {
        min-height: 42px;
        padding: 0.5rem 0.75rem;
    }
    
    .tier-features .feature-item span {
        font-size: 0.875rem;
    }
    
    .tier-ideal {
        min-height: 60px;
        padding: 14px 16px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .tier-ideal i {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .tier-ideal span {
        font-size: 12px;
    }
    
    .tier-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
    
    .pricing-overview-enhanced {
        padding: 0 0.5rem;
    }
    
    .pricing-tiers-enhanced {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .popular-label {
        right: 0.25rem;
        padding: 0.25rem 0.4rem;
        font-size: 0.55rem;
        max-width: 110px;
        gap: 0.15rem;
        border-radius: 0 0 8px 8px;
    }
    
    .popular-label span {
        line-height: 1.05;
        font-size: inherit;
    }
} 

/* CLIENTS SECTION STYLES */
.clients {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(247, 250, 252, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    position: relative;
    overflow: hidden;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="clients-bg" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(103,126,234,0.03)"/><stop offset="100%" style="stop-color:rgba(103,126,234,0)"/></radialGradient></defs><circle cx="800" cy="200" r="400" fill="url(%23clients-bg)"/><circle cx="200" cy="800" r="300" fill="url(%23clients-bg)"/></svg>') center/cover;
    opacity: 0.4;
    pointer-events: none;
}

.clients .container {
    position: relative;
    z-index: 1;
}

.clients-header {
    text-align: center;
    margin-bottom: 5rem;
}

.clients-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border: 1px solid rgba(103, 126, 234, 0.2);
    box-shadow: 0 4px 12px rgba(103, 126, 234, 0.15);
    backdrop-filter: blur(10px);
}

.clients-badge i {
    font-size: 1rem;
}

.clients .section-title {
    color: #1a202c;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.clients .title-highlight {
    color: #667eea;
}

.clients .title-accent {
    color: #48bb78;
}

.clients .section-subtitle {
    color: #64748b;
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Clients Carousel */
.clients-carousel-container {
    margin: 4rem 0;
    overflow: hidden;
    position: relative;
}

.clients-carousel {
    display: flex;
    align-items: center;
    animation: scroll-logos 20s linear infinite;
    gap: 4rem;
    width: calc(200% + 4rem);
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    min-width: 220px;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 250, 252, 0.95) 100%);
    border-radius: 20px;
    border: 1px solid rgba(103, 126, 234, 0.1);
    box-shadow: 0 4px 12px rgba(103, 126, 234, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.client-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.client-slide:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(103, 126, 234, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(247, 250, 252, 1) 100%);
    border-color: rgba(103, 126, 234, 0.2);
}

.client-slide:hover::before {
    opacity: 1;
}

.client-logo {
    max-width: 160px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.4s ease;
    opacity: 0.8;
    filter: brightness(1.1) contrast(1.1) saturate(0.9);
}

.client-slide:hover .client-logo {
    opacity: 1;
    transform: scale(1.08);
    filter: brightness(1) contrast(1) saturate(1);
}

/* Add subtle colored border top for visual interest */
.client-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #48bb78 0%, 
        #4299e1 25%, 
        #667eea 50%, 
        #a855f7 75%, 
        #ec4899 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.client-slide:hover::after {
    opacity: 1;
}

/* Enhanced client slide variations for visual diversity */
.client-slide:nth-child(4n+1) {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.03) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.client-slide:nth-child(4n+1):hover {
    border-color: rgba(72, 187, 120, 0.2);
    box-shadow: 0 12px 32px rgba(72, 187, 120, 0.15);
}

.client-slide:nth-child(4n+2) {
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.03) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.client-slide:nth-child(4n+2):hover {
    border-color: rgba(66, 153, 225, 0.2);
    box-shadow: 0 12px 32px rgba(66, 153, 225, 0.15);
}

.client-slide:nth-child(4n+3) {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.03) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.client-slide:nth-child(4n+3):hover {
    border-color: rgba(168, 85, 247, 0.2);
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.15);
}

.client-slide:nth-child(4n+4) {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.03) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.client-slide:nth-child(4n+4):hover {
    border-color: rgba(236, 72, 153, 0.2);
    box-shadow: 0 12px 32px rgba(236, 72, 153, 0.15);
}

/* Pause animation on hover */
.clients-carousel-container:hover .clients-carousel {
    animation-play-state: paused;
}

/* Clients Stats */
.clients-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #667eea;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.stat-label {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .clients-carousel {
        gap: 3rem;
    }
    
    .client-slide {
        min-width: 200px;
        height: 110px;
        padding: 1.25rem;
    }
    
    .client-logo {
        max-width: 140px;
        max-height: 70px;
    }
}

@media (max-width: 768px) {
    .clients {
        padding: 4rem 0;
    }
    
    .clients-header {
        margin-bottom: 3rem;
    }
    
    .clients .section-title {
        font-size: 2.5rem;
    }
    
    .clients .section-subtitle {
        font-size: 1.125rem;
    }
    
    .clients-carousel {
        gap: 2rem;
        animation-duration: 15s;
    }
    
    .client-slide {
        min-width: 180px;
        height: 100px;
        padding: 1rem;
    }
    
    .client-logo {
        max-width: 130px;
        max-height: 60px;
    }
    
    .clients-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 3rem auto 0;
        padding: 2rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .clients .section-title {
        font-size: 2rem;
    }
    
    .clients .section-subtitle {
        font-size: 1rem;
    }
    
    .clients-carousel {
        gap: 1.5rem;
        animation-duration: 12s;
    }
    
    .client-slide {
        min-width: 160px;
        height: 90px;
        padding: 0.75rem;
    }
    
    .client-logo {
        max-width: 120px;
        max-height: 50px;
    }
    
    .clients-stats {
        padding: 1.5rem 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
}

/* Additional animation effects */
@media (prefers-reduced-motion: reduce) {
    .clients-carousel {
        animation: none;
    }
    
    .client-slide {
        margin-right: 2rem;
    }
    
    .client-slide:hover {
        transform: none;
    }
    
    .client-logo {
        transition: none;
    }
} 

/* Enhanced button styles for anchor elements */
a.btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1rem 2rem !important;
    border-radius: 12px !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

a.btn:hover, a.btn:focus {
    text-decoration: none !important;
    outline: none !important;
}

/* Hero phone button with distinct styling */
.hero-phone-btn {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%) !important;
    color: white !important;
    border: 2px solid #48bb78 !important;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3) !important;
}

.hero-phone-btn:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%) !important;
    color: white !important;
    border-color: #38a169 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(72, 187, 120, 0.4) !important;
}

.hero-phone-btn i {
    animation: phoneRing 2s ease-in-out infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(10deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-10deg); }
    50% { transform: rotate(0deg); }
}

/* Ensure proper display for all button variants */
a.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: 2px solid #667eea !important;
}

a.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(103, 126, 234, 0.4) !important;
} 

/* ROI Toggle Button Specific Styles */
.roi-toggle {
    text-align: center;
    margin: 3rem 0;
}

#toggleRoiDetails {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: 2px solid #667eea !important;
    padding: 1.2rem 2.5rem !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(103, 126, 234, 0.3) !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    cursor: pointer !important;
    text-decoration: none !important;
    min-width: 280px !important;
}

#toggleRoiDetails:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%) !important;
    color: white !important;
    border-color: #5a67d8 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(103, 126, 234, 0.4) !important;
}

#toggleRoiDetails.active {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%) !important;
    border-color: #48bb78 !important;
    color: white !important;
}

#toggleRoiDetails.active:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%) !important;
    color: white !important;
}

#toggleRoiDetails i {
    font-size: 1rem !important;
    transition: transform 0.3s ease !important;
}

#toggleRoiDetails.active i {
    transform: rotate(45deg) !important;
}

/* Ensure button is visible and properly displayed */
.roi-toggle .btn-secondary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: 2px solid #667eea !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1.2rem 2.5rem !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(103, 126, 234, 0.3) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    min-width: 280px !important;
}

.roi-toggle .btn-secondary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%) !important;
    color: white !important;
    border-color: #5a67d8 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(103, 126, 234, 0.4) !important;
} 

/* Additional button text styling */
.btn-text-full,
.btn-text-short {
    color: inherit !important;
    font-weight: inherit !important;
}

/* Enhanced benefit icons for new items */
.benefit-item .benefit-icon i.fa-calculator {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.benefit-item .benefit-icon i.fa-expand-arrows-alt {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

/* Enhanced benefit item styling */
    .benefit-item {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.benefit-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-item:hover::after {
    opacity: 1;
}

/* Special highlighting for new benefit items */
.benefit-item:nth-child(5) {
    border-color: rgba(16, 185, 129, 0.2);
}

.benefit-item:nth-child(5):hover {
    border-color: #10b981;
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.2);
}

.benefit-item:nth-child(6) {
    border-color: rgba(139, 92, 246, 0.2);
}

.benefit-item:nth-child(6):hover {
    border-color: #8b5cf6;
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.2);
} 
