/* ========== PRICING SECTION STYLES ========== */

/* Mobile Pricing Links */
.mobile-pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 15px;
}

.mobile-pricing-link {
    display: block;
    padding: 12px 10px;
    background: transparent;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
    font-size: 14px;
}

.mobile-pricing-link:hover {
    background: #f8f9fa;
    color: #000;
}

.mobile-pricing-link.active {
    background: transparent;
    color: #000;
    border-bottom: 2px solid #000;
    font-weight: 600;
    text-decoration: none;
}

body.dark-mode .mobile-pricing-link {
    background: transparent;
    border-color: #444;
    color: #fff;
}

body.dark-mode .mobile-pricing-link:hover {
    background: #2a2a2a;
}

body.dark-mode .mobile-pricing-link.active {
    background: transparent;
    color: #fff;
    border-bottom: 2px solid #fff;
    font-weight: 600;
    text-decoration: none;
}

/* Mobile Accordion for Pricing Tabs (DEPRECATED - NOT USED) */
.mobile-nav-accordion {
    margin: 10px 0;
    border: 1px solid #d0d0d0;
    border-radius: 12px;
    overflow: hidden;
}

.mobile-nav-accordion-header {
    padding: 0 25px;
    background: #f8f9fa;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    height: 50px !important;
}

.mobile-nav-accordion-header:hover {
    background: #e9ecef;
}

.mobile-nav-accordion-content {
    background: #ffffff;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav-accordion-content.active {
    max-height: 500px;
    overflow-y: auto;
}

.mobile-nav-accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.mobile-nav-subitem {
    display: block;
    padding: 12px 25px;
    margin: 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: left;
    line-height: 1.2;
    background: #f8f9fa;
    border-bottom: 1px solid #d0d0d0;
}

.mobile-nav-subitem:last-child {
    border-bottom: none;
}

.mobile-nav-subitem:hover {
    background: #e9ecef;
    color: #333;
}

.accordion-icon {
    transition: transform 0.3s ease;
    font-size: 16px;
}

/* Dark mode for mobile accordion */
body.dark-mode .mobile-nav-accordion {
    border-color: #404040;
}

body.dark-mode .mobile-nav-accordion-header {
    background: #2d2d2d;
    color: #ffffff;
}

body.dark-mode .mobile-nav-accordion-header:hover {
    background: #404040;
}

body.dark-mode .mobile-nav-accordion-content {
    background: #1a1a1a;
}

body.dark-mode .mobile-nav-subitem {
    color: #cccccc;
    background: #2d2d2d;
    border-color: #404040;
}

body.dark-mode .mobile-nav-subitem:hover {
    background: #404040;
    color: #ffffff;
}

.pricing-section {
    background: #ffffff !important;
    color: #333;
}

body.dark-mode .pricing-section {
    background: #1f1f1f !important;
    color: #ffffff;
}

/* Pricing Cards */
.pricing-card {
    background: #ffffff;
    border: 2px solid #dee2e6;
    border-radius: 15px;
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    color: #333;
}

body.dark-mode .pricing-card {
    background: #0d0d0d;
    border-color: #444;
    color: #ffffff;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Vertical Cards */
.vertical-card {
    display: flex;
    flex-direction: column;
}

.vertical-card .pricing-header {
    background: #0d0d0d;
    padding: 20px 20px 10px 20px;
    text-align: center;
    border-bottom: 2px solid #444;
    flex-shrink: 0;
}

.vertical-card .price-tag {
    background: #1f1f1f;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #444;
    line-height: 1.2;
}

.vertical-card .price-tag .btn {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 20px;
    font-weight: bold;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
}

.vertical-card .price-tag .btn:hover,
.vertical-card .price-tag .btn:focus,
.vertical-card .price-tag .btn:active {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.vertical-card .price-tag .period {
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    vertical-align: baseline;
}

.vertical-card .plan-name {
    margin-bottom: 10px;
}

.vertical-card .brand-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0px;
}

.vertical-card .plan-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0px;
}

.vertical-card .user-limit {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #444;
    text-align: center;
}

