/* ENHANCED STYLES FOR IMPROVEMENTS */

/* Logo in Navigation */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 32px;
    width: auto;
}

/* Enhanced Navigation Dropdowns */
.nav-item {
    position: relative;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    min-width: 280px;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: var(--primary-50);
    color: var(--primary-600);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--primary-500);
}

.dropdown-item div {
    flex: 1;
}

.dropdown-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.dropdown-item span {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* Breadcrumb Navigation */
.breadcrumb-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary-700);
}

.breadcrumb-separator {
    color: var(--text-tertiary);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

/* Trust Banner */
.trust-banner {
    background: linear-gradient(135deg, var(--color-success-500), var(--color-success-600));
    color: white;
    padding: 16px 0;
    box-shadow: 0 2px 10px rgba(39, 174, 96, 0.2);
    position: relative;
    overflow: hidden;
}

.trust-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: trustShine 3s ease-in-out infinite;
}

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

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.trust-item i {
    font-size: 16px;
    opacity: 0.9;
}

/* Enhanced Pricing Section */
.pricing-header {
    max-width: 600px;
    margin: 0 auto;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.billing-option {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.billing-option.active {
    color: var(--primary-600);
}

.save-badge {
    background: var(--secondary-500);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--gray-300);
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary-500);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* Comparison Controls */
.comparison-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.selected-plans {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gray-100);
    border-radius: 8px;
}

.selected-plan-tags {
    display: flex;
    gap: 4px;
}

.plan-tag {
    background: var(--primary-500);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* Enhanced Pricing Cards */
.card-pricing {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.card-pricing:hover {
    border-color: var(--primary-200);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-pricing.featured {
    border-color: var(--secondary-500);
    box-shadow: 0 10px 30px rgba(var(--secondary-500-rgb), 0.2);
}

.plan-header {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
}

.plan-compare {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary-500);
}

.plan-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

/* Enhanced Price Display */
.price {
    text-align: center;
    margin-bottom: 24px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
    vertical-align: top;
}

.amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.cents {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
    vertical-align: top;
}

.period {
    font-size: 16px;
    color: var(--text-secondary);
    margin-left: 8px;
}

.annual-savings {
    text-align: center;
    margin-bottom: 16px;
}

.save-amount {
    background: var(--success-100);
    color: var(--success-700);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.5;
}

.feature-item i {
    margin-top: 2px;
    font-size: 12px;
}

/* Plan Footer */
.plan-footer {
    text-align: center;
}

.guarantee-text {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 12px;
    margin-bottom: 0;
}

/* Trust Indicators */
.trust-indicators {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.trust-indicators .trust-item {
    text-align: center;
}

/* Comparison Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
}

.modal-body {
    padding: 32px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.1);
        margin-top: 8px;
    }
    
    .trust-items {
        gap: 16px;
    }
    
    .trust-item {
        font-size: 12px;
    }
    
    .billing-toggle {
        flex-direction: column;
        gap: 12px;
    }
    
    .comparison-controls {
        flex-direction: column;
    }
}