/**
 * LISENZIYA.AZ - Terms & Legal Pages Modern Design
 * Date: 2026-01-18
 * Clean, readable legal document design
 */

:root {
    --terms-primary: #667eea;
    --terms-bg: #0f0f0f;
    --terms-card: #1a1a1a;
    --terms-text: #e8e8e8;
    --terms-muted: #b0b0b0;
}

/* ============================================
   TERMS HERO SECTION
   ============================================ */

.terms-hero-section {
    background: linear-gradient(135deg, #1a2a6c 0%, #26262d 50%, #2a1b40 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.terms-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.terms-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.terms-page-title {
    font-size: 48px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 16px 0;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.terms-page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 400;
}

.terms-last-updated {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

/* ============================================
   TERMS CONTENT SECTION
   ============================================ */

.terms-content-section {
    background: var(--terms-bg);
    padding: 80px 0;
    min-height: 70vh;
}

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

.terms-content-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #1e1e1e 100%);
    border-radius: 24px;
    padding: 50px 60px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Typography */
.terms-content-card h1 {
    display: none; /* Hide duplicate H1 from description */
}

.terms-content-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 40px 0 20px 0;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    padding-left: 20px;
}

.terms-content-card h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, var(--terms-primary) 0%, #764ba2 100%);
    border-radius: 2px;
}

.terms-content-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #f5f5f5;
    margin: 30px 0 15px 0;
    font-family: 'Montserrat', sans-serif;
}

.terms-content-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #e8e8e8;
    margin: 25px 0 12px 0;
}

.terms-content-card p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--terms-text);
    margin: 0 0 20px 0;
    font-weight: 400;
}

.terms-content-card ul,
.terms-content-card ol {
    margin: 0 0 25px 0;
    padding-left: 30px;
}

.terms-content-card li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--terms-text);
    margin-bottom: 12px;
    position: relative;
}

.terms-content-card ul li::marker {
    color: var(--terms-primary);
}

.terms-content-card ol li::marker {
    color: var(--terms-primary);
    font-weight: 700;
}

.terms-content-card strong,
.terms-content-card b {
    color: #ffffff;
    font-weight: 700;
}

.terms-content-card a {
    color: var(--terms-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.terms-content-card a:hover {
    border-bottom-color: var(--terms-primary);
    opacity: 0.8;
}

/* Special Elements */
.terms-content-card blockquote {
    background: rgba(102, 126, 234, 0.08);
    border-left: 4px solid var(--terms-primary);
    padding: 20px 24px;
    margin: 30px 0;
    border-radius: 8px;
    font-style: italic;
}

.terms-content-card code {
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #64ffda;
}

.terms-content-card hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    margin: 40px 0;
}

/* Tables */
.terms-content-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
}

.terms-content-card table th {
    background: rgba(102, 126, 234, 0.15);
    color: #ffffff;
    padding: 15px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.terms-content-card table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--terms-text);
}

.terms-content-card table tr:last-child td {
    border-bottom: none;
}

/* Highlight Boxes */
.alert {
    padding: 18px 24px;
    border-radius: 12px;
    margin: 25px 0;
    border: 1px solid transparent;
}

.alert-info {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    color: #b8c5ff;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    color: #ffd699;
}

.alert-danger {
    background: rgba(244, 67, 54, 0.1);
    border-color: rgba(244, 67, 54, 0.3);
    color: #ff9999;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
    color: #b8ffba;
}

/* Labels */
.label {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.label-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.label-success {
    background: #25D366;
    color: #ffffff;
}

.label-info {
    background: #2196F3;
    color: #ffffff;
}

.label-warning {
    background: #FFC107;
    color: #000000;
}

/* ============================================
   CONTACT CTA (Bottom)
   ============================================ */

.terms-contact-cta {
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.terms-cta-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    font-family: 'Montserrat', sans-serif;
}

.terms-cta-description {
    font-size: 16px;
    color: var(--terms-muted);
    margin: 0 0 28px 0;
}

.terms-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.terms-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.terms-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.terms-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.4);
    color: #ffffff;
}

.terms-btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.terms-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
    background: #20BA5A;
    color: #ffffff;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .terms-page-title {
        font-size: 38px;
    }

    .terms-content-card {
        padding: 40px 40px;
    }

    .terms-content-card h2 {
        font-size: 24px;
    }

    .terms-content-card h3 {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .terms-hero-section {
        padding: 60px 0 40px;
    }

    .terms-page-title {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .terms-page-subtitle {
        font-size: 16px;
    }

    .terms-content-section {
        padding: 60px 0;
    }

    .terms-content-card {
        padding: 30px 24px;
        border-radius: 18px;
    }

    .terms-content-card h2 {
        font-size: 22px;
        margin: 30px 0 16px 0;
    }

    .terms-content-card h3 {
        font-size: 18px;
    }

    .terms-content-card p,
    .terms-content-card li {
        font-size: 15px;
        line-height: 1.8;
    }

    .terms-cta-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }

    .terms-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Hide breadcrumb on terms page */
.information-information .bg_breadcrumb {
    display: none;
}
