/* Pages Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e85a2b 100%);
    color: white;
    padding: 8rem 0 4rem;
    margin-top: 80px;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
    font-size: 3rem;
}

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

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-brand a {
    text-decoration: none;
}

/* Services Page Styles */
.services-detailed {
    padding: 5rem 0;
}

.service-detail {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 3rem;
    margin-bottom: 3rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-detail:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-icon-large {
    font-size: 4rem;
    min-width: 80px;
}

.service-info h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.features h4, .pricing-detail h4 {
    margin-bottom: 1rem;
    color: var(--text-black);
}

.features ul, .pricing-detail ul {
    list-style: none;
    padding: 0;
}

.features ul li, .pricing-detail ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-detail ul li strong {
    color: var(--primary-color);
}

.services-cta {
    background-color: var(--accent-gray);
    text-align: center;
    padding: 4rem 0;
}

/* How It Works Page Styles */
.process-steps {
    padding: 5rem 0;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.process-step.reverse {
    flex-direction: row-reverse;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h2 {
    margin-bottom: 1rem;
}

.step-details {
    margin-top: 1.5rem;
}

.step-details h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.format-list {
    list-style: none;
    padding: 0;
}

.format-list li {
    margin-bottom: 0.5rem;
    padding-left: 2rem;
    position: relative;
}

.step-visual {
    flex-shrink: 0;
}

.visual-icon {
    font-size: 6rem;
    opacity: 0.8;
}

.process-benefits {
    background-color: var(--accent-gray);
    padding: 4rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.typical-timeline {
    padding: 4rem 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-left: 2rem;
    flex: 1;
}

.timeline-content h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.timeline-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    opacity: 0.8;
}

.process-cta {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.process-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.process-cta .cta-button {
    background: white;
    color: var(--primary-color);
}

.process-cta .cta-button:hover {
    background: var(--accent-gray);
}

/* Pricing Page Styles */
.pricing-table-section {
    padding: 4rem 0;
}

.pricing-table {
    overflow-x: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border-radius: 12px;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.pricing-table th,
.pricing-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.pricing-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.pricing-table tr:hover {
    background-color: var(--accent-gray);
}

.package-deals {
    background-color: var(--accent-gray);
    padding: 5rem 0;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.package-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.package-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-color: rgba(255, 107, 53, 0.3);
}

.package-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.08);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
    position: relative;
    z-index: 5;
}

.popular-badge {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8F65 100%);
    color: white;
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 12px 12px;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    z-index: 10;
}

.package-header {
    background: linear-gradient(135deg, #2D3748 0%, #4A5568 100%);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.package-card.featured .package-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e85a2b 100%);
}

.package-header h3 {
    color: white;
    margin-bottom: 1rem;
}

.package-price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.package-content {
    padding: 2.5rem 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.package-description {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.package-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.package-features li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.package-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.package-cta {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e85a2b 100%);
    color: white;
    text-decoration: none;
    padding: 1.2rem 1rem;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.package-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.package-cta.secondary {
    background: transparent;
    color: var(--text-gray);
    border: 2px solid var(--border-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    box-shadow: none;
}

.package-cta.secondary:hover {
    background: var(--accent-gray);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pricing-calculator {
    padding: 4rem 0;
}

.calculator {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.calculator-input {
    margin-bottom: 2rem;
}

.calculator-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-black);
}

.calculator-input select,
.calculator-input input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.calculator-result {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--accent-gray);
    border-radius: 8px;
}

.calculator-result h3 {
    margin-bottom: 0.5rem;
}

#estimated-cost {
    color: var(--primary-color);
    font-size: 2rem;
}

#volume-discount-note {
    color: var(--primary-color);
    font-weight: 600;
}

.pricing-faq {
    background-color: var(--accent-gray);
    padding: 4rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.faq-item h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.pricing-cta {
    background: var(--text-black);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.pricing-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.pricing-cta .cta-button {
    background: var(--primary-color);
}

/* Contact Page Styles */
.contact-form-section {
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.task-request-form .form-group {
    margin-bottom: 2rem;
}

.task-request-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-black);
}

.task-request-form input,
.task-request-form select,
.task-request-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family);
}

.task-request-form input:focus,
.task-request-form select:focus,
.task-request-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.task-request-form small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    height: fit-content;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2rem;
    min-width: 40px;
}

.contact-method h4 {
    margin-bottom: 0.5rem;
    color: var(--text-black);
}

.contact-method p {
    margin-bottom: 0.25rem;
}

.contact-method small {
    color: #666;
}

/* Pricing Toggle */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 2rem 0;
    background: var(--border-color);
    border-radius: 8px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.toggle-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.toggle-btn:hover {
    background: white;
}

/* Magic-style Pricing Layout */
.magic-pricing-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-option {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    padding: 2.5rem;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-option.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.pricing-option.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, #e85a2b 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    z-index: 10;
}

.plan-label {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-black);
}

.pricing-header p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.price-big {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.pricing-features h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-black);
    text-align: left;
}

.pricing-features ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features ul li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.contract-info {
    background: var(--accent-gray);
    padding: 4rem 0;
    margin-top: 4rem;
    text-align: center;
}

.contract-info h2 {
    margin-bottom: 1rem;
}

.guarantee-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.guarantee-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.guarantee-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .magic-pricing-layout {
        grid-template-columns: 1fr;
    }
    
    .pricing-option.featured {
        transform: none;
    }
    
    .pricing-option.featured:hover {
        transform: translateY(-5px);
    }
}

.what-happens-next {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.what-happens-next h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.what-happens-next ol {
    padding-left: 1.5rem;
}

.what-happens-next li {
    margin-bottom: 0.5rem;
}

.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.success-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-content h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.quick-payment-options h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-black);
}

.quick-pay-buttons {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quick-pay-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-style: italic;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.success-actions .cta-button.secondary {
    background: transparent;
    color: var(--text-gray);
    border: 2px solid var(--border-color);
}

.success-actions .cta-button.secondary:hover {
    background: var(--accent-gray);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.alternative-contact {
    background-color: var(--accent-gray);
    padding: 4rem 0;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.method {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.method.coming-soon {
    opacity: 0.6;
}

.method h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-step,
    .process-step.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-content {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .package-card.featured {
        transform: none;
    }
}