.vertical-card .pricing-features {
    padding: 25px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.vertical-card .feature-item {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: start;
}

/* Special style for second span - clean appearance when breaking to new line */
.vertical-card .feature-item > span:last-child {
    text-align: right;
    line-height: 1.4;
    display: block;
    white-space: normal;
}

/* Styling for details in parentheses - FULL LINE WIDTH */
.vertical-card .categorization-detail {
    color: #6c757d;
    font-size: 1em;
    margin-top: -8px;
    margin-bottom: 12px;
    padding-left: 0;
    width: 100%;
}

body.dark-mode .vertical-card .categorization-detail {
    color: #adb5bd;
}

.vertical-card .feature-item.report-item {
    margin-top: auto;
    margin-bottom: 0;
    border-top: 1px solid #444;
    padding-top: 15px;
}

/* Media Support Header */
.vertical-card .media-support-header {
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 5px;
}

/* Media Items with aligned UNLIMITED text */
.vertical-card .media-item {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* UNLIMITED text alignment */
.unlimited-text {
    font-weight: 600;
    margin-left: auto;
    padding-left: 10px;
}

/* Feature item with numbers alignment */
.feature-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feature-item:has(span) {
    display: flex;
    justify-content: space-between;
}

/* Numbers in feature items should align right */
.feature-item span:last-child {
    font-weight: 600;
    margin-left: auto;
    padding-left: 10px;
}

/* Remove extra margin from EXPLORER cards */
.pricing-card .feature-item[style*="margin-top: 10px"] {
    margin-top: 5px !important;
}

/* Horizontal Cards */
.horizontal-card {
    min-height: 120px;
}

.horizontal-card .horizontal-content {
    display: flex;
    align-items: stretch;
    padding: 25px;
    height: 100%;
}

.horizontal-card .plan-info {
    flex: 0 0 200px;
    border-right: 2px solid #444;
    padding-right: 25px;
    margin-right: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.horizontal-card .brand-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0px;
}

.horizontal-card .plan-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
}

.horizontal-card .plan-features {
    flex: 1;
    padding-right: 25px;
}

.horizontal-card .feature-item {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.horizontal-card .price-section {
    flex: 0 0 150px;
    text-align: center;
}

.horizontal-card .price-tag.horizontal {
    background: #1f1f1f;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 20px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #444;
    line-height: 1.2;
}

.horizontal-card .price-tag .btn {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 20px;
    font-weight: bold;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
}

.horizontal-card .price-tag .btn:hover,
.horizontal-card .price-tag .btn:focus,
.horizontal-card .price-tag .btn:active {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.horizontal-card .price-tag.horizontal .period {
    font-size: 12px;
    font-weight: normal;
    line-height: 1;
    vertical-align: baseline;
}

.horizontal-card .contact-btn .btn {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: none;
}

.horizontal-card .contact-btn .btn:hover {
    background: #ffffff;
    color: #2d2d2d;
}

/* Enterprise Card Special Styles */
.enterprise-intro {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 15px !important;
}

.enterprise-subtitle {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    margin-bottom: 15px !important;
}

.enterprise-description {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
}

.subtitle-normal {
    font-size: 14px !important;
    font-weight: normal !important;
    color: #ffffff !important;
    margin-bottom: 12px !important;
}

/* Light Mode Overrides */
body:not(.dark-mode) .pricing-section {
    background: #f8f9fa !important;
    color: #333;
}

body:not(.dark-mode) .pricing-card {
    background: #ffffff;
    border-color: #dee2e6;
    color: #333;
}

body:not(.dark-mode) .vertical-card .pricing-header {
    background: #f8f9fa;
    border-bottom-color: #dee2e6;
}

body:not(.dark-mode) .vertical-card .price-tag {
    background: #ffffff;
    color: #333;
    border-color: #dee2e6;
}

body:not(.dark-mode) .vertical-card .price-tag .btn,
body:not(.dark-mode) .vertical-card .price-tag .btn:hover,
body:not(.dark-mode) .vertical-card .price-tag .btn:focus,
body:not(.dark-mode) .vertical-card .price-tag .btn:active {
    color: #333 !important;
}

body:not(.dark-mode) .vertical-card .brand-name,
body:not(.dark-mode) .vertical-card .plan-title,
body:not(.dark-mode) .vertical-card .user-limit,
body:not(.dark-mode) .vertical-card .feature-item {
    color: #333;
}

body:not(.dark-mode) .vertical-card .user-limit {
    border-bottom-color: #dee2e6;
}

body:not(.dark-mode) .horizontal-card .plan-info {
    border-right-color: #dee2e6;
}

body:not(.dark-mode) .vertical-card .feature-item.report-item {
    border-top-color: #dee2e6;
}

body:not(.dark-mode) .horizontal-card .brand-name,
body:not(.dark-mode) .horizontal-card .plan-title,
body:not(.dark-mode) .horizontal-card .feature-item {
    color: #333;
}

body:not(.dark-mode) .horizontal-card .price-tag.horizontal {
    background: #f8f9fa;
    color: #333;
    border-color: #dee2e6;
}

body:not(.dark-mode) .horizontal-card .price-tag .btn,
body:not(.dark-mode) .horizontal-card .price-tag .btn:hover,
body:not(.dark-mode) .horizontal-card .price-tag .btn:focus,
body:not(.dark-mode) .horizontal-card .price-tag .btn:active {
    color: #333 !important;
}

body:not(.dark-mode) .horizontal-card .contact-btn .btn {
    border-color: #333;
    color: #333;
}

body:not(.dark-mode) .horizontal-card .contact-btn .btn:hover {
    background: #333;
    color: #ffffff;
}

/* Enterprise Card Light Mode Styles */
body:not(.dark-mode) .enterprise-intro,
body:not(.dark-mode) .enterprise-subtitle,
body:not(.dark-mode) .enterprise-description,
body:not(.dark-mode) .subtitle-normal {
    color: #333 !important;
}

/* Pricing Section Background */
.pricing-section {
    background-color: #ffffff;
}

body.dark-mode .pricing-section {
    background-color: #1f1f1f;
}

/* Pricing Tabs Styles */
.pricing-tabs {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 40px;
}

.pricing-tabs .nav-link {
    color: #333;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    padding: 12px 24px;
    margin-bottom: -2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pricing-tabs .nav-link:hover {
    border-bottom-color: #171717;
    background: rgba(23, 23, 23, 0.05);
}

.pricing-tabs .nav-link.active {
    color: #171717;
    border-bottom-color: #171717;
    background: transparent;
}

/* Dark Mode Styles */
body.dark-mode .pricing-tabs {
    border-bottom-color: #444;
}

body.dark-mode .pricing-tabs .nav-link {
    color: #ffffff;
    border-bottom: 3px solid #444;
}

body.dark-mode .pricing-tabs .nav-link:hover {
    border-bottom-color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .pricing-tabs .nav-link.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
    background: transparent;
}

/* Tab Content Area */
.tab-content {
    background: transparent;
    border: none !important;
}

body.dark-mode .tab-content {
    background: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    border: none !important;
}

/* Pricing Notes */
.pricing-card .feature-item[style*="font-style: italic"],
.pricing-section p[style*="font-style: italic"] {
    color: #ffffff !important;
}

body:not(.dark-mode) .pricing-card .feature-item[style*="font-style: italic"],
body:not(.dark-mode) .pricing-section p[style*="font-style: italic"] {
    color: #333 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pricing-section {
        padding: 50px 0;
    }
    
    .vertical-card .pricing-header {
        padding: 15px 15px 8px 15px;
    }
    
    .vertical-card .price-tag {
        font-size: 20px;
        padding: 6px 15px;
    }
    
    .vertical-card .plan-title {
        font-size: 18px;
    }
    
    .vertical-card .pricing-features {
        padding: 20px 15px;
    }
    
    .horizontal-card .horizontal-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .horizontal-card .plan-info {
        flex: none;
        border-right: none;
        border-bottom: 2px solid #444;
        padding-right: 0;
        padding-bottom: 15px;
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
    }
    
    body:not(.dark-mode) .horizontal-card .plan-info {
        border-bottom-color: #dee2e6;
    }
    
    .horizontal-card .plan-features {
        flex: none;
        padding-right: 0;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .horizontal-card .price-section {
        flex: none;
        width: 100%;
    }
    
    .pricing-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-wrap: nowrap;
    }
    
    .pricing-tabs .nav-item {
        flex-shrink: 0;
    }
    
    .pricing-tabs .nav-link {
        padding: 10px 16px;
        font-size: 14px;
        white-space: nowrap;
    }
}

/* Bundle Product Mini Cards - Light Mode */
.pricing-features .col-6 > div {
    background: #f8f9fa;
}

/* Bundle Product Mini Cards - Dark Mode */
body.dark-mode .pricing-features .col-6 > div {
    border: 1px solid #444 !important;
    background: #1a1a1a;
    color: #ffffff;
}

/* Free Suite Page Styling */
.free-suite-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #dee2e6;
    border-radius: 15px;
    padding: 30px 10px;
    margin-bottom: 30px;
}

.free-suite-header {
    margin-bottom: 40px;
}

.free-suite-header .free-suite-title,
h1.free-suite-title {
    font-size: 1.8em;
    font-weight: 700;
    color: inherit;
    margin-bottom: 5px !important;
    margin-top: 0 !important; /* Reset top margin */
    margin: 0 0 5px 0 !important; /* Reset all margins */
}

/* Container for layered EXPLORER text */
.explorer-container {
    position: relative;
    margin-bottom: 0; /* Margin reset - ADVANCE/MAX ile aynı */
    height: 55px; /* Same container height as EXPLORER */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Background outline EXPLORER */
.free-suite-explorer {
    font-size: 60px; /* Same big outline as package titles */
    font-weight: 700;
    color: transparent;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 1;
    line-height: 1;
    opacity: 0.15; /* 30% visibility */
    cursor: default;
    -webkit-text-stroke: 2px #3B82F6; /* Blue outline */
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.4); /* Blue glow effect */
}

/* Foreground normal EXPLORER */
.free-suite-explorer-normal {
    font-size: 21px; /* Normal size */
    font-weight: 700;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 10;
    line-height: 1;
    cursor: default;
    color: #3B82F6;
}

.free-suite-subtitle {
    font-size: 1.2em;
    color: #6c757d;
    margin-bottom: 20px;
    font-weight: 600;
}

.free-suite-description {
    font-size: 1em;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    color: #495057;
}

.free-product-card {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 25px 20px;
    height: 100%;
    transition: all 0.3s ease;
}

.free-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.free-product-card .product-name {
    font-size: 1.3em;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px; /* Reduced spacing */
}

.free-product-card .package-badge {
    font-size: 1.3em; /* Same size as product name */
    color: #3B82F6;
    font-weight: 600;
    margin-bottom: 15px; /* Reduced spacing */
}

.free-product-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.free-product-card .feature-list li {
    font-size: 0.9em;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.free-product-card .feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10B981;
    font-weight: bold;
}

.free-suite-cta {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

/* Extra spacing only for main page CTA */
.main-page-cta {
    padding-bottom: 370px;
}

/* Background image for container only */
.aira-cta-section .container {
    background-image: url('/static/landing/images/main_carousel/pa11.png');
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: bottom center;
    position: relative;
    min-height: 200px;
}

/* Dark mode background image for container */  
body.dark-mode .aira-cta-section .container {
    background-image: url('/static/landing/images/main_carousel/pa11_dark.png');
}

.free-suite-cta .cta-price {
    font-size: 2em;
    font-weight: 700;
    color: #10B981;
    margin-bottom: 15px;
}

.free-suite-cta .cta-description {
    font-size: 0.95em;
    color: #6c757d;
    margin-bottom: 25px;
}

/* Dark Mode */
body.dark-mode .free-suite-card {
    background: linear-gradient(135deg, #1f1f1f 0%, #0d0d0d 100%);
    border-color: #444;
}

body.dark-mode .free-suite-title {
    color: #ffffff;
}

body.dark-mode .free-suite-explorer {
    color: transparent; /* Transparent for outline text */
    -webkit-text-stroke: 2px #60A5FA; /* Lighter blue for dark mode */
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.6); /* Strong blue glow in dark mode */
    opacity: 0.15; /* 30% visibility */
}

body.dark-mode .free-suite-explorer-normal {
    color: #60A5FA; /* Light blue in dark mode */
}

body.dark-mode .free-suite-subtitle {
    color: #b0b0b0;
}

body.dark-mode .free-suite-description {
    color: #e0e0e0;
}

body.dark-mode .free-product-card {
    background: #0d0d0d;
    border-color: #444;
}

body.dark-mode .free-product-card:hover {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

body.dark-mode .free-product-card .product-name {
    color: #ffffff;
}

body.dark-mode .free-product-card .feature-list li {
    color: #e0e0e0;
}

body.dark-mode .free-suite-cta {
    border-top-color: #444;
}

body.dark-mode .free-suite-cta .cta-price {
    color: #10B981;
}

body.dark-mode .free-suite-cta .cta-description {
    color: #b0b0b0;
}

/* Free Packages and Advantageous Packages tabs - Bold */
#free-tab,
#bundles-tab {
    font-weight: 700;
}

/* Remove old free suite styles */
body.dark-mode .pricing-card[style*="border: 3px solid #10B981"] {
    background: inherit !important;
}

body.dark-mode [style*="border: 2px solid #10B981"][style*="background: #ffffff"] {
    background: inherit !important;
}

/* Bundle Product Names (AiraAcademy, AiraCoder, etc.) - Make them bold */
.bundle-paid-card > div:first-child,
.bundle-free-card > div:first-child {
    font-weight: 700 !important;
}

/* Bundle Paid Card (AiraAcademy ADVANCE) */
.bundle-paid-card {
    background: #DEE2E6 !important;
}

body.dark-mode .bundle-paid-card {
    background: #171717 !important;
    border: 1px solid #444 !important;
}

/* Bundle Free Cards */
.bundle-free-card {
    background: #f8f9fa !important;
}

body.dark-mode .bundle-free-card {
    background: #1f1f1f !important;
    border: 1px solid #444 !important;
}

/* Bundle List - Product Rows (new horizontal layout) */
.pricing-features [style*="background: #DEE2E6"][style*="grid-template-columns"] {
    background: #DEE2E6 !important;
}

body.dark-mode .pricing-features [style*="background: #DEE2E6"][style*="grid-template-columns"] {
    background: #171717 !important;
    border: 1px solid #444;
}

.pricing-features [style*="background: #f8f9fa"][style*="grid-template-columns"] {
    background: #f8f9fa !important;
}

body.dark-mode .pricing-features [style*="background: #f8f9fa"][style*="grid-template-columns"] {
    background: #1f1f1f !important;
    border: 1px solid #444;
}

/* Bundle List - Details Area */
body.dark-mode .pricing-features div[style*="line-height: 1.6"][style*="background: #f8f9fa"] {
    background: #1f1f1f !important;
    border: 1px solid #444 !important;
}

body.dark-mode .pricing-features div[style*="line-height: 1.6"] div {
    color: #e0e0e0;
}

/* ========== BUNDLE 3 MODERN PRICING FLOW ========== */

/* Category Card Animations */
/* Bundle 3 category cards - NO MUTED TEXT! */
.category-card .pricing-card {
    color: #333 !important; /* Light mode: dark text */
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.category-card .card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.category-card .card-description {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
}

.category-card .price-section {
    text-align: center;
    margin-top: auto;
}

.category-card .pricing-card h3,
.category-card .pricing-card p {
    color: inherit !important; /* Inherit from parent - not muted */
}

body.dark-mode .category-card .pricing-card {
    color: #ffffff !important; /* Dark mode: white text */
}

body.dark-mode .category-card .pricing-card h3,
body.dark-mode .category-card .pricing-card p {
    color: #ffffff !important; /* Dark mode: white text - not muted */
}

/* Category icons styling */
.category-icon {
    text-align: center;
}

.category-icon i {
    font-size: 48px;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon i {
    transform: scale(1.1);
}

/* Light mode - black icons */
body:not(.dark-mode) .category-card .category-icon i {
    color: #000000 !important;
}

/* Dark mode - white icons */
body.dark-mode .category-card .category-icon i {
    color: #ffffff !important;
}

/* Simple fade system - no expansion animations */


/* Bundle 3 contact-btn - like Enterprise card */

.category-card .contact-btn .btn,
.expanded-package-item .contact-btn .btn {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: none;
}

.category-card .contact-btn .btn:hover,
.expanded-package-item .contact-btn .btn:hover {
    background: #ffffff;
    color: #2d2d2d;
}

/* Light mode'da buton rengini ayarla */
body:not(.dark-mode) .category-card .contact-btn .btn,
body:not(.dark-mode) .expanded-package-item .contact-btn .btn {
    border-color: #333;
    color: #333;
}

body:not(.dark-mode) .category-card .contact-btn .btn:hover,
body:not(.dark-mode) .expanded-package-item .contact-btn .btn:hover {
    background: #333;
    color: #ffffff;
}

/* No expanding state needed - using separate content area */

/* Package comparison within expanded card */
.expanded-packages {
    display: none;
    flex-grow: 1;
}

/* Ensure full content visibility */
#bundles3,
.tab-pane,
.container-fluid {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

#category-selection {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.category-card.expanding .expanded-packages {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.expanded-package-item {
    padding: 20px;
    border-radius: 12px;
    border: 2px solid;
    background: #ffffff;
    color: #333;
    cursor: default; /* Normal cursor, not clickable */
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

/* Removed hover effect - expanded package items are not clickable */

.expanded-package-item.advance {
    border-color: #17a2b8;
}

.expanded-package-item.max {
    border-color: #EAB308;
}

/* Package title container for layered text */
.package-title-container,
.plan-title-layered-container {
    position: relative;
    margin-bottom: 0; /* Margin reset */
    height: 55px; /* Same container height as EXPLORER */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Background outline package titles */
.package-title-outline,
.plan-title-outline {
    font-size: 50px; /* Same big outline as EXPLORER */
    font-weight: 700;
    color: transparent;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 1;
    line-height: 1;
    opacity: 0.15; /* 30% visibility */
    cursor: default;
}

/* Foreground normal package titles */
.package-title-normal,
.plan-title-normal {
    font-size: 21px; /* Normal size */
    font-weight: 700;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 10;
    line-height: 1;
    cursor: default;
}

/* ADVANCE colors - only border like EXPLORER */
.expanded-package-item.advance .package-title-outline,
.plan-title-outline.advance {
    -webkit-text-stroke: 2px #17a2b8;
    text-shadow: 0 0 10px rgba(23, 162, 184, 0.3);
}

.expanded-package-item.advance .package-title-normal,
.plan-title-normal.advance {
    color: #17a2b8; /* SOLID turquoise - filled interior */
}

/* MAX colors - like EXPLORER system */
.expanded-package-item.max .package-title-outline,
.plan-title-outline.max {
    -webkit-text-stroke: 2px #EAB308;
    text-shadow: 0 0 10px rgba(234, 179, 8, 0.3);
}

.expanded-package-item.max .package-title-normal,
.plan-title-normal.max {
    color: #EAB308; /* SOLID yellow - filled interior */
}

/* EXPLORER colors for plan titles */
.plan-title-outline.explorer {
    -webkit-text-stroke: 2px #3B82F6;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.plan-title-normal.explorer {
    color: #3B82F6;
}

/* CORE colors for plan titles */
.plan-title-outline.core {
    -webkit-text-stroke: 2px #8b5cf6;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.plan-title-normal.core {
    color: #8b5cf6;
}

/* Old h4 rule - keep for backwards compatibility */
.expanded-package-item h4:not(.package-title-outline):not(.package-title-normal) {
    text-align: center;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 21px;
    cursor: default; /* Normal cursor for headings */
}

/* Old h4 rules removed - now using layered text system */

/* Free tab CTA button neon glow effect */
.free-suite-cta .btn-success {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
    border: none !important;
    box-shadow: 
        0 0 20px rgba(40, 167, 69, 0.6),
        0 0 40px rgba(40, 167, 69, 0.4),
        0 0 60px rgba(40, 167, 69, 0.2);
    animation: neonGlow 2s ease-in-out infinite alternate;
    transition: all 0.3s ease;
}

.free-suite-cta .btn-success:hover {
    background: linear-gradient(45deg, #20c997, #28a745) !important;
    box-shadow: 
        0 0 30px rgba(40, 167, 69, 0.8),
        0 0 60px rgba(40, 167, 69, 0.6),
        0 0 90px rgba(40, 167, 69, 0.4);
    transform: translateY(-2px);
}

@keyframes neonGlow {
    0% {
        box-shadow: 
            0 0 20px rgba(40, 167, 69, 0.6),
            0 0 40px rgba(40, 167, 69, 0.4),
            0 0 60px rgba(40, 167, 69, 0.2);
    }
    100% {
        box-shadow: 
            0 0 25px rgba(40, 167, 69, 0.8),
            0 0 50px rgba(40, 167, 69, 0.6),
            0 0 75px rgba(40, 167, 69, 0.4);
    }
}

/* Softer neon glow for dark mode */
body.dark-mode .free-suite-cta .btn-success {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
    border: none !important;
    box-shadow: 
        0 0 15px rgba(40, 167, 69, 0.4),
        0 0 30px rgba(40, 167, 69, 0.3),
        0 0 45px rgba(40, 167, 69, 0.1);
    animation: neonGlowDark 2s ease-in-out infinite alternate;
}

body.dark-mode .free-suite-cta .btn-success:hover {
    background: linear-gradient(45deg, #20c997, #28a745) !important;
    box-shadow: 
        0 0 20px rgba(40, 167, 69, 0.6),
        0 0 40px rgba(40, 167, 69, 0.4),
        0 0 60px rgba(40, 167, 69, 0.2);
    transform: translateY(-2px);
}

@keyframes neonGlowDark {
    0% {
        box-shadow: 
            0 0 15px rgba(40, 167, 69, 0.4),
            0 0 30px rgba(40, 167, 69, 0.3),
            0 0 45px rgba(40, 167, 69, 0.1);
    }
    100% {
        box-shadow: 
            0 0 20px rgba(40, 167, 69, 0.6),
            0 0 40px rgba(40, 167, 69, 0.4),
            0 0 60px rgba(40, 167, 69, 0.2);
    }
}

/* Free CTA Price layered text effect */
.cta-price-container {
    position: relative;
    margin-bottom: 0; /* Margin reset - ADVANCE/MAX ile aynı */
    height: 70px; /* Sufficient height for Free! text */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Background outline Free! */
.cta-price-outline {
    font-size: 70px; /* Big and eye-catching */
    font-weight: 700;
    color: transparent;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 1;
    line-height: 1;
    opacity: 0.15; /* 30% visibility */
    cursor: default;
    -webkit-text-stroke: 3px #28a745; /* Thick green border */
    text-shadow: 0 0 20px rgba(40, 167, 69, 0.5); /* Strong glow */
}

/* Foreground normal Free! */
.cta-price-normal {
    font-size: 32px; /* Normal but big size */
    font-weight: 700;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 10;
    line-height: 1;
    cursor: default;
    color: #28a745; /* Solid green */
}

/* Free! layered text for dark mode */
body.dark-mode .cta-price-outline {
    color: transparent;
    -webkit-text-stroke: 3px #20c997; /* Lighter green border */
    text-shadow: 0 0 25px rgba(32, 201, 151, 0.6); /* Strong glow in dark mode */
    opacity: 0.15;
}

body.dark-mode .cta-price-normal {
    color: #20c997; /* Lighter solid green */
}

.expanded-package-item .package-description {
    text-align: center;
    height: auto !important;
    min-height: 80px; /* Fixed height for alignment across cards */
    max-height: none !important;
    overflow: visible !important;
    color: #333;
    font-size: 0.9em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    cursor: default; /* Normal cursor for text */
    justify-content: center;
}

.expanded-package-item .package-price {
    text-align: center;
    color: #10B981;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 20px;
    cursor: default; /* Normal cursor for text */
}

.expanded-package-item .package-price .period {
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    vertical-align: baseline;
}

.expanded-package-item .package-bundles {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin-bottom: 15px;
    cursor: default; /* Normal cursor for content */
}

.expanded-package-item .package-features {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin-bottom: 15px;
    cursor: default; /* Normal cursor for content */
}

/* Contact buttons in expanded packages */
.expanded-package-item .contact-btn {
    text-align: center;
    margin-top: auto;
    padding-top: 15px;
}

/* Removed duplicate CSS - now using unified selector above */

/* Hide elements in collapsed state */
.category-card:not(.expanding) .expanded-packages {
    display: none !important;
}

/* Clean expanded state - duplicates removed */

/* Simple fade in/out system */
#category-selection {
    opacity: 1;
    transition: opacity 0.3s ease;
}

#category-selection.hidden {
    opacity: 0;
    pointer-events: none;
}

.expanded-content-view {
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
    position: relative;
    cursor: default; /* Normal cursor for expanded content */
}

.expanded-main-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    border: 2px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: default; /* Normal cursor for main content */
}

.expanded-content-view h2 {
    color: #333;
}

.expanded-content-view p {
    color: #666;
}

#expanded-title {
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

#expanded-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
}

.expanded-content-view.visible {
    opacity: 1;
    display: block;
}

/* Removed duplicate - using simple fade above */

/* Package Comparison Show State */
#package-comparison.showing {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
    animation: slideInFromTop 0.4s ease-out;
}

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

/* Package Cards Styling */
#package-comparison .pricing-card {
    transition: all 0.3s ease;
}

#package-comparison .pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Bundle Contents Styling */
.bundle-content-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 3px;
    transition: all 0.2s ease;
}

.bundle-content-item:hover {
    background: #f0f0f0 !important;
}

.bundle-content-item.paid {
    background: #DEE2E6;
    border: 1px solid #ced4da;
}

.bundle-content-item.free {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.bundle-content-item .product-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.bundle-content-item .package-type {
    font-size: 14px;
    font-weight: 500;
}

.bundle-content-item .package-type.advance {
    color: #17a2b8;
}

.bundle-content-item .package-type.max {
    color: #EAB308;
}

.bundle-content-item .package-type.core {
    color: #8B5CF6;
}

.bundle-content-item .package-type.explorer {
    color: #3B82F6;
}

.bundle-content-item .price {
    font-size: 14px;
    font-weight: 700;
    color: #10B981;
    text-align: right;
}

/* Bundle contents should stay in Bundle 2 format - STRONG OVERRIDE */
.expanded-package-item .bundle-content-item {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 10px !important;
}

.expanded-package-item .bundle-content-item .product-name {
    text-align: left !important;
    font-weight: 600 !important;
}

.expanded-package-item .bundle-content-item .package-type {
    text-align: left !important;
    font-weight: 500 !important;
}

.expanded-package-item .bundle-content-item .price {
    text-align: right !important;
    font-weight: 700 !important;
    color: #10B981 !important;
}


/* Feature Comparison List */
.feature-comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.feature-comparison-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
    font-size: 14px;
}

.feature-comparison-list li:last-child {
    border-bottom: none;
}

.feature-comparison-list li:before {
    content: "✓";
    color: #10B981;
    font-weight: bold;
    margin-right: 8px;
}

/* No check mark for headers */
.feature-comparison-list li.feature-header:before {
    content: "";
    margin-right: 0;
}

/* Bundle 3 Dark Mode */
body.dark-mode .expanded-main-card {
    background: #1f1f1f;
    border-color: #444;
    color: #ffffff;
}

body.dark-mode .expanded-package-item {
    background: #0d0d0d;
    color: #ffffff;
}

/* Removed dark mode hover effect - expanded package items are not clickable */

body.dark-mode .expanded-package-item .bundle-content-item {
    background: #2a2a2a !important;
    border-color: #444 !important;
    color: #ffffff !important;
}

body.dark-mode .expanded-package-item .bundle-content-item.paid {
    background: #333333 !important;
    border-color: #555 !important;
}

body.dark-mode .expanded-package-item .bundle-content-item.free {
    background: #2a2a2a !important;
    border-color: #444 !important;
}

body.dark-mode .expanded-package-item .bundle-content-item .product-name {
    color: #ffffff !important;
}

body.dark-mode .expanded-package-item .bundle-content-item .package-type.advance {
    color: #17a2b8 !important;
}

body.dark-mode .expanded-package-item .bundle-content-item .package-type.max {
    color: #EAB308 !important;
}

body.dark-mode .expanded-package-item .bundle-content-item .package-type.core {
    color: #8B5CF6 !important;
}

body.dark-mode .expanded-package-item .bundle-content-item .package-type.explorer {
    color: #3B82F6 !important;
}

/* Custom Feature Accordion Styles */
.accordion-main-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 15px 0 10px 0;
    text-align: center;
}

body.dark-mode .accordion-main-title {
    color: #ffffff;
}

.feature-accordion {
    margin-top: 10px;
}

.custom-accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 3px;
    background: #ffffff;
    overflow: hidden;
}

.custom-accordion-header {
    margin-bottom: 0;
}

.custom-accordion-button {
    width: 100%;
    background: #f8f9fa;
    border: none;
    color: #333;
    font-weight: 400;
    cursor: pointer; /* Clickable accordion buttons */
    font-size: 14px;
    padding: 8px; /* Same as bundle-content-item */
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Same 3 columns as bundle-content-item */
    gap: 10px; /* Same as bundle-content-item */
    align-items: center;
    transition: all 0.3s ease;
    height: 39.5px;
    box-sizing: border-box;
    position: relative; /* For absolute positioned chevron */
}

/* Accordion title styling - exactly like bundle table */
.accordion-product-name {
    font-weight: 600; /* Same as bundle .product-name */
    font-size: 14px; /* Same as bundle .product-name */
    color: #333; /* Same as bundle .product-name */
    text-align: left;
}

.accordion-package-type {
    font-weight: 500; /* Same as bundle .package-type */
    font-size: 14px; /* Same as bundle .package-type (was 13px) */
    text-align: left;
}

/* .accordion-empty-column - Empty third column to match bundle table grid structure */

.custom-accordion-button:hover {
    background: #e9ecef;
}

.custom-accordion-button.active {
    background: #ffffff;
    color: #333;
}

.accordion-chevron {
    font-size: 14px;
    transition: transform 0.3s ease;
    color: #666;
    position: absolute; /* Remove from grid flow */
    right: 8px; /* Same as padding */
    top: 50%;
    /* transform handled by JavaScript and inline styles */
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.custom-accordion-collapse.show {
    max-height: 500px; /* Adjust as needed */
}

.custom-accordion-body {
    padding: 10px;
    background: #ffffff;
    border-top: 1px solid #dee2e6;
    cursor: default; /* Normal cursor for content */
}

.feature-accordion .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    cursor: default; /* Normal cursor for feature list */
}

.feature-accordion .feature-list li {
    padding: 4px 0;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

/* Dark mode accordion styles */
body.dark-mode .custom-accordion-item {
    border-color: #444;
    background: #1a1a1a;
}

body.dark-mode .custom-accordion-button {
    background: #2a2a2a;
    color: #ffffff;
}

body.dark-mode .custom-accordion-button:hover {
    background: #333333;
}

body.dark-mode .custom-accordion-button.active {
    background: #1a1a1a;
    color: #ffffff;
}

body.dark-mode .accordion-chevron {
    color: #cccccc;
}

body.dark-mode .accordion-product-name {
    color: #ffffff !important; /* Same as bundle table in dark mode */
}

/* Dark mode accordion package types keep their original colors from inline styles */

body.dark-mode .custom-accordion-body {
    background: #1a1a1a;
    border-color: #444;
}

body.dark-mode .feature-accordion .feature-list li {
    color: #cccccc;
}



body.dark-mode .expanded-package-item .package-description {
    color: #cccccc;
}

/* Responsive adjustments for description alignment */
@media (max-width: 768px) {
    .expanded-package-item .package-description {
        min-height: 60px; /* Smaller minimum height on mobile */
        font-size: 0.85em;
    }
}

@media (min-width: 1200px) {
    .expanded-package-item .package-description {
        min-height: 100px; /* Larger minimum height on wide screens */
        font-size: 0.95em;
    }
}

/* Dark mode colors for layered package titles */
body.dark-mode .expanded-package-item.advance .package-title-outline,
body.dark-mode .plan-title-outline.advance {
    color: transparent; /* Only border - transparent interior */
    -webkit-text-stroke: 2px #17a2b8;
    text-shadow: 0 0 15px rgba(23, 162, 184, 0.5);
}

body.dark-mode .expanded-package-item.advance .package-title-normal,
body.dark-mode .plan-title-normal.advance {
    color: #17a2b8; /* SOLID turquoise - filled interior */
}

body.dark-mode .expanded-package-item.max .package-title-outline,
body.dark-mode .plan-title-outline.max {
    color: transparent; /* Only border - transparent interior */
    -webkit-text-stroke: 2px #EAB308;
    text-shadow: 0 0 15px rgba(234, 179, 8, 0.5);
}

body.dark-mode .expanded-package-item.max .package-title-normal,
body.dark-mode .plan-title-normal.max {
    color: #EAB308; /* SOLID yellow - filled interior */
}

/* Dark mode EXPLORER colors for plan titles */
body.dark-mode .plan-title-outline.explorer {
    color: transparent;
    -webkit-text-stroke: 2px #3B82F6;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

body.dark-mode .plan-title-normal.explorer {
    color: #3B82F6;
}

/* Dark mode CORE colors for plan titles */
body.dark-mode .plan-title-outline.core {
    color: transparent;
    -webkit-text-stroke: 2px #8b5cf6;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

body.dark-mode .plan-title-normal.core {
    color: #8b5cf6;
}

/* Keep old h4 rule for backwards compatibility */
body.dark-mode .expanded-package-item h4:not(.package-title-outline):not(.package-title-normal) {
    color: #17a2b8; /* Default advance color */
}

body.dark-mode .expanded-package-item.max h4:not(.package-title-outline):not(.package-title-normal) {
    color: #EAB308;
}

body.dark-mode .feature-comparison-list li {
    color: #ffffff;
    border-bottom-color: #444;
}

body.dark-mode .expanded-content-view h2 {
    color: #ffffff;
}

body.dark-mode .expanded-content-view p {
    color: #cccccc;
}

body.dark-mode #expanded-title {
    color: #ffffff;
}

body.dark-mode #expanded-description {
    color: #cccccc;
}

body.dark-mode .back-to-categories {
    color: #cccccc !important;
}

.back-to-categories:hover {
    color: #333 !important;
}

body.dark-mode .back-to-categories:hover {
    color: #ffffff !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .category-card {
        margin-bottom: 20px;
    }
    
    #package-comparison .col-lg-6 {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .category-card .card-body {
        padding: 20px;
    }
    
    .category-card h3 {
        font-size: 1.3em;
    }
    
    .category-card p {
        min-height: auto !important;
        font-size: 14px;
    }
    
    #package-comparison h3 {
        font-size: 1.5em !important;
    }
    
    #package-comparison h2 {
        font-size: 1.6em !important;
    }
}

