/* ========================================
   Pricing Page Specific Styles
   ======================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #024f83 0%, #0369a1 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Plan Selector Section */
.plan-selector {
    padding: 80px 0;
    background: #f8fafc;
}

.selector-intro {
    text-align: center;
    margin-bottom: 50px;
}

.selector-intro h2 {
    font-size: 2rem;
    color: #024f83;
    margin-bottom: 15px;
}

.selector-intro p {
    font-size: 1.1rem;
    color: #6b7280;
}

/* Plan Cards */
.plan-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    background: white;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.plan-card-recommended {
    border: 3px solid #f59e0b;
    transform: scale(1.05);
}

.plan-card-recommended:hover {
    transform: scale(1.05) translateY(-8px);
}

.recommended-badge {
    position: absolute;
    top: 20px;
    right: -10px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 25px;
}

.plan-name {
    font-size: 2rem;
    color: #024f83;
    margin-bottom: 8px;
}

.plan-tagline {
    color: #6b7280;
    font-size: 1rem;
}

.plan-price-section {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px 0;
    border-top: 2px solid #e5e7eb;
    border-bottom: 2px solid #e5e7eb;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: #024f83;
    line-height: 1;
}

.price-unit {
    font-size: 1.5rem;
    color: #024f83;
}

.price-note {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 8px;
}

.plan-target {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.plan-target strong {
    color: #024f83;
    display: block;
    margin-bottom: 8px;
}

.plan-target p:last-child {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.6;
}

.plan-summary {
    margin-bottom: 25px;
    flex-grow: 1;
}

.plan-summary p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.95rem;
}

.btn-plan-detail {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background: #024f83;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-plan-detail:hover {
    background: #0369a1;
}

/* Plan Details Section */
.plan-details {
    padding: 80px 0;
    background: white;
}

.detail-section {
    max-width: 900px;
    margin: 0 auto 40px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.detail-highlight {
    border-color: #f59e0b;
}

.detail-header {
    background: #024f83;
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.detail-price {
    font-size: 1.3rem;
    font-weight: bold;
}

.detail-content {
    padding: 30px;
}

.detail-base {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.base-include {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 10px;
}

.plus-icon {
    display: inline-block;
    font-size: 2rem;
    color: #f59e0b;
    font-weight: bold;
}

.detail-category {
    margin-bottom: 25px;
}

.detail-category:last-child {
    margin-bottom: 0;
}

.detail-category h4 {
    font-size: 1.2rem;
    color: #024f83;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.detail-category ul {
    list-style: none;
    padding: 0;
}

.detail-category li {
    padding: 10px 0 10px 30px;
    position: relative;
    line-height: 1.6;
    color: #374151;
}

.detail-category li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

.detail-category li strong {
    color: #024f83;
}

/* Comparison Table Section */
.comparison-table-section {
    padding: 80px 0;
    background: #f8fafc;
}

.table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}

.comparison-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.comparison-table thead {
    background: #024f83;
    color: white;
}

.comparison-table th {
    padding: 20px 15px;
    text-align: center;
    font-weight: bold;
}

.comparison-table .feature-col {
    text-align: left;
    min-width: 250px;
}

.comparison-table .plan-col {
    min-width: 150px;
}

.comparison-table .plan-col-highlight {
    background: #0369a1;
}

.table-price {
    display: block;
    font-size: 0.9rem;
    font-weight: normal;
    margin-top: 5px;
    opacity: 0.9;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table tbody tr:hover {
    background: #f8fafc;
}

.comparison-table td {
    padding: 15px;
}

.category-row {
    background: #f0f4f8 !important;
}

.category-row td {
    color: #024f83;
    font-weight: bold;
    padding: 15px;
}

.check {
    text-align: center;
    color: #10b981;
    font-size: 1.2rem;
    font-weight: bold;
}

.no-check {
    text-align: center;
    color: #d1d5db;
    font-size: 1.2rem;
}

.highlight {
    background: #fef3c7;
}

/* Customization Section */
.customization-section {
    padding: 80px 0;
    background: white;
}

.customize-intro {
    text-align: center;
    margin: 30px 0 50px;
}

.customize-note {
    display: inline-block;
    padding: 15px 30px;
    background: #fff5e6;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    color: #92400e;
    font-weight: 500;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.option-item {
    background: #f8fafc;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e5e7eb;
}

.option-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #024f83;
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.option-item h3 {
    font-size: 1.3rem;
    color: #024f83;
    margin-bottom: 10px;
}

.option-price {
    font-size: 1.5rem;
    color: #f59e0b;
    font-weight: bold;
    margin-bottom: 15px;
}

.option-desc {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

.custom-consultation {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
    border-radius: 12px;
}

.custom-consultation h3 {
    font-size: 1.5rem;
    color: #024f83;
    margin-bottom: 15px;
}

.custom-consultation p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Pricing FAQ Section */
.pricing-faq {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.faq-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.faq-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.faq-card h3 {
    color: #024f83;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.faq-card p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #024f83 0%, #0369a1 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-contact-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    background: #f59e0b;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-contact-large:hover {
    background: #d97706;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-secondary-large {
    padding: 18px 40px;
    font-size: 1.2rem;
    background: white;
    color: #024f83;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary-large:hover {
    background: transparent;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .plan-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .plan-card-recommended {
        transform: scale(1);
    }

    .plan-card-recommended:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .selector-intro h2 {
        font-size: 1.5rem;
    }

    .plan-name {
        font-size: 1.5rem;
    }

    .price-number {
        font-size: 2.5rem;
    }

    .detail-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .detail-header h3 {
        font-size: 1.2rem;
    }

    .detail-price {
        font-size: 1.1rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-contact-large,
    .btn-secondary-large {
        width: 100%;
        max-width: 350px;
    }
}

/* ========================================
   Additional Optimizations
   ======================================== */

/* Breadcrumb */
.breadcrumb {
    background: #f8fafc;
    padding: 15px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-top: 60px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #024f83;
}

.breadcrumb-separator {
    color: #9ca3af;
}

.breadcrumb-current {
    color: #024f83;
    font-weight: 500;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #024f83;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(2, 79, 131, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0369a1;
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(2, 79, 131, 0.4);
}

/* Plan Card Contact Button */
.btn-plan-contact {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background: #f59e0b;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.btn-plan-contact:hover {
    background: #d97706;
}

/* Responsive for Additional Elements */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 12px 0;
    }
    
    .breadcrumb .container {
        font-size: 0.85rem;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}