:root {
    --primary-start: #00C9A7;
    --primary-mid: #00A88F;
    --primary-end: #006B5A;
    --bg-dark: #F3FBF8;
    --bg-card: rgba(255, 255, 255, 0.72);
    --border-soft: rgba(8, 35, 31, 0.1);
    --text-primary: #08231F;
    --text-secondary: rgba(8, 35, 31, 0.72);
    --text-muted: rgba(8, 35, 31, 0.52);
    --shadow-soft: 0 20px 60px rgba(0, 107, 90, 0.1);
}

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

body {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.7;
}

.bg-gradient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% -20%, rgba(0, 201, 167, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(0, 107, 90, 0.14) 0%, transparent 50%),
        var(--bg-dark);
    z-index: -1;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    padding: 20px 0;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border-soft);
    background: rgba(243, 251, 248, 0.88);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
    gap: 16px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 201, 167, 0.22);
}

.logo-text {
    font-size: 1.375rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-start), var(--primary-mid));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.back-link {
    direction: rtl;
    color: var(--primary-end);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 8px 14px;
    border-radius: 100px;
    transition: background 0.2s;
}

.back-link:hover {
    background: rgba(0, 201, 167, 0.1);
}

main {
    padding-bottom: 64px;
}

.page-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 201, 167, 0.22);
    border-radius: 28px;
    padding: 36px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
}

h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-start), var(--primary-mid), var(--primary-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.effective-date {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 32px;
}

.content {
    color: var(--text-secondary);
}

.content h2 {
    color: var(--text-primary);
    font-size: 1.375rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
}

.content h3 {
    color: var(--text-primary);
    font-size: 1.0625rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
}

.content p {
    margin-bottom: 14px;
}

.content ul {
    margin-bottom: 14px;
    padding-right: 24px;
}

.content li {
    margin-bottom: 8px;
}

.content a {
    color: var(--primary-end);
    text-decoration: none;
    font-weight: 600;
}

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

.contact-box {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 20px;
    margin-top: 32px;
}

.contact-box h3 {
    margin-top: 0;
}

footer {
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--border-soft);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-end);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-text a {
    color: var(--primary-end);
    text-decoration: none;
    font-weight: 600;
}

.footer-text a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .page-card {
        padding: 24px;
        border-radius: 22px;
    }

    .header-content {
        flex-wrap: wrap;
    }
}
