/**
 * Ziko.co.il - Internal Pages Styles
 * Privacy, Terms, Accessibility, Contact
 */

/* ===================================================
   PAGE CONTENT
   =================================================== */
.page-content {
    padding: 120px 0 80px;
    min-height: calc(100vh - 300px);
}

.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-header h1 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: var(--font-weight-extrabold);
    color: var(--text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.page-header h1 i {
    color: var(--primary);
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}

.page-body {
    max-width: 800px;
    margin: 0 auto;
}

/* ===================================================
   LEGAL SECTIONS (Privacy, Terms, Accessibility)
   =================================================== */
.legal-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--text);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section h2 i {
    color: var(--primary);
    font-size: 18px;
}

.legal-section p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.8;
}

.legal-section ul {
    list-style: none;
    margin: 16px 0;
}

.legal-section ul li {
    position: relative;
    padding-right: 24px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: opacity var(--transition-fast);
}

.legal-section a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ===================================================
   CONTACT PAGE
   =================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px;
}

.contact-info h2 {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item-content h3 {
    font-size: 16px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 4px;
}

.contact-item-content p,
.contact-item-content a {
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-item-content a {
    color: var(--primary);
    text-decoration: none;
}

.contact-item-content a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.contact-form h2 {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 24px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: border-color var(--transition-normal);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
}

/* ===================================================
   ENHANCED FOOTER
   =================================================== */
.footer {
    padding: 60px 0 0;
    background: var(--bg-dark);
    color: var(--text-on-dark-muted);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-light);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 12px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.footer-logo span {
    font-size: 24px;
    font-weight: var(--font-weight-extrabold);
    color: var(--white);
}

.footer-brand .footer-tagline {
    font-size: 14px;
    color: var(--text-on-dark-muted);
    margin: 0;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: var(--font-weight-semibold);
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-on-dark-muted);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-legal {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===================================================
   BLOG POST CONTENT STYLES
   =================================================== */

/* Lead paragraph */
.article-body .lead,
.article-body p.lead {
    font-size: 19px;
    color: var(--text);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Statistics box */
.stat-box {
    background: linear-gradient(135deg, #1e3a5f 0%, #c41e3a 100%);
    color: #fff;
    padding: 32px;
    border-radius: 16px;
    margin: 32px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    text-align: center;
}

.stat-box .stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-box .stat-num {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.1;
}

.stat-box .stat-label {
    font-size: 13px;
    opacity: 0.9;
}

/* Sources box */
.sources-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin: 40px 0;
}

.sources-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sources-box h4::before {
    content: '\f02d';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 300;
}

.sources-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sources-box ul li {
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.sources-box ul li:last-child {
    border-bottom: none;
}

.sources-box ul li a {
    color: #c41e3a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sources-box ul li a:hover {
    text-decoration: underline;
}

.sources-box ul li a::before {
    content: '\f0c1';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 400;
    font-size: 12px;
    opacity: 0.6;
}

/* Blockquote */
.article-body blockquote {
    background: #f1f5f9;
    border-right: 4px solid #1e3a5f;
    padding: 24px 28px;
    margin: 32px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 17px;
    color: #334155;
}

.article-body blockquote cite {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    font-style: normal;
    color: #64748b;
    font-weight: 600;
}

/* CTA Button in content */
.article-body .btn-cta {
    display: inline-block;
    background: #c41e3a;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    margin: 16px 0;
    transition: all 0.2s;
}

.article-body .btn-cta:hover {
    background: #a01830;
    transform: translateY(-2px);
    color: #fff;
}

/* Warning box */
.warning-box {
    background: #fef3c7;
    border-right: 4px solid #f59e0b;
    padding: 20px 24px;
    margin: 28px 0;
    border-radius: 0 12px 12px 0;
}

.warning-box h4 {
    color: #92400e;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.warning-box h4::before {
    content: '\f071';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
}

.warning-box p {
    color: #78350f;
    margin: 0;
}

/* Info box */
.info-box {
    background: #dbeafe;
    border-right: 4px solid #3b82f6;
    padding: 20px 24px;
    margin: 28px 0;
    border-radius: 0 12px 12px 0;
}

.info-box h4 {
    color: #1e40af;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box h4::before {
    content: '\f05a';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 900;
}

.info-box p {
    color: #1e3a8a;
    margin: 0;
}

/* Success box */
.success-box {
    background: #dcfce7;
    border-right: 4px solid #22c55e;
    padding: 20px 24px;
    margin: 28px 0;
    border-radius: 0 12px 12px 0;
}

.success-box h4 {
    color: #166534;
    font-size: 16px;
    margin-bottom: 8px;
}

.success-box p {
    color: #14532d;
    margin: 0;
}

/* Template box */
.template-box {
    background: #fff;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 24px;
    margin: 28px 0;
}

.template-box h4 {
    font-size: 16px;
    color: #1e3a5f;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.template-box h4::before {
    content: '\f15c';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 400;
}

.template-box pre {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre-wrap;
    direction: rtl;
}

/* Data table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 15px;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: right;
    border-bottom: 1px solid #e2e8f0;
}

.data-table th {
    background: #1e3a5f;
    color: #fff;
    font-weight: 600;
}

.data-table tr:nth-child(even) {
    background: #f8fafc;
}

.data-table tr:hover {
    background: #f1f5f9;
}

/* Checklist */
.checklist {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.checklist li {
    position: relative;
    padding: 12px 0 12px 36px;
    border-bottom: 1px solid #e2e8f0;
}

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

.checklist li::before {
    content: '\f0c8';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 400;
    position: absolute;
    right: 0;
    top: 14px;
    color: #cbd5e1;
    font-size: 18px;
}

.checklist li.checked::before {
    content: '\f14a';
    color: #22c55e;
}

/* Timeline */
.timeline {
    margin: 32px 0;
    padding-right: 24px;
    border-right: 3px solid #e2e8f0;
}

.timeline-item {
    position: relative;
    padding: 0 24px 32px 0;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: -32px;
    top: 4px;
    width: 14px;
    height: 14px;
    background: #c41e3a;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #e2e8f0;
}

.timeline-item h4 {
    font-size: 16px;
    color: #1e3a5f;
    margin-bottom: 8px;
}

.timeline-item .timeline-date {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 15px;
    color: #475569;
    margin: 0;
}

/* Comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th {
    background: #1e3a5f;
    color: #fff;
    padding: 16px;
    font-weight: 600;
    text-align: center;
}

.comparison-table td {
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table td:first-child {
    text-align: right;
    font-weight: 600;
    background: #f8fafc;
}

.comparison-table .check {
    color: #22c55e;
}

.comparison-table .cross {
    color: #ef4444;
}

/* Accordion/FAQ */
.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    cursor: pointer;
    background: #f8fafc;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Pro';
    font-weight: 400;
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item .faq-content {
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
}

/* Blog responsive */
@media (max-width: 640px) {
    .stat-box {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }

    .stat-box .stat-num {
        font-size: 28px;
    }

    .data-table {
        font-size: 13px;
    }

    .data-table th,
    .data-table td {
        padding: 10px 12px;
    }
}
