/* ============================================
   PRICING SECTION - COMPLETE REDESIGN
   Modern, Clean, Highly Readable
   ============================================ */

/* Section Background - IT Background Image */
.rn-pricing-area {
    padding: 100px 0 120px;
    position: relative;
    background: url('../images/bg/it-bg.jpg') center center / cover no-repeat;
    background-attachment: fixed;
}

/* Dark Overlay for Better Readability */
.rn-pricing-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.9) 50%, rgba(15, 23, 42, 0.85) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Grid Pattern Overlay */
.rn-pricing-area::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

/* Ensure content is above background */
.rn-pricing-area>.container {
    position: relative;
    z-index: 1;
}

/* Section Title */
.rn-pricing-area .section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.rn-pricing-area .section-title .subtitle,
#pricing .section-title .subtitle {
    color: #60a5fa !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: inline-block;
    background: rgba(96, 165, 250, 0.15);
    padding: 8px 20px;
    border-radius: 30px;
}

.rn-pricing-area .section-title .title,
#pricing .section-title .title {
    color: #ffffff !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    margin-bottom: 0;
    line-height: 1.3;
}

.pricing-main-title,
#pricing .pricing-main-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Cards Container */
.rn-pricing-area .row--25 {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    padding-top: 20px;
}

.rn-pricing-area .row--25>[class*="col-"] {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding: 0;
}

/* ============================================
   PRICING CARDS - NEW DESIGN
   ============================================ */
.rn-pricing-table {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 35px 45px;
    width: 380px;
    min-height: 100%;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.rn-pricing-table::before {
    display: none;
}

.rn-pricing-table:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

/* Featured Card */
.rn-pricing-table.featured {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    transform: scale(1.05);
    border: none;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.35);
    min-height: 100%;
    overflow: visible;
}

.rn-pricing-table.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 30px 70px rgba(37, 99, 235, 0.4);
}

/* Popular Badge */
.rn-pricing-table.featured::after {
    content: "POPULAR";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
    z-index: 10;
    white-space: nowrap;
    text-transform: uppercase;
}

/* Card Header */
.rn-pricing-table .pricing-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f1f5f9;
}

.rn-pricing-table.featured .pricing-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.rn-pricing-table .pricing-header .title,
.rn-pricing-table .pricing-header h5.title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.rn-pricing-table.featured .pricing-header .title,
.rn-pricing-table.featured .pricing-header h5.title {
    color: #ffffff !important;
}

.rn-pricing-table .pricing-header .title::after {
    display: none;
}

/* Price */
.rn-pricing-table .price,
.rn-pricing-table .price-wrap .price {
    font-size: 36px !important;
    font-weight: 900 !important;
    color: #2563eb !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #2563eb !important;
    background-clip: unset !important;
    display: block;
    line-height: 1.2;
}

.rn-pricing-table.featured .price,
.rn-pricing-table.featured .price-wrap .price {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Description */
.rn-pricing-table .pricing-body {
    text-align: center;
    margin-bottom: 30px;
}

.rn-pricing-table .pricing-body .description,
.rn-pricing-table .pricing-body p {
    color: #64748b !important;
    line-height: 1.7;
    margin: 0;
    font-size: 17px !important;
    font-weight: 500;
}

.rn-pricing-table.featured .pricing-body .description,
.rn-pricing-table.featured .pricing-body p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ============================================
   FEATURE LIST - LARGE & READABLE
   ============================================ */
.rn-pricing-table .pricing-features {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    flex: 1;
}

.rn-pricing-table .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rn-pricing-table .feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    color: #334155 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.5;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.rn-pricing-table .feature-list li:last-child {
    margin-bottom: 0;
}

.rn-pricing-table .feature-list li:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.rn-pricing-table.featured .feature-list li {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    font-weight: 500 !important;
}

.rn-pricing-table.featured .feature-list li:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Icon Container - Override inline styles */
.rn-pricing-table .feature-list li .icon-container {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.rn-pricing-table.featured .feature-list li .icon-container {
    background: rgba(255, 255, 255, 0.2);
}

/* SVG Icons - Override inline sizes */
.rn-pricing-table .feature-list li .icon-container svg {
    width: 18px;
    height: 18px;
}

.rn-pricing-table.featured .feature-list li .icon-container svg {
    stroke: #ffffff;
}

/* Strong text in features */
.rn-pricing-table .feature-list li strong {
    color: #0f172a !important;
    font-weight: 600 !important;
    font-size: 16px !important;
}

.rn-pricing-table.featured .feature-list li strong {
    color: #fbbf24 !important;
}

/* ============================================
   ALL PACKAGES INCLUDE SECTION
   ============================================ */
.packages-include {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    margin-top: 60px;
}

.include-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.include-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
}

