/* =========================================================
   PREMIUM TERMS & CONDITIONS
   ========================================================= */

.terms-page {
    background: #f4f7fb;
}

.terms-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 86% 14%, rgba(109, 93, 252, .30), transparent 28%),
        linear-gradient(135deg, #0b1f3a 0%, #111827 62%, #172554 100%);
}

.terms-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.terms-eyebrow {
    display: inline-block;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    color: #c9d8ff;
    background: rgba(255, 255, 255, .06);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.terms-hero h1 {
    margin: 16px 0 14px;
    color: #ffffff;
    font-size: clamp(40px, 5vw, 58px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.terms-hero p {
    max-width: 760px;
    margin: 0;
    color: #c0cce0;
    font-size: 17px;
    line-height: 1.7;
}

.terms-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.terms-meta span {
    padding: 7px 11px;
    border-radius: 9px;
    color: #aebbd0;
    background: rgba(255, 255, 255, .055);
    font-size: 11px;
    font-weight: 700;
}

.terms-content-section {
    padding: 70px 0 90px;
}

.terms-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.terms-sidebar {
    position: sticky;
    top: 24px;
}

.terms-sidebar-card {
    padding: 20px;
    border: 1px solid #e5eaf1;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(20, 34, 61, .05);
}

.terms-sidebar-label {
    display: block;
    margin-bottom: 12px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
}

.terms-sidebar nav {
    display: grid;
}

.terms-sidebar a {
    padding: 8px;
    color: #65748a;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.3;
    text-decoration: none;
}

.terms-sidebar a:hover {
    color: #2563eb;
    background: #f3f7ff;
}

.terms-policy-card {
    padding: 44px;
    border: 1px solid #e5eaf1;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(20, 34, 61, .06);
}

.terms-intro {
    padding: 22px;
    border: 1px solid #dce7f8;
    border-radius: 16px;
    background: linear-gradient(135deg, #f5f9ff, #faf9ff);
}

.terms-intro strong {
    display: block;
    margin-bottom: 7px;
    color: #162033;
    font-size: 16px;
}

.terms-intro p {
    margin: 0;
}

.terms-policy-section {
    padding: 38px 0;
    scroll-margin-top: 25px;
    border-bottom: 1px solid #edf1f6;
}

.terms-policy-section:last-of-type {
    border-bottom: 0;
}

.terms-section-number {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 28px;
    padding: 0 8px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: #2563eb;
    background: #eaf2ff;
    font-size: 10px;
    font-weight: 900;
}

.terms-policy-card h2 {
    margin: 0 0 15px;
    color: #162033;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -.03em;
}

.terms-policy-card p {
    color: #66758c;
    line-height: 1.75;
}

.terms-policy-card a {
    color: #2563eb;
}

.terms-list {
    display: grid;
    gap: 9px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.terms-list li {
    position: relative;
    padding: 12px 14px 12px 38px;
    color: #66758c;
    border: 1px solid #edf1f6;
    border-radius: 11px;
    background: #fbfcfe;
    line-height: 1.6;
}

.terms-list li::before {
    content: "✓";
    position: absolute;
    top: 13px;
    left: 14px;
    width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #159a6b;
    background: #e8f8f1;
    font-size: 9px;
    font-weight: 900;
}

.terms-highlight-box {
    margin: 20px 0;
    padding: 20px;
    border-radius: 15px;
    color: #ffffff;
    background:
        radial-gradient(circle at 95% 10%, rgba(109, 93, 252, .30), transparent 35%),
        linear-gradient(135deg, #0b1f3a, #172554);
}

.terms-highlight-box strong {
    color: #ffffff;
}

.terms-highlight-box p {
    margin: 7px 0 0;
    color: #bac7da;
}

.terms-data-note {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #dce7f8;
    border-radius: 15px;
    background: #f5f9ff;
}

.terms-data-note strong {
    color: #2563eb;
}

.terms-data-note p {
    margin: 7px 0 0;
}

.terms-contact-final {
    display: grid;
    gap: 4px;
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e5eaf1;
    border-radius: 15px;
    background: #f8fafc;
}

.terms-contact-final strong {
    color: #162033;
}

.terms-contact-final span {
    color: #66758c;
    font-size: 13px;
}

.terms-contact-final a {
    margin-top: 5px;
    font-weight: 800;
    text-decoration: none;
}

.terms-legal-note {
    margin-top: 15px;
    padding: 20px;
    border: 1px solid #f0d49f;
    border-radius: 15px;
    background: #fff9ed;
}

.terms-legal-note strong {
    color: #a9630c;
}

.terms-legal-note p {
    margin: 7px 0 0;
    color: #755f42;
    font-size: 13px;
}

@media (max-width: 980px) {
    .terms-layout {
        grid-template-columns: 1fr;
    }

    .terms-sidebar {
        position: static;
    }

    .terms-sidebar-card nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .terms-hero {
        padding: 56px 0;
    }

    .terms-content-section {
        padding: 45px 0 65px;
    }

    .terms-policy-card {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .terms-sidebar-card nav {
        grid-template-columns: 1fr;
    }

    .terms-policy-section {
        padding: 30px 0;
    }

    .terms-policy-card h2 {
        font-size: 24px;
    }
}
