/* ============================
   PAGE WRAPPER
============================ */
.terms-page {
    max-width: 100%;
    
    padding: 40px 20px;
}

/* ============================
   PAGE HEADER
============================ */
.terms-title {
    font-size: 36px;
    font-weight: 800;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
    
}

.terms-updated {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}

.terms-intro {
    font-size: 16px;
    color: #4b5563;
    text-align: center;
    margin: 0 auto 30px;
    max-width: 650px;
    line-height: 1.6;
}

/* ============================
   CONTACT BUTTON
============================ */
.contact-btn {
    display: block;
    width: 160px;
    margin: 0 auto 30px;
    padding: 10px 18px;
    background: #239258;
    color: #fff;
    border-radius: 999px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    transition: .2s;
}

.contact-btn:hover {
    background: #059669;
}

/* ============================
   NAVIGATION TAGS
============================ */
.terms-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.terms-nav a {
    padding: 6px 12px;
    background: #eaf3ff;
    color: #1d4ed8;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.terms-nav a:hover {
    background: #dbeafe;
}

/* ============================
   TERMS SECTION CARDS
============================ */
.terms-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 25px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.terms-card h2 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #333;
}

.terms-card p,
.terms-card li {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
}

.terms-card ul {
    margin: 0;
    padding-left: 20px;
}


/* ============================
      RESPONSIVE
============================ */
@media (max-width: 700px) {
    .terms-page {
        max-width: 100%;
        padding: 30px 16px;
    }

    .terms-card {
        padding: 20px;
        width: 90%;
        
    }

    .terms-title {
        font-size: 30px;
    }

    .terms-intro {
        max-width: 100%;
        font-size: 15px;
    }
}


/* ============================
   DARK MODE — PERFECTED
============================ */
html.dark .terms-page {
    background: #121212;
}

html.dark .terms-title {
    color: #ffffff;
}

html.dark .terms-updated {
    color: #bfbfbf;
}

html.dark .terms-intro {
    color: #d0d0d0;
}

/* Navigation */
html.dark .terms-nav a {
    background: rgba(59,130,246,0.20);
    color: #bfdbfe;
}

html.dark .terms-nav a:hover {
    background: rgba(59,130,246,0.35);
}

/* Cards */
html.dark .terms-card {
    background: #1b1b1b;
    border-color: #2c2c2c;
}

html.dark .terms-card h2 {
    color: #ffffff;
}

html.dark .terms-card p,
html.dark .terms-card li {
    color: #e5e5e5;
}

/* Button */
html.dark .contact-btn {
    background: #0f8a4b;
}

html.dark .contact-btn:hover {
    background: #0d6a3a;
}
