/* Landing: فشار خون — loads after echo-landing.css. Concept: the manometer + "from a reading to a specialist". */

/* HERO: manometer dial */
.mano { inset-inline-start: 0; top: 0; width: 62%; aspect-ratio: 1; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .4)); }
.mano svg { width: 100%; height: 100%; display: block; }
.mano .bezel { fill: #0b3a47; stroke: rgba(255, 255, 255, .3); stroke-width: 3; }
.mano .face { fill: url(#faceG); }
.mano .zone { fill: none; stroke-width: 14; }
.mano .ticks { fill: none; stroke: #0f2e33; stroke-width: 9; stroke-dasharray: .35 3.8167; opacity: .65; }
.mano text { font: 700 12px var(--font-bold); fill: #0f2e33; text-anchor: middle; dominant-baseline: middle; }
.mano .needle { transform-origin: 150px 150px; transform: rotate(0deg); }
.mano .needle line { stroke: #e11d48; stroke-width: 4; stroke-linecap: round; }
.mano .hub { fill: #0f2e33; stroke: #fff; stroke-width: 3; }
.mano__read { position: absolute; inset-inline: 0; bottom: 13%; text-align: center; color: #0f2e33; line-height: 1.2; pointer-events: none; }
.mano__read b { display: block; font: 700 clamp(1.1rem, .8rem + 1.3vw, 1.7rem)/1.1 var(--font-bold); direction: ltr; }
.mano__read small { font-size: .66rem; color: #475569; }
.mano__tag { position: absolute; inset-inline: 0; bottom: -4px; text-align: center; }
.g-note { inset-inline-start: 0; bottom: 3%; width: 54%; }
.g-note b { display: block; font-size: .85rem; line-height: 1.6; }
.g-note small { font-size: .72rem; color: #cdeaf0; line-height: 1.5; display: block; }

/* Emergency card */
.alert { display: grid; gap: 14px; padding: 20px; border-radius: 18px; background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; }
.alert h3 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; color: #991b1b; }
.alert h3 .ic { font-size: 24px; }
.alert ul { display: grid; gap: 6px; }
.alert li { position: relative; padding-inline-start: 22px; font-size: .95rem; }
.alert li::before { content: ""; position: absolute; inset-inline-start: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: #dc2626; }
.alert .btn { background: #dc2626; color: #fff; }
.echo .alert .btn:hover { background: #b91c1c; }

/* 24h variation chart */
.vary { display: grid; gap: 24px; align-items: center; }
.chart { position: relative; padding: 14px 12px 8px; border-radius: 22px; background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); direction: ltr; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .grid line { stroke: var(--c-line); stroke-width: 1; }
.chart .band { fill: rgba(21, 128, 61, .08); }
.chart .curve { fill: none; stroke: #e11d48; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.chart .pt { fill: #fff; stroke: #e11d48; stroke-width: 3; }
.chart text { font: 700 11px var(--font-bold); fill: #0f2e33; text-anchor: middle; }
.chart__x { display: flex; justify-content: space-between; font-size: .72rem; color: var(--c-muted); padding: 2px 6px 0; }
.chart__cap { margin-top: 8px; font-size: .78rem; color: var(--c-muted); text-align: center; direction: rtl; }
.vary__text p { color: var(--c-muted); margin-top: 10px; }
.vary__text .chips2 { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.vary__text .chips2 li { padding: 4px 12px; border-radius: 999px; background: var(--c-primary-soft); color: var(--c-primary-dark); font-size: .88rem; }

/* Care: lifestyle + medicines */
.care { display: grid; gap: 14px; }
.care .card { padding: 20px; }
.care h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 10px; }
.care h3 .ico { width: 40px; height: 40px; font-size: 22px; }
.care p { color: var(--c-muted); font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tags li { padding: 3px 12px; border-radius: 999px; background: var(--c-bg); border: 1px solid var(--c-line); font-size: .86rem; }

@media (min-width: 720px) {
    .mano { transform: translateZ(40px); width: 58%; top: 2%; }
    .g-note { transform: translateZ(120px); width: 46%; bottom: 6%; }
    .care { grid-template-columns: repeat(2, 1fr); }
    .alert { grid-template-columns: 1fr auto; align-items: center; }
    .alert ul { grid-column: 1; grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
    .vary { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; }
}

@media (prefers-reduced-motion: no-preference) {
    .chart .curve { animation: draw 5s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
    .chart .curve { stroke-dashoffset: 0; }
}
