/* Legal Pages Styles */

/* Legal Page Layout */
.legal-page {
    padding: 96px 0 72px;
    min-height: 100vh;
    background: #ffffff;
}

.legal-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 72px);
}

.legal-header {
    text-align: left;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: none;
}

.legal-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.05;
    color: #10241a;
    margin: 0 0 12px;
}

.legal-updated {
    font-size: 14px;
    color: #5f6d63;
    letter-spacing: 0.02em;
    margin: 0;
    text-transform: uppercase;
}

/* Legal Content */
.legal-content {
    background: #ffffff;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.legal-section {
    margin-bottom: 0;
    padding: 28px 0;
    border-bottom: none;
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    color: #1a5c3e;
    margin-bottom: 14px;
}

.legal-section h3 {
    font-size: 17px;
    font-weight: 700;
    color: #223127;
    margin: 20px 0 10px;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #36413b;
    margin-bottom: 12px;
}

.legal-section ul,
.legal-section ol {
    margin: 12px 0;
    padding-left: 22px;
}

.legal-section li {
    font-size: 16px;
    line-height: 1.8;
    color: #36413b;
    margin-bottom: 10px;
}

.legal-section a {
    color: #1a5c3e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-section a:hover {
    color: #0d3d2b;
}

/* Legal Info Box */
.legal-info-box {
    background: #ffffff;
    padding: 16px 0;
    border-radius: 0;
    margin: 16px 0;
    border-top: none;
    border-bottom: none;
}

.legal-info-box p {
    margin-bottom: 4px;
}

/* Legal Table */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.legal-table th,
.legal-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.legal-table th {
    background: #ffffff;
    font-weight: 600;
    color: #333;
}

.legal-table td {
    color: #444;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.right-item {
    background: #ffffff;
    padding: 16px 0;
    border-radius: 0;
    text-align: center;
    border-top: none;
    box-shadow: none;
}

.right-item i {
    font-size: 28px;
    color: #1a5c3e;
    margin-bottom: 8px;
}

.right-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.right-item p {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.link-button {
    background: none;
    border: none;
    color: #1a5c3e;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

/* Contact Page */
.contact-page {
    padding: 96px 0 72px;
    min-height: 100vh;
    background: #ffffff;
}

.contact-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 72px);
}

.contact-header {
    text-align: left;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: none;
}

.contact-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.05;
    color: #10241a;
    margin: 0 0 12px;
}

.contact-header p {
    font-size: 16px;
    color: #5f6d63;
    max-width: 60ch;
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

/* Contact Form */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #223127;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(26, 92, 62, 0.16);
    border-radius: 12px;
    font-size: 15px;
    color: #223127;
    background: #ffffff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a5c3e;
    background: white;
    box-shadow: 0 0 0 3px rgba(26, 92, 62, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input {
    width: auto;
    margin-top: 4px;
}

.form-checkbox label {
    font-size: 13px;
    font-weight: 400;
    color: #5f6d63;
    margin-bottom: 0;
}

.form-checkbox a {
    color: #1a5c3e;
}

.submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: #1a5c3e;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #0d3d2b;
    transform: translateY(-1px);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-card {
    background: #ffffff;
    border-radius: 0;
    padding: 18px 0 0;
    box-shadow: none;
    border-top: none;
}

.info-icon {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid rgba(26, 92, 62, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.info-icon i {
    font-size: 22px;
    color: #1a5c3e;
}

.info-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #223127;
    margin-bottom: 4px;
}

.info-card p {
    font-size: 13px;
    color: #6b756f;
    margin-bottom: 8px;
}

.info-card a {
    font-size: 14px;
    color: #1a5c3e;
    font-weight: 500;
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

.response-time {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0 0;
    background: transparent;
    border-radius: 0;
    font-size: 14px;
    color: #5f6d63;
}

.response-time i {
    font-size: 20px;
    color: #1a5c3e;
}

/* Support Page */
.support-page {
    padding: 96px 0 72px;
    min-height: 100vh;
    background: #ffffff;
}

.support-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 72px);
}

.support-header {
    text-align: left;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: none;
}

.support-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 700;
    line-height: 1.05;
    color: #10241a;
    margin: 0 0 12px;
}

.support-header p {
    font-size: 16px;
    color: #5f6d63;
    margin: 0 0 24px;
    max-width: 60ch;
}

.support-search {
    max-width: 560px;
    margin: 0;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    padding: 6px 20px;
    border: 1px solid rgba(26, 92, 62, 0.16);
    box-shadow: none;
}

.support-search i {
    font-size: 20px;
    color: #999;
    margin-right: 12px;
}

.support-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    padding: 10px 0;
    background: transparent;
}

/* Help Categories */
.help-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.help-category {
    background: #ffffff;
    border-radius: 0;
    padding: 20px 0 16px;
    text-align: center;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
}