/* Mobile Optimization - Small Screens */
@media (max-width: 576px) {
    /* Optimize row gutters for mobile */
    .row.mb-2, .row.g-3, .row.mb-4, .row.g-4 { 
        margin: 0 -5px; 
    }
    
    .row.mb-2 > [class*="col-"], 
    .row.g-3 > [class*="col-"],
    .row.mb-4 > [class*="col-"],
    .row.g-4 > [class*="col-"] { 
        padding: 0 5px; 
    }
    
    /* Reduce card padding for more usable space */
    .vertical-card .pricing-header { 
        padding: 15px 10px 8px 10px; 
    }
    
    .vertical-card .pricing-features { 
        padding: 20px 10px; 
    }
    
    .free-product-card {
        padding: 15px 10px;
    }
    
    /* Optimize horizontal card padding */
    .horizontal-card .horizontal-content {
        padding: 15px 10px;
    }
    
    /* Category cards optimization */
    .category-card .card-body {
        padding: 15px 10px;
    }
    
    /* Price tag font size adjustment */
    .vertical-card .price-tag {
        font-size: 18px;
        padding: 6px 12px;
    }
    
    /* Mobile font-size same as desktop, removed duplicate rules */
    /* Desktop CSS rules are correct, only position strengthening needed for mobile */
    
    .package-title-normal,
    .plan-title-normal { 
        font-size: 21px;            /* Same as desktop */
        position: absolute !important;     /* MISSING RULE! */
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 10 !important;     /* Show on top */
    }
    
    .package-title-outline,
    .plan-title-outline {
        position: absolute !important;     /* MISSING RULE! */
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1 !important;      /* Stay behind */
    }
    
    /* Mobile layered text - POSITION RULES MISSING! */
    .free-suite-explorer {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1 !important;
    }
    
    .free-suite-explorer-normal {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 10 !important;
    }
    
    .cta-price-outline {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1 !important;
    }
    
    .cta-price-normal {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 10 !important;
    }
    
    /* Container heights for layered text - SAME AS DESKTOP + POSITION FIX */
    .explorer-container { 
        position: relative !important;   /* REQUIRED FOR ABSOLUTE! */
        height: 55px;          /* Same as desktop */
        overflow: visible;     /* Text should not be cut */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .package-title-container,
    .plan-title-layered-container { 
        position: relative !important;   /* REQUIRED FOR ABSOLUTE! */
        height: 55px;          /* Same as desktop */
        overflow: visible;     /* Text should not be cut */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .cta-price-container { 
        position: relative !important;   /* REQUIRED FOR ABSOLUTE! */
        height: 70px;          /* Same as desktop */
        overflow: visible;     /* Text should not be cut */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Tab content padding optimization for mobile */
    body.dark-mode .tab-content {
        padding: 10px 5px;    /* Reduced from 20px to 10px-5px */
    }
    
    .tab-content {
        padding: 5px;         /* Add padding for light mode too */
    }
    
    /* Mobile CTA background image optimization */
    .aira-cta-section .container {
        background-size: cover;             /* Fill container, crop if needed */
        background-position: bottom center;
        min-height: 400px;                  /* Increased from 300px to 400px */
        padding-bottom: 80px;               /* Increased from 50px to 80px */
    }
    
    /* Reduce main page CTA bottom padding on mobile */
    .main-page-cta {
        padding-bottom: 200px;              /* Reduced from 370px */
    }
}

/* Neon Glow Effect for Special Cards */
.pricing-card.glow,
.free-product-card.glow {
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.1) !important; /* Light mode: light transparent */
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: inset 0 0 50px #fff, inset 20px 0 60px violet,
      inset -20px 0 60px #0ff, inset 20px 0 300px violet, inset -20px 0 300px #0ff,
      0 0 50px #fff, -10px 0 60px violet, 10px 0 60px #0ff;
    animation: glowPulse 3s ease-in-out infinite alternate;
}

body.dark-mode .pricing-card.glow,
body.dark-mode .free-product-card.glow {
    background: rgba(0, 0, 0, 0.1) !important; /* Dark mode: light transparent */
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    /* More subtle glow in dark mode */
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.3), inset 15px 0 40px rgba(138, 43, 226, 0.4),
      inset -15px 0 40px rgba(0, 255, 255, 0.4), inset 15px 0 200px rgba(138, 43, 226, 0.2), inset -15px 0 200px rgba(0, 255, 255, 0.2),
      0 0 30px rgba(255, 255, 255, 0.3), -8px 0 40px rgba(138, 43, 226, 0.4), 8px 0 40px rgba(0, 255, 255, 0.4);
    animation: glowPulseDark 3s ease-in-out infinite alternate;
}

/* Glow hover effect - compatible with existing hover */
.pricing-card.glow:hover,
.free-product-card.glow:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 0 60px #fff, inset 25px 0 80px violet,
      inset -25px 0 80px #0ff, inset 25px 0 350px violet, inset -25px 0 350px #0ff,
      0 0 70px #fff, -15px 0 80px violet, 15px 0 80px #0ff;
}

