/* ACCREVA investor demo site — petrol #255970 + gold #a07741 */
:root {
    --petrol: #255970;
    --petrol-dark: #17394b;
    --petrol-light: #2a6a86;
    --gold: #a07741;
    --gold-light: #d9b98a;
    --sand: #f6f3ed;
    --card: #ffffff;
    --ink: #1d2733;
    --ink-2: #5c6a76;
    --hairline: #e4ded4;
    --radius: 16px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
    background: var(--sand);
    color: var(--ink);
    line-height: 1.75;
}
a { color: var(--petrol); }
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0 8px; }
h2.sec-title {
    font-size: 26px; color: var(--petrol); margin-bottom: 6px;
    display: flex; align-items: center; gap: 10px;
}
h2.sec-title::before { content: ''; width: 26px; height: 4px; border-radius: 2px; background: var(--gold); flex: none; }
p.sec-sub { color: var(--ink-2); margin-bottom: 22px; }

/* top nav */
.topnav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(23, 57, 75, .96); backdrop-filter: blur(6px);
    border-bottom: 3px solid var(--gold);
}
.topnav .wrap { display: flex; align-items: center; gap: 14px; height: 58px; }
.topnav img { width: 34px; height: 34px; border-radius: 9px; }
.topnav .brand { color: #fff; font-weight: 700; letter-spacing: 3px; font-size: 15px; margin-inline-end: auto; }
.topnav a.navlink { color: rgba(255,255,255,.82); text-decoration: none; font-size: 13.5px; padding: 4px 2px; }
.topnav a.navlink:hover { color: var(--gold-light); }
@media (max-width: 720px) { .topnav a.navlink { display: none; } }

/* hero */
.hero {
    background: linear-gradient(155deg, var(--petrol-light) 0%, var(--petrol) 45%, var(--petrol-dark) 100%);
    color: #fff; text-align: center; padding: 72px 20px 60px;
    border-bottom: 5px solid var(--gold);
}
.hero img.logo {
    width: 128px; height: 128px; border-radius: 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,.35); margin-bottom: 18px;
}
.hero .name { font-weight: 800; font-size: 42px; letter-spacing: 9px; }
.hero .tag { color: var(--gold-light); font-weight: 700; letter-spacing: 4px; font-size: 17px; margin-top: 2px; }
.hero .sub { color: rgba(255,255,255,.92); font-size: 19px; font-weight: 700; margin-top: 14px; }
.hero .lede { color: rgba(255,255,255,.78); max-width: 640px; margin: 12px auto 0; font-size: 15px; }
.hero .cta-row { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.btn {
    display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 700;
    padding: 12px 26px; border-radius: 999px; text-decoration: none; font-size: 15px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 6px 18px rgba(160,119,65,.45); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.btn-petrol { background: var(--petrol); color: #fff; }
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn:disabled { opacity: .45; cursor: default; transform: none; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 860px; margin: 40px auto 0; }
.stat {
    background: rgba(255,255,255,.08); border: 1px solid rgba(217,185,138,.5);
    border-top: 3px solid var(--gold-light); border-radius: 14px; padding: 16px 8px 12px;
}
.stat .num { font-size: 30px; font-weight: 800; color: var(--gold-light); line-height: 1.25; }
.stat .lbl { font-size: 12.5px; color: rgba(255,255,255,.85); }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } .hero .name { font-size: 32px; letter-spacing: 6px; } }

/* cards & lists */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 800px) { .cards { grid-template-columns: 1fr; } }
.card {
    background: var(--card); border: 1px solid var(--hairline); border-top: 3px solid var(--gold);
    border-radius: var(--radius); padding: 18px; font-size: 14.5px;
    box-shadow: 0 2px 10px rgba(23,57,75,.05);
}
.card h3 { color: var(--petrol); font-size: 16px; margin-bottom: 6px; }
ol.solution { list-style: none; counter-reset: sol; padding: 0; }
ol.solution li {
    counter-increment: sol; background: var(--card); border: 1px solid var(--hairline);
    border-radius: var(--radius); padding: 14px 16px; margin-bottom: 10px; font-size: 14.5px;
    display: flex; gap: 12px; align-items: baseline;
}
ol.solution li::before {
    content: counter(sol); flex: none; width: 26px; height: 26px; border-radius: 50%;
    background: var(--petrol); color: #fff; font-weight: 700; font-size: 13px;
    display: inline-flex; align-items: center; justify-content: center;
}

