* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Tajawal', -apple-system, 'SF Pro Text', sans-serif;
    background: #FFFBF5;
    color: #2D2D2D;
    line-height: 1.9;
}

.container {
    max-width: 740px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 2px solid #E8F5E9;
}

.app-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: #E8F5E9;
    border-radius: 18px;
    margin-bottom: 16px;
}

.app-icon svg {
    width: 32px;
    height: 32px;
    fill: #2E7D32;
}

.header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #2E7D32;
    margin-bottom: 4px;
}

.header .subtitle {
    font-size: 16px;
    color: #888;
}

.effective-date {
    display: inline-block;
    background: #E8F5E9;
    color: #2E7D32;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 20px;
    margin-top: 16px;
}

/* Language toggle */
.lang-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.lang-toggle button {
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 20px;
    border: 2px solid #E8F5E9;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    color: #666;
}

.lang-toggle button.active {
    background: #2E7D32;
    border-color: #2E7D32;
    color: #fff;
}

.lang-toggle button:hover:not(.active) {
    border-color: #2E7D32;
    color: #2E7D32;
}

/* Sections */
.section {
    margin-bottom: 28px;
}

.section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #2E7D32;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section h2 .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #E8F5E9;
    border-radius: 8px;
    flex-shrink: 0;
}

.section h2 .icon svg {
    width: 16px;
    height: 16px;
    fill: #2E7D32;
}

p, li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #444;
}

ul {
    padding-right: 24px;
    margin-bottom: 12px;
}

[dir="ltr"] ul {
    padding-right: 0;
    padding-left: 24px;
}

li {
    margin-bottom: 6px;
}

strong {
    color: #2D2D2D;
}

/* Highlight box */
.highlight {
    background: #E8F5E9;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 16px 0;
    border-right: 4px solid #2E7D32;
}

[dir="ltr"] .highlight {
    border-right: none;
    border-left: 4px solid #2E7D32;
}

.highlight p {
    color: #2E7D32;
    font-weight: 500;
    margin-bottom: 0;
}

/* Two-column data boxes */
.data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

@media (max-width: 500px) {
    .data-grid {
        grid-template-columns: 1fr;
    }
}

.data-box {
    background: #fff;
    border: 1px solid #E8F5E9;
    border-radius: 10px;
    padding: 14px 16px;
}

.data-box.green {
    background: #E8F5E9;
    border-color: #C8E6C9;
}

.data-box.red {
    background: #FFF3F0;
    border-color: #FFCDD2;
}

.data-box h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.data-box.green h4 {
    color: #2E7D32;
}

.data-box.red h4 {
    color: #C62828;
}

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

.data-box li {
    font-size: 14px;
    padding: 3px 0;
    color: #555;
}

.data-box li::before {
    content: "✓ ";
    font-weight: 700;
}

.data-box.green li::before {
    color: #2E7D32;
}

.data-box.red li::before {
    content: "✗ ";
    color: #C62828;
}

/* Contact card */
.contact-card {
    background: #fff;
    border: 2px solid #E8F5E9;
    border-radius: 14px;
    padding: 24px;
    text-align: center;
    margin-top: 32px;
}

.contact-card h3 {
    font-size: 18px;
    color: #2E7D32;
    margin-bottom: 8px;
}

.contact-card a {
    color: #2E7D32;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
}

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

/* Divider */
.divider {
    height: 2px;
    background: #E8F5E9;
    border: none;
    margin: 32px 0;
}

/* English section */
.english-section {
    direction: ltr;
    text-align: left;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 2px solid #E8F5E9;
    color: #999;
    font-size: 14px;
}

/* Language sections visibility */
.lang-ar, .lang-en {
    transition: opacity 0.3s ease;
}

.lang-ar.hidden, .lang-en.hidden {
    display: none;
}