/* Dark mode hover effect - more subtle */
body.dark-mode .pricing-card.glow:hover,
body.dark-mode .free-product-card.glow:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.4), inset 20px 0 60px rgba(138, 43, 226, 0.5),
      inset -20px 0 60px rgba(0, 255, 255, 0.5), inset 20px 0 250px rgba(138, 43, 226, 0.3), inset -20px 0 250px rgba(0, 255, 255, 0.3),
      0 0 40px rgba(255, 255, 255, 0.4), -12px 0 60px rgba(138, 43, 226, 0.5), 12px 0 60px rgba(0, 255, 255, 0.5);
}

@keyframes glowPulse {
    from {
        box-shadow: inset 0 0 50px #fff, inset 20px 0 60px violet,
          inset -20px 0 60px #0ff, inset 20px 0 300px violet, inset -20px 0 300px #0ff,
          0 0 50px #fff, -10px 0 60px violet, 10px 0 60px #0ff;
    }
    to {
        box-shadow: inset 0 0 60px #fff, inset 25px 0 80px violet,
          inset -25px 0 80px #0ff, inset 25px 0 350px violet, inset -25px 0 350px #0ff,
          0 0 70px #fff, -15px 0 80px violet, 15px 0 80px #0ff;
    }
}

/* Subtle pulse animation for dark mode */
@keyframes glowPulseDark {
    from {
        box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.3), inset 15px 0 40px rgba(138, 43, 226, 0.4),
          inset -15px 0 40px rgba(0, 255, 255, 0.4), inset 15px 0 200px rgba(138, 43, 226, 0.2), inset -15px 0 200px rgba(0, 255, 255, 0.2),
          0 0 30px rgba(255, 255, 255, 0.3), -8px 0 40px rgba(138, 43, 226, 0.4), 8px 0 40px rgba(0, 255, 255, 0.4);
    }
    to {
        box-shadow: inset 0 0 35px rgba(255, 255, 255, 0.4), inset 18px 0 50px rgba(138, 43, 226, 0.5),
          inset -18px 0 50px rgba(0, 255, 255, 0.5), inset 18px 0 220px rgba(138, 43, 226, 0.3), inset -18px 0 220px rgba(0, 255, 255, 0.3),
          0 0 35px rgba(255, 255, 255, 0.4), -10px 0 50px rgba(138, 43, 226, 0.5), 10px 0 50px rgba(0, 255, 255, 0.5);
    }
}

