/* ===========================================
   Help Page Styles - Matching Site Theme
   =========================================== */

.help-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: Tahoma, Verdana, Arial, sans-serif;
}

/* Hero Section - Using site's orange/yellow */
.help-hero {
    text-align: center;
    padding: 30px 20px;
    background: #FECC00;
    border-radius: 5px;
    margin-bottom: 25px;
    border: 3px solid #eee;
}

.help-hero h1 {
    color: #262626;
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 8px 0;
    font-family: Arial, sans-serif;
}

.help-hero h1 i {
    margin-right: 10px;
    color: #ff5d00;
}

.help-hero p {
    color: #525252;
    font-size: 13px;
    margin: 0;
}

/* Cards Grid */
.help-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

/* Individual Card - Matching site's block style */
.help-card {
    display: block;
    background: #fff;
    border-radius: 5px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
    border: 1px solid #ccc;
    border-top: 3px solid #f39c12;
    transition: all 0.2s ease;
    position: relative;
}

.help-card:hover {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.25);
    text-decoration: none;
    border-top-color: #ff5d00;
}

.help-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 22px;
    background: #FECC00;
    color: #262626;
}

.help-card:nth-child(1) .help-card-icon {
    background: #ff5d00;
    color: #fff;
}

.help-card:nth-child(2) .help-card-icon {
    background: #FECC00;
    color: #262626;
}

.help-card:nth-child(3) .help-card-icon {
    background: #f39c12;
    color: #fff;
}

.help-card h3 {
    font-size: 14px;
    font-weight: bold;
    color: #303030;
    margin: 0 0 6px 0;
    font-family: Arial, sans-serif;
}

.help-card p {
    font-size: 11px;
    color: #5d5d5d;
    margin: 0;
    line-height: 1.5;
}

.help-card .card-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #ccc;
    transition: all 0.2s ease;
}

.help-card:hover .card-arrow {
    color: #ff5d00;
    transform: translateY(-50%) translateX(3px);
}

/* DNS Section */
.help-dns {
    background: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

.help-dns h2 {
    font-size: 16px;
    font-weight: bold;
    color: #303030;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff5d00;
    font-family: Arial, sans-serif;
}

.help-dns h2 i {
    color: #ff5d00;
    margin-right: 8px;
}

.dns-intro {
    font-size: 12px;
    color: #525252;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 5px;
    border-left: 3px solid #FECC00;
}

.dns-intro strong {
    color: #ff5d00;
}

.dns-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.dns-box {
    background: #f9f9f9;
    border-radius: 5px;
    padding: 15px;
    border: 1px solid #eee;
}

.dns-box h4 {
    font-size: 14px;
    font-weight: bold;
    color: #303030;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.dns-box h4 i {
    margin-right: 6px;
    color: #ff5d00;
}

.dns-box ol {
    margin: 0;
    padding-left: 20px;
    font-size: 11px;
    color: #525252;
    line-height: 1.8;
}

.dns-box ol li {
    margin-bottom: 5px;
    list-style: decimal;
}

.dns-box code {
    background: #FECC00;
    color: #262626;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
    font-weight: bold;
}

.dns-links {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #3ddc84;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.store-btn:hover {
    opacity: 0.9;
    text-decoration: none;
}

.store-btn.apple {
    background: #000;
}

.dns-addresses {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 15px;
    background: #262626;
    border-radius: 5px;
}

.dns-addr {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dns-addr .label {
    background: #ff5d00;
    color: #fff;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
}

.dns-addr code {
    background: #333;
    color: #FECC00;
    padding: 6px 12px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 12px;
}

/* FAQ/Tips Section */
.help-faq {
    background: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
    border: 1px solid #ccc;
    margin-bottom: 20px;
}


.help-faq h2 {
    font-size: 16px;
    font-weight: bold;
    color: #303030;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #FECC00;
    font-family: Arial, sans-serif;
}

.help-faq h2 i {
    color: #f39c12;
    margin-right: 8px;
}

.faq-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.faq-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    border-left: 3px solid #FECC00;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-left-color: #ff5d00;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: #FECC00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #262626;
}

.faq-item:nth-child(1) .faq-icon {
    background: #ff5d00;
    color: #fff;
}

.faq-item:nth-child(2) .faq-icon {
    background: #e74c3c;
    color: #fff;
}

.faq-item:nth-child(3) .faq-icon {
    background: #3498db;
    color: #fff;
}

.faq-item:nth-child(4) .faq-icon {
    background: #27ae60;
    color: #fff;
}

.faq-content h4 {
    font-size: 13px;
    font-weight: bold;
    color: #303030;
    margin: 0 0 5px 0;
}

.faq-content p {
    font-size: 11px;
    color: #5d5d5d;
    margin: 0;
    line-height: 1.5;
}

/* Contact Section */
.help-info {
    margin-top: 25px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #e6e6e6;
    text-align: center;
}

.help-info p {
    color: #525252;
    margin: 0 0 12px 0;
    font-size: 12px;
}

.help-info a.contact-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #FECC00;
    color: #262626;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    font-size: 13px;
    border: 1px solid #e0b800;
    transition: all 0.2s ease;
}

