/* =======================================
   Terms & Privacy Page Styles
   ======================================= */

.terms-page {
    background: linear-gradient(180deg, #f4f6fb 0%, #fff 40%);
    min-height: 100vh;
    padding-bottom: 60px;
}

.terms-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero */
.terms-hero {
    text-align: center;
    padding: 50px 20px 30px;
}

.terms-hero-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.terms-hero h1 {
    font-family: 'hebbo_bold', Arial, sans-serif;
    font-size: 32px;
    color: #0c3a72;
    margin: 0 0 8px;
}

.terms-hero-company {
    font-family: 'hebbo_regular', Arial, sans-serif;
    font-size: 16px;
    color: #666;
    margin-bottom: 4px;
}

.terms-updated {
    font-size: 13px;
    color: #999;
    margin-top: 6px;
}

/* Blocks */
.terms-block {
    background: #fff;
    border-radius: 14px;
    padding: 26px 28px;
    margin-bottom: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef1f5;
    transition: box-shadow 0.3s ease;
}

.terms-block:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.terms-block h2 {
    font-family: 'hebbo_bold', Arial, sans-serif;
    font-size: 20px;
    color: #0c3a72;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, #5ce1e6, #38b2ac);
    color: #fff;
    border-radius: 50%;
    font-size: 15px;
    font-weight: bold;
    font-family: 'hebbo_bold', Arial, sans-serif;
}

.terms-block p {
    font-family: 'hebbo_regular', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.85;
    color: #444;
    margin: 0 0 10px;
}

.terms-block p:last-child {
    margin-bottom: 0;
}

.terms-block b {
    color: #222;
    font-family: 'hebbo_bold', Arial, sans-serif;
}

.terms-block ul {
    padding-right: 24px;
    padding-left: 0;
    margin: 10px 0 14px;
}

.terms-block ul li {
    font-family: 'hebbo_regular', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    position: relative;
    padding-right: 8px;
    margin-bottom: 4px;
}

.terms-block ul li::marker {
    color: #5ce1e6;
    font-size: 18px;
}

.terms-block a {
    color: #1976D2;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.terms-block a:hover {
    color: #0c3a72;
    text-decoration: underline;
}

/* Alert Box */
.terms-alert {
    background: #fff8e1;
    border-right: 4px solid #ffc107;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 12px;
    font-family: 'hebbo_regular', Arial, sans-serif;
    font-size: 14px;
    color: #6d5700;
    line-height: 1.7;
}

.terms-alert-green {
    background: #e8f5e9;
    border-right-color: #43A047;
    color: #2e7d32;
}

/* Contact box */
.terms-contact {
    background: #f0f4ff;
    border-radius: 10px;
    padding: 16px 20px;
    text-align: center;
    margin-top: 12px;
}

.terms-contact a {
    font-size: 17px;
    color: #0c3a72;
    font-family: 'hebbo_bold', Arial, sans-serif;
}

/* Divider */
.terms-divider {
    padding: 50px 0 10px;
    text-align: center;
}

.terms-divider-line {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #5ce1e6, transparent);
    margin: 0 auto;
    border-radius: 3px;
}

/* Back to top button */
.terms-back-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: #0c3a72;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(12, 58, 114, 0.35);
    transition: all 0.3s ease;
    z-index: 1000;
}

.terms-back-top:hover {
    background: #5ce1e6;
    color: #0c3a72;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(92, 225, 230, 0.4);
}

/* Responsive */
@media screen and (max-width: 640px) {
    .terms-hero {
        padding: 30px 10px 20px;
    }

    .terms-hero h1 {
        font-size: 26px;
    }

    .terms-block {
        padding: 20px 18px;
        margin-bottom: 14px;
        border-radius: 12px;
    }

    .terms-block h2 {
        font-size: 18px;
    }

    .terms-num {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 13px;
    }

    .terms-block p,
    .terms-block ul li {
        font-size: 14px;
    }

    .terms-back-top {
        bottom: 20px;
        left: 20px;
        width: 42px;
        height: 42px;
    }
}
