/* DiyaarCore website · brand: ink #14284B, brass #B8862B (same as the app) */
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/ibm-plex-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
:root {
  --ink: #14284B; --ink-2: #1F3864; --ink-soft: #2C4470; --brass: #B8862B; --brass-2: #a07423; --brass-soft: #F4EAD5; --stone: #EEF1F4;
  --bs-primary: #14284B; --bs-primary-rgb: 20, 40, 75; --bs-body-color: #1B2433; --bs-secondary-color: #5E6878; --bs-border-color: #D5DCE5;
  --bs-body-font-family: 'IBM Plex Sans', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-link-color: #2C4470; --bs-link-hover-color: #B8862B;
}
html[dir="rtl"] { --bs-body-font-family: 'IBM Plex Sans Arabic', 'IBM Plex Sans', system-ui, sans-serif; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { background: #fff; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: .5rem; }
.flip { display: inline-block; } [dir="rtl"] .flip { transform: scaleX(-1); }

/* buttons */
.btn-brass { background: var(--brass); color: #fff; border: 0; font-weight: 600; }
.btn-brass:hover, .btn-brass:focus { background: var(--brass-2); color: #fff; }
.btn-outline-primary { --bs-btn-color: var(--ink); --bs-btn-border-color: var(--ink); --bs-btn-hover-bg: var(--ink); --bs-btn-hover-border-color: var(--ink); font-weight: 600; }
.btn-lg { padding: .75rem 1.4rem; font-size: 1.05rem; }

/* navigation */
.site-nav { background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid #e8ecf1; }
.brand { font-weight: 700; font-size: 1.35rem; color: var(--ink); letter-spacing: -.01em; }
.brand span { color: var(--brass); }
.brand.light { color: #fff; }
.site-nav .nav-link { color: var(--ink); font-weight: 500; }
.site-nav .nav-link:hover { color: var(--brass); }
.lang { width: auto; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #2C4470 0%, transparent 60%), linear-gradient(160deg, #14284B 0%, #0f1f3b 100%); color: #fff; padding: 5rem 0 6rem; overflow: hidden; }
.hero .lead { color: rgba(255,255,255,.82); }
.eyebrow { display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brass-soft); background: rgba(184,134,43,.18); border: 1px solid rgba(184,134,43,.45); padding: .3rem .7rem; border-radius: 99px; }
.eyebrow.dark { color: var(--brass-2); background: var(--brass-soft); border-color: #ead7ae; }
[dir="rtl"] .eyebrow { letter-spacing: 0; }
.hero-points li { color: rgba(255,255,255,.85); font-size: .95rem; }
.hero-points i { color: var(--brass); }

/* product mock */
.mock { background: #fff; border-radius: 1rem; box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden; color: #1B2433; transform: perspective(1400px) rotateY(-6deg); }
[dir="rtl"] .mock { transform: perspective(1400px) rotateY(6deg); }
.mock-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem; background: #f3f5f8; border-bottom: 1px solid #e5e9ef; }
.mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #d7dbe2; }
.mock-url { margin-inline-start: .6rem; font-size: .72rem; color: #6b7280; background: #fff; border-radius: 99px; padding: .15rem .7rem; direction: ltr; }
.mock-body { display: flex; min-height: 300px; }
.mock-side { background: var(--ink); width: 52px; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; padding: 1rem 0; color: rgba(255,255,255,.55); }
.mock-side .active { color: #fff; background: rgba(184,134,43,.35); border-radius: .5rem; padding: .25rem .4rem; }
.mock-main { flex: 1; padding: 1rem; }
.mock-title { font-weight: 700; color: var(--ink); margin-bottom: .6rem; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mock-kpis > div { background: #f7f8fa; border-radius: .6rem; padding: .5rem .6rem; display: flex; flex-direction: column; }
.mock-kpis small { font-size: .68rem; color: #6b7280; }
.mock-kpis b { font-size: 1.05rem; }
.mock-kpis em { font-style: normal; font-size: .7rem; font-weight: 600; }
.mock-kpis .up { color: #006300; }
.meter { display: block; height: 5px; background: #eceae4; border-radius: 3px; margin-top: .3rem; overflow: hidden; }
.meter i { display: block; height: 100%; background: #0ca30c; }
.mock-chart { margin: .8rem 0 .4rem; height: 110px; border-bottom: 1px solid #e1e0d9; }
.mock-chart svg { width: 100%; height: 100%; }
.mock-rows > div { display: flex; align-items: center; gap: .5rem; font-size: .78rem; padding: .35rem 0; border-bottom: 1px solid #f0f2f5; }
.mock-rows b { margin-inline-start: auto; font-size: .72rem; }
.mock-rows .ok { color: #15803d; } .mock-rows .part { color: #0369a1; }
.dot { width: 8px; height: 8px; border-radius: 2px; } .dot.b { background: #2a78d6; } .dot.o { background: #eb6834; } .dot.g { background: #1baf7a; }

/* strip */
.strip { background: var(--brass-soft); padding: 1.6rem 0; }
.strip b { display: block; font-size: 1.6rem; color: var(--ink); }
.strip span { font-size: .9rem; color: #5b4a24; }

/* sections */
.section { padding: 5rem 0; }
.section.alt { background: #f6f8fb; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head h2, .section h2 { font-weight: 700; color: var(--ink); margin-top: .8rem; }
.section-head p { color: var(--bs-secondary-color); font-size: 1.1rem; }
.narrow { max-width: 820px; }
.feature, .trust { height: 100%; padding: 1.6rem; border: 1px solid #e6eaf0; border-radius: 1rem; background: #fff; transition: transform .15s, box-shadow .15s; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20,40,75,.08); }
.feature > i, .trust > i { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: .8rem; background: var(--stone); color: var(--ink); font-size: 1.4rem; }
.feature h3, .trust h3 { font-size: 1.15rem; font-weight: 600; margin: 1rem 0 .4rem; color: var(--ink); }
.feature p, .trust p { color: var(--bs-secondary-color); margin: 0; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.ticks li { position: relative; padding-inline-start: 1.8rem; margin-bottom: .65rem; }
.ticks li::before { content: "\F26E"; font-family: 'bootstrap-icons'; position: absolute; inset-inline-start: 0; top: 0; color: var(--brass); font-size: 1.1rem; }

/* module visuals */
.panel-card { background: #fff; border-radius: 1rem; box-shadow: 0 20px 45px rgba(20,40,75,.10); padding: 1.4rem; }
.panel-card .line { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid #eef1f5; }
.panel-card .line i { color: var(--bs-secondary-color); margin-inline-end: .3rem; }
.panel-card .line.total { font-weight: 600; border-bottom: 2px solid var(--ink); }
.pill { font-size: .75rem; font-weight: 600; border-radius: 99px; padding: .2rem .7rem; }
.pill.part { background: #e0f2fe; color: #0369a1; } .pill.sale { background: var(--brass); color: #fff; }
.mini { background: var(--stone); border-radius: .7rem; padding: .8rem; } .mini small { display: block; color: var(--bs-secondary-color); } .mini b { font-size: 1.25rem; color: var(--ink); }
.aging { display: flex; gap: 2px; height: 18px; border-radius: 4px; overflow: hidden; }
.listing { padding: 0; overflow: hidden; }
.listing-img { position: relative; height: 190px; background: linear-gradient(135deg, #2C4470, #14284B 70%); display: grid; place-items: center; color: rgba(255,255,255,.4); font-size: 4rem; }
.listing-img .pill { position: absolute; top: 1rem; inset-inline-start: 1rem; }
.price { font-size: 1.3rem; color: var(--ink); }

/* pricing */
.plan { position: relative; height: 100%; background: #fff; border: 1px solid #e3e8ef; border-radius: 1rem; padding: 2rem 1.6rem; display: flex; flex-direction: column; }
.plan .ticks { flex: 1; }
.plan h3 { font-weight: 600; color: var(--ink); font-size: 1.2rem; }
.plan .amount { font-size: 2.6rem; font-weight: 700; color: var(--ink); }
.plan .amount small { font-size: .95rem; font-weight: 400; color: var(--bs-secondary-color); }
.plan.featured { border: 2px solid var(--brass); box-shadow: 0 20px 40px rgba(184,134,43,.15); }
.ribbon { position: absolute; top: -.8rem; inset-inline-end: 1.2rem; background: var(--brass); color: #fff; font-size: .75rem; font-weight: 600; padding: .25rem .7rem; border-radius: 99px; }

/* FAQ */
details { border: 1px solid #e3e8ef; border-radius: .8rem; padding: 1rem 1.2rem; margin-bottom: .8rem; background: #fff; }
details summary { font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "\F64D"; font-family: 'bootstrap-icons'; color: var(--brass); }
details[open] summary::after { content: "\F63B"; }
details p { margin: .8rem 0 0; color: var(--bs-secondary-color); }

/* contact */
.cta-band { background: linear-gradient(160deg, #14284B, #0f1f3b); color: #fff; padding: 5rem 0; }
.cta-band h2 { font-weight: 700; }
.cta-band .lead { color: rgba(255,255,255,.8); }
.contact-list li { margin: .6rem 0; } .contact-list i { color: var(--brass); margin-inline-end: .5rem; }
.contact-list a { color: #fff; } [dir="rtl"] .contact-list a { direction: ltr; unicode-bidi: embed; }
.contact-form { background: #fff; color: var(--bs-body-color); border-radius: 1rem; padding: 1.6rem; }
.contact-form small { color: var(--bs-secondary-color); }

/* footer */
.footer { background: #0b172d; color: rgba(255,255,255,.7); padding: 3.5rem 0 1.5rem; }
.footer h4 { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: .8rem; }
.footer a:not(.d-flex) { display: block; color: rgba(255,255,255,.7); text-decoration: none; margin-bottom: .4rem; }
.footer a:hover { color: var(--brass); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; }

@media (max-width: 991.98px) {
  .hero { padding: 3rem 0 4rem; }
  .mock, [dir="rtl"] .mock { transform: none; }
  .section { padding: 3.5rem 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .feature { transition: none; } }

/* Guard against horizontal scroll on small screens */
html, body { overflow-x: hidden; }
.eyebrow { white-space: normal; max-width: 100%; }
