/* Page Common Styles */
.page-hero {
    background: var(--primary-gradient);
    padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff10" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    opacity: 0.1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: clamp(0.8rem, 1.5vw, 0.875rem);
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb .separator {
    opacity: 0.5;
}

.breadcrumb .current {
    opacity: 0.8;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.page-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    opacity: 0.9;
    max-width: 600px;
}

/* Content Layout */
.page-content {
    padding: var(--space-5xl) 0;
    min-height: 60vh;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 1440px) {
    .content-wrapper {
        max-width: 1100px;
    }
}

.content-section {
    margin-bottom: var(--space-4xl);
}

.content-section h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 3px solid var(--primary-color);
}

.content-section h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-lg);
}

.content-section h4 {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.content-section p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.styled-list {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-xl);
}

.styled-list li {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--text-medium);
    line-height: 1.6;
}

.styled-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: var(--font-weight-bold);
}

/* Last Updated */
.last-updated {
    background: var(--bg-light);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: clamp(0.8rem, 1.5vw, 0.875rem);
    color: var(--text-medium);
    margin-bottom: var(--space-3xl);
    display: inline-block;
}

/* Purpose Grid */
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.purpose-card {
    background: var(--bg-light);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
}

.purpose-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.purpose-card h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.purpose-card p {
    font-size: clamp(0.8rem, 1.5vw, 0.875rem);
    color: var(--text-medium);
    margin: 0;
}

/* Security Measures */
.security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.measure-item {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.measure-item h4 {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
}

.measure-item ul {
    list-style: none;
    padding: 0;
}

.measure-item li {
    padding: var(--space-sm) 0;
    color: var(--text-medium);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.measure-item li:last-child {
    border-bottom: none;
}

/* Contact Box */
.contact-box {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: var(--space-xl);
    border-radius: var(--radius-md);
    margin: var(--space-2xl) 0;
}

.contact-box h4 {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
}

.contact-box p {
    margin: 0;
    line-height: 2;
}

/* Company Info */
.company-info {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    margin-top: var(--space-4xl);
}

.company-info h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--text-dark);
    margin-bottom: var(--space-xl);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.info-table th {
    background: var(--bg-light);
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    width: 200px;
}

.info-table td {
    color: var(--text-medium);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* Terms Specific Styles */
.terms-toc {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.terms-toc h3 {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    margin-bottom: var(--space-lg);
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-list li {
    margin-bottom: var(--space-md);
}

.toc-list a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

.toc-list a:hover {
    text-decoration: underline;
}

.definition-box {
    background: rgba(102, 126, 234, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
}

.definition-box dt {
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.definition-box dd {
    color: var(--text-medium);
    margin-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

/* Warning Box */
.warning-box {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
}

.warning-box h4 {
    color: var(--danger-color);
    margin-bottom: var(--space-md);
}

/* Info Box */
.info-box {
    background: rgba(79, 172, 254, 0.05);
    border: 1px solid rgba(79, 172, 254, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-xl) 0;
}

.info-box h4 {
    color: var(--accent-color);
    margin-bottom: var(--space-md);
}

/* Numbered List */
.numbered-list {
    counter-reset: item;
    list-style: none;
    padding: 0;
}

.numbered-list li {
    counter-increment: item;
    position: relative;
    padding-left: var(--space-3xl);
    margin-bottom: var(--space-lg);
}

.numbered-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
    }
    
    .content-wrapper {
        padding: 0 var(--space-lg);
    }
    
    .purpose-grid,
    .security-measures {
        grid-template-columns: 1fr;
    }
    
    .info-table th {
        width: 120px;
    }
    
    .info-table th,
    .info-table td {
        padding: var(--space-sm) var(--space-md);
        font-size: clamp(0.8rem, 1.5vw, 0.875rem);
    }
}