.help-info a.contact-btn:hover {
    background: #ff5d00;
    color: #fff;
    border-color: #e05000;
    text-decoration: none;
}

.help-info a.contact-btn i {
    margin-right: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .help-hero {
        padding: 20px 15px;
    }

    .help-hero h1 {
        font-size: 20px;
    }

    .help-cards {
        grid-template-columns: 1fr;
    }

    .help-card {
        padding: 15px;
    }

    .faq-items {
        grid-template-columns: 1fr;
    }

    .faq-item {
        padding: 12px;
    }
}

/* ===========================================
   Terms Page Styles
   =========================================== */

.terms-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: Tahoma, Verdana, Arial, sans-serif;
}

.terms-hero {
    text-align: center;
    padding: 25px 20px;
    background: #FECC00;
    border-radius: 5px;
    margin-bottom: 25px;
    border: 3px solid #eee;
}

.terms-hero h1 {
    color: #262626;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 8px 0;
    font-family: Arial, sans-serif;
}

.terms-hero h1 i {
    margin-right: 10px;
    color: #ff5d00;
}

.terms-hero p {
    color: #525252;
    font-size: 12px;
    margin: 0;
}

.terms-section {
    background: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

.terms-section h2 {
    font-size: 15px;
    font-weight: bold;
    color: #303030;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #FECC00;
    font-family: Arial, sans-serif;
}

.terms-section h2 i {
    color: #ff5d00;
    margin-right: 8px;
}

.terms-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.terms-table tr {
    border-bottom: 1px solid #eee;
}

.terms-table tr:last-child {
    border-bottom: none;
}

.terms-table tr:hover {
    background: #f9f9f9;
}

.terms-table td {
    padding: 10px 8px;
    vertical-align: top;
}

.terms-table td.term {
    font-weight: bold;
    color: #303030;
    white-space: nowrap;
    width: 140px;
    background: #f5f5f5;
    border-right: 3px solid #FECC00;
}

.terms-table td.quality {
    width: 80px;
    text-align: center;
    font-weight: bold;
    font-size: 10px;
    border-radius: 3px;
    padding: 6px;
}

.terms-table td.quality.bad {
    background: #ffebee;
    color: #c62828;
}

.terms-table td.quality.medium {
    background: #fff3e0;
    color: #ef6c00;
}

.terms-table td.quality.good {
    background: #e8f5e9;
    color: #2e7d32;
}

.terms-table td.quality.excellent {
    background: #e3f2fd;
    color: #1565c0;
}

.terms-back {
    text-align: center;
    margin-top: 20px;
}

.back-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #f9f9f9;
    color: #525252;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.back-btn:hover {
    background: #FECC00;
    color: #262626;
    border-color: #e0b800;
    text-decoration: none;
}

.back-btn i {
    margin-right: 6px;
}

@media (max-width: 768px) {
    .terms-table td.term {
        width: auto;
        display: block;
        border-right: none;
        border-bottom: 2px solid #FECC00;
    }

    .terms-table td.quality {
        width: auto;
    }

    .terms-table td {
        display: block;
        padding: 8px;
    }

    .terms-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #eee;
        border-radius: 5px;
    }
}