/* ============================================
   AI Phone 360 - Legal Pages Styles
   Privacy, Terms, Security pages
   ============================================ */

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 1.5rem 4rem;
}

h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-align: center;
}

.terms-main-title {
    text-align: center;
    border: none;
    padding-top: 0;
    margin-top: 0.5rem;
}

.subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
    padding-top: 1rem;
}

h2:first-of-type {
    padding-top: 0;
}

h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-primary);
}

h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

ul, ol {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-secondary);
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Warning Box - Yellow/Amber */
.warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.warning,
.warning p,
.warning li,
.warning strong {
    color: var(--text-primary);
}

[data-theme="light"] .warning {
    background: #fef3c7;
    border-color: #f59e0b;
}

[data-theme="light"] .warning,
[data-theme="light"] .warning p,
[data-theme="light"] .warning li {
    color: #92400e;
}

/* Important Box - Red */
.important {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.important,
.important p,
.important li,
.important strong {
    color: var(--text-primary);
}

[data-theme="light"] .important {
    background: #fee2e2;
    border-color: #ef4444;
}

[data-theme="light"] .important,
[data-theme="light"] .important p,
[data-theme="light"] .important li {
    color: #991b1b;
}

/* Info Box - Blue */
.info-box {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.info-box,
.info-box p,
.info-box li,
.info-box strong {
    color: var(--text-primary);
}

[data-theme="light"] .info-box {
    background: #eff6ff;
    border-color: #3b82f6;
}

[data-theme="light"] .info-box,
[data-theme="light"] .info-box p,
[data-theme="light"] .info-box li {
    color: #1e40af;
}

/* Contact Box */
.contact-box {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 2rem;
}

.contact-box h3 {
    margin-top: 0;
    color: var(--text-primary);
}

.contact-box p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.contact-box a {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 5rem 1rem 3rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.15rem;
    }
}
