/* ── Terms & Conditions Page ──────────────────────────────── */

/* ── Hero ──────────────────────────────────────────────────── */
.tc-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.tc-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    display: block;
}

.tc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15,23,42,0.86) 0%, rgba(15,23,42,0.6) 45%, rgba(15,23,42,0.2) 80%, transparent 100%);
    z-index: 1;
}

.tc-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 24px 80px 56px;
}

.tc-hero-inner { max-width: 560px; }

.tc-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.tc-hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 18px;
}

.tc-hero-gradient {
    background: linear-gradient(to right, #7dd3fc, #86efac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tc-hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    margin: 0 0 14px;
    max-width: 480px;
}

.tc-hero-updated {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin: 0;
    font-weight: 500;
}

/* ── Body Section ──────────────────────────────────────────── */
.tc-body-section {
    padding: 80px 0 96px;
    background: #f8fafc;
}

.tc-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Sidebar TOC ───────────────────────────────────────────── */
.tc-sidebar {
    position: sticky;
    top: 96px;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
}

.tc-toc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.tc-toc-card-top-bar {
    height: 4px;
    background: linear-gradient(to right, #288CCB, #49A644);
    border-radius: 16px 16px 0 0;
}

.tc-toc-body { padding: 24px 20px 20px; }

.tc-toc-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 16px;
}

.tc-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 20px;
}

.tc-toc-link {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 7px;
    transition: background 0.15s, color 0.15s;
    line-height: 1.4;
}
.tc-toc-link:hover { background: #f1f5f9; color: #0f172a; }
.tc-toc-link.is-active {
    background: linear-gradient(135deg, rgba(40,140,203,0.08), rgba(73,166,68,0.08));
    color: #288CCB;
    font-weight: 700;
}

.tc-toc-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #288CCB, #49A644);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}
.tc-toc-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── Content ───────────────────────────────────────────────── */
.tc-content {
    display: flex;
    flex-direction: column;
}

.tc-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 24px;
    margin-bottom: 16px;
    scroll-margin-top: 96px;
    transition: box-shadow 0.2s, padding 0.3s ease;
}
.tc-section.is-open { padding: 40px 40px 36px; }
.tc-section:last-child { margin-bottom: 0; }
.tc-section:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.06); }

.tc-section-header {
    cursor: pointer;
    user-select: none;
}

.tc-section-num {
    font-size: 11px;
    font-weight: 800;
    color: #288CCB;
    letter-spacing: 1px;
    margin-right: 8px;
}

.tc-section-heading {
    font-size: 24px;
    font-weight: 600;
    color: #288CCB;
    margin: 0 0 18px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tc-section-toggle {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #288CCB;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.tc-section.is-open .tc-section-toggle {
    transform: rotate(180deg);
}

.tc-section-body {
    max-height: 3000px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.tc-section:not(.is-open) .tc-section-body {
    max-height: 0;
}

.tc-subheading {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 24px 0 10px;
}

.tc-text {
    font-size: 15px;
    color: #475569;
    line-height: 1.8;
    margin: 0 0 14px;
}
.tc-text:last-child { margin-bottom: 0; }

.tc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

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

.tc-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, #288CCB, #49A644);
}

/* ── Highlight Box ─────────────────────────────────────────── */
.tc-highlight-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(40,140,203,0.06), rgba(73,166,68,0.06));
    border: 1px solid rgba(40,140,203,0.18);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 20px 0 4px;
}

.tc-highlight-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.tc-highlight-box p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* ── Contact Grid ──────────────────────────────────────────── */
.tc-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.tc-contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tc-contact-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
}

.tc-contact-value {
    font-size: 15px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
}
.tc-contact-value:hover { color: #288CCB; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .tc-layout { grid-template-columns: 220px 1fr; gap: 32px; }
    .tc-hero   { min-height: 400px; }
    .tc-hero-title { font-size: 38px; }
    .tc-hero-content { padding: 60px 24px; }
    .tc-hero-inner { max-width: 100%; }
}

@media (max-width: 768px) {
    .tc-layout { grid-template-columns: 1fr; }
    .tc-sidebar { position: static; max-height: none; }
    .tc-hero-title { font-size: 30px; }
    .tc-section.is-open { padding: 28px 24px; }
    .tc-section-heading { font-size: 20px; }
    .tc-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .tc-body-section { padding: 48px 0 64px; }
    .tc-hero-content { padding: 40px 20px; }
}
