/* Pricing Section Styles - Ultra Modern Dark Theme */

.pricing-hero {
    padding: 8rem 0 4rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bott/* Tooltip Icon */
.tooltip-icon {
    margin-left: auto;
    font-size: 0.7rem;
    color: #9ca3af !important;
    cursor: help;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.feature-item:hover .tooltip-icon {
    opacity: 1;
    color: #d1d5db !important;
}ground: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
}

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

.pricing-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Price Toggle */
.price-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    padding: 1rem;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid var(--border-glass);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.toggle-option {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-tertiary);
    transition: all var(--animation-speed) var(--animation-ease);
    cursor: pointer;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    position: relative;
}

.toggle-option.active {
    color: var(--text-primary);
    background: var(--gradient-card);
    border: 1px solid var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.savings-badge {
    background: var(--accent-gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

/* Pricing Grid */
.pricing-container {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.container-full {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-carousel {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
}

/* Carousel Indicators (Mobile Only) */
.carousel-indicators {
    display: none;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-primary);
    transform: scale(1.3);
}

/* Pricing Cards */
.pricing-card {
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none;
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 1.5rem 1.2rem !important;
    text-align: center;
    position: relative;
    transition: all var(--animation-speed) var(--animation-ease);
    display: flex;
    flex-direction: column;
    min-height: 520px;
}

/* Free Plan - Green Glow */
.pricing-card:nth-child(1) {
    border-color: #10b981;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.pricing-card:nth-child(1):hover {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

/* Basic Plan - Cyan Glow */
.pricing-card:nth-child(2) {
    border-color: #06b6d4;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}

.pricing-card:nth-child(2):hover {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

/* Advance Plan - Blue Glow */
.pricing-card:nth-child(3) {
    border-color: #3b82f6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.pricing-card:nth-child(3):hover {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

/* Professional Plan - Purple Glow (Most Popular) */
.pricing-card.popular,
.pricing-card:nth-child(4) {
    border: 1.5px solid var(--accent-primary);
    box-shadow: 0 0 35px rgba(88, 166, 255, 0.4);
    position: relative;
    overflow: visible;
    animation: borderPulse 3s ease-in-out infinite;
}

.pricing-card.popular:hover,
.pricing-card:nth-child(4):hover {
    box-shadow: 0 0 45px rgba(255, 255, 255, 0.5);
}

/* Enterprise Plan - Pink Glow */
.pricing-card:nth-child(5) {
    border-color: #ec4899;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
}

.pricing-card:nth-child(5):hover {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

@keyframes borderPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(88, 166, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 50px rgba(88, 166, 255, 0.6);
    }
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(88, 166, 255, 0.4);
    animation: float-badge 3s ease-in-out infinite;
    white-space: nowrap;
    z-index: 10;
}

/* Alternate badge for non-popular cards */
.pricing-card:not(.popular) .popular-badge {
    background: transparent;
    border: 1px solid var(--border-glow);
    color: var(--text-secondary);
    box-shadow: none;
}

@keyframes float-badge {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-2px); }
}

/* Plan Header */
.plan-header {
    margin-bottom: 1.2rem;
    background: transparent !important;
    padding: 0 !important;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff !important;
    margin-bottom: 0.3rem;
    background: transparent !important;
    padding: 0 !important;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 0.3rem;
    padding: 0 !important;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-amount.enterprise-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff !important;
    background: none;
    -webkit-text-fill-color: #ffffff;
}

.price-period {
    font-size: 0.9rem;
    color: #ffffff;
    opacity: 0.6;
}

.plan-description {
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1.3;
    opacity: 0.6;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0 !important;
    margin: 1rem 0 0 0 !important;
    flex-grow: 1;
    background: transparent !important;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0 !important;
    margin: 0 !important;
    font-size: 0.85rem;
    position: relative;
    color: #ffffff !important;
    background: transparent !important;
}

.feature-item::before {
    content: "✓";
    margin-right: 0;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
    order: -1 !important; /* Always first */
}

.feature-included::before {
    content: "✓";
    color: #10b981;
}

.feature-not-included::before {
    content: "✗";
    color: #ef4444;
}

.feature-not-included {
    color: #ffffff !important;
    opacity: 1 !important;
}

.feature-item span {
    color: #ffffff !important;
    flex: 1;
    text-align: left;
    order: 0 !important; /* Always second (after -1) */
}

.feature-item .tooltip-icon {
    order: 1 !important; /* Always third (after 0) */
}

/* Tooltip Icon */
.tooltip-icon {
    margin-left: auto;
    font-size: 0.7rem;
    color: #9ca3af !important;
    cursor: help;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
    order: 1 !important;
}

.feature-item:hover .tooltip-icon {
    opacity: 1;
    color: #d1d5db !important;
}

/* Tooltip - Shows on hover and tap */
.feature-item[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: rgba(20, 24, 35, 0.98);
    color: #ffffff;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid var(--border-glow);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.feature-item:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Mobile: Show tooltip on tap */
@media (max-width: 768px) {
    .feature-item.active::after {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    
    /* On mobile, ensure consistent ordering */
    .feature-item::before {
        order: -1 !important;
    }
    
    .feature-item span {
        order: 0 !important;
    }
    
    .tooltip-icon {
        order: 1 !important;
    }
}

/* CTA Button */
.plan-cta {
    margin-top: auto;
    padding-top: 1rem;
    background: transparent !important;
}

.cta-button {
    width: 100%;
    padding: 0.75rem 1.2rem;
    background: transparent !important;
    border: 1px solid var(--border-glow);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--animation-speed) var(--animation-ease);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(88, 166, 255, 0.3);
}

.pricing-card.popular .cta-button {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.3);
}

.pricing-card.popular .cta-button:hover {
    box-shadow: 0 0 30px rgba(88, 166, 255, 0.5);
}

/* Mobile Carousel for Pricing */
@media (max-width: 1200px) {
    .pricing-carousel {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .pricing-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 0 1rem 2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .pricing-carousel::-webkit-scrollbar {
        display: none;
    }
    
    .pricing-card {
        min-width: 270px;
        max-width: 270px;
        scroll-snap-align: center;
        flex-shrink: 0;
        padding: 1.3rem 1rem;
        min-height: 500px;
    }
    
    .carousel-indicators {
        display: flex;
    }
    
    .pricing-hero h1 {
        font-size: 2.5rem;
    }
    
    .pricing-hero p {
        font-size: 1.1rem;
    }
    
    .price-toggle {
        max-width: 320px;
        gap: 0.5rem;
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .toggle-option {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
    
    .savings-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .plan-name {
        font-size: 1.3rem;
    }
    
    .price-amount {
        font-size: 2.2rem;
    }
    
    .price-period {
        font-size: 0.85rem;
    }
    
    .plan-description {
        font-size: 0.75rem;
    }
    
    .feature-item {
        font-size: 0.8rem !important;
        padding: 0.4rem 0 !important;
        margin: 0 !important;
    }
    
    .feature-item::before {
        font-size: 0.75rem;
        margin-right: 0.4rem;
    }
    
    .feature-item span {
        font-size: 0.8rem !important;
        color: #ffffff !important;
    }
    
    .feature-item[data-tooltip]::after {
        white-space: normal;
        max-width: 200px;
        text-align: center;
        font-size: 0.75rem;
    }
    
    .tooltip-icon {
        font-size: 0.65rem;
    }
    
    .cta-button {
        font-size: 0.8rem;
        padding: 0.7rem 1rem;
    }
    
    /* Mobile glow colors */
    .pricing-card:nth-child(1) {
        border-color: #10b981;
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
    }
    
    .pricing-card:nth-child(2) {
        border-color: #06b6d4;
        box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
    }
    
    .pricing-card:nth-child(3) {
        border-color: #3b82f6;
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.4);
    }
    
    .pricing-card:nth-child(4) {
        border-color: var(--accent-primary);
        box-shadow: 0 0 30px rgba(88, 166, 255, 0.5);
    }
    
    .pricing-card:nth-child(5) {
        border-color: #ec4899;
        box-shadow: 0 0 25px rgba(236, 72, 153, 0.4);
    }
}

/* Comparison Table Section */
.comparison-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.comparison-table {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    overflow-x: auto;
    margin: 3rem auto;
    max-width: 100%;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr repeat(5, 1fr);
    gap: 0.8rem;
    padding: 1.5rem;
    background: var(--gradient-primary);
    border-bottom: 1px solid var(--border-glass);
    min-width: 900px;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr repeat(5, 1fr);
    gap: 0.8rem;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    min-width: 900px;
}

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

.table-cell {
    text-align: center;
    font-size: 0.85rem;
    color: #ffffff;
}

.table-cell:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Color coding for checkmarks and X's in comparison table will be done via JavaScript */
.table-row .table-cell:not(:first-child) {
    font-weight: 600;
}

.table-cell.check-mark {
    color: #10b981 !important;
}

.table-cell.x-mark {
    color: #ef4444 !important;
}

.check-icon {
    color: #10b981;
    font-size: 1.1rem;
}

.x-icon {
    color: #ef4444;
    font-size: 1.1rem;
    opacity: 0.5;
}

/* Mobile comparison table */
@media (max-width: 768px) {
    .comparison-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .table-header,
    .table-row {
        font-size: 0.75rem;
        padding: 1rem 0.8rem;
    }
    
    .table-cell {
        font-size: 0.75rem;
    }
    
    .table-cell:first-child {
        font-size: 0.8rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-item {
    background: var(--gradient-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--animation-speed) var(--animation-ease);
}

.faq-item:hover {
    border-color: var(--border-glow);
}

.faq-question {
    width: 100%;
    padding: 2rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 2rem 2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: none;
}

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

.faq-icon {
    transition: transform var(--animation-speed) var(--animation-ease);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}