/* Remove bottom padding from AiraIntelligence CTA section */
.aira-cta-section {
    padding-bottom: 0 !important;
}

/* Main Page Card Button Alignment Fix */
.card-with-button {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.card-with-button > div[style*="text-align: center"] {
    margin-top: auto !important;
}

/* Theme-based Button Styles */
.theme-btn {
    /* Light mode: btn-dark style */
    background-color: #343a40 !important;
    border-color: #343a40 !important;
    color: #fff !important;
}

.theme-btn:hover, .theme-btn:focus {
    background-color: #23272b !important;
    border-color: #1d2124 !important;
    color: #fff !important;
}

/* Dark mode: btn-outline-light style */
body.dark-mode .theme-btn,
body[data-theme="dark"] .theme-btn {
    background-color: transparent !important;
    border-color: #f8f9fa !important;
    color: #f8f9fa !important;
}

body.dark-mode .theme-btn:hover,
body.dark-mode .theme-btn:focus,
body[data-theme="dark"] .theme-btn:hover,
body[data-theme="dark"] .theme-btn:focus {
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
    color: #212529 !important;
}

/* AiraWorkspace Details Section Cards Dark Mode Background */
body.dark-mode #airaworkspace-details .card,
body[data-theme="dark"] #airaworkspace-details .card {
    background-color: #171717 !important;
}

/* Additional Features Section Cards Dark Mode Background */
body.dark-mode #aira-additional-features .card,
body[data-theme="dark"] #aira-additional-features .card {
    background-color: #171717 !important;
}

