:root {
    --ink: #102d3d;
    --muted: #607987;
    --line: #dcebf0;
    --paper: #f7fbfc;
    --white: #ffffff;
    --primary: #6ad0de;
    --secondary: #ff9c2d;
    --tertiary: #0e72ad;
    --violet: #0e72ad;
    --violet-dark: #095a88;
    --violet-soft: #e8f8fb;
    --peach: #ff9c2d;
    --green: #15966f;
    --amber: #c87d18;
    --red: #d64c5d;
    --shadow: 0 28px 70px rgba(14, 114, 173, .12);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--paper);
    font-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

/* تجربة تطبيق موبايل وخطوط قابلة للقراءة */
html { min-height: 100%; overscroll-behavior-y: contain; -webkit-text-size-adjust: 100%; }
body { min-height: 100dvh; font-size: 16px; font-weight: 400; overscroll-behavior-y: contain; }
button, a, input, select, textarea { touch-action: manipulation; }
h1, h2, h3, h4, strong { font-weight: 700; }
.hero h1, .results-head h1, .auth-story h1 { font-weight: 800; }
.site-header nav { font-size: 14px; font-weight: 500; }
.hero-points div { position: relative; padding-top: 52px; }
.hero-points div > i { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 11px; color: var(--tertiary); background: var(--violet-soft); font-size: 18px; }
.hero-points div:nth-child(2) > i { color: #c66f13; background: #fff1df; }
.hero-points strong { font-size: 14px; }.hero-points span { font-size: 12px; }
.field > span, .platform-field legend { font-size: 13px; }.field input, .field select, .field textarea { font-size: 15px; }.platform-field label span, .terms-check { font-size: 12px; }
.step-kicker, .ai-badge, .trust-note, .form-error { font-size: 12px; }
.upload-empty strong { font-size: 14px; }.upload-empty > span:not(.upload-icon), .upload-empty small { font-size: 11px; }
.result-title h3 { font-size: 17px; }.result-title small { font-size: 11px; }
.finding-head strong { font-size: 14px; }.finding-head small, .finding p, .recommendation, .recommendation b, .detail-list span, .detail-list p, .issues-box ul, .metric > div, .card-note, .highlight-copy, .query-list, .research-note, .hooks-list p, .action-list p { font-size: 12px; }
.empty-state, .copy-box p { font-size: 13px; }.result-card h4, .tag-list span, .research-sources > strong, .research-sources a, .hooks-list > div > span, .mini-copy, .copy-button, .cta-line, .result-disclaimer { font-size: 11px; }
.results-head > div > p, .print-button { font-size: 12px; }.how-grid p, .footer-inner > p, .footer-inner > a { font-size: 12px; }
.auth-card label > span { font-size: 13px; }.auth-card input { font-size: 15px; }.auth-card label small, .auth-card-head small, .auth-footnote, .auth-switch { font-size: 11px; }.auth-submit { font-size: 14px; }

.update-prompt { position: fixed; z-index: 90; left: 50%; bottom: 22px; width: min(620px, calc(100% - 28px)); min-height: 82px; display: flex; align-items: center; gap: 13px; padding: 12px 14px; border: 1px solid rgba(106,208,222,.52); border-radius: 20px; color: #fff; background: linear-gradient(125deg, #073f61, #0e72ad); box-shadow: 0 22px 55px rgba(5,56,86,.32); transform: translate(-50%, 28px); opacity: 0; transition: transform .28s ease, opacity .28s ease; }
.update-prompt.is-visible { transform: translate(-50%, 0); opacity: 1; }
.update-prompt-icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 14px; color: #073f61; background: var(--primary); font-size: 22px; }
.update-prompt-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; }.update-prompt-copy strong { font-size: 14px; }.update-prompt-copy small { color: #cfeaf2; font-size: 11px; }
.update-button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 14px; border: 0; border-radius: 12px; color: #073f61; background: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }.update-button:disabled { opacity: .82; cursor: wait; }
.update-spin { animation: update-spin .85s linear infinite; } @keyframes update-spin { to { transform: rotate(-360deg); } }

@media (max-width: 700px) {
    input, select, textarea { font-size: 16px !important; }
    .site-header { position: sticky; top: 0; z-index: 50; }
    .hero-points div { min-height: 86px; padding: 12px 58px 12px 14px; }
    .hero-points div > i { top: 50%; transform: translateY(-50%); }
    .mobile-nav a { gap: 3px; font-size: 11px; font-weight: 700; }
    .mobile-nav a > i { width: 32px; height: 29px; display: grid; place-items: center; border-radius: 10px; font-size: 18px; transition: .2s; }
    .mobile-nav a.active > i { color: var(--tertiary); background: var(--violet-soft); transform: translateY(-1px); }
    .install-identity strong { font-size: 13px; }.install-identity small { font-size: 10px; }.install-button { font-size: 11px; }
    .update-prompt { bottom: calc(78px + env(safe-area-inset-bottom)); min-height: 88px; padding: 11px; gap: 9px; border-radius: 18px; }
    .update-prompt-icon { width: 40px; height: 40px; flex-basis: 40px; font-size: 19px; }.update-prompt-copy strong { font-size: 12px; }.update-prompt-copy small { font-size: 9px; line-height: 1.45; }.update-button { min-height: 40px; padding: 7px 10px; font-size: 10px; }
}

@media (display-mode: standalone) {
    body { padding-top: env(safe-area-inset-top); user-select: none; }
    input, textarea, .copy-box, .result-card p { user-select: text; }
    .site-header { top: env(safe-area-inset-top); }
    .install-prompt { display: none !important; }
    footer { display: none; }
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(5px); opacity: .65; pointer-events: none; }
.ambient-one { width: 440px; height: 440px; top: 90px; right: -240px; background: radial-gradient(circle, rgba(106,208,222,.24), transparent 68%); }
.ambient-two { width: 360px; height: 360px; top: 500px; left: -230px; background: radial-gradient(circle, rgba(255,156,45,.16), transparent 68%); }

.site-header { height: 84px; display: flex; align-items: center; background: rgba(251,250,255,.86); border-bottom: 1px solid rgba(233,230,240,.75); backdrop-filter: blur(14px); position: relative; z-index: 20; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.brand strong { font-size: 21px; letter-spacing: -.5px; }
.brand small { color: var(--muted); font-size: 10px; margin-top: 4px; }
.brand-mark { width: 42px; height: 42px; position: relative; display: inline-block; flex: 0 0 auto; border-radius: 13px; background: linear-gradient(145deg, var(--primary), var(--tertiary)); box-shadow: 0 9px 18px rgba(14,114,173,.22); overflow: hidden; }
.brand-mark i, .brand-mark b { position: absolute; display: block; border-radius: 50%; background: white; }
.brand-mark i { width: 22px; height: 22px; top: 10px; right: -4px; opacity: .95; }
.brand-mark b { width: 13px; height: 13px; bottom: 7px; left: 8px; background: var(--peach); }
.site-header nav { display: flex; gap: 30px; color: #4e4a5b; font-size: 13px; }
.site-header nav a { transition: color .2s ease; }
.site-header nav a:hover { color: var(--violet); }
.brand-logo { width: 44px; height: 44px; flex: 0 0 auto; object-fit: contain; border-radius: 12px; background: #fff; border: 1px solid var(--line); padding: 3px; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 39px; padding: 8px 17px; border-radius: 11px; color: #fff; background: var(--tertiary); font-size: 11px; font-weight: 700; box-shadow: 0 8px 18px rgba(14,114,173,.18); }

.hero { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 70px; padding-block: 76px 70px; min-height: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--violet); font-weight: 700; font-size: 12px; letter-spacing: .15px; }
.eyebrow > span { width: 22px; height: 2px; border-radius: 2px; background: var(--peach); }
.hero h1 { margin: 20px 0 24px; max-width: 570px; font-size: clamp(39px, 4.3vw, 62px); line-height: 1.22; letter-spacing: -2.8px; }
.hero h1 em { color: var(--violet); font-style: normal; position: relative; }
.hero h1 em::after { content: ""; position: absolute; right: 0; left: 24%; bottom: -7px; height: 5px; border-radius: 5px; background: var(--peach); opacity: .55; transform: rotate(-1.5deg); }
.hero-lead { margin: 0; max-width: 570px; color: var(--muted); font-size: 16px; line-height: 2; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 32px; }
.hero-points div { padding: 14px 12px; border-right: 2px solid var(--line); }
.hero-points div:first-child { border-color: var(--violet); }
.hero-points strong, .hero-points span { display: block; }
.hero-points strong { font-size: 13px; }
.hero-points span { color: var(--muted); font-size: 10px; margin-top: 3px; line-height: 1.6; }
.trust-note { display: flex; align-items: center; gap: 8px; color: #777283; font-size: 11px; margin-top: 23px; }
.trust-note span { width: 20px; height: 20px; display: grid; place-items: center; color: var(--green); background: #e9f8f2; border-radius: 50%; font-weight: 800; }

.analyzer-card { position: relative; background: rgba(255,255,255,.96); border: 1px solid rgba(228,224,237,.9); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.analyzer-card::before { content: ""; position: absolute; inset: -1px; border-radius: 28px; padding: 1px; background: linear-gradient(140deg, rgba(106,208,222,.75), transparent 38%, rgba(255,156,45,.35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.step-kicker { color: var(--muted); font-size: 10px; }
.card-heading h2 { font-size: 21px; margin: 2px 0 0; letter-spacing: -.5px; }
.ai-badge { display: inline-flex; align-items: center; gap: 7px; color: var(--violet); font-size: 9px; background: var(--violet-soft); border-radius: 20px; padding: 7px 10px; white-space: nowrap; }
.ai-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(106,208,222,.18); }

.upload-zone { position: relative; min-height: 153px; border: 1.5px dashed #cfc8e4; border-radius: 18px; background: #faf9fe; transition: border-color .2s, background .2s, transform .2s; overflow: hidden; }
.upload-zone:hover, .upload-zone.dragging { border-color: var(--violet); background: var(--violet-soft); transform: translateY(-1px); }
.upload-zone input[type="file"] { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-empty { min-height: 153px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; pointer-events: none; }
.upload-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 12px; color: var(--violet); background: var(--violet-soft); font-size: 23px; margin-bottom: 8px; }
.upload-empty strong { font-size: 12px; }
.upload-empty > span:not(.upload-icon) { color: var(--muted); font-size: 10px; margin-top: 3px; }
.upload-empty small { color: #aaa5b4; font-size: 8px; margin-top: 6px; direction: ltr; }
.media-preview { position: relative; min-height: 195px; padding: 12px; text-align: center; }
.media-preview img, .media-preview video { width: 100%; max-height: 215px; object-fit: contain; border-radius: 12px; background: #15131d; }
.file-meta { display: flex; justify-content: space-between; gap: 12px; padding: 8px 4px 0; font-size: 10px; }
.file-meta strong { max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-meta span { color: var(--muted); }
.remove-file { position: relative; z-index: 4; border: 0; color: var(--red); background: #fff0f2; border-radius: 9px; padding: 5px 10px; font-size: 9px; cursor: pointer; margin-top: 6px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.full-field { margin-top: 18px; }
.field > span, .platform-field legend { font-size: 10px; font-weight: 700; color: #504c5c; }
.field > span b { color: var(--violet); font-size: 8px; margin-right: 3px; }
.field input, .field select, .field textarea { width: 100%; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.field input, .field select { height: 44px; padding: 0 12px; font-size: 11px; }
.field textarea { min-height: 112px; padding: 12px; resize: vertical; font-size: 12px; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(106,208,222,.18); }
.field textarea::placeholder, .field input::placeholder { color: #b0acb8; }
.field > small { color: #aaa6b3; font-size: 8px; align-self: flex-end; margin-top: -22px; margin-left: 10px; pointer-events: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 17px; }
.platform-field { border: 0; padding: 0; margin: 17px 0 0; }
.platform-field legend { margin-bottom: 8px; }
.platform-field label { display: inline-block; margin-left: 6px; }
.platform-field input { position: absolute; opacity: 0; }
.platform-field label span { display: inline-flex; align-items: center; min-height: 34px; padding: 5px 10px; border-radius: 10px; border: 1px solid var(--line); color: var(--muted); font-size: 9px; cursor: pointer; transition: all .2s; }
.platform-field input:checked + span { color: var(--violet); border-color: #c7baff; background: var(--violet-soft); font-weight: 700; }
.terms-check { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 9px; line-height: 1.7; margin: 16px 1px 14px; cursor: pointer; }
.terms-check input { accent-color: var(--violet); margin-top: 4px; flex: 0 0 auto; }
.primary-button { width: 100%; height: 52px; display: flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(120deg, var(--tertiary), #1596c4); box-shadow: 0 13px 24px rgba(14,114,173,.23); font-weight: 800; font-size: 13px; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 17px 30px rgba(14,114,173,.29); }
.button-arrow { font-size: 18px; }
.form-error { margin-top: 13px; padding: 10px 12px; border: 1px solid #f3cbd0; border-radius: 11px; color: #9f3040; background: #fff3f5; font-size: 10px; }

.analysis-progress { min-height: 530px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 35px 22px; }
.scan-orbit { width: 112px; height: 112px; position: relative; display: grid; place-items: center; margin-bottom: 25px; }
.scan-orbit::before, .scan-orbit::after { content: ""; position: absolute; inset: 0; border: 1px solid #dcd5fa; border-radius: 50%; animation: spin 5s linear infinite; }
.scan-orbit::after { inset: 13px; border-style: dashed; animation-direction: reverse; animation-duration: 3s; }
.scan-orbit span { width: 51px; height: 51px; border-radius: 16px; background: linear-gradient(140deg, var(--primary), var(--tertiary)); box-shadow: 0 13px 30px rgba(14,114,173,.24); }
.scan-orbit img { width: 60px; height: 60px; position: relative; z-index: 2; object-fit: contain; border-radius: 17px; background: #fff; padding: 5px; box-shadow: 0 13px 30px rgba(14,114,173,.2); }
.scan-orbit i, .scan-orbit b { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--peach); }
.scan-orbit i { top: 8px; right: 22px; }.scan-orbit b { bottom: 16px; left: 13px; background: var(--green); }
@keyframes spin { to { transform: rotate(360deg); } }
.analysis-progress h3 { margin: 0 0 6px; font-size: 21px; }
.analysis-progress > p { margin: 0; color: var(--muted); font-size: 11px; }
.progress-track { width: min(330px, 100%); height: 7px; border-radius: 8px; background: #efedf4; overflow: hidden; margin: 24px 0 20px; }
.progress-track span { display: block; height: 100%; width: 8%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--peach)); transition: width 1s ease; }
.analysis-progress ul { width: min(330px, 100%); margin: 0; padding: 0; list-style: none; text-align: right; }
.analysis-progress li { position: relative; padding: 5px 24px 5px 0; color: #aaa6b2; font-size: 9px; transition: color .3s; }
.analysis-progress li::before { content: ""; position: absolute; right: 0; top: 11px; width: 7px; height: 7px; border: 1px solid #cbc6d2; border-radius: 50%; }
.analysis-progress li.active { color: var(--ink); font-weight: 700; }
.analysis-progress li.active::before { border-color: var(--primary); background: var(--tertiary); box-shadow: 0 0 0 4px rgba(106,208,222,.18); }

.sources-band { border-block: 1px solid var(--line); background: #fff; }
.sources-inner { min-height: 104px; display: grid; grid-template-columns: .72fr repeat(3, 1fr); align-items: center; }
.sources-label { color: var(--muted); font-size: 10px; font-weight: 700; }
.sources-inner a { min-height: 60px; display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-right: 1px solid var(--line); transition: background .2s; }
.sources-inner a:hover { background: #faf9fe; }
.sources-inner a i { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: var(--violet); background: var(--violet-soft); font-style: normal; font-size: 8px; }
.sources-inner a span { display: flex; flex-direction: column; }
.sources-inner a strong { font-size: 10px; }.sources-inner a small { color: var(--muted); font-size: 8px; margin-top: 2px; }

.results { padding-block: 80px 30px; }
.results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.results-head h2, .section-heading h2 { margin: 7px 0 0; font-size: clamp(28px, 3vw, 41px); letter-spacing: -1.3px; }
.secondary-button { border: 1px solid var(--line); color: var(--ink); background: #fff; border-radius: 12px; padding: 10px 15px; font-size: 10px; cursor: pointer; }
.score-panel { display: grid; grid-template-columns: 155px 1fr 290px; align-items: center; gap: 28px; padding: 27px 30px; border-radius: var(--radius); color: #fff; background: linear-gradient(120deg, #084d75, var(--tertiary)); box-shadow: 0 20px 50px rgba(14,114,173,.18); }
.score-ring { --score: 0deg; width: 124px; height: 124px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--peach) var(--score), rgba(255,255,255,.13) 0); position: relative; }
.score-ring::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #0b5f8f; }
.score-ring > div { position: relative; z-index: 1; line-height: 1; text-align: center; }
.score-ring strong { display: block; font-size: 38px; }.score-ring span { color: #aaa2c7; font-size: 10px; }
.score-copy h3 { margin: 9px 0 5px; font-size: 20px; }.score-copy p { margin: 0; color: #c8c2da; font-size: 11px; line-height: 1.9; }
.risk-pill { display: inline-flex; border-radius: 20px; padding: 4px 9px; font-size: 8px; font-weight: 800; }
.risk-low { color: #8bf0cf; background: rgba(21,150,111,.2); }.risk-medium { color: #ffd18d; background: rgba(200,125,24,.2); }.risk-high { color: #ff9fac; background: rgba(214,76,93,.2); }
.score-note { padding: 15px 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.05); }
.score-note strong { color: var(--peach); font-size: 9px; }.score-note p { margin: 3px 0 0; color: #bdb6d1; font-size: 8px; line-height: 1.9; }
.results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 18px; }
.result-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 13px 34px rgba(51,41,82,.055); }
.wide-card { grid-column: 1 / -1; }
.result-title { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; }
.result-title div { line-height: 1.25; }.result-title small { color: var(--muted); font-size: 8px; }.result-title h3 { margin: 3px 0 0; font-size: 16px; }
.result-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; color: var(--violet); background: var(--violet-soft); font-size: 15px; font-weight: 800; }
.policy-icon { color: var(--red); background: #fff0f2; }
.findings-list { display: grid; gap: 11px; }
.finding { display: grid; grid-template-columns: 9px 1fr; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; }
.finding-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; }
.finding-critical .finding-dot { background: var(--red); box-shadow: 0 0 0 5px rgba(214,76,93,.1); }.finding-warning .finding-dot { background: var(--amber); box-shadow: 0 0 0 5px rgba(200,125,24,.1); }.finding-info .finding-dot { background: var(--tertiary); box-shadow: 0 0 0 5px rgba(106,208,222,.18); }
.finding-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }.finding-head strong { font-size: 11px; }.finding-head small { color: var(--muted); font-size: 8px; }
.finding p { margin: 5px 0 9px; color: var(--muted); font-size: 10px; }
.recommendation { padding: 9px 11px; border-radius: 9px; color: #504c5c; background: #f8f7fb; font-size: 9px; }.recommendation b { display: block; color: var(--green); font-size: 8px; margin-bottom: 2px; }
.empty-state { color: var(--muted); font-size: 10px; }
.detail-list { display: grid; gap: 12px; }
.detail-list > div:not(.issues-box) { display: grid; grid-template-columns: 105px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #f0edf4; }
.detail-list span { color: var(--muted); font-size: 9px; }.detail-list p { margin: 0; font-size: 10px; line-height: 1.8; }
.issues-box { padding: 11px; border-radius: 10px; background: #faf8ff; }.issues-box ul { margin: 5px 0 0; padding-right: 16px; font-size: 9px; color: #504c5c; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
.metric > div { display: flex; justify-content: space-between; font-size: 9px; }.metric strong { color: var(--violet); }.metric i { display: block; height: 6px; margin-top: 7px; border-radius: 6px; background: #efedf4; overflow: hidden; }.metric i b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), #9a82ff); }
.card-note { margin: 20px 0 0; padding: 11px 13px; border-radius: 10px; color: var(--muted); background: #f8f7fb; font-size: 9px; }
.research-card { background: linear-gradient(155deg, #fff, #f7f4ff); }.highlight-copy { margin: 0 0 16px; padding: 13px; border-right: 3px solid var(--violet); border-radius: 10px; background: #fff; font-size: 10px; }
.result-card h4 { font-size: 9px; margin: 15px 0 7px; color: var(--muted); }.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }.tag-list span { padding: 5px 8px; border-radius: 8px; color: var(--violet-dark); background: #eee9ff; font-size: 8px; }
.query-list { margin: 0; padding-right: 17px; color: #4f4a5b; font-size: 9px; }.query-list li { margin: 4px 0; }
.research-note { color: var(--muted); font-size: 8px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 15px; }
.research-sources { display: grid; gap: 5px; margin-top: 10px; }.research-sources > strong { font-size: 8px; color: var(--muted); }.research-sources a { display: flex; justify-content: space-between; gap: 12px; padding: 6px 8px; border-radius: 7px; background: #fff; color: var(--violet-dark); font-size: 8px; overflow: hidden; }.research-sources a span { flex: 0 0 auto; }
.hooks-card { background: #073f61; color: #fff; border-color: #073f61; }.hooks-card .result-title small { color: #b8d7e5; }.hooks-card .result-icon { color: #ffd49e; background: rgba(255,255,255,.09); }
.hooks-list { display: grid; gap: 10px; }.hooks-list > div { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.045); }.hooks-list > div > span { color: var(--peach); font-size: 9px; font-weight: 800; }.hooks-list p { margin: 0; font-size: 10px; }.mini-copy, .copy-button { border: 0; border-radius: 8px; color: var(--violet); background: var(--violet-soft); padding: 5px 8px; font-size: 8px; cursor: pointer; }
.copy-box { position: relative; padding: 17px; border-radius: 13px; background: #f8f7fb; }.copy-box p { margin: 0 0 25px; white-space: pre-wrap; font-size: 11px; line-height: 2; }.copy-button { position: absolute; bottom: 12px; left: 12px; }
.cta-line { display: flex; align-items: center; gap: 12px; margin-top: 11px; font-size: 9px; }.cta-line span { color: var(--muted); }.cta-line strong { color: var(--violet); }
.action-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 20px; margin: 0; padding: 0; list-style: none; counter-reset: action; }.action-list li { display: grid; grid-template-columns: 27px 1fr; align-items: start; gap: 9px; padding: 10px; border-bottom: 1px solid #f0edf4; counter-increment: action; }.action-list li span::before { content: counter(action); width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: var(--violet); background: var(--violet-soft); font-size: 8px; font-weight: 800; }.action-list p { margin: 2px 0 0; font-size: 9px; }
.result-disclaimer { max-width: 800px; margin: 22px auto 0; color: var(--muted); font-size: 8px; text-align: center; }

/* لماذا هذه الدرجة؟ - محاور التقييم */
.dimensions-section { margin-top: 22px; }
.dimensions-head { margin-bottom: 16px; }
.dimensions-head .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--tertiary); }
.dimensions-head .eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.dimensions-head h2 { margin: 9px 0 6px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -1px; color: var(--ink); }
.dimensions-head p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; max-width: 760px; }
.dimensions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dimension-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 13px 34px rgba(51,41,82,.055); border-inline-start: 4px solid var(--line); }
.dimension-card.sev-low { border-inline-start-color: #6ad0de; }
.dimension-card.sev-medium { border-inline-start-color: var(--peach); }
.dimension-card.sev-high { border-inline-start-color: #e8804a; }
.dimension-card.sev-critical { border-inline-start-color: var(--red); }
.dimension-card.sev-none { border-inline-start-color: var(--green); }
.dimension-head { display: flex; align-items: center; gap: 11px; }
.dimension-icon { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--violet-soft); color: var(--tertiary); font-size: 19px; }
.dimension-title { flex: 1; min-width: 0; line-height: 1.3; }
.dimension-title strong { display: block; font-size: 15px; color: var(--ink); }
.dimension-sev { display: inline-block; margin-top: 4px; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.dimension-sev.sev-none { color: #0f8a5f; background: rgba(21,150,111,.12); }
.dimension-sev.sev-low { color: #1596a0; background: rgba(21,150,160,.12); }
.dimension-sev.sev-medium { color: var(--amber); background: rgba(200,125,24,.14); }
.dimension-sev.sev-high { color: #c85a1c; background: rgba(232,128,74,.15); }
.dimension-sev.sev-critical { color: var(--red); background: rgba(214,76,93,.13); }
.dimension-score { flex-shrink: 0; font-size: 24px; font-weight: 800; letter-spacing: -1px; }
.dimension-score.tone-good { color: var(--green); }
.dimension-score.tone-mid { color: var(--amber); }
.dimension-score.tone-low { color: var(--red); }
.dimension-bar { display: block; height: 7px; border-radius: 999px; background: #eef4f6; margin: 13px 0 15px; overflow: hidden; }
.dimension-bar b { display: block; height: 100%; border-radius: 999px; }
.dimension-bar b.tone-good { background: linear-gradient(90deg, #1db98a, var(--green)); }
.dimension-bar b.tone-mid { background: linear-gradient(90deg, #ffc061, var(--peach)); }
.dimension-bar b.tone-low { background: linear-gradient(90deg, #ff8a97, var(--red)); }
.dimension-body { display: flex; flex-direction: column; gap: 11px; }
.dim-row { display: grid; grid-template-columns: 62px 1fr; gap: 10px; align-items: start; }
.dim-row > span { font-size: 11px; font-weight: 700; color: var(--muted); padding-top: 2px; }
.dim-row > p { margin: 0; font-size: 13px; line-height: 1.85; color: var(--ink); }
.dim-row.is-problem > span { color: var(--red); }
.dim-row.is-fix > span { color: var(--tertiary); }
.dim-improved { border: 1px dashed var(--line); border-radius: 13px; background: var(--paper); padding: 13px; }
.dim-improved-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.dim-improved-head span { font-size: 11px; font-weight: 700; color: var(--tertiary); }
.dim-improved p { margin: 0; font-size: 13px; line-height: 1.9; color: var(--ink); white-space: pre-wrap; }
.dim-source { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--tertiary); text-decoration: none; background: var(--violet-soft); padding: 8px 12px; border-radius: 10px; width: fit-content; }
.dim-source:hover { background: var(--tertiary); color: #fff; }
.dim-source span { margin-inline-start: 2px; }
@media (max-width: 760px) {
    .dimensions-section { margin-top: 16px; }
    .dimensions-head { margin-bottom: 12px; }
    .dimensions-head .eyebrow { font-size: 11px; }
    .dimensions-head h2 { margin: 7px 0 5px; font-size: 20px; letter-spacing: -.5px; }
    .dimensions-head p { font-size: 12px; line-height: 1.8; }
    .dimensions-grid { grid-template-columns: 1fr; gap: 12px; }
    .dimension-card { padding: 15px 15px 16px; border-radius: 20px; border-inline-start-width: 5px; box-shadow: 0 8px 22px rgba(51,41,82,.06); }
    .dimension-head { gap: 12px; }
    .dimension-icon { width: 44px; height: 44px; border-radius: 14px; font-size: 21px; }
    .dimension-title strong { font-size: 15px; }
    .dimension-sev { font-size: 10px; padding: 3px 10px; }
    .dimension-score { font-size: 27px; }
    .dimension-bar { height: 8px; margin: 13px 0 15px; }
    .dimension-body { gap: 13px; }
    .dim-row { grid-template-columns: 1fr; gap: 3px; }
    .dim-row > span { padding-top: 0; font-size: 10.5px; font-weight: 800; }
    .dim-row > p { font-size: 13.5px; line-height: 1.85; }
    .dim-improved { padding: 13px; border-radius: 15px; }
    .dim-improved-head span { font-size: 11px; }
    .dim-improved p { font-size: 13.5px; }
    .dim-source { width: 100%; justify-content: center; padding: 12px; font-size: 12.5px; border-radius: 13px; }
}

.how-section { padding-block: 85px 100px; }
.section-heading { text-align: center; }.section-heading .eyebrow { justify-content: center; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 35px; }
.how-grid article { position: relative; min-height: 185px; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.how-grid article > span { position: absolute; left: 18px; top: 8px; color: #eeeaf8; font-size: 52px; font-weight: 900; line-height: 1; }.how-grid h3 { position: relative; margin: 38px 0 8px; font-size: 16px; }.how-grid p { position: relative; margin: 0; color: var(--muted); font-size: 10px; }
footer { border-top: 1px solid var(--line); background: #fff; }.footer-inner { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }.footer-brand .brand-mark { width: 35px; height: 35px; border-radius: 11px; }.footer-inner > p { color: var(--muted); font-size: 8px; text-align: center; }.footer-inner > a { color: var(--violet); font-size: 9px; }

@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; gap: 45px; padding-top: 55px; }.hero-copy { text-align: center; }.hero h1, .hero-lead { margin-inline: auto; }.hero-points { max-width: 620px; margin-inline: auto; margin-top: 30px; }.trust-note { justify-content: center; }.analyzer-card { max-width: 720px; width: 100%; margin-inline: auto; }
    .sources-inner { grid-template-columns: repeat(3, 1fr); padding-block: 10px; }.sources-label { grid-column: 1 / -1; text-align: center; }.sources-inner a:first-of-type { border-right: 0; }
    .score-panel { grid-template-columns: 135px 1fr; }.score-note { grid-column: 1 / -1; }.score-ring { width: 112px; height: 112px; }
}

@media (max-width: 700px) {
    .shell { width: min(100% - 24px, 620px); }.site-header { height: 72px; }.site-header nav { display: none; }.admin-link { padding: 8px 10px; }.brand small { display: none; }
    .hero { padding-block: 44px 48px; min-height: auto; }.hero h1 { font-size: 39px; letter-spacing: -1.7px; }.hero-lead { font-size: 14px; }.hero-points { grid-template-columns: 1fr; text-align: right; }.hero-points div { padding: 8px 12px; }
    .analyzer-card { padding: 19px; border-radius: 22px; }.card-heading { align-items: center; }.ai-badge { font-size: 8px; }.form-grid { grid-template-columns: 1fr; }.platform-field label { margin-bottom: 6px; }.upload-empty > span:not(.upload-icon) { font-size: 9px; }
    .sources-inner { grid-template-columns: 1fr; }.sources-label { grid-column: auto; }.sources-inner a { border-right: 0; border-top: 1px solid var(--line); }.sources-inner a:first-of-type { border-top: 0; }
    .results { padding-top: 55px; }.results-head { align-items: flex-start; flex-direction: column; }.score-panel { grid-template-columns: 1fr; text-align: center; padding: 25px 19px; }.score-ring { margin-inline: auto; }.score-note { grid-column: auto; text-align: right; }.results-grid { grid-template-columns: 1fr; }.wide-card { grid-column: auto; }.result-card { padding: 19px; }.metric-grid, .action-list { grid-template-columns: 1fr; }.finding-head { align-items: flex-start; flex-direction: column; gap: 2px; }.detail-list > div:not(.issues-box) { grid-template-columns: 90px 1fr; }
    .how-grid { grid-template-columns: 1fr; }.how-section { padding-block: 65px; }.footer-inner { flex-direction: column; justify-content: center; padding-block: 25px; }.footer-inner > p { max-width: 390px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* بيجك: شاشة البداية، التثبيت وتجربة الهاتف */
.splash-screen { position: fixed; z-index: 9999; inset: 0; display: grid; place-items: center; align-content: center; gap: 38px; color: var(--ink); background: linear-gradient(155deg, #f8fdfe, #e7f8fb); transition: opacity .45s ease, visibility .45s ease; }
.splash-screen::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(106,208,222,.36), transparent 68%); transform: translate(32%, -28%); }
.splash-hidden { opacity: 0; visibility: hidden; }
.splash-brand { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.splash-brand img { width: 98px; height: 98px; object-fit: contain; border-radius: 25px; background: #fff; border: 1px solid rgba(14,114,173,.12); padding: 8px; box-shadow: 0 20px 45px rgba(14,114,173,.16); }
.splash-mark { width: 92px; height: 92px; border-radius: 25px; margin-bottom: 3px; }
.splash-mark i { width: 47px; height: 47px; top: 20px; }.splash-mark b { width: 28px; height: 28px; bottom: 14px; left: 15px; }
.splash-brand strong { margin-top: 16px; color: var(--tertiary); font-size: 30px; letter-spacing: -.8px; }.splash-brand small { color: var(--muted); font-size: 11px; }
.splash-loader { position: relative; width: 86px; height: 5px; overflow: hidden; border-radius: 8px; background: rgba(14,114,173,.12); }.splash-loader span { position: absolute; width: 35px; height: 100%; border-radius: inherit; background: var(--secondary); animation: splash-load 1s ease-in-out infinite alternate; }
@keyframes splash-load { from { right: 0; } to { right: 51px; } }

.install-prompt { position: fixed; z-index: 60; right: 14px; left: 14px; bottom: 84px; min-height: 76px; display: none; align-items: center; gap: 11px; padding: 11px 12px; border: 1px solid rgba(14,114,173,.16); border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: 0 16px 45px rgba(6,62,91,.22); backdrop-filter: blur(14px); }
.install-identity { min-width: 0; display: flex; align-items: center; gap: 9px; flex: 1; }.install-identity > img, .install-identity > .brand-mark { width: 43px; height: 43px; flex: 0 0 43px; border-radius: 12px; object-fit: contain; background: #fff; padding: 3px; }.install-identity div { min-width: 0; display: flex; flex-direction: column; }.install-identity strong { font-size: 11px; }.install-identity small { color: var(--muted); font-size: 8px; line-height: 1.5; }
.install-button { min-height: 37px; flex: 0 0 auto; padding: 7px 11px; border: 0; border-radius: 10px; color: #fff; background: var(--tertiary); font-size: 9px; font-weight: 700; cursor: pointer; }.install-close { position: absolute; top: -8px; left: -5px; width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: #fff; cursor: pointer; }
.mobile-nav { display: none; }

.result-page { background: #f7fbfc; }.result-main { padding-top: 52px; }.results-head h1 { margin: 7px 0 2px; font-size: clamp(28px, 3vw, 41px); letter-spacing: -1.3px; }.results-head > div > p { margin: 4px 0 0; color: var(--muted); font-size: 9px; }.print-button { min-height: 40px; padding: 8px 15px; border: 1px solid var(--line); border-radius: 11px; color: var(--tertiary); background: #fff; font-size: 9px; font-weight: 700; cursor: pointer; }.score-copy h2 { margin: 9px 0 5px; font-size: 20px; }.result-header .nav-wrap { justify-content: space-between; }

@media (max-width: 700px) {
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .header-cta { min-height: 36px; padding: 7px 11px; font-size: 9px; }
    .mobile-nav { position: fixed; z-index: 55; right: 0; left: 0; bottom: 0; height: calc(67px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(var(--mobile-nav-items, 5), 1fr); align-items: start; padding: 7px 8px env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -8px 30px rgba(16,45,61,.09); backdrop-filter: blur(14px); }
    .mobile-nav a { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 2px; color: #718793; font-size: 8px; font-weight: 600; }.mobile-nav a span { width: 27px; height: 25px; display: grid; place-items: center; border-radius: 9px; font-size: 13px; }.mobile-nav a.active { color: var(--tertiary); }.mobile-nav a.active span { color: var(--tertiary); background: var(--violet-soft); }
    .install-prompt:not([hidden]) { display: flex; }
    .footer-inner { padding-bottom: 16px; }
    .result-main { padding-top: 34px; }.result-main .results-head { gap: 14px; }.print-button { display: none; }
}

@media print {
    .site-header, footer, .mobile-nav, .install-prompt, .print-button { display: none !important; }
    body { background: #fff; padding: 0; }.result-main { width: 100%; padding: 0; }.result-card, .score-panel { break-inside: avoid; box-shadow: none; }
}

/* النسخة التسويقية المطابقة لهوية بيجك */
body { background: #fff; }
body::before, body::after { content: ""; position: fixed; z-index: -2; width: 430px; height: 430px; border: 1px solid rgba(106,208,222,.28); border-radius: 50%; pointer-events: none; }
body::before { right: -320px; top: 130px; box-shadow: 0 0 0 62px rgba(106,208,222,.07), 0 0 0 124px rgba(14,114,173,.035); }
body::after { left: -350px; top: 430px; box-shadow: 0 0 0 70px rgba(255,156,45,.045); }
.site-header { height: 92px; background: rgba(255,255,255,.96); border-bottom-color: #dfeef3; }
.nav-wrap { width: min(1480px, calc(100% - 72px)); }
.brand-logo { width: 58px; height: 58px; flex-basis: 58px; object-fit: contain; border: 0; border-radius: 0; background: transparent; padding: 0; box-shadow: none; }
.brand strong { color: #082b40; font-size: 23px; }.brand small { color: #648093; font-size: 11px; }
.desktop-nav { margin-inline: auto; }
.account-actions { display: flex; align-items: center; gap: 12px; direction: rtl; }
.account-actions form { margin: 0; }
.header-button, .auth-switch { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 18px; border-radius: 13px; font-size: 12px; font-weight: 750; white-space: nowrap; transition: transform .2s, box-shadow .2s, border-color .2s; }
.header-button:hover, .auth-switch:hover { transform: translateY(-1px); }
.outline-button { color: var(--tertiary); border: 1px solid #cfe5ed; background: #fff; }
button.outline-button { cursor: pointer; }
.solid-button { color: #fff; border: 1px solid transparent; background: linear-gradient(120deg, #0e72ad, #37bfd0); box-shadow: 0 10px 23px rgba(14,114,173,.2); }
.account-chip { max-width: 220px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid #d6eaf0; border-radius: 14px; background: #f9fdfe; color: inherit; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
a.account-chip:hover { border-color: var(--primary); background: var(--violet-soft); }
.account-chip i { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--tertiary); font-style: normal; font-weight: 800; }
.account-chip b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }

.hero { width: min(1480px, calc(100% - 72px)); grid-template-columns: 1.03fr .97fr; gap: clamp(55px, 7vw, 120px); min-height: 760px; padding-block: 65px 76px; }
.hero-copy { padding-inline: 20px; }.hero h1 { max-width: 690px; font-size: clamp(48px, 4.8vw, 76px); line-height: 1.23; letter-spacing: -3.5px; }
.hero h1 em { background: linear-gradient(90deg, #0e72ad, #55cbd9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { max-width: 690px; font-size: 17px; }.hero-points { max-width: 710px; }.hero-points div { min-height: 86px; text-align: center; border-right: 0; border-left: 1px solid #dcebf0; }.hero-points div:last-child { border-left: 0; }
.hero-points div::before { content: "✓"; width: 36px; height: 36px; display: grid; place-items: center; margin: 0 auto 7px; border-radius: 50%; color: var(--tertiary); background: #e8f8fb; font-weight: 800; }
.analyzer-card { border-radius: 26px; padding: 32px; box-shadow: 0 25px 65px rgba(14,114,173,.11); }
.analyzer-card::before { border-radius: 26px; padding: 1.4px; }.card-heading h2 { font-size: 25px; }.step-kicker { color: var(--tertiary); }
.trial-strip { display: flex; align-items: center; gap: 9px; margin: -5px 0 18px; padding: 9px 12px; border: 1px solid #d4edf2; border-radius: 12px; color: #3d687b; background: #f2fbfc; }
.trial-strip > span { color: var(--tertiary); }.trial-strip p { flex: 1; margin: 0; font-size: 10px; }.trial-strip a { color: #fff; padding: 5px 9px; border-radius: 8px; background: var(--tertiary); font-size: 9px; font-weight: 800; }
.trial-strip.trial-ended { border-color: #ffd9ad; background: #fff8ee; }.trial-strip.trial-ended > span { color: var(--secondary); }
.upload-zone { border-color: #b8dde7; background: linear-gradient(145deg, #fbfeff, #f1fafc); }.upload-icon { color: #fff; background: linear-gradient(140deg, var(--primary), var(--tertiary)); }
.field input, .field select, .field textarea { border-color: #d6e9ef; }.primary-button { background: linear-gradient(120deg, #0e72ad, #28b5c9); }
textarea.prefilled { border-color: var(--primary) !important; box-shadow: 0 0 0 3px rgba(106,208,222,.3); animation: prefill-glow 1.1s ease 2; }
@keyframes prefill-glow { 0%, 100% { box-shadow: 0 0 0 3px rgba(106,208,222,.3); } 50% { box-shadow: 0 0 0 6px rgba(106,208,222,.16); } }

.sources-band { background: rgba(248,253,254,.9); }.how-section { width: min(1280px, calc(100% - 72px)); }.how-section .section-heading h2 { font-size: 25px; }
.how-grid { padding: 26px; border: 1px solid #dcebf0; border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: 0 16px 45px rgba(14,114,173,.06); }
.how-grid article { min-height: 132px; padding: 22px 28px 22px 85px; border-radius: 17px; box-shadow: none; }.how-grid article > span { left: 20px; top: 36px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: var(--tertiary); background: #e8f8fb; font-size: 16px; }.how-grid h3 { margin: 10px 0 6px; }

.splash-brand img { width: 120px; height: 120px; object-fit: contain; border: 0; border-radius: 0; background: transparent; padding: 0; box-shadow: none; }
.scan-orbit img { width: 70px; height: 70px; border: 0; border-radius: 0; background: transparent; padding: 0; box-shadow: none; }
.install-identity > img { border: 0; border-radius: 0; background: transparent; padding: 0; box-shadow: none; }

.account-gate { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(5,38,56,.6); backdrop-filter: blur(9px); }
.account-gate-card { position: relative; width: min(480px, 100%); padding: 38px; text-align: center; border: 1px solid rgba(106,208,222,.7); border-radius: 26px; background: #fff; box-shadow: 0 35px 100px rgba(5,38,56,.25); }
.account-gate-close { position: absolute; left: 16px; top: 14px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #dcebf0; border-radius: 50%; color: #5e7885; background: #fff; cursor: pointer; }
.gate-icon { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 17px; border: 8px solid #e2f6f8; border-radius: 50%; color: #fff; background: var(--tertiary); font-size: 25px; font-weight: 900; }
.account-gate-card > small { color: var(--secondary); font-weight: 800; }.account-gate-card h2 { margin: 8px 0; font-size: 26px; }.account-gate-card p { margin: 0 auto 22px; color: var(--muted); font-size: 12px; }.account-gate-card > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.modal-open { overflow: hidden; }

/* صفحات حساب العميل */
.auth-page { min-height: 100vh; background: linear-gradient(140deg, #fff 50%, #f3fbfc); }.auth-header { position: relative; z-index: 5; }.auth-switch { color: #537182; border: 1px solid #d7e9ef; background: #fff; }.auth-switch strong { color: var(--tertiary); margin-right: 5px; }
.auth-shell { min-height: calc(100vh - 92px); display: grid; grid-template-columns: 1fr minmax(430px, 560px); align-items: center; gap: clamp(70px, 9vw, 150px); padding-block: 65px; }.auth-story h1 { max-width: 680px; margin: 17px 0 20px; font-size: clamp(44px, 5vw, 72px); line-height: 1.24; letter-spacing: -3px; }.auth-story h1 em { color: var(--tertiary); font-style: normal; }.auth-story > p { max-width: 620px; margin: 0; color: var(--muted); font-size: 16px; line-height: 2; }.auth-benefits { display: grid; gap: 10px; margin-top: 30px; color: #436273; font-size: 12px; }.auth-benefits span { display: flex; align-items: center; gap: 9px; }.auth-benefits span::first-letter { color: var(--tertiary); }
.auth-card { position: relative; padding: 38px; border: 1px solid #cce6ed; border-radius: 28px; background: rgba(255,255,255,.98); box-shadow: 0 30px 80px rgba(14,114,173,.12); }.auth-card::after { content: ""; position: absolute; right: 28px; left: 28px; bottom: -1px; height: 2px; background: linear-gradient(90deg, transparent, var(--secondary), transparent); }.auth-card-head { display: flex; align-items: center; gap: 13px; margin-bottom: 25px; }.auth-card-head > span { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; color: var(--tertiary); background: #e8f8fb; font-size: 13px; font-weight: 900; }.auth-card-head small { color: var(--muted); font-size: 9px; }.auth-card-head h2 { margin: 1px 0 0; font-size: 25px; }
.auth-card form { display: grid; gap: 16px; }.auth-card label { display: flex; flex-direction: column; gap: 7px; }.auth-card label > span { color: #315365; font-size: 11px; font-weight: 750; }.auth-card input { width: 100%; height: 49px; padding: 0 14px; border: 1px solid #d5e9ef; border-radius: 12px; color: var(--ink); background: #fff; outline: 0; }.auth-card input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(106,208,222,.18); }.auth-card label small { color: var(--muted); font-size: 8px; }.auth-passwords { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.auth-submit { height: 52px; display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 3px; border: 0; border-radius: 13px; color: #fff; background: linear-gradient(120deg, #0e72ad, #2bb8ca); box-shadow: 0 13px 28px rgba(14,114,173,.22); font-weight: 800; cursor: pointer; }.auth-submit span { font-size: 18px; }.auth-error { margin-bottom: 17px; padding: 11px 13px; border: 1px solid #f3cbd0; border-radius: 11px; color: #9f3040; background: #fff3f5; font-size: 10px; }.auth-footnote { margin: 16px 0 0; color: var(--muted); text-align: center; font-size: 9px; }.auth-footnote a { color: var(--tertiary); font-weight: 800; }
.auth-orbit { position: fixed; z-index: -1; border: 1px solid rgba(106,208,222,.35); border-radius: 50%; }.auth-orbit-one { width: 310px; height: 310px; right: -210px; top: 170px; box-shadow: 0 0 0 55px rgba(106,208,222,.06); }.auth-orbit-two { width: 230px; height: 230px; left: -160px; bottom: 50px; border-color: rgba(255,156,45,.25); }

/* صفحة التقرير */
.result-page { background: #fff; }.result-main { width: min(1380px, calc(100% - 72px)); padding-top: 46px; }.results-head { margin-bottom: 24px; }.results-head h1 { color: #082b40; font-size: clamp(38px, 4.5vw, 64px); }.score-panel { min-height: 320px; grid-template-columns: 230px 1fr; grid-template-areas: "ring copy" "ring note"; padding: 38px 55px; border: 3px solid #e7f6f8; border-radius: 24px; background: linear-gradient(120deg, #0e72ad, #07517d); overflow: hidden; position: relative; }.score-panel::before { content: ""; position: absolute; width: 300px; height: 300px; right: -130px; bottom: -190px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025); }.score-ring { grid-area: ring; width: 175px; height: 175px; background: conic-gradient(var(--secondary) var(--score), rgba(255,255,255,.18) 0); box-shadow: 0 0 0 22px rgba(255,255,255,.035); }.score-ring::after { inset: 11px; background: #09608f; }.score-ring strong { font-size: 55px; }.score-ring span { color: #a8d9e8; font-size: 12px; }.score-copy { grid-area: copy; }.score-copy h2 { max-width: 850px; margin: 14px 0 8px; font-size: 27px; line-height: 1.55; }.score-copy p { max-width: 920px; color: #e0f0f5; font-size: 14px; }.score-note { grid-area: note; max-width: 900px; padding: 10px 0 0; border: 0; border-top: 1px solid rgba(255,255,255,.16); border-radius: 0; background: transparent; }.score-note p { color: #b8d9e4; font-size: 10px; }
.result-card { border-color: #cfe7ee; border-radius: 22px; box-shadow: 0 17px 45px rgba(14,114,173,.07); }.result-title small { font-size: 10px; }.result-title h3 { color: #082b40; font-size: 20px; }.result-icon { color: var(--tertiary); background: #e8f8fb; }.finding-head strong { font-size: 13px; }.finding-head small, .finding p, .recommendation, .detail-list span, .detail-list p, .issues-box ul, .metric > div, .card-note, .highlight-copy, .query-list, .copy-box p, .action-list p { font-size: 11px; }.metric i { height: 7px; }.metric i b { background: linear-gradient(90deg, var(--tertiary), var(--primary)); }.hooks-card { background: #07517d; border-color: #07517d; }.result-disclaimer { font-size: 10px; }
.analysis-card-layout { display: grid; grid-template-columns: 145px 1fr; align-items: center; gap: 28px; margin-bottom: 20px; }.mini-score-ring { --mini-score: 0deg; width: 130px; height: 130px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--tertiary) var(--mini-score), #e6f2f5 0); position: relative; box-shadow: 0 0 0 9px #f5fbfc; }.mini-score-ring.orange-ring { background: conic-gradient(var(--secondary) var(--mini-score), #f7eee4 0); }.mini-score-ring::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }.mini-score-ring div { position: relative; z-index: 1; text-align: center; line-height: 1.25; }.mini-score-ring strong { display: block; color: var(--tertiary); font-size: 27px; }.orange-ring strong { color: var(--secondary); }.mini-score-ring span { color: var(--ink); font-size: 9px; }.mini-metrics { display: grid; gap: 12px; }.mini-metrics > div { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }.mini-metrics span, .mini-metrics b { font-size: 10px; }.mini-metrics b { color: var(--tertiary); }.mini-metrics i { grid-column: 1 / -1; height: 6px; overflow: hidden; border-radius: 9px; background: #e8eff2; }.mini-metrics em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tertiary), var(--primary)); }.compact-details { padding: 15px; border-radius: 15px; background: #f6fbfc; }

@media (max-width: 1050px) {
    .desktop-nav { display: none !important; }.hero { grid-template-columns: 1fr; width: min(760px, calc(100% - 40px)); }.hero-copy { text-align: center; }.hero h1, .hero-lead { margin-inline: auto; }.auth-shell { grid-template-columns: 1fr; max-width: 720px; }.auth-story { text-align: center; }.auth-story h1, .auth-story > p { margin-inline: auto; }.auth-benefits { width: fit-content; margin-inline: auto; text-align: right; }
}
@media (max-width: 700px) {
    .site-header { height: 72px; }.nav-wrap { width: calc(100% - 24px); gap: 7px; }.brand-logo { width: 42px; height: 42px; flex-basis: 42px; }.brand strong { font-size: 18px; }.account-actions { gap: 5px; }.header-button { min-height: 34px; padding: 6px 8px; font-size: 8px; }.account-chip { max-width: 110px; padding: 3px 6px; }.account-chip i { width: 28px; height: 28px; flex-basis: 28px; }.account-chip b { font-size: 8px; }
    .hero { width: calc(100% - 24px); padding-top: 36px; gap: 35px; }.hero-copy { padding: 0; }.hero h1 { font-size: 40px; letter-spacing: -2px; }.hero-lead { font-size: 13px; }.hero-points div { text-align: right; border: 0; }.hero-points div::before { display: inline-grid; margin: 0 0 0 8px; vertical-align: middle; }.analyzer-card { padding: 18px; }.trial-strip p { font-size: 8px; }
    .how-section, .result-main { width: calc(100% - 24px); }.how-grid { padding: 14px; }.how-grid article { padding: 18px 70px 18px 18px; }.how-grid article > span { right: 15px; left: auto; top: 30px; }
    .account-gate-card { padding: 32px 20px 22px; }.account-gate-card > div { grid-template-columns: 1fr; }.account-gate-card h2 { font-size: 22px; }
    .auth-shell { min-height: auto; padding-block: 42px; gap: 35px; }.auth-story h1 { font-size: 40px; letter-spacing: -2px; }.auth-story > p { font-size: 13px; }.auth-card { padding: 23px 18px; }.auth-passwords { grid-template-columns: 1fr; }.auth-switch { min-height: 36px; padding: 7px 9px; font-size: 9px; }
    .score-panel { min-height: auto; grid-template-columns: 1fr; grid-template-areas: "ring" "copy" "note"; padding: 30px 20px; }.score-ring { width: 145px; height: 145px; }.score-copy h2 { font-size: 21px; }.score-copy p { font-size: 12px; }.result-card { padding: 18px; }.analysis-card-layout { grid-template-columns: 1fr; }.mini-score-ring { margin-inline: auto; }
}

/* توحيد الأحجام بعد جميع أنماط الصفحات */
.hero-points strong { font-size: 14px; }.hero-points span { font-size: 12px; }
.field > span,.platform-field legend { font-size: 13px; }.field input,.field select,.field textarea { font-size: 15px; }.platform-field label span,.terms-check,.step-kicker,.ai-badge,.trust-note,.form-error { font-size: 12px; }
.upload-empty strong { font-size: 14px; }.upload-empty > span:not(.upload-icon),.upload-empty small { font-size: 11px; }
.result-title h3 { font-size: 17px; }.result-title small { font-size: 11px; }.finding-head strong { font-size: 14px; }.finding-head small,.finding p,.recommendation,.recommendation b,.detail-list span,.detail-list p,.issues-box ul,.metric > div,.card-note,.highlight-copy,.query-list,.research-note,.hooks-list p,.action-list p { font-size: 12px; }
.empty-state,.copy-box p { font-size: 13px; }.result-card h4,.tag-list span,.research-sources > strong,.research-sources a,.hooks-list > div > span,.mini-copy,.copy-button,.cta-line,.result-disclaimer { font-size: 11px; }.results-head > div > p,.print-button,.how-grid p,.footer-inner > p,.footer-inner > a { font-size: 12px; }
.auth-card label > span { font-size: 13px; }.auth-card input { font-size: 15px; }.auth-card label small,.auth-card-head small,.auth-footnote,.auth-switch { font-size: 11px; }.auth-submit { font-size: 14px; }
@media(max-width:700px){
    input,select,textarea{font-size:16px!important}.mobile-nav a{gap:3px;font-size:11px;font-weight:700}.mobile-nav a>span{display:none}.mobile-nav a>i{width:32px;height:29px;display:grid;place-items:center;border-radius:10px;font-size:18px;transition:.2s}.mobile-nav a.active>i{color:var(--tertiary);background:var(--violet-soft);transform:translateY(-1px)}
    .install-identity strong{font-size:13px}.install-identity small{font-size:10px}.install-button{font-size:11px}
}

/* تحديثات Meta */
.desktop-nav a.active { color: var(--tertiary); font-weight: 800; }
.result-mobile-nav { --mobile-nav-items: 5; }
.meta-news-page,.meta-article-page { background: linear-gradient(180deg,#f8fcfd 0,#fff 34%,#f7fbfc 100%); }
.meta-news-main { padding-block: 64px 90px; }
.meta-news-hero {
    display: grid;
    grid-template-columns: minmax(0,1.35fr) minmax(310px,.65fr);
    align-items: end;
    gap: 48px;
    padding: 48px;
    border: 1px solid #d8ebf1;
    border-radius: 30px;
    background: radial-gradient(circle at 90% 20%,rgba(106,208,222,.22),transparent 34%),linear-gradient(135deg,#fff,#f4fbfd);
    box-shadow: 0 22px 60px rgba(14,114,173,.09);
}
.meta-news-hero h1 { margin: 8px 0 12px; font-size: clamp(38px,5vw,65px); line-height: 1.18; letter-spacing: -2.4px; }
.meta-news-hero h1 em { color: var(--tertiary); font-style: normal; }
.meta-news-hero > div:first-child > p { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; line-height: 2; }
.meta-source-badge { min-height: 150px; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 11px 14px; padding: 24px; border: 1px solid rgba(106,208,222,.5); border-radius: 22px; background: rgba(255,255,255,.84); }
.meta-source-badge > i { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: var(--tertiary); background: var(--violet-soft); font-size: 25px; }
.meta-source-badge > span { display: flex; flex-direction: column; line-height: 1.5; }.meta-source-badge strong{font-size:16px}.meta-source-badge small{color:var(--muted);font-size:12px}
.meta-source-badge > a { grid-column: 1/-1; min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 11px; color: #fff; background: var(--tertiary); font-size: 13px; font-weight: 800; }
.meta-news-list { padding-top: 66px; }.meta-list-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}.meta-list-heading small{color:var(--tertiary);font-size:13px;font-weight:800}.meta-list-heading h2{margin:2px 0 0;font-size:31px}.meta-list-heading>span{color:var(--muted);font-size:13px}
.meta-news-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.meta-news-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 23px; background: #fff; box-shadow: 0 14px 36px rgba(14,74,106,.07); transition: transform .25s,border-color .25s,box-shadow .25s; }
.meta-news-card:hover { transform: translateY(-5px); border-color: #addfe8; box-shadow: 0 22px 48px rgba(14,114,173,.13); }
.meta-card-media { position: relative; height: 224px; display: grid; place-items: center; overflow: hidden; color: var(--tertiary); background: linear-gradient(135deg,#e9f9fb,#fff2e1); }
.meta-card-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }.meta-news-card:hover .meta-card-media img{transform:scale(1.035)}
.meta-image-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(14,114,173,.5); font-size: 52px; }.meta-card-media.image-failed .meta-image-fallback,.meta-article-media.image-failed .meta-image-fallback{display:grid}
.meta-card-media > b { position: absolute; z-index: 2; top: 15px; right: 15px; padding: 6px 10px; border-radius: 9px; color: #fff; background: rgba(14,114,173,.9); font-size: 11px; backdrop-filter: blur(7px); }
.meta-card-copy { display: flex; flex-direction: column; min-height: 318px; padding: 23px; }.meta-card-copy time{display:flex;align-items:center;gap:7px;color:#6e8793;font-size:12px}.meta-card-copy time i{color:var(--secondary)}.meta-card-copy h2{margin:11px 0 9px;font-size:21px;line-height:1.55}.meta-card-copy h2 a{transition:color .2s}.meta-card-copy h2 a:hover{color:var(--tertiary)}.meta-card-copy p{display:-webkit-box;overflow:hidden;-webkit-line-clamp:4;-webkit-box-orient:vertical;margin:0;color:var(--muted);font-size:14px;line-height:1.9}.meta-read-more{width:max-content;display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:18px;color:var(--tertiary);font-size:14px;font-weight:800}.meta-read-more i{transition:transform .2s}.meta-read-more:hover i{transform:translateX(-4px)}
.meta-empty { min-height: 320px; display: grid; place-items: center; align-content: center; text-align: center; padding: 45px; border: 1px dashed #b9dce5; border-radius: 25px; background: rgba(255,255,255,.76); }.meta-empty>i{width:72px;height:72px;display:grid;place-items:center;border-radius:22px;color:var(--tertiary);background:var(--violet-soft);font-size:32px}.meta-empty h2{margin:17px 0 3px;font-size:23px}.meta-empty p{margin:0;color:var(--muted);font-size:15px}

.meta-article-main { max-width: 1120px; padding-block: 38px 90px; }.article-breadcrumb{display:flex;align-items:center;gap:8px;margin-bottom:25px;color:var(--muted);font-size:13px}.article-breadcrumb a{color:var(--tertiary);font-weight:700}.article-breadcrumb i{font-size:10px}
.meta-article { overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: #fff; box-shadow: 0 25px 65px rgba(14,83,117,.09); }
.meta-article-head { padding: 55px 72px 42px; text-align: center; }.meta-article-head .eyebrow{justify-content:center}.meta-article-head h1{max-width:900px;margin:13px auto 15px;font-size:clamp(35px,5vw,59px);line-height:1.32;letter-spacing:-2px}.meta-article-head>p{max-width:800px;margin:0 auto;color:var(--muted);font-size:17px;line-height:2}.meta-article-head>div{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:22px}.meta-article-head time,.meta-article-head>div>a{display:flex;align-items:center;gap:7px;font-size:13px}.meta-article-head time{color:var(--muted)}.meta-article-head>div>a{color:var(--tertiary);font-weight:800}
.meta-article-media { position: relative; min-height: 300px; margin: 0 34px; overflow: hidden; border-radius: 23px; background: linear-gradient(135deg,#e7f8fb,#fff0dc); }.meta-article-media img{position:relative;z-index:1;width:100%;max-height:620px;display:block;object-fit:cover}.meta-article-media .meta-image-fallback{font-size:80px}.meta-article-media figcaption{position:absolute;z-index:2;right:14px;bottom:12px;padding:5px 9px;border-radius:8px;color:#fff;background:rgba(8,43,64,.72);font-size:10px}
.meta-article-body { max-width: 820px; margin: 0 auto; padding: 55px 30px 25px; }.meta-article-body p{margin:0 0 24px;color:#395565;font-size:17px;line-height:2.15}.meta-article-body .article-introduction{padding:24px 27px;border-right:4px solid var(--secondary);border-radius:14px;background:#f7fbfc;color:var(--ink);font-size:19px;font-weight:500}.meta-article-body section{padding-top:20px}.meta-article-body h2{position:relative;margin:0 0 15px;padding-right:22px;font-size:27px}.meta-article-body h2::before{content:"";position:absolute;right:0;top:13px;width:10px;height:10px;border-radius:3px;background:var(--primary);box-shadow:0 0 0 5px rgba(106,208,222,.15)}
.meta-article-summary { max-width: 900px; display:grid;grid-template-columns:70px 1fr;gap:20px;margin:28px auto 24px;padding:30px;border:1px solid #ffd7aa;border-radius:22px;background:linear-gradient(135deg,#fff9f1,#f3fbfd)}.summary-icon{width:70px;height:70px;display:grid;place-items:center;border-radius:20px;color:#d77916;background:#fff1df;font-size:30px}.meta-article-summary span{color:#c56e12;font-size:12px;font-weight:800}.meta-article-summary h2{margin:2px 0 8px;font-size:24px}.meta-article-summary p{margin:0;color:#465f6c;font-size:16px;line-height:2}
.meta-article-source { display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:14px;margin:35px 34px 34px;padding:20px;border-radius:16px;background:#eef8fb}.meta-article-source>i{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;color:var(--tertiary);background:#fff;font-size:18px}.meta-article-source p{margin:0;color:var(--muted);font-size:12px;line-height:1.8}.meta-article-source>a{display:flex;align-items:center;gap:7px;color:var(--tertiary);font-size:12px;font-weight:800;white-space:nowrap}

@media(max-width:1100px){.meta-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.meta-news-hero{grid-template-columns:1fr}.meta-source-badge{grid-template-columns:52px 1fr;min-height:auto}.updates-header-link{display:none!important}}
@media(max-width:700px){
    .meta-news-main{width:calc(100% - 20px);padding-block:20px 44px}.meta-news-hero{gap:25px;padding:27px 20px;border-radius:23px}.meta-news-hero h1{font-size:38px;letter-spacing:-1.6px}.meta-news-hero>div:first-child>p{font-size:15px;line-height:1.9}.meta-source-badge{padding:17px;border-radius:17px}.meta-source-badge>i{width:46px;height:46px;border-radius:14px}.meta-source-badge strong{font-size:14px}.meta-source-badge small{font-size:10px}.meta-source-badge>a{min-height:40px;font-size:12px}
    .meta-news-list{padding-top:38px}.meta-list-heading h2{font-size:25px}.meta-list-heading small,.meta-list-heading>span{font-size:11px}.meta-news-grid{grid-template-columns:1fr;gap:17px}.meta-card-media{height:210px}.meta-card-copy{min-height:290px;padding:20px}.meta-card-copy h2{font-size:20px}.meta-card-copy p{font-size:14px}.meta-read-more{font-size:13px}.meta-empty{min-height:270px;padding:28px}.meta-empty h2{font-size:20px}.meta-empty p{font-size:13px}
    .meta-article-main{width:calc(100% - 18px);padding-block:17px 45px}.article-breadcrumb{padding-inline:6px;margin-bottom:14px;font-size:11px}.meta-article{border-radius:22px}.meta-article-head{padding:33px 18px 28px}.meta-article-head h1{font-size:34px;letter-spacing:-1.3px}.meta-article-head>p{font-size:15px;line-height:1.9}.meta-article-head>div{flex-wrap:wrap;gap:10px 14px}.meta-article-head time,.meta-article-head>div>a{font-size:11px}.meta-article-media{min-height:210px;margin:0 10px;border-radius:16px}.meta-article-media img{min-height:210px}.meta-article-body{padding:35px 18px 15px}.meta-article-body p{font-size:16px;line-height:2}.meta-article-body .article-introduction{padding:20px;border-right-width:3px;font-size:17px}.meta-article-body h2{font-size:23px}.meta-article-summary{grid-template-columns:50px 1fr;gap:13px;margin:20px 12px;padding:20px}.summary-icon{width:50px;height:50px;border-radius:15px;font-size:23px}.meta-article-summary h2{font-size:21px}.meta-article-summary p{font-size:15px}.meta-article-source{grid-template-columns:34px 1fr;margin:25px 12px 18px;padding:16px}.meta-article-source>a{grid-column:2;font-size:11px;white-space:normal}.meta-article-source p{font-size:11px}.meta-mobile-nav{--mobile-nav-items:5}
}

/* تحسين واجهة التطبيق على الهاتف */
.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 255, 255, .985);
    box-shadow: 0 8px 28px rgba(8, 65, 96, .07);
}
.header-button { border-radius: 0; }
.hero h1,
.auth-story h1 {
    letter-spacing: 0;
    word-spacing: 1px;
}
.hero-points div::before { display: none; }
.hero-points div > i { position: static; transform: none; margin: 0 auto 8px; }
.trial-strip p { font-size: 14px; line-height: 1.75; }
.trial-strip a { font-size: 12px; }
.sources-label { font-size: 13px; }
.sources-inner a strong { font-size: 13px; }
.sources-inner a small { font-size: 11px; line-height: 1.6; }
.how-grid p { font-size: 13px; line-height: 1.9; }

@media (max-width: 700px) {
    .site-header { height: 82px; }
    .nav-wrap { width: calc(100% - 16px); gap: 6px; }
    .brand { gap: 6px; min-width: 0; }
    .brand-logo { width: 60px; height: 60px; flex-basis: 60px; }
    .brand-mark { width: 56px; height: 56px; flex-basis: 56px; border-radius: 16px; }
    .brand strong { font-size: 19px; }
    .account-actions { gap: 5px; }
    .header-button {
        min-height: 38px;
        padding: 7px 9px;
        border-radius: 0;
        font-size: 11px;
        font-weight: 700;
        box-shadow: none;
    }

    .hero { padding-top: 42px; }
    .hero h1 {
        margin-block: 16px 20px;
        font-size: clamp(32px, 10.5vw, 39px);
        line-height: 1.55;
        letter-spacing: 0;
        word-spacing: 1px;
        text-wrap: balance;
    }
    .hero h1 em { display: inline; line-height: inherit; }
    .hero-lead { font-size: 15px; line-height: 2; }
    .eyebrow { font-size: 13px; line-height: 1.7; }

    .hero-points {
        width: 100%;
        max-width: none;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        margin-top: 24px;
        text-align: center;
    }
    .hero-points div {
        min-width: 0;
        min-height: 174px;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 13px 7px;
        border: 1px solid #d7eaf0;
        border-radius: 13px;
        background: rgba(255,255,255,.82);
        text-align: center;
    }
    .hero-points div > i {
        position: static;
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        margin: 0 auto 8px;
        transform: none;
        font-size: 19px;
    }
    .hero-points div::before { display: none; }
    .hero-points strong {
        min-height: 43px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        line-height: 1.65;
        overflow-wrap: anywhere;
    }
    .hero-points span {
        margin-top: 5px;
        font-size: 11.5px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }
    .trust-note { font-size: 13px; line-height: 1.8; }

    .card-heading h2 { font-size: 23px; line-height: 1.55; }
    .step-kicker, .ai-badge { font-size: 12px; }
    .trial-strip {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 8px;
        padding: 12px;
    }
    .trial-strip p { font-size: 14px; line-height: 1.8; }
    .trial-strip a { grid-column: 1 / -1; min-height: 40px; display: grid; place-items: center; font-size: 13px; }
    .upload-empty strong { font-size: 15px; }
    .upload-empty > span:not(.upload-icon), .upload-empty small { font-size: 12px; line-height: 1.7; }
    .field > span, .platform-field legend { font-size: 14px; }
    .field > small { font-size: 11px; }
    .platform-field label span, .terms-check { font-size: 13px; line-height: 1.8; }
    .primary-button { font-size: 15px; }

    .sources-inner { grid-template-columns: 1fr; }
    .sources-label { font-size: 14px; }
    .sources-inner a strong { font-size: 14px; }
    .sources-inner a small { font-size: 12px; }
    .how-section .section-heading h2 { font-size: 23px; line-height: 1.6; }
    .how-grid h3 { font-size: 17px; }
    .how-grid p { font-size: 13px; line-height: 1.9; }
}

@media (max-width: 370px) {
    .brand strong { font-size: 17px; }
    .header-button { padding-inline: 7px; font-size: 10px; }
    .hero-points { gap: 5px; }
    .hero-points div { min-height: 180px; padding-inline: 5px; }
    .hero-points strong { font-size: 12px; }
    .hero-points span { font-size: 10.5px; }
}

@media (display-mode: standalone) {
    .site-header { top: env(safe-area-inset-top); }
}

/* صفحة دخول مختصرة بلا بطاقة أو نصوص جانبية */
.login-simple-page {
    min-height: 100dvh;
    background: linear-gradient(180deg, #ffffff 0%, #f5fbfc 100%);
}
.simple-login-shell {
    min-height: calc(100dvh - 92px);
    display: grid;
    place-items: center;
    padding-block: 34px 70px;
}
.simple-login-panel {
    width: min(100%, 460px);
}
.simple-login-panel h1 {
    margin: 0 0 28px;
    color: #082b40;
    font-size: 38px;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 0;
}
.simple-login-form {
    display: grid;
    gap: 18px;
}
.simple-login-form label {
    display: grid;
    gap: 8px;
}
.simple-login-form label > span {
    color: #315365;
    font-size: 14px;
    font-weight: 700;
}
.simple-login-form input {
    width: 100%;
    height: 54px;
    padding: 0 15px;
    border: 1px solid #cfe5ed;
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    outline: 0;
    font-size: 16px;
    transition: border-color .2s, box-shadow .2s;
}
.simple-login-form input:focus {
    border-color: var(--tertiary);
    box-shadow: 0 0 0 4px rgba(106,208,222,.2);
}
.simple-login-form button {
    height: 54px;
    margin-top: 4px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: var(--tertiary);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(14,114,173,.18);
}
.simple-login-panel .auth-error {
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.7;
}

/* إشعار تحديث هادئ ومتناسق مع هوية بيجك */
.update-prompt {
    position: fixed;
    z-index: 90;
    left: 50%;
    bottom: 24px;
    width: min(560px, calc(100% - 28px));
    min-height: 78px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    overflow: hidden;
    border: 1px solid #d1e8ee;
    border-radius: 18px;
    color: var(--ink);
    background: rgba(255,255,255,.985);
    box-shadow: 0 18px 48px rgba(8,65,96,.18);
    transform: translate(-50%, 24px);
    opacity: 0;
    backdrop-filter: blur(16px);
    transition: transform .28s ease, opacity .28s ease;
}
.update-prompt::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--tertiary), var(--secondary));
}
.update-prompt.is-visible { transform: translate(-50%, 0); opacity: 1; }
.update-prompt-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--tertiary);
    background: #e8f8fb;
    font-size: 22px;
}
.update-prompt-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.55;
}
.update-prompt-copy strong { color: #082b40; font-size: 14px; }
.update-prompt-copy small { color: var(--muted); font-size: 11px; }
.update-button {
    min-height: 42px;
    min-width: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--tertiary);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: none;
}
.update-button:disabled { opacity: .75; cursor: wait; }

@media (max-width: 700px) {
    .simple-login-shell {
        min-height: calc(100dvh - 82px);
        width: min(100% - 36px, 460px);
        padding-block: 24px 50px;
    }
    .simple-login-panel h1 { margin-bottom: 24px; font-size: 32px; }
    .simple-login-form { gap: 16px; }
    .simple-login-form input, .simple-login-form button { height: 52px; }

    .update-prompt {
        bottom: calc(78px + env(safe-area-inset-bottom));
        width: calc(100% - 20px);
        min-height: 80px;
        grid-template-columns: 42px minmax(0, 1fr) auto;
        gap: 9px;
        padding: 12px 11px;
        border-radius: 16px;
    }
    .update-prompt-icon { width: 42px; height: 42px; border-radius: 13px; font-size: 20px; }
    .update-prompt-copy strong { font-size: 13px; }
    .update-prompt-copy small { font-size: 10px; line-height: 1.5; }
    .update-button { min-width: 68px; min-height: 40px; padding-inline: 11px; font-size: 11px; }
}

@media (max-width: 380px) {
    .update-prompt { grid-template-columns: 38px minmax(0, 1fr) auto; }
    .update-prompt-icon { width: 38px; height: 38px; }
    .update-prompt-copy small { display: none; }
}

/* تقليل الفراغ العلوي وتوحيد التسجيل مع الدخول */
.simple-login-shell {
    place-items: start center;
    padding-top: 24px;
}
.simple-register-shell .simple-login-panel { width: min(100%, 500px); }
.simple-register-shell .simple-login-form { gap: 14px; }
.simple-register-shell .simple-login-panel h1 { margin-bottom: 22px; font-size: 34px; }
.simple-register-shell .simple-login-form input { height: 51px; }
.simple-register-shell .simple-login-form button { height: 51px; }

@media (max-width: 700px) {
    .simple-login-shell {
        place-items: start center;
        padding-top: 14px;
        padding-bottom: 42px;
    }
    .simple-login-panel h1 { margin-bottom: 20px; }
    .simple-register-shell { width: min(100% - 30px, 500px); }
    .simple-register-shell .simple-login-panel h1 { margin-bottom: 18px; font-size: 29px; }
    .simple-register-shell .simple-login-form { gap: 12px; }
    .simple-register-shell .simple-login-form label { gap: 6px; }
    .simple-register-shell .simple-login-form input,
    .simple-register-shell .simple-login-form button { height: 49px; }
}

/* --- جرس الإشعارات (يظهر للمستخدمين المسجّلين فقط) --- */
.notif-bell { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: #0e72ad; font-size: 18px; cursor: pointer; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.notif-bell:hover { background: #eef9fb; transform: translateY(-1px); }
.notif-bell.is-on { color: #fff; border-color: transparent; background: linear-gradient(135deg, #6fd0da, #2f9fb3); box-shadow: 0 8px 18px rgba(47,159,179,.3); }
.notif-bell.is-busy { opacity: .55; pointer-events: none; }
.notif-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 1200; max-width: 90vw; padding: 12px 18px; border-radius: 12px; color: #fff; background: #0e3f5c; font-size: 13px; font-weight: 600; box-shadow: 0 16px 40px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.notif-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.notif-toast.is-error { background: #b3253a; }
