/* Pharma PM public identity: teal, gold and the Expo workspace palette. */
:root {
    color-scheme: dark;
    --paper: #1A1C24;
    --white: #242733;
    --ink: #F4F6FB;
    --muted: #B7BCC8;
    --teal: #5DBDC0;
    --gold: #e0c45f;
    --line: #353849;
}
body {
    background: var(--paper);
    color: var(--ink);
    font-size: 17px;
}
.container { width: min(1280px, calc(100% - 80px)); }
.site-header {
    background: #1A1C24e8;
    border-bottom: 1px solid #ffffff12;
    backdrop-filter: blur(20px);
}
.navigation { min-height: 86px; }
.brand { color: #f8f6ed; }
.brand img { width: 42px; height: 42px; }
.nav-links { color: #b5bdca; }
.nav-links a:hover, .login-link:hover { color: var(--gold); }
.button, .launch-btn {
    border: 0;
    border-radius: 12px;
    background: var(--teal);
    color: #14181f;
    font-weight: 700;
    min-height: 48px;
    box-shadow: none;
    transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover, .launch-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px #5dbdc020;
}
.launch {
    padding: 65px 0 60px;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(ellipse at 85% 20%, #5dbdc014, transparent 48%),
        radial-gradient(ellipse at 10% 65%, #e0c45f0d, transparent 45%);
}
.launch-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    align-items: center;
    gap: 48px;
}
.launch-copy { grid-column: 2; grid-row: 1; text-align: right; }
.launch-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--teal);
    font-size: 14px;
    font-weight: 700;
}
.launch-kicker i, .live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 15px #5DBDC080;
}
.launch h1 {
    font-size: clamp(37px, 3.4vw, 52px);
    line-height: 1.22;
    letter-spacing: -.035em;
    margin: 22px 0;
}
.launch h1 span {
    display: block;
    color: var(--gold);
    margin-top: 8px;
}
.launch-lead { color: #b7c1cc; line-height: 1.9; font-size: 19px; }
.launch-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 15px; }
.launch-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding: 13px 18px;
    font-size: 15px;
    line-height: 1.5;
}
.launch-btn svg { width: 18px; height: 18px; }
.launch-btn.secondary { background: #ffffff06; color: var(--ink); border: 1px solid #687180; }
.platform-strip { display: flex; gap: 15px; flex-wrap: wrap; color: #aab5c4; font-size: 12px; }
.platform-strip span + span { border-right: 1px solid #4d5665; padding-right: 15px; }
.launch-contact { color: #b0bbca; font-size: 14px; margin-top: 23px; }
.launch-contact a { display: inline-block; color: var(--teal); text-underline-offset: 5px; text-decoration: underline; padding: 6px; }
.device-scene {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 20px 10px;
    border: 1px solid #353849;
    border-radius: 24px;
    background: #242733;
    box-shadow: 0 40px 100px #00000040, 0 0 100px #5dbdc00b;
}
.device-scene:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: none;
    background-size: 22px 22px;
    pointer-events: none;
    border-radius: inherit;
}
.scene-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 6px;
    color: #d6e3e8;
    font-size: 12px;
}
.scene-heading bdi { color: #8998a8; font: 10px Arial, sans-serif; letter-spacing: 2px; }
.live-dot { margin-left: 6px; width: 5px; height: 5px; }
.devices { position: relative; direction: ltr; aspect-ratio: 1.6; margin: 28px 0 20px; }
.laptop {
    position: absolute;
    right: 1%;
    top: 0;
    width: 93%;
    padding: 1%;
    background: #10141b;
    border: 1px solid #7e8a9c;
    border-radius: 10px 10px 3px 3px;
    box-shadow: 0 20px 30px #0008;
}
.laptop img { width: 100%; border-radius: 5px; }
.laptop:after {
    content: "";
    position: absolute;
    top: 100%;
    left: -3%;
    width: 106%;
    height: 6px;
    background: linear-gradient(#b7c1d0, #54606f);
    border-radius: 0 0 9px 9px;
}
.handset {
    position: absolute;
    width: 22%;
    left: -1%;
    bottom: 0;
    padding: 1%;
    background: #0c1017;
    border: 1px solid #8291a1;
    border-radius: 13% / 6%;
    box-shadow: 0 15px 25px #0008;
    z-index: 2;
}
.handset img { width: 100%; border-radius: 10% / 5%; }
.device-scene figcaption { display: flex; align-items: center; gap: 10px; justify-content: center; color: #e7eee7; font-size: 14px; line-height: 1.5; }
.device-scene figcaption i { font: 24px Arial; color: var(--teal); }
.device-scene small { display: block; color: #97a5b5; font-size: 11px; }
.eyebrow { color: var(--teal); font-size: 14px; }
.workflows { padding-block: 70px 100px; }
.work-title h2, .feature-copy h2, .benefits-section h2, .comparison h2 {
    font-size: clamp(30px, 3vw, 46px);
    line-height: 1.35;
    margin: 12px 0 30px;
}
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-grid article {
    position: relative;
    padding: 28px;
    border: 1px solid #394454;
    border-radius: 20px;
    background: linear-gradient(135deg, #202834, #181d27);
    transition: border-color .25s, transform .25s;
}
.work-grid article:hover { transform: translateY(-5px); border-color: var(--teal); }
.work-grid b { display: inline-grid; place-items: center; color: var(--gold); border: 1px solid #e0c45f40; border-radius: 12px; width: 45px; height: 45px; font: 17px Arial; }
.work-grid h3 { font-size: 25px; margin: 28px 0 10px; }
.work-grid p { color: var(--muted); }
.feature-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    padding: 55px 60px;
    background: linear-gradient(125deg, #223f4133, #1a212d);
    border: 1px solid #5dbdc035;
    border-radius: 32px;
    margin-bottom: 110px;
}
.feature-copy > p:not(.eyebrow) { font-size: 19px; color: #b8c4d0; }
.feature-copy ul { list-style: none; margin: 22px 0; }
.feature-copy li { padding: 8px 0; color: #e3e8ed; }
.feature-copy li:before { content: "✓"; color: var(--gold); margin-left: 12px; }
.feature-copy small { color: #99abba; display: block; font-size: 13px; line-height: 1.8; }
.catalog-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    isolation: isolate;
}
.catalog-visual img { width: 230px; border: 7px solid #0e141e; border-radius: 30px; box-shadow: 0 30px 55px #0005; transform: rotate(-5deg); }
.catalog-orbit { position: absolute; font: 380px/1 Arial; color: #5dbdc009; top: 20%; z-index: -1; }
.visual-label { font-size: 13px; color: var(--teal); }
.benefits-section { padding: 0 0 100px; background: transparent; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-grid article { padding: 30px; border-top: 2px solid #5dbdc070; background: #242733; border-radius: 0 0 20px 20px; }
.benefit-grid article > span { color: var(--teal); font: 32px Arial; }
.benefit-grid h3 { font-size: 25px; margin: 20px 0 12px; }
.benefit-grid p { color: #b7c2d1; }
.comparison { padding-block: 40px 95px; }
.comparison-intro, .comparison-note { color: #a9b6c6; max-width: 800px; }
.compare-table { margin-block: 28px 18px; overflow: auto; border: 1px solid #3b4553; border-radius: 18px; }
table { border-collapse: collapse; width: 100%; text-align: right; }
th, td { border-bottom: 1px solid #37404e; padding: 22px; vertical-align: top; }
thead th { color: #d5dce6; background: #242733; }
thead th:nth-child(2) { color: var(--gold); background: #e0c45f13; }
td:nth-child(2) { background: #e0c45f08; color: #f0e5b9; }
td { color: #abb8c8; width: 39%; }
tbody th { width: 22%; font-weight: 400; }
.comparison-note { font-size: 14px; margin-bottom: 25px; }
.pricing-section { background: #20232e; border-color: #ffffff10; }
.price-card { background: #242733; border-color: #424b5b; }
.price-free { background: linear-gradient(160deg, #293b3c, #242733); border-color: #75c8c1; }
.plan-badge { color: #1e262c; background: var(--gold); }
.pricing-context strong { color: #e0c45f; }
.price-cycle, .plan-features span { color: #b8c4d2; }
.faq-list, .faq-list details { border-color: #3f4958; }
.faq-list summary { color: #e7ebf0; }
.closing-section {
    background: radial-gradient(ellipse at 50% 100%, #5dbdc023, transparent 65%), #242733;
    border-top: 1px solid #ffffff10;
}
.closing-section h2 span { color: var(--gold); }
.footer { color: #9dabbc; border-top-color: #303a49; }
.skip-link { background: var(--gold); color: #1A1C24; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
@media (prefers-reduced-motion: no-preference) {
    .launch-copy { animation: enter-scene .7s both; }
    .device-scene { animation: enter-scene .9s .1s both; }
    @keyframes enter-scene {
        from { opacity: .2; transform: translateY(22px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
@media (max-width: 1050px) {
    .container { width: calc(100% - 48px); }
    .launch-grid { gap: 30px; grid-template-columns: 1fr 1fr; }
    .launch h1 { font-size: 43px; }
    .feature-story { gap: 40px; padding: 40px; }
}
@media (max-width: 800px) {
    .launch { padding: 45px 0 55px; }
    .launch-grid { grid-template-columns: 1fr; gap: 40px; }
    .launch-copy { grid-column: 1; grid-row: 1; max-width: 600px; }
    .device-scene { grid-column: 1; grid-row: 2; width: 100%; max-width: 660px; margin-inline: auto; }
    .launch h1 { font-size: clamp(38px, 7vw, 58px); }
    .work-grid, .benefit-grid { grid-template-columns: 1fr; }
    .work-grid article { padding: 24px; }
    .work-grid h3 { margin-top: 15px; }
    .feature-story { grid-template-columns: 1fr; }
    .catalog-visual { padding-top: 20px; }
}
@media (max-width: 500px) {
    .container { width: calc(100% - 32px); }
    .navigation { min-height: 72px; gap: 8px; }
    .nav-actions { gap: 12px; }
    .brand img { width: 32px; height: 32px; }
    .launch-grid { gap: 28px; }
    .launch h1 { font-size: 39px; }
    .launch-lead { font-size: 17px; }
    .launch-actions { margin-top: 22px; }
    .launch-btn { font-size: 14px; padding: 12px 15px; }
    .device-scene { padding: 19px 10px; border-radius: 18px; }
    .scene-heading { font-size: 10px; }
    .scene-heading bdi { font-size: 8px; }
    .device-scene figcaption { font-size: 12px; }
    .device-scene small { font-size: 10px; }
    .workflows { padding-block: 45px 60px; }
    .feature-story { padding: 27px 22px; border-radius: 22px; margin-bottom: 60px; }
    .feature-copy h2 { font-size: 31px; }
    .benefits-section { padding-bottom: 45px; }
    .comparison { padding-block: 20px 55px; }
    th, td { padding: 14px 9px; font-size: 13px; }
    .price-card { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .launch-copy, .device-scene { animation: none; }
    .button, .launch-btn, .work-grid article { transition: none; }
}

/* A direct start follows the visitor's platform while both choices stay visible. */
.launch-actions [data-launch="web"] { order: -1; }
.start-note { color: #B7BCC8; font-size: 13px; }
html[data-platform="android"] .launch-actions [data-launch="play"] {
    order: -2;
    background: var(--teal);
    color: #14181f;
    border: 1px solid transparent;
}
html[data-platform="android"] .launch-actions [data-launch="web"] {
    background: #ffffff06;
    color: var(--ink);
    border: 1px solid #687180;
}
.launch h1 span { color: var(--teal); }
.scene-heading { justify-content: center; }
@media (max-width: 1050px) {
    .launch h1 { font-size: 39px; }
}
@media (max-width: 500px) {
    .launch h1 { font-size: 34px; line-height: 1.35; }
    .launch { padding-top: 30px; }
    .launch-contact { margin-top: 12px; }
}

.ui-icon { width: 22px; height: 22px; flex: 0 0 22px; object-fit: contain; }
.launch-contact a { display: inline-flex; align-items: center; gap: 7px; }
.feature-icon { display: inline-grid; place-items: center; width: 45px; height: 45px; border: 1px solid #e0c45f40; border-radius: 12px; }
.feature-icon .ui-icon { width: 25px; height: 25px; }
.button .ui-icon { margin-inline-end: 7px; }
.launch-actions [data-launch="web"] { gap: 7px; }
@media(max-width:500px) {
    .launch-actions [data-launch="web"] { font-size: 13px; padding-inline: 11px; }
    .launch-actions .ui-icon { width: 20px; height: 20px; flex-basis: 20px; }
}

html[data-platform="android"] .launch-actions [data-launch="web"] .ui-icon { filter: brightness(0) invert(1); }

/* Coordinated spacing, clear product framing and a compact workflow. */
.launch-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; }
.launch-copy { grid-column: 1; }
.device-scene { grid-column: 2; padding: 12px 10px 20px; background: radial-gradient(ellipse at 50% 40%, #38777b66, transparent 75%), linear-gradient(140deg, #303e4d, #222a38); border-color: #576b7b; box-shadow: 0 25px 65px #0004; }
.laptop { border-color: #a4b6c6; }
.devices { margin-top: 18px; }
.device-scene figcaption { padding-top: 4px; }
.launch h1 { font-size: clamp(42px, 4.3vw, 64px); }
.launch-lead { font-size: 18px; }
.button { gap: 9px; }
.button .ui-icon { margin: 0; }
.button:hover { background: #79d0d2; color: #14181f; }
.launch-actions .primary:hover { background: #79d0d2; }
html[data-platform="android"] .launch-actions [data-launch="play"] .ui-icon { filter: brightness(0); }
.workflows { padding-block: 65px 85px; }
.work-grid { gap: 0; border-top: 1px solid var(--line); }
.work-grid article { border: 0; border-radius: 0; background: transparent; padding: 28px 30px; }
.work-grid article + article { border-right: 1px solid var(--line); }
.work-grid article:hover { transform: none; background: #5dbdc008; }
.feature-icon { width: 48px; height: 48px; background: #e0c45f0a; }
.feature-icon .ui-icon { width: 28px; height: 28px; }
.step-label { float: left; font: 13px/48px Arial, sans-serif; color: #8e9eaf; letter-spacing: 2px; }
.work-grid h3 { margin-top: 19px; }
.stock-note { color: var(--teal); font-size: 15px; padding: 15px 0 0; border-top: 1px solid var(--line); }
.feature-story { margin-bottom: 80px; padding-block: 40px; }
.catalog-visual { padding: 20px 0; }
.catalog-visual:before { content: ""; position: absolute; inset: 10%; border-radius: 50%; border: 1px solid #5dbdc030; background: radial-gradient(ellipse, #5dbdc01c, transparent 70%); z-index: -1; }
.catalog-visual img { width: 205px; transform: rotate(-3deg); }
.section { padding-block: 80px; }
.section-heading h2 { font-size: clamp(30px, 3vw, 46px); }
.pricing-grid { margin-top: 34px; }
.price-card { display: flex; flex-direction: column; border-radius: 18px; }
.price-free { box-shadow: 0 0 40px #5dbdc00c; }
.plan-action { margin-top: 28px; width: 100%; font-size: 15px; }
.price-card:not(.price-free) .plan-action { background: transparent; border: 1px solid #687180; color: var(--ink); }
.price-card:not(.price-free) .plan-action:hover { border-color: var(--teal); color: var(--teal); }
.comparison { padding-top: 70px; }
.comparison h2 { max-width: 760px; }
.faq-section { display: block; max-width: 940px; }
.faq-list { margin-top: 28px; }
.faq-list details[open] { background: #242733; border-radius: 12px; padding-inline: 16px; }
.faq-list summary { gap: 16px; }
.closing-section { padding-block: 65px; background: radial-gradient(ellipse at 50% 90%, #5dbdc030, transparent 70%), #242733; }
@media (prefers-reduced-motion: no-preference) {
    .device-scene figcaption > .ui-icon { animation: sync-glow 4s ease-in-out 2; }
    @keyframes sync-glow { 50% { opacity: .45; } }
}
@media (max-width: 1050px) {
    .launch-grid { gap: 32px; }
}
@media (max-width: 800px) {
    .launch-grid { grid-template-columns: 1fr; gap: 24px; }
    .launch-copy { grid-column: 1; }
    .device-scene { grid-column: 1; grid-row: 2; }
    .launch h1 { margin-top: 0; font-size: 45px; }
    .work-grid article { padding: 20px 68px 20px 10px; }
    .work-grid article + article { border-right: 0; border-top: 1px solid var(--line); }
    .feature-icon { position: absolute; right: 0; top: 22px; }
    .work-grid h3 { margin: 0 0 7px; font-size: 23px; }
    .step-label { line-height: 30px; margin-right: 10px; }
    .workflows { padding-block: 42px 55px; }
    .feature-story { margin-bottom: 45px; gap: 12px; }
}
@media (max-width: 500px) {
    .launch { padding-block: 25px 36px; }
    .launch h1 { font-size: 39px; margin-bottom: 14px; }
    .launch-lead { font-size: 16px; line-height: 1.8; }
    .launch-actions { margin-top: 18px; gap: 9px; }
    .launch-contact { margin-top: 8px; }
    .device-scene { padding: 6px 10px 13px; }
    .devices { margin: 16px 0 10px; }
    .handset { width: 26%; }
    .device-scene figcaption { font-size: 12px; }
    .stock-note { font-size: 14px; }
    .feature-story { padding: 24px; }
    .catalog-visual img { width: 175px; }
    .section { padding-block: 50px; }
    .comparison { padding-block: 48px; }
    .compare-table { border: 0; overflow: visible; }
    .compare-table thead { display: none; }
    .compare-table table, .compare-table tbody { display: block; }
    .compare-table tr { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
    .compare-table tbody th { width: auto; grid-column: 1 / -1; padding: 12px; background: #242733; }
    .compare-table td { width: auto; border: 0; padding: 12px; font-size: 14px; }
    .compare-table td:before { display: block; font-weight: 700; font-size: 12px; margin-bottom: 7px; color: var(--ink); content: "فارما PM"; }
    .compare-table td:last-child:before { content: "برنامج محاسبي تقليدي"; }
    .comparison .launch-btn { display: none; }
}

/* The mobile product preview immediately follows the promise. */
.button { min-height: 48px; padding: 12px 24px; gap: 8px; border-radius: 12px; }
.button-small { min-height: 42px; padding: 9px 16px; }
.launch-actions .launch-btn { min-height: 50px; }
@media (max-width: 800px) {
    .launch-grid { row-gap: 18px; }
    .launch-copy { display: contents; }
    .launch h1 { grid-column: 1; grid-row: 1; margin: 0; }
    .device-scene { grid-column: 1; grid-row: 2; }
    .launch-actions { grid-column: 1; grid-row: 3; margin: 0; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
    .launch-actions .launch-btn { font-size: 16px; justify-content: center; }
    .launch-actions [data-launch="play"], .launch-actions [data-launch="web"] { padding: 13px 18px; }
    .launch-lead { grid-column: 1; grid-row: 4; font-size: 16px; line-height: 1.8; }
    .launch-contact { grid-column: 1; grid-row: 5; margin: 0; font-size: 14px; }
    .launch-actions .ui-icon { width: 22px; height: 22px; flex-basis: 22px; }
}

@media (prefers-reduced-motion: no-preference) {
    .device-scene .devices { animation: product-drift 6s ease-in-out 2; }
    @keyframes product-drift {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-4px); }
    }
}

.service-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-block: 0 60px; }
.service-strip article { border-top: 2px solid #5dbdc055; padding-top: 20px; }
.service-strip h3 { font-size: 23px; margin-bottom: 9px; }
.service-strip p { color: var(--muted); font-size: 16px; }
@media (max-width: 650px) {
    .service-strip { grid-template-columns: 1fr; gap: 20px; padding-bottom: 42px; }
    .service-strip article { padding-top: 14px; }
}

.launch-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding-top: 5px; }
.launch-contact > span { color: #B7BCC8; font-size: 14px; }
.launch-contact a { padding: 9px 12px; border: 1px solid #5dbdc040; border-radius: 10px; background: #5dbdc009; text-decoration: none; min-height: 44px; }
.launch-contact a:hover { background: #5dbdc01c; border-color: #5dbdc080; }

/* One clear, accessible contact target with a compact visual hierarchy. */
.launch-contact { display: block; padding: 0; }
.launch-contact .support-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border: 1px solid #5dbdc030;
    border-radius: 16px;
    background: linear-gradient(110deg, #5dbdc00b, #242733);
    text-decoration: none;
    transition: border-color .2s, background .2s;
}
.support-symbol { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 13px; background: #5dbdc015; }
.support-symbol .ui-icon { width: 26px; height: 26px; }
.support-copy { display: flex; flex-direction: column; gap: 2px; text-align: right; line-height: 1.5; }
.support-copy > span { color: #B7BCC8; font-size: 12px; }
.support-copy strong { color: #F4F6FB; font-size: 19px; }
.support-action { margin-inline-start: auto; padding: 9px 13px; border-radius: 9px; background: #5DBDC0; color: #14181f; font-size: 13px; font-weight: 700; white-space: nowrap; }
.launch-contact .support-card:hover { border-color: #5dbdc080; background: #5dbdc012; }
@media(max-width:360px) {
    .launch-contact .support-card { padding: 11px; gap: 9px; }
    .support-symbol { flex-basis: 36px; height: 40px; }
    .support-action { padding-inline: 10px; font-size: 12px; }
    .support-copy strong { font-size: 18px; }
}
@media(prefers-reduced-motion:reduce) { .launch-contact .support-card { transition: none; } }