/* demo */
.demo-shell { background: var(--card); border: 1px solid var(--hairline); border-radius: 20px; overflow: hidden; box-shadow: 0 8px 30px rgba(23,57,75,.08); }
.demo-note { background: #fbf6ea; border-bottom: 1px solid var(--hairline); padding: 12px 18px; font-size: 13px; color: var(--ink-2); }
.demo-tabs { display: flex; gap: 6px; padding: 12px 14px 0; border-bottom: 1px solid var(--hairline); flex-wrap: wrap; }
.demo-tab {
    border: 1px solid transparent; border-bottom: 0; background: none; font: inherit; cursor: pointer;
    padding: 9px 14px; border-radius: 10px 10px 0 0; color: var(--ink-2); font-size: 14px; font-weight: 600;
}
.demo-tab.active { background: var(--sand); border-color: var(--hairline); color: var(--petrol); }
.demo-panel { padding: 20px; background: var(--sand); min-height: 320px; }
.demo-panel.hidden { display: none; }

.stage { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.stage .n { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--petrol); color: var(--petrol); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: none; }
.stage.done .n { background: var(--petrol); color: #fff; }
.stage .t { flex: 1; }
.stage .t b { display: block; font-size: 14.5px; }
.stage .t span { color: var(--ink-2); font-size: 12.5px; }

.check { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--hairline); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; cursor: pointer; font-size: 14px; }
.check input { accent-color: var(--petrol); width: 17px; height: 17px; }

.std { background: var(--card); border: 1px solid var(--hairline); border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.std-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; padding: 12px 14px; background: none; border: 0; font: inherit; cursor: pointer; text-align: start; }
.std-head .nm { font-weight: 700; font-size: 14.5px; }
.std-head .nm small { color: var(--ink-2); font-weight: 400; }
.badge { font-size: 11.5px; padding: 2px 10px; border-radius: 999px; background: var(--sand); color: var(--ink-2); white-space: nowrap; }
.badge.ok { background: #e6f2ec; color: #1d7a4f; font-weight: 700; }
.badge.mid { background: #fdf3e3; color: #9a6a1f; font-weight: 700; }
.std-body { padding: 4px 16px 16px; border-top: 1px solid var(--hairline); font-size: 14px; }
.std-body .brief { color: var(--ink-2); font-size: 13px; margin: 8px 0; }
.std-body textarea { width: 100%; min-height: 84px; border: 1px solid var(--hairline); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px; background: #fff; resize: vertical; }
.std-body textarea:disabled { background: var(--sand); color: var(--ink-2); }
.ev { display: flex; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--hairline); padding: 7px 0; font-size: 13.5px; }
.ev .k { color: var(--ink-2); font-size: 12px; }
.ev-add { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.ev-add input, .ev-add select { border: 1px solid var(--hairline); border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 13px; background: #fff; }
.ev-add input { flex: 1; min-width: 140px; }
.row-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; align-items: center; }

.lvl-row { display: flex; gap: 6px; margin: 10px 0; flex-wrap: wrap; }
.lvl {
    border: 1.5px solid var(--hairline); background: #fff; border-radius: 999px; padding: 6px 14px;
    font: inherit; font-size: 13px; cursor: pointer; color: var(--ink-2);
}
.lvl.sel { border-color: var(--petrol); background: var(--petrol); color: #fff; font-weight: 700; }
.lvl.na.sel { border-color: var(--gold); background: var(--gold); }

.ai-chip { display: inline-block; background: #eef4f7; border: 1px solid #cfdfe8; color: var(--petrol); border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 700; margin-inline-end: 6px; }
.ai-chip.low { background: #fdf3e3; border-color: #ecd9b0; color: #9a6a1f; }
.moment { color: var(--ink-2); font-size: 12.5px; margin-top: 6px; }
.vitem { background: var(--card); border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; font-size: 14px; }

.progress { background: #e9e3d8; border-radius: 999px; height: 10px; overflow: hidden; margin: 8px 0 4px; }
.progress > div { height: 100%; background: linear-gradient(90deg, var(--petrol), var(--petrol-light)); border-radius: 999px; transition: width .4s ease; }
.rep-num { font-size: 40px; font-weight: 800; color: var(--petrol); line-height: 1.2; }
.rep-cls { display: inline-block; background: var(--gold); color: #fff; border-radius: 999px; padding: 4px 16px; font-weight: 700; font-size: 14px; margin-top: 4px; }
.rep-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
@media (max-width: 700px) { .rep-cols { grid-template-columns: 1fr; } }
.rep-col { background: var(--card); border: 1px solid var(--hairline); border-radius: 12px; padding: 14px; }
.rep-col h4 { color: var(--petrol); font-size: 15px; margin-bottom: 8px; }
.rep-col li { font-size: 13.5px; margin-bottom: 6px; }
.plan-item { border-inline-start: 3px solid var(--gold); background: #fbf9f4; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; font-size: 13.5px; }
.plan-item b { color: var(--petrol); display: block; }
.plan-item span { color: var(--ink-2); font-size: 12.5px; }

/* honesty & ask */
.honest { background: #fbf6ea; border: 1px solid #ecd9b0; border-inline-start: 4px solid var(--gold); border-radius: var(--radius); padding: 18px 20px; }
.honest li { margin-bottom: 10px; font-size: 14.5px; }
.ask { background: linear-gradient(150deg, var(--petrol) 0%, var(--petrol-dark) 100%); color: #fff; border-radius: 20px; padding: 28px 24px; border-bottom: 4px solid var(--gold); }
.ask h3 { color: var(--gold-light); font-size: 19px; margin-bottom: 10px; }
.ask p { color: rgba(255,255,255,.92); font-size: 15px; margin-bottom: 10px; }

footer { margin-top: 56px; background: var(--petrol-dark); color: rgba(255,255,255,.75); padding: 26px 0 34px; font-size: 13px; border-top: 4px solid var(--gold); }
footer a { color: var(--gold-light); }
footer .srcs { margin: 10px 0 14px; }
footer .srcs a { margin-inline-end: 14px; font-size: 12.5px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
