/**
 * Policy Pages Styles
 * Clean, readable layout for Terms, Privacy, Refund, Cookie, and Service Agreement pages
 * Isolated module - all classes prefixed with .trojan-policy-
 */

.trojan-policy-page {
    padding: 3rem 0 5rem;
    padding-top: calc(72px + 3rem);
    min-height: calc(100vh - 72px);
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.trojan-policy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e5e7eb;
}

.trojan-policy-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.trojan-policy-meta {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
    font-weight: 600;
}

.trojan-policy-updated {
    display: inline-block;
}

/* Policy Content Container */
.trojan-policy-content {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
}

.trojan-policy-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 1.5rem 1.5rem 0 0;
}

/* Policy Sections */
.trojan-policy-section {
    margin-bottom: 2.5rem;
}

.trojan-policy-section:last-child {
    margin-bottom: 0;
}

.trojan-policy-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
    line-height: 1.3;
}

.trojan-policy-section-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
    font-weight: 500;
}

.trojan-policy-section-content p {
    margin: 0 0 1.25rem 0;
}

.trojan-policy-section-content p:last-child {
    margin-bottom: 0;
}

.trojan-policy-section-content strong {
    font-weight: 700;
    color: #1a1a1a;
}

.trojan-policy-section-content ul,
.trojan-policy-section-content ol {
    margin: 1rem 0;
    padding-right: 2rem;
    line-height: 1.8;
}

.trojan-policy-section-content ul li,
.trojan-policy-section-content ol li {
    margin-bottom: 0.75rem;
}

.trojan-policy-section-content ul li:last-child,
.trojan-policy-section-content ol li:last-child {
    margin-bottom: 0;
}

.trojan-policy-section-content a {
    color: #667eea;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.trojan-policy-section-content a:hover {
    color: #764ba2;
}

/* Policy Footer */
.trojan-policy-footer {
    max-width: 900px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.trojan-policy-contact {
    text-align: center;
}

.trojan-policy-contact h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
}

.trojan-policy-contact p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 1.5rem 0;
    font-weight: 600;
}

.trojan-policy-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.trojan-policy-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
    font-weight: 600;
    font-size: 1rem;
    flex-direction: row-reverse; /* RTL */
}

.trojan-policy-contact-list li svg {
    flex-shrink: 0;
    color: #667eea;
}

/* Phone number LTR display */
.trojan-policy-contact-list .trojan-phone-ltr {
    direction: ltr;
    text-align: left;
    display: inline-block;
    unicode-bidi: embed;
}

/* Responsive */
@media (max-width: 1024px) {
    .trojan-policy-content {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .trojan-policy-page {
        padding: 2rem 0 4rem;
        padding-top: calc(64px + 2rem);
    }

    .trojan-policy-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .trojan-policy-title {
        font-size: 2rem;
    }

    .trojan-policy-content {
        padding: 2rem 1.5rem;
        border-radius: 1rem;
    }

    .trojan-policy-section {
        margin-bottom: 2rem;
    }

    .trojan-policy-section-title {
        font-size: 1.25rem;
    }

    .trojan-policy-section-content {
        font-size: 0.9375rem;
        line-height: 1.7;
    }

    .trojan-policy-section-content ul,
    .trojan-policy-section-content ol {
        padding-right: 1.5rem;
    }

    .trojan-policy-footer {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .trojan-policy-contact h3 {
        font-size: 1.25rem;
    }
}

