/* =================================
   Pricing Section - Modern & Professional
   Matches Contact Section Styling
   ================================= */
.pricing-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    overflow: hidden;
}

.pricing-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.pricing-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header .section-subtitle {
    color: #ff9000;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: inline-block;
}

.pricing-header h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.pricing-header p {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.pricing-table-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2px;
    margin: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
}

.pricing-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.8);
}

.pricing-table thead th {
    background: linear-gradient(135deg, #ff9000 0%, #ff6b00 100%);
    color: #fff;
    font-weight: 600;
    padding: 18px 24px;
    text-align: left;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: none;
}

.pricing-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.pricing-table td {
    padding: 20px 24px;
    color: #e2e8f0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
    font-size: 0.95rem;
    line-height: 1.6;
}

.pricing-category {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #fff;
}

.pricing-category i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.price-tag {
    color: #ff9000;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}

.pricing-notes {
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid #ff9000;
}

.pricing-notes p {
    color: #e2e8f0;
    margin-bottom: 10px;
    font-weight: 600;
}

.pricing-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-notes li {
    color: #94a3b8;
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.pricing-notes li:before {
    content: "•";
    color: #ff9000;
    font-weight: bold;
    position: absolute;
    left: 10px;
}

.pricing-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover:before {
    width: 100%;
}

.btn i {
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #ff9000 0%, #ff6b00 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 144, 0, 0.3);
}

.btn-outline {
    background: transparent;
    color: #ff9000;
    border: 2px solid #ff9000;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .pricing-table {
        border: 0;
        background: transparent;
        box-shadow: none;
    }
    
    .pricing-table thead {
        display: none;
    }
    
    .pricing-table tbody tr {
        display: block;
        margin-bottom: 2rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        overflow: hidden;
        background: rgba(15, 23, 42, 0.8);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .pricing-table td {
        display: flex;
        padding: 1rem;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .pricing-table td::before {
        content: attr(data-label);
        font-weight: 600;
        width: 120px;
        min-width: 120px;
        color: #ff9000;
        font-size: 0.9rem;
        margin-right: 1rem;
    }
    
    .pricing-table td[data-label="Price (KES)"] {
        background: rgba(255, 144, 0, 0.1);
    }
    
    .pricing-table td[data-label="Price (KES)"]::before {
        color: #ffcc80;
    }
    
    .pricing-table td[data-label="Includes"] ul {
        margin: 0;
        padding-left: 1.2rem;
    }
    
    .pricing-table td[data-label="Includes"] li {
        margin-bottom: 0.5rem;
    }
    
    .pricing-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .pricing-category i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .pricing-table, 
    .pricing-table tbody, 
    .pricing-table tr, 
    .pricing-table td {
        display: block;
        width: 100%;
    }
    
    .pricing-table tr {
        margin-bottom: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        overflow: hidden;
    }
    
    .pricing-table td {
        padding: 12px 15px;
        text-align: right;
        position: relative;
        padding-left: 45%;
    }
    
    .pricing-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 40%;
        padding-right: 10px;
        text-align: left;
        font-weight: 600;
        color: #94a3b8;
    }
    
    .pricing-category {
        justify-content: flex-end;
    }
    
    .pricing-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-table tbody tr {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.pricing-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.pricing-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.pricing-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.pricing-table tbody tr:nth-child(4) { animation-delay: 0.4s; }
.pricing-table tbody tr:nth-child(5) { animation-delay: 0.5s; }

/* =================================
   New Pricing Cards - Clean & Modern
   ================================= */
.pricing-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 20px;
}

/* Pricing Card */
.pricing-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

/* Card Header */
.card-header {
    background: linear-gradient(135deg, #0a4a0a, #1a7a1a);
    color: white;
    padding: 20px;
    text-align: center;
}

.card-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.card-header p {
    margin: 5px 0 0;
    opacity: 0.9;
    font-size: 1rem;
}

/* Card Body */
.card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Price List */
.price-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

/* Price Item */
.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.price-item:hover {
    background-color: #f8fafc;
    transform: translateX(5px);
}

/* Price Label */
.price-label {
    font-size: 0.95rem;
    color: #4b5563;
}

/* Price Amount */
.price-amount {
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(45deg, #0a4a0a, #1a7a1a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #0a4a0a; /* Fallback for older browsers */
    padding: 5px 12px;
    border-radius: 20px;
    background-color: #f0fdf4;
    box-shadow: 0 2px 5px rgba(10, 74, 10, 0.1);
    display: inline-block;
    min-width: 100px;
    text-align: right;
    white-space: nowrap;
}

/* Requirements Section */
.requirements {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-top: auto;
    border: 1px dashed #e2e8f0;
}

.requirements-list {
    margin: 0;
    padding-left: 20px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

.requirements-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.requirements-list li:before {
    content: '•';
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.requirements h4 {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.requirements h4:before {
    content: '📋';
    font-size: 1.1em;
}

.requirements ul {
    margin: 0;
    padding-left: 20px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

.requirements li {
    margin-bottom: 6px;
    position: relative;
}

.requirements li:before {
    content: '•';
    color: #10b981;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .pricing-cards-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .card-header h3 {
        font-size: 1.3rem;
    }
    
    .price-item {
        padding: 12px 0;
    }
    
    .price-amount {
        font-size: 1rem;
    }
}
