/* Page Content Styles */
.page-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    overflow: hidden;
}

.page-header {
    background: linear-gradient(135deg, #ee4d2d 0%, #ff6b47 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin: 0;
    position: relative;
    z-index: 1;
}

.last-updated {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.content-sections {
    padding: 3rem 2rem;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ee4d2d;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #ff6b47;
}

/* Step Content */
.step-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.step-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.step-text li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.step-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Demo Elements */
.demo-search {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px dashed #dee2e6;
}

.search-bar {
    background: white;
    padding: 1rem;
    border-radius: 25px;
    border: 2px solid #ee4d2d;
    margin-bottom: 1rem;
    font-weight: 500;
}

.categories {
    background: #ee4d2d;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    display: inline-block;
    font-weight: 600;
}

.demo-product {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-img {
    width: 100px;
    height: 100px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.product-details div {
    margin-bottom: 0.5rem;
}

.demo-button {
    text-align: center;
}

.buy-btn {
    background: #ee4d2d;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
}

.arrow {
    font-size: 2rem;
    color: #666;
    margin: 1rem 0;
}

.shopee-logo {
    background: #ee4d2d;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.2s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

/* FAQ Styles */
.faq-search {
    background: #f8f9fa;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 12px;
    text-align: center;
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faq-search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.faq-search-btn {
    background: #ee4d2d;
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 1.2rem;
}

.faq-category {
    margin-top: 2rem;
}

.faq-item {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faq-question {
    background: #f8f9fa;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ee4d2d;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.faq-answer ul, .faq-answer ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Policy Boxes */
.policy-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 2rem;
    margin: 1.5rem 0;
    border-left: 4px solid #007bff;
}

.policy-box.success {
    border-left-color: #28a745;
    background: #d4edda;
}

.policy-box.warning {
    border-left-color: #ffc107;
    background: #fff3cd;
}

.policy-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Timeline */
.timeline {
    position: relative;
    margin: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: #ee4d2d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-content {
    margin-left: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex: 1;
}

.timeline-content h3 {
    color: #ee4d2d;
    margin-bottom: 0.5rem;
}

/* Process Steps */
.process-steps {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.2s;
}

.step:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #ee4d2d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

/* Tables */
.fee-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.fee-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.fee-table th,
.fee-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.fee-table th {
    background: #ee4d2d;
    color: white;
    font-weight: 600;
}

.fee-table .free {
    color: #28a745;
    font-weight: 600;
}

.fee-table .paid {
    color: #dc3545;
    font-weight: 600;
}

/* Important Notes */
.important-notes {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.note-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
}

.note-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.note-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.tip-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #fff, #f8f9fa);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tip-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

/* Contact Info */
.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.contact-details {
    margin: 1.5rem 0;
}

.contact-item {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.important-note {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 2rem 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-sections {
        padding: 2rem 1rem;
    }

    .step-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features-grid,
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-content {
        margin-left: 1rem;
    }

    .search-box {
        flex-direction: column;
        border-radius: 8px;
    }

    .faq-search-input {
        border-radius: 8px 8px 0 0;
    }

    .faq-search-btn {
        border-radius: 0 0 8px 8px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.5rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .note-item,
    .step {
        padding: 1rem;
    }

    .timeline-content {
        padding: 1rem;
    }
}

/* Highlight for search results */
mark {
    background: #fff3cd;
    padding: 0.2rem 0.3rem;
    border-radius: 3px;
}

.no-results-message {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-style: italic;
}