.include-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.include-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #334155;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 20px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.include-list li:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.include-list li i,
.include-list li svg {
    color: #22c55e;
    margin-right: 18px;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* ============================================
   OPTIONAL ADD-ONS SECTION
   ============================================ */
.optional-addons {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    margin-top: 40px;
}

.addons-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.addons-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
}

.addons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.addons-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #334155;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 22px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.addons-list li:last-child {
    margin-bottom: 0;
}

.addons-list li:hover {
    border-left-color: #2563eb;
    transform: translateX(5px);
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.addons-list li i,
.addons-list li svg {
    color: #2563eb;
    margin-right: 18px;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    margin-top: 40px;
}

.works-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.works-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
}

.work-step {
    text-align: center;
    padding: 20px;
    position: relative;
}

.work-step::before {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.work-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.work-step p {
    color: #475569;
    line-height: 1.7;
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .rn-pricing-table {
        width: 350px;
        padding: 35px 30px 40px;
    }
}

@media (max-width: 991px) {
    .rn-pricing-area {
        padding: 80px 0 100px;
    }

    .rn-pricing-area .section-title .title {
        font-size: 38px !important;
    }

    .pricing-main-title {
        font-size: 28px !important;
    }

    .rn-pricing-area .row--25 {
        gap: 25px;
    }

    .rn-pricing-table {
        width: 340px;
        padding: 35px 28px 40px;
        min-height: 100%;
    }

    .rn-pricing-table.featured {
        transform: scale(1);
    }

    .rn-pricing-table.featured:hover {
        transform: translateY(-10px);
    }

    .rn-pricing-table .pricing-header .title {
        font-size: 24px !important;
    }

    .rn-pricing-table .price {
        font-size: 32px !important;
    }

    .rn-pricing-table .feature-list li {
        font-size: 16px !important;
        padding: 10px 12px;
    }
}

@media (max-width: 768px) {
    .rn-pricing-area {
        padding: 60px 0 80px;
    }

    .rn-pricing-area .section-title {
        margin-bottom: 40px;
    }

    .rn-pricing-area .section-title .subtitle {
        font-size: 14px !important;
        padding: 6px 16px;
    }

    .rn-pricing-area .section-title .title {
        font-size: 32px !important;
    }

    .pricing-main-title {
        font-size: 24px !important;
        margin-bottom: 35px;
    }

    .rn-pricing-area .row--25 {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .rn-pricing-table {
        width: 100%;
        max-width: 400px;
        padding: 35px 30px 40px;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }

    .rn-pricing-table .pricing-header .title {
        font-size: 24px !important;
    }

    .rn-pricing-table .price {
        font-size: 32px !important;
    }

    .rn-pricing-table .pricing-body .description {
        font-size: 16px !important;
    }

    .rn-pricing-table .feature-list li {
        font-size: 16px !important;
        padding: 12px 14px;
        margin-bottom: 12px;
    }

    .packages-include,
    .optional-addons,
    .how-it-works {
        padding: 35px 25px;
        margin-top: 35px;
    }

    .include-title,
    .addons-title,
    .works-title {
        font-size: 24px;
    }

    .include-list li,
    .addons-list li {
        font-size: 16px;
        padding: 12px 15px;
    }
}

@media (max-width: 576px) {
    .rn-pricing-area {
        padding: 50px 0 70px;
    }

    .rn-pricing-area .section-title .title {
        font-size: 28px !important;
    }

    .pricing-main-title {
        font-size: 22px !important;
    }

    .rn-pricing-table {
        padding: 30px 25px 35px;
    }

    .rn-pricing-table .pricing-header .title {
        font-size: 22px !important;
    }

    .rn-pricing-table .price {
        font-size: 28px !important;
    }

    .rn-pricing-table .pricing-body .description {
        font-size: 15px !important;
    }

    .rn-pricing-table .feature-list li {
        font-size: 15px !important;
        padding: 10px 12px;
        margin-bottom: 10px;
    }

    .rn-pricing-table .feature-list li .icon-container {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        margin-right: 12px !important;
    }

    .rn-pricing-table .feature-list li .icon-container svg {
        width: 16px !important;
        height: 16px !important;
    }

    .packages-include,
    .optional-addons,
    .how-it-works {
        padding: 30px 20px;
    }

    .include-title,
    .addons-title,
    .works-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .include-list li,
    .addons-list li {
        font-size: 15px;
        padding: 10px 12px;
    }

    .step-number {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }

    .work-step p {
        font-size: 16px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rn-pricing-table {
    animation: fadeInUp 0.6s ease-out both;
}