.help-category:hover {
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: none;
}

.category-icon {
    width: 56px;
    height: 56px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(26, 92, 62, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.category-icon i {
    font-size: 26px;
    color: #1a5c3e;
}

.help-category h3 {
    font-size: 16px;
    font-weight: 700;
    color: #223127;
    margin-bottom: 4px;
}

.help-category p {
    font-size: 12px;
    color: #6b756f;
}

/* FAQ Categories */
.support-faq {
    margin-bottom: 40px;
    background: #f5f6f7;
    padding: 24px 24px 8px;
    border-radius: 0;
}

.faq-category {
    background: transparent;
    border-radius: 0;
    padding: 24px 0;
    margin-bottom: 0;
    box-shadow: none;
    border-bottom: none;
}

.faq-category h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a5c3e;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-category h2 i {
    font-size: 24px;
}

/* FAQ Items in Support Page */
.faq-category .faq-item {
    background: #ffffff;
    border-radius: 0;
    margin-bottom: 10px;
    overflow: hidden;
    border: none;
    transition: all 0.3s ease;
}

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

.faq-category .faq-item:hover {
    border-color: transparent;
}

.faq-category .faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #223127;
    transition: all 0.3s ease;
}

.faq-category .faq-question:hover {
    color: #1a5c3e;
}

.faq-category .faq-question span {
    flex: 1;
    padding-right: 16px;
}

.faq-category .faq-question i {
    font-size: 20px;
    color: #999;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-category .faq-item.open .faq-question i {
    transform: rotate(180deg);
    color: #1a5c3e;
}

.faq-category .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-category .faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-category .faq-answer p {
    font-size: 14px;
    color: #36413b;
    line-height: 1.7;
    margin-bottom: 12px;
}

.faq-category .faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-category .faq-answer ul,
.faq-category .faq-answer ol {
    margin: 12px 0;
    padding-left: 20px;
}

.faq-category .faq-answer li {
    font-size: 14px;
    color: #36413b;
    line-height: 1.6;
    margin-bottom: 8px;
}

.faq-category .faq-answer a {
    color: #1a5c3e;
    text-decoration: underline;
}

/* Support Contact */
.support-contact {
    background: #ffffff;
    background-image: none !important;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0;
    padding: 40px 0 0;
    text-align: center;
    color: #10241a;
    border-top: none;
}

.support-contact h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.support-contact p {
    font-size: 14px;
    color: #5f6d63;
    font-weight: 700;
    margin-bottom: 24px;
}

.support-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.support-btn {
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.support-btn-primary {
    background: white;
    color: #1a5c3e;
    border: 1px solid rgba(26, 92, 62, 0.18);
}

.support-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.support-btn-secondary {
    background: transparent;
    color: #1a5c3e;
    border: 1px solid rgba(26, 92, 62, 0.22);
}

.support-btn-secondary:hover {
    background: rgba(26, 92, 62, 0.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .legal-page,
    .contact-page,
    .support-page {
        padding: 80px 0 40px;
    }

    .legal-container,
    .contact-container,
    .support-container {
        padding: 0 16px;
    }

    .legal-header,
    .contact-header,
    .support-header {
        margin-bottom: 24px;
        padding-bottom: 18px;
    }

    .legal-header h1,
    .contact-header h1,
    .support-header h1 {
        font-size: 28px;
    }

    .legal-header p,
    .contact-header p,
    .support-header p {
        font-size: 15px;
    }

    .legal-content {
        padding: 0;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-section h3 {
        font-size: 16px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 15px;
    }

    .rights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form-wrapper {
        padding: 0;
    }

    .contact-info {
        gap: 12px;
    }

    .info-card {
        padding: 16px 0 0;
    }

    .support-search {
        max-width: none;
    }

    .help-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 32px;
    }

    .help-category {
        padding: 16px 12px;
    }

    .category-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
    }

    .category-icon i {
        font-size: 22px;
    }

    .help-category h3 {
        font-size: 14px;
    }

    .help-category p {
        font-size: 11px;
    }

    .support-faq {
        margin-bottom: 32px;
        padding: 20px 16px 4px;
    }

    .faq-category {
        padding: 20px 0;
        margin-bottom: 0;
    }

    .faq-category h2 {
        font-size: 17px;
        margin-bottom: 16px;
    }

    .faq-category h2 i {
        font-size: 20px;
    }

    .faq-category .faq-question {
        padding: 14px 16px;
        font-size: 14px;
    }

    .faq-category .faq-item.open .faq-answer {
        padding: 0 16px 16px;
    }

    .faq-category .faq-answer p,
    .faq-category .faq-answer li {
        font-size: 13px;
    }

    .support-contact {
        padding-top: 24px;
    }

    .support-contact h3 {
        font-size: 18px;
    }

    .support-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .support-btn {
        width: 100%;
        justify-content: center;
    }
}
