/* ============================================================
   Terms & Conditions Page – Apple-Style Clean UI
   ============================================================ */

.container {
    max-width: 800px;
}

/* ==================== HERO ==================== */
.hero {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.7s var(--ease-out-expo);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.04em;
    color: var(--primary);
    line-height: 1.08;
}

.hero p {
    font-size: clamp(0.9375rem, 2vw, 1.0625rem);
    color: var(--gray);
    font-weight: 400;
}

/* ==================== CONTENT CARD ==================== */
.content-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.5s var(--ease-out-expo);
}

.last-updated {
    text-align: center;
    color: var(--gray);
    font-size: 0.8125rem;
    margin-bottom: 1.75rem;
    padding: 0.875rem;
    background: var(--background-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

/* ==================== SECTIONS ==================== */
.section {
    margin-bottom: 2rem;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    letter-spacing: -0.02em;
}

.section-icon {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon svg {
    width: 15px;
    height: 15px;
    color: white;
}

.section-icon.danger {
    background: var(--accent-red);
}

.section-icon.warning {
    background: var(--accent-amber);
}

.section-icon.info {
    background: var(--accent-green);
}

/* ==================== LISTS ==================== */
.terms-list {
    list-style: none;
    padding-left: 0;
}

.terms-list>li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.875rem;
}

.terms-list>li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 5px;
    height: 5px;
    background: var(--accent-blue);
    border-radius: var(--radius-full);
}

.sub-list {
    list-style: none;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}

.sub-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--gray);
    font-size: 0.8125rem;
}

.sub-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: 500;
    font-size: 0.75rem;
}

/* ==================== HIGHLIGHT BOXES ==================== */
.highlight-box {
    background: rgba(0, 113, 227, 0.04);
    border-left: 3px solid var(--accent-blue);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin: 1.25rem 0;
}

.highlight-box.danger {
    background: rgba(255, 59, 48, 0.04);
    border-left-color: var(--accent-red);
}

.highlight-box.warning {
    background: rgba(255, 159, 10, 0.04);
    border-left-color: var(--accent-amber);
}

.highlight-box.info {
    background: rgba(52, 199, 89, 0.04);
    border-left-color: var(--accent-green);
}

.highlight-box p {
    margin: 0;
    color: var(--gray);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .content-card {
        padding: 1.25rem;
    }

    .terms-list>li {
        padding-left: 1.25rem;
    }
}