/* General Order Page Styles */
.order-page {
    background-color: #f9f9f9;
    padding-top: 80px; /* Adjust for fixed header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Order Hero Section */
.order-hero {
    background: linear-gradient(120deg, #007bff, #00aaff);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.order-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.order-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Custom Package Section */
.custom-package-section {
    padding: 60px 0;
}

.custom-package-box {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.package-header h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 10px;
}

.package-sliders {
    margin: 30px 0;
}

.slider-group {
    margin-bottom: 20px;
}

.slider-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
}

.slider-group input[type="range"] {
    width: 80%;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

.slider-group input[type="range"]:hover {
    opacity: 1;
}

.slider-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #007bff;
    cursor: pointer;
    border-radius: 50%;
}

.package-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.price-display .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.1rem;
}

.price-display .new-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    display: block;
}

.price-display .price-term {
    font-size: 0.9rem;
    color: #777;
}

/* Advantages Section */
.advantages-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
    color: #666;
    font-size: 1.1rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.advantage-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.pricing-tabs {
    text-align: center;
    margin-bottom: 40px;
    background-color: #e9ecef;
    display: inline-flex;
    border-radius: 30px;
    padding: 5px;
    margin-left: 50%;
    transform: translateX(-50%);
}

.tab-link {
    padding: 10px 30px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    border-radius: 25px;
    transition: background-color 0.3s, color 0.3s;
}

.tab-link.active {
    background-color: #fff;
    color: #007bff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: center;
}

.price-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid #e9e9e9;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.price-card.featured {
    border-color: #007bff;
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: -40px;
    background-color: #28a745;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 700;
}

.price-card .card-header h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.price-card .card-price .original-price {
    text-decoration: line-through;
    color: #999;
}

.price-card .card-price .discounted-price {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    display: block;
    margin: 5px 0;
}

.price-card .card-price .price-cycle {
    color: #777;
    font-size: 0.9rem;
}

.price-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.price-card .feature-list li {
    margin-bottom: 15px;
    color: #555;
}

.price-card .feature-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #28a745;
    margin-right: 10px;
}

/* Animation Effects */
.animated-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animated-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Details Table */
.details-table-container {
    overflow-x: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

table th, table td {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

table th {
    background-color: #f8f9fa;
    font-size: 1.1rem;
    color: #333;
}

table td:first-child, table th:first-child {
    text-align: left;
    font-weight: 600;
}

table .fa-check {
    color: #28a745;
    font-size: 1.2rem;
}

table .fa-times {
    color: #dc3545;
    font-size: 1.2rem;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-secondary:hover {
    background-color: #5a6268;
}
