/* ===============================================
   LEGAL PAGE (PRIVACY POLICY)
   =============================================== */

.legal-page {
    background-color: #edf1f6;
    min-height: calc(100vh - 60px);
    padding: 80px 0 40px 0;
}

.legal-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-header h1 {
    color: #333;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.legal-subtitle {
    color: #666;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Card Styles */
.legal-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e1e1e1;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Intro Card */
.intro-card {
    background-color: #f5f5f5;
    border: 2px solid #008080;
}

.card-icon-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.icon-box {
    background-color: #008080;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box.icon-shield {
    width: 50px;
    height: 50px;
}

.icon-box.icon-small {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border: 1px solid #e1e1e1;
}

.icon-box span {
    font-size: 24px;
}

.icon-small span {
    font-size: 20px;
}

.card-icon-header h2 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.intro-card p {
    color: #333;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* Section Title */
.section-title {
    color: #333;
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 25px 0;
    border-bottom: 3px solid #008080;
    padding-bottom: 10px;
}

/* Subsections */
.subsection {
    margin-bottom: 30px;
}

.subsection:last-child {
    margin-bottom: 0;
}

.subsection-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.subsection-header h3 {
    color: #008080;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.subsection p {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
    padding-left: 52px;
}

/* Legal List */
.legal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 52px;
}

.legal-list li {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.legal-list li::before {
    content: "•";
    color: #008080;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.feature-box {
    background-color: #f5f5f5;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.feature-icon {
    font-size: 28px;
    margin-bottom: 10px;
}

.feature-box h4 {
    color: #008080;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.feature-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Warning Box */
.warning-box {
    background-color: #fff8e1;
    border-left: 5px solid #FF9800;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.warning-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.warning-icon {
    font-size: 24px;
}

.warning-header h3 {
    color: #E65100;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.warning-box .legal-list {
    padding-left: 36px;
}

/* Guarantee Box */
.guarantee-box {
    background-color: #e8f5e9;
    border: 2px solid #4CAF50;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.guarantee-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.guarantee-box h3 {
    color: #2E7D32;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.guarantee-box p {
    color: #2E7D32;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.right-box {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.right-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.right-box h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.right-purple {
    background-color: #f3e5f5;
    color: #7B1FA2;
}

.right-blue {
    background-color: #e3f2fd;
    color: #1976D2;
}

.right-red {
    background-color: #ffebee;
    color: #C62828;
}

.right-orange {
    background-color: #fff3e0;
    color: #F57C00;
}

.right-green {
    background-color: #e8f5e9;
    color: #388E3C;
}

.right-pink {
    background-color: #fce4ec;
    color: #AD1457;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, #008080 0%, #006064 100%);
    color: white;
}

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

.contact-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.contact-header h2 {
    color: white;
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.contact-header p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-box {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.contact-box-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-box h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.contact-box a {
    color: #B2DFDB;
    text-decoration: none;
    font-size: 14px;
}

.contact-box a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Legal Footer Box */
.legal-footer-box {
    background-color: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.footer-icon {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-updated {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.footer-compliance {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 70px 0 30px 0;
    }

    .legal-container {
        padding: 0 15px;
    }

    .legal-header h1 {
        font-size: 32px;
    }

    .legal-subtitle {
        font-size: 16px;
    }

    .legal-card {
        padding: 20px;
    }

    .section-title {
        font-size: 22px;
    }

    .card-icon-header {
        flex-direction: column;
        text-align: center;
    }

    .subsection p,
    .legal-list {
        padding-left: 0;
    }

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

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

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

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 20px;
    }

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