/* Terms and Conditions Page CSS - Light Theme, Optimized */
.page-terms {
    background: #f8fafc;
}

/* Hero Section */
.terms-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 100px;
    text-align: center;
    color: white;
}

.terms-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.terms-hero .hero-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 48px;
}

.terms-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    margin-bottom: 20px;
}

.terms-hero .hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.terms-hero .hero-meta {
    font-size: 14px;
    opacity: 0.85;
    margin-top: 15px;
}

/* Breadcrumb */
.page-terms .breadcrumb-section {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.page-terms .breadcrumb-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-terms .breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.page-terms .breadcrumb a {
    color: #4a5568;
    text-decoration: none;
}

.page-terms .breadcrumb a:hover {
    color: #667eea;
}

.page-terms .breadcrumb .active {
    color: #667eea;
    font-weight: 600;
}

/* Intro Section */
.page-terms .intro-section {
    padding: 60px 0 30px;
    background: #f8fafc;
}

.page-terms .intro-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-terms .intro-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    text-align: center;
}

.page-terms .legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fef2f2;
    color: #991b1b;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid #fecaca;
}

.page-terms .legal-badge i {
    color: #ef4444;
}

.page-terms .intro-card p {
    font-size: 17px;
    line-height: 1.8;
    color: #1a202c;
}

.page-terms .intro-card strong {
    color: #667eea;
}

/* Terms Sections */
.page-terms .terms-sections {
    padding: 30px 0 60px;
    background: #f8fafc;
}

.page-terms .terms-sections .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Terms Card */
.page-terms .terms-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.page-terms .terms-card.important {
    border: 2px solid #ef4444;
    background: #fffbfb;
}

.page-terms .terms-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.page-terms .section-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.page-terms .terms-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.page-terms .terms-icon.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.page-terms .terms-icon.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.page-terms .terms-icon.danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.page-terms .terms-card h2 {
    font-size: 24px;
    color: #1a202c;
    font-weight: 700;
}

.page-terms .terms-description {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.page-terms .terms-description strong {
    color: #667eea;
}

.page-terms .terms-description a {
    color: #667eea;
    text-decoration: underline;
}

/* Terms List */
.page-terms .terms-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.page-terms .terms-item {
    background: #f8fafc;
    padding: 16px 16px 16px 50px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    position: relative;
}

.page-terms .terms-item.success {
    border-left-color: #10b981;
}

.page-terms .terms-item::before {
    content: '§';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 900;
    color: #667eea;
    font-size: 16px;
    width: 24px;
    height: 24px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-terms .terms-item.success::before {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.page-terms .terms-item p {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.page-terms .terms-item p strong {
    color: #1a202c;
}

/* Subsection */
.page-terms .subsection {
    margin-top: 25px;
    padding: 20px;
    padding-left: 20px;
    border-left: 4px solid #667eea;
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
}

.page-terms .subsection h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-terms .subsection h3 i {
    color: #667eea;
}

/* Warning Box */
.page-terms .warning-box {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}

.page-terms .warning-box h4 {
    font-size: 18px;
    color: #92400e;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-terms .warning-box h4 i {
    color: #f59e0b;
}

.page-terms .warning-box p {
    color: #78350f;
    font-size: 15px;
    line-height: 1.7;
}

/* Info Box */
.page-terms .info-box {
    background: #e0f2fe;
    border: 2px solid #06b6d4;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}

.page-terms .info-box h4 {
    font-size: 18px;
    color: #0e7490;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-terms .info-box h4 i {
    color: #06b6d4;
}

.page-terms .info-box p {
    color: #164e63;
    font-size: 15px;
    line-height: 1.7;
}

/* Danger Box */
.page-terms .danger-box {
    background: #fef2f2;
    border: 2px solid #ef4444;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}

.page-terms .danger-box h4 {
    font-size: 18px;
    color: #991b1b;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-terms .danger-box h4 i {
    color: #ef4444;
}

.page-terms .danger-box p {
    color: #7f1d1d;
    font-size: 15px;
    line-height: 1.7;
}

.page-terms .danger-box p strong {
    color: #991b1b;
}

/* Contact Section */
.page-terms .contact-section {
    padding: 60px 0;
    background: white;
}

.page-terms .contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-terms .contact-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    color: white;
    max-width: 700px;
    margin: 0 auto;
}

.page-terms .contact-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
}

.page-terms .contact-box h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.page-terms .contact-box p {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: 25px;
}

.page-terms .contact-box p a {
    color: white;
    text-decoration: underline;
}

.page-terms .contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #667eea;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.page-terms .contact-btn:hover {
    background: #f8fafc;
}

/* Responsive */
@media (max-width: 768px) {
    .terms-hero {
        padding: 60px 0 80px;
    }

    .page-terms .terms-header {
        flex-direction: column;
        text-align: center;
    }

    .page-terms .terms-card {
        padding: 25px;
    }

    .page-terms .terms-item {
        padding-left: 16px;
    }

    .page-terms .terms-item::before {
        display: none;
    }
}