/* Fatehet Kheir - Main Stylesheet */

:root {
  /* Brand palette — aligned with the landing page (deep blue + orange) */
  --fk-blue:    #0b499c;
  --fk-blue-2:  #1d6fd2;
  --fk-orange:  #ff6200;
  --fk-orange-2:#ff8c00;
  --fk-ink:     #0f172a;
  --fk-text:    #475569;
  --fk-line:    #e2e8f0;
  --fk-soft:    #f8fafc;

  --navy:     #001428;
  --gold:       #ff6200;
  --cyan:       #1d6fd2;
  --cyan-dark:  #0b499c;
  --light-cyan: #eaf1fb;
  --gray-50:  #F7F8FA;
  --gray-100: #EEF0F3;
  --gray-200: #DDE0E7;
  --gray-400: #9DA4B0;
  --gray-600: #5A6275;
  --gray-800: #1E2333;
  --green:    #16a34a;
  --red:      #dc2626;
  --sidebar-w: 240px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  font-size: 14px;
  line-height: 1.6;
}
body.rtl { direction: rtl; }
body.ltr { direction: ltr; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: 8px; border: none; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; transition: opacity .15s, transform .1s; }
.btn:hover { opacity: .88; }
.btn:active { transform: scale(.98); }
.btn-navy    { background: var(--navy); color: #fff; }
.btn-gold    { background: var(--gold); color: #fff; }
.btn-lg { height: 48px; padding: 0 28px; font-size: 15px; }

/* Secondary / table-action buttons (work as <a> and as <button> via button_to) */
.btn-outline, .btn-outline-sm { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: #fff; color: var(--navy); border: 1.5px solid var(--gray-200); font-weight: 600; cursor: pointer; text-decoration: none; font-family: inherit; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn-outline { padding: 8px 16px; border-radius: 8px; font-size: 13px; }
.btn-outline-sm { padding: 6px 12px; border-radius: 7px; font-size: 12px; }
.btn-outline:hover, .btn-outline-sm:hover { background: var(--gray-50); border-color: var(--gray-400); }
.btn-outline-sm.active { background: var(--navy); color: #fff; border-color: var(--navy); }
/* keep button_to actions (Delete, etc.) inline with adjacent links */
form.button_to { display: inline-block; margin: 0; }

/* Forms */
.form-input { width: 100%; height: 40px; border: 1px solid var(--gray-200); border-radius: 8px; padding: 0 12px; font-size: 14px; background: #fff; color: var(--gray-800); outline: none; transition: border-color .15s, box-shadow .15s; }
.form-input:focus { border-color: var(--fk-blue); box-shadow: 0 0 0 3px rgba(11,73,156,.12); }
textarea.form-input { height: auto; padding: 10px 12px; resize: vertical; }
.form-row { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-row label { font-size: 12px; font-weight: 600; color: var(--gray-600); }
.form-hint { font-size: 12px; color: var(--gray-400); margin-bottom: 10px; }
.form-section { background: #fff; border: 1px solid var(--gray-200); border-radius: 10px; padding: 20px; margin-bottom: 16px; }
.form-section h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: var(--navy); }

/* Flash */
.flash-container { position: fixed; top: 16px; inset-inline-end: 16px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.flash { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; box-shadow: 0 4px 16px rgba(0,0,0,.12); transition: opacity .3s, transform .3s; min-width: 280px; max-width: 400px; }
.flash--notice { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.flash--alert  { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.flash-close { margin-inline-start: auto; background: none; border: none; cursor: pointer; color: inherit; opacity: .6; font-size: 14px; }

/* Landing (legacy basic styles kept for non-landing usage) */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-title { text-align: center; font-size: 28px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--gray-600); margin-bottom: 40px; }
.site-footer { background: var(--navy); color: rgba(255,255,255,.5); text-align: center; padding: 24px; font-size: 12px; }

/* Landing page ------------------------------------------------ */

.landing-page {
  font-family: 'Cairo', 'Segoe UI', Arial, sans-serif;
  background: #fff;
  scroll-padding-top: 64px;
}
.landing-page.ltr { font-family: 'Inter', 'Segoe UI', Arial, sans-serif; }

/* ── Navbar (dark navy, NilePay-style) ── */
.l-nav { position: sticky; top: 0; z-index: 200; background: #0d3a66; box-shadow: 0 1px 6px rgba(0,0,0,.25); }
.l-nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 8px; }
.l-brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; margin-inline-end: 16px; }
.l-nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.l-nav-item { position: relative; }
.l-nav-link { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,.82); text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 8px 13px; border-radius: 6px; transition: color .15s, background .15s; white-space: nowrap; cursor: pointer; }
.l-nav-link:hover { color: #fff; background: rgba(255,255,255,.12); }
.l-nav-link i { font-size: 13px; opacity: .7; transition: transform .2s; }
.l-nav-item:hover > .l-nav-link i { transform: rotate(180deg); opacity: 1; }
.l-nav-dropdown { position: absolute; top: calc(100% + 6px); inset-inline-start: 0; background: #fff; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.18); min-width: 250px; padding: 8px; display: none; z-index: 300; border: 1px solid var(--gray-100); }
.l-nav-item:hover .l-nav-dropdown { display: block; }
.l-nav-dd-link { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--gray-800); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background .12s, color .12s; }
.l-nav-dd-link:hover { background: var(--gray-50); color: var(--navy); }
.l-nav-dd-ico { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.l-nav-dd-text small { display: block; font-size: 11.5px; font-weight: 600; color: var(--gray-400); margin-top: 1px; }
.l-nav-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; flex-shrink: 0; }
.l-lang-toggle { display: flex; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 2px; gap: 2px; }
.l-lang-btn { color: rgba(255,255,255,.65); text-decoration: none; font-size: 12px; font-weight: 800; padding: 4px 11px; border-radius: 16px; transition: all .15s; }
.l-lang-btn.active { background: var(--cyan); color: #fff; }
.l-nav-signin { color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; padding: 7px 16px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.5); transition: all .15s; white-space: nowrap; }
.l-nav-signin:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.l-nav-cta { background: var(--cyan); color: #fff; padding: 9px 20px; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; transition: filter .15s; white-space: nowrap; }
.l-nav-cta:hover { filter: brightness(1.1); }
.l-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; margin-inline-start: auto; }
.l-hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .25s; }
.l-mobile-menu { display: none; background: #0d3a66; border-top: 1px solid rgba(255,255,255,.1); padding: 12px 24px 20px; flex-direction: column; gap: 4px; }
.l-mobile-menu.open { display: flex; }
.l-mobile-link { color: rgba(255,255,255,.8); text-decoration: none; font-size: 15px; padding: 10px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
.l-mobile-divider { height: 1px; background: rgba(255,255,255,.1); margin: 6px 0; }

/* ── Partners / trust strip (under nav) ── */
.l-partners { background: #fff; border-bottom: 1px solid var(--gray-100); padding: 16px 0; }
.l-partners-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.l-partners-label { font-size: 12.5px; font-weight: 700; color: var(--gray-400); white-space: nowrap; }
.l-partner-chip { display: flex; align-items: center; gap: 6px; background: var(--gray-50); border-radius: 8px; padding: 6px 14px; font-size: 12px; font-weight: 700; color: var(--gray-700); }
.l-partner-chip i { font-size: 13px; color: var(--cyan); }

/* ── Hero (dark cyan gradient, 2-column split) ── */
.l-hero { background: linear-gradient(135deg, #0a3d6e 0%, #1056a0 55%, #1f72bd 100%); overflow: hidden; position: relative; }
.l-hero-inner { max-width: 1280px; margin: 0 auto; padding: 52px 24px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; min-height: 420px; }
.l-hero-content { }
.l-hero-badge { display: inline-flex; align-items: center; gap: 7px; background: rgba(0,186,242,.18); border: 1px solid rgba(0,186,242,.4); color: var(--cyan); padding: 5px 14px; border-radius: 24px; font-size: 12.5px; font-weight: 700; margin-bottom: 20px; }
.l-hero-badge i { color: var(--cyan); }
.l-hero-title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.25; color: #fff; margin-bottom: 14px; }
.l-hero-title-gold { color: var(--cyan); }
.l-hero-desc { font-size: 15.5px; color: rgba(255,255,255,.72); line-height: 1.75; margin-bottom: 28px; max-width: 480px; }
.l-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.l-btn-gold { display: inline-flex; align-items: center; gap: 8px; background: var(--cyan); color: #fff; padding: 13px 28px; border-radius: 10px; font-size: 15px; font-weight: 700; text-decoration: none; transition: filter .15s, transform .1s; }
.l-btn-gold:hover { filter: brightness(1.1); transform: translateY(-1px); }
.l-btn-outline-navy { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); color: #fff; padding: 12px 24px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; border: 1.5px solid rgba(255,255,255,.35); transition: background .15s; }
.l-btn-outline-navy:hover { background: rgba(255,255,255,.2); }
.l-btn-navy { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; padding: 12px 24px; border-radius: 9px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .15s; }
.l-btn-navy:hover { background: #0a3d6e; }
/* hero package-card mockup */
.l-hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.l-hero-card-stack { position: relative; width: 100%; max-width: 440px; }
.l-hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 24px; backdrop-filter: blur(10px); }
.l-hero-card-label { color: rgba(255,255,255,.55); font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.l-hero-card-pkg { color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.l-hero-card-price { font-size: 34px; font-weight: 900; color: #fff; letter-spacing: -.5px; margin-bottom: 20px; }
.l-hero-card-price small { font-size: 15px; color: rgba(255,255,255,.5); font-weight: 700; }
.l-hero-qa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.l-hero-qa { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.l-hero-qa-icon { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; }
.l-hero-qa-label { font-size: 11px; color: rgba(255,255,255,.7); font-weight: 600; text-align: center; }
.l-hero-card-divider { height: 1px; background: rgba(255,255,255,.1); margin-bottom: 16px; }
.l-hero-promo-pill { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(0,186,242,.15); border-radius: 12px; padding: 10px 14px; }
.l-hero-promo-pill .ico { font-size: 20px; color: var(--cyan); }
.l-hero-promo-txt { font-size: 12.5px; color: #fff; font-weight: 700; }
.l-hero-promo-sub { font-size: 11px; color: rgba(255,255,255,.6); }
.l-hero-promo-btn { background: var(--cyan); color: #fff; border: none; border-radius: 7px; padding: 6px 14px; font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap; }
.l-hero-float { position: absolute; background: #fff; border-radius: 12px; padding: 9px 14px; display: flex; align-items: center; gap: 9px; box-shadow: 0 6px 22px rgba(0,0,0,.28); z-index: 2; animation: l-float 3s ease-in-out infinite; }
.l-hero-float .ico { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.l-hero-float-val { font-size: 12.5px; font-weight: 800; color: var(--navy); }
.l-hero-float-sub { font-size: 10.5px; color: var(--gray-400); }
.l-hero-float-1 { top: -18px; inset-inline-start: -16px; }
.l-hero-float-2 { bottom: 30px; inset-inline-end: -24px; animation-delay: 1.5s; }
@keyframes l-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ── Shared containers ── */
.l-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── Service Tiles (recharge-grid style) ── */
.l-tiles-section { padding: 0 0 32px; }
.l-tiles-wrap { max-width: 1280px; margin: -36px auto 0; padding: 0 24px; position: relative; z-index: 10; }
.l-tiles-card { background: #fff; border-radius: 16px; box-shadow: 0 2px 24px rgba(0,0,0,.09); padding: 26px 28px 18px; }
.l-tiles-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.l-tiles-title { font-size: 16px; font-weight: 800; color: var(--gray-800); }
.l-tiles-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.l-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px 14px; border-radius: 12px; text-decoration: none; color: var(--gray-800); transition: background .15s; cursor: pointer; }
.l-tile:hover { background: var(--gray-50); }
.l-tile:hover .l-tile-icon { transform: scale(1.07); }
.l-tile-icon { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; transition: transform .15s; }
.l-tile-label { font-size: 12px; font-weight: 700; color: var(--gray-700); text-align: center; line-height: 1.4; }

/* ── Stats strip (dark navy, cyan numbers) ── */
.l-statbar { background: #0d3a66; padding: 36px 0; }
.l-statbar-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.l-statbar-item { text-align: center; }
.l-statbar-val { font-size: 34px; font-weight: 900; color: var(--cyan); letter-spacing: -1px; }
.l-statbar-label { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 600; margin-top: 4px; }

/* ── Section header ── */
.l-sec-header { text-align: center; margin-bottom: 32px; }
.l-sec-tag { display: inline-block; background: var(--light-cyan); color: var(--cyan-dark); font-size: 12px; font-weight: 800; border-radius: 20px; padding: 4px 14px; margin-bottom: 10px; }
.l-sec-title { font-size: clamp(22px, 3vw, 28px); font-weight: 900; color: var(--gray-800); }
.l-sec-sub { font-size: 15px; color: var(--gray-400); margin-top: 6px; max-width: 560px; margin-inline: auto; }

/* ── "What we offer" service cards ── */
.l-offer-section { background: var(--gray-50); padding: 48px 0; }
.l-offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.l-offer-card { background: #fff; border-radius: 14px; padding: 22px 20px; display: flex; align-items: center; gap: 14px; box-shadow: 0 1px 8px rgba(0,0,0,.06); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.l-offer-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.12); transform: translateY(-2px); }
.l-offer-icon { width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.l-offer-title { font-size: 14px; font-weight: 800; color: var(--gray-800); margin-bottom: 2px; }
.l-offer-sub { font-size: 12px; color: var(--gray-400); }
.l-offer-badge { display: inline-block; background: var(--light-cyan); color: var(--cyan-dark); font-size: 11px; font-weight: 700; border-radius: 5px; padding: 2px 8px; margin-top: 5px; }

/* ── Promo Banner ── */
.l-promo-section { padding: 32px 0; }
.l-promo { background: linear-gradient(270deg, #0c4a86 0%, #1166b5 50%, #2585d6 100%); border-radius: 18px; overflow: hidden; position: relative; }
.l-promo::before { content: ''; position: absolute; inset-inline-start: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.05); }
.l-promo::after { content: ''; position: absolute; inset-inline-start: 80px; bottom: -80px; width: 200px; height: 200px; border-radius: 50%; background: rgba(0,186,242,.1); }
.l-promo-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px 48px; }
.l-promo-tag { display: inline-block; background: var(--cyan); color: #fff; font-size: 11.5px; font-weight: 800; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; }
.l-promo-title { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 8px; line-height: 1.3; }
.l-promo-desc { font-size: 14px; color: rgba(255,255,255,.7); max-width: 480px; }
.l-promo-icon { display: none; }

/* ── Alternating Feature Sections ── */
.l-feature-section { padding: 72px 0; }
.l-feature-section-alt { background: var(--gray-50); }
.l-feature-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.l-feature-inner.flip .l-feature-content { order: 2; }
.l-feature-inner.flip .l-feature-visual-wrap { order: 1; }
.l-feature-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--light-cyan); color: var(--cyan-dark); font-size: 12px; font-weight: 800; padding: 4px 14px; border-radius: 20px; margin-bottom: 14px; }
.l-feature-content h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; color: var(--gray-800); margin-bottom: 14px; line-height: 1.3; }
.l-feature-content p { font-size: 15px; color: var(--gray-500); line-height: 1.8; margin-bottom: 24px; }
.l-feature-bullets { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.l-feature-bullets li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gray-700); }
.l-feature-bullets li i { color: var(--green); font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.l-feature-visual-wrap { display: flex; justify-content: center; }
.l-feature-visual { width: 100%; max-width: 440px; min-height: 340px; border-radius: 20px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.l-feature-visual::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 24px 24px; }
.l-feature-visual > i { font-size: 96px; position: relative; z-index: 1; filter: drop-shadow(0 4px 20px rgba(0,0,0,.2)); }
.l-feature-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.l-feature-visual.has-img::before { display: none; }
.l-feature-visual.has-img::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(0,36,74,.45) 0%, rgba(0,36,74,.12) 45%, rgba(0,36,74,.5) 100%); }
.l-feature-visual-badge { position: absolute; bottom: 20px; inset-inline-end: 20px; background: #fff; border-radius: 12px; padding: 12px 16px; display: flex; align-items: center; gap: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.2); z-index: 2; }
.l-fvb-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.l-fvb-val { font-size: 16px; font-weight: 800; color: var(--navy); }
.l-fvb-sub { font-size: 11px; color: var(--gray-400); }

/* ── How It Works ── */
.l-how-section { padding: 72px 0; background: var(--gray-50); }
.l-how-header { text-align: center; margin-bottom: 40px; }
.l-how-title { font-size: clamp(22px, 3vw, 28px); font-weight: 900; color: var(--gray-800); margin-bottom: 10px; }
.l-how-subtitle { font-size: 15px; color: var(--gray-400); }
.l-how-line { width: 48px; height: 3px; background: var(--cyan); margin: 12px auto 0; border-radius: 2px; }
.l-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.l-steps-grid::before { content: ''; position: absolute; top: 32px; inset-inline-start: calc(16.66% + 16px); inset-inline-end: calc(16.66% + 16px); height: 2px; background: linear-gradient(90deg, var(--cyan), #0d3a66); z-index: 0; }
.l-step-card { background: #fff; border-radius: 16px; padding: 32px 24px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.06); position: relative; z-index: 1; transition: box-shadow .15s, transform .15s; }
.l-step-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.12); transform: translateY(-3px); }
.l-step-circle { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--cyan); background: var(--cyan); }
.l-step-card:nth-child(2) .l-step-circle { background: var(--green); box-shadow: 0 0 0 3px var(--green); }
.l-step-card:nth-child(3) .l-step-circle { background: #7c3aed; box-shadow: 0 0 0 3px #7c3aed; }
.l-step-num { font-size: 22px; font-weight: 900; color: #fff; }
.l-step-title { font-size: 17px; font-weight: 800; color: var(--gray-800); margin-bottom: 8px; }
.l-step-desc { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ── Trust Bar (3-color) ── */
.l-trust { background: #f0fdf4; border-top: 1px solid #bbf7d0; border-bottom: 1px solid #bbf7d0; padding: 28px 0; }
.l-trust-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 24px; align-items: center; }
.l-trust-item { display: flex; align-items: center; gap: 14px; }
.l-trust-icon { width: 48px; height: 48px; background: #16a34a; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; flex-shrink: 0; }
.l-trust-item:nth-of-type(2) .l-trust-icon { background: #0ea5e9; }
.l-trust-item:nth-of-type(3) .l-trust-icon { background: #7c3aed; }
.l-trust-title { font-size: 14px; font-weight: 800; color: #14532d; }
.l-trust-desc { font-size: 12.5px; color: #166534; }
.l-trust-item:nth-of-type(2) .l-trust-title { color: #0c4a6e; }
.l-trust-item:nth-of-type(2) .l-trust-desc { color: #075985; }
.l-trust-item:nth-of-type(3) .l-trust-title { color: #3b0764; }
.l-trust-item:nth-of-type(3) .l-trust-desc { color: #4c1d95; }
.l-trust-divider { width: 1px; align-self: stretch; background: #bbf7d0; }

/* ── App Download ── */
.l-app-section { padding: 64px 0; background: #fff; }
.l-app-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.l-app-phones { display: flex; gap: 16px; align-items: flex-end; justify-content: center; }
.l-app-img { width: 100%; max-width: 460px; border-radius: 22px; display: block; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,36,74,.28); }
.l-app-phone { background: var(--navy); border-radius: 24px; padding: 20px 14px; flex: 1; max-width: 150px; box-shadow: 0 20px 60px rgba(0,36,74,.4); position: relative; overflow: hidden; }
.l-app-phone::before { content: ''; position: absolute; top: -30px; inset-inline-start: -30px; width: 100px; height: 100px; background: rgba(0,186,242,.15); border-radius: 50%; }
.l-app-phone-screen { background: rgba(255,255,255,.08); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.l-app-phone-row { height: 10px; border-radius: 6px; background: rgba(255,255,255,.15); margin-bottom: 6px; }
.l-app-phone-row:last-child { width: 60%; margin-bottom: 0; }
.l-app-phone-label { font-size: 11px; color: rgba(255,255,255,.5); text-align: center; }
.l-app-phone-mid { transform: scale(1.06); }
.l-app-phone-side { transform: rotate(3deg) translateY(16px); opacity: .7; }
.l-app-phone-side2 { transform: rotate(-3deg) translateY(16px); opacity: .7; }
.l-app-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.l-app-badge { display: flex; align-items: center; gap: 10px; background: #000; color: #fff; border-radius: 10px; padding: 10px 18px; text-decoration: none; transition: background .15s; }
.l-app-badge:hover { background: #111; }
.l-app-badge i { font-size: 26px; }
.l-app-badge-top { font-size: 10px; opacity: .7; }
.l-app-badge-bottom { font-size: 14px; font-weight: 700; }

/* ── Agent CTA ── */
.l-agent-cta { background: linear-gradient(135deg, #0c4a86, #1166b5); position: relative; overflow: hidden; }
.l-agent-cta::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(0,186,242,.1) 1px, transparent 1px); background-size: 28px 28px; }
.l-agent-cta-inner { position: relative; z-index: 1; text-align: center; padding: 64px 24px; max-width: 700px; margin: 0 auto; }
.l-agent-cta-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 44px; margin-bottom: 16px; }
.l-agent-cta-title { font-size: clamp(22px, 4vw, 30px); font-weight: 900; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.l-agent-cta-desc { font-size: 15px; color: rgba(255,255,255,.7); margin-bottom: 28px; line-height: 1.8; }

/* ── Footer ── */
.l-footer { background: #00101e; color: rgba(255,255,255,.5); }
.l-footer-top { max-width: 1280px; margin: 0 auto; padding: 48px 24px 36px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; }
.l-footer-col-title { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .06em; margin-bottom: 14px; text-transform: uppercase; }
.l-footer-link { display: block; color: rgba(255,255,255,.5); text-decoration: none; font-size: 13px; padding: 4px 0; transition: color .15s; }
.l-footer-link:hover { color: var(--gold); }
.l-footer-tagline { font-size: 13px; line-height: 1.7; max-width: 260px; margin-bottom: 16px; }
.l-footer-safety { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 14px; margin-top: 8px; }
.l-footer-safety-title { font-size: 12px; font-weight: 700; color: #fbbf24; margin-bottom: 6px; }
.l-footer-safety-text { font-size: 11px; color: rgba(255,255,255,.4); line-height: 1.6; }
.l-footer-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.l-footer-badge { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 6px; padding: 4px 10px; font-size: 10px; font-weight: 700; color: rgba(255,255,255,.5); }
.l-footer-app-links { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.l-footer-app-btn { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 8px 14px; text-decoration: none; transition: background .15s; }
.l-footer-app-btn:hover { background: rgba(255,255,255,.1); }
.l-footer-app-btn i { font-size: 22px; color: #fff; }
.l-footer-app-btn-text span:first-child { display: block; font-size: 10px; color: rgba(255,255,255,.5); }
.l-footer-app-btn-text span:last-child { display: block; font-size: 13px; font-weight: 700; color: #fff; }
/* Expandable footer accordion */
.l-footer-accordions { border-top: 1px solid rgba(255,255,255,.08); }
.l-footer-accordion { max-width: 1280px; margin: 0 auto; padding: 0 24px; border-bottom: 1px solid rgba(255,255,255,.06); }
.l-footer-accordion-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; background: none; border: none; cursor: pointer; color: rgba(255,255,255,.65); font-size: 13px; font-weight: 700; font-family: inherit; transition: color .15s; }
.l-footer-accordion-btn:hover { color: #fff; }
.l-footer-accordion-btn i { transition: transform .25s; font-size: 16px; }
.l-footer-accordion-btn.open i { transform: rotate(45deg); }
.l-footer-accordion-body { display: none; padding-bottom: 16px; }
.l-footer-accordion-body.open { display: block; }
.l-footer-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.l-footer-tag { font-size: 12px; color: rgba(255,255,255,.45); text-decoration: none; transition: color .15s; }
.l-footer-tag:hover { color: var(--gold); }
.l-footer-tag::after { content: '·'; margin-inline-start: 8px; color: rgba(255,255,255,.2); }
.l-footer-tag:last-child::after { display: none; }
.l-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 24px; max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; font-size: 12px; flex-wrap: wrap; gap: 10px; }
.l-footer-bottom-lang { display: flex; gap: 12px; }
.l-footer-bottom-lang a { color: rgba(255,255,255,.45); text-decoration: none; font-weight: 600; transition: color .15s; }
.l-footer-bottom-lang a:hover { color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .l-nav-links, .l-nav-actions { display: none; }
  .l-hamburger { display: flex; }
  .l-hero-inner { grid-template-columns: 1fr; }
  .l-hero-visual { display: none; }
  .l-tiles-grid { grid-template-columns: repeat(4, 1fr); }
  .l-statbar-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .l-offer-grid { grid-template-columns: repeat(2, 1fr); }
  .l-trust-inner { grid-template-columns: 1fr; }
  .l-trust-divider { display: none; }
  .l-app-inner { grid-template-columns: 1fr; }
  .l-app-phones { margin-bottom: 8px; }
  .l-app-img { max-width: 360px; }
  .l-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .l-feature-inner { grid-template-columns: 1fr; gap: 32px; }
  .l-feature-inner.flip .l-feature-content { order: unset; }
  .l-feature-inner.flip .l-feature-visual-wrap { order: unset; }
  .l-feature-visual { min-height: 260px; max-width: 100%; }
  .l-steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .l-steps-grid::before { display: none; }
  .l-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .l-promo-inner { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .l-partners { display: none; }
}
@media (max-width: 480px) {
  .l-hero-btns { flex-direction: column; }
  .l-offer-grid { grid-template-columns: 1fr; }
  .l-statbar-inner { grid-template-columns: repeat(2, 1fr); }
}

/* New Fatehet Kheir landing design ---------------------------------------- */
.fk-page {
  --fk-blue: #0b499c;
  --fk-blue-2: #1d6fd2;
  --fk-orange: #ff6200;
  --fk-orange-2: #ff8c00;
  --fk-ink: #0f172a;
  --fk-text: #475569;
  --fk-line: #e2e8f0;
  --fk-soft: #f8fafc;
  background: #fff;
  color: var(--fk-ink);
  overflow-x: hidden;
  scroll-padding-top: 92px;
}

.fk-page a { text-decoration: none; }

.fk-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(11, 73, 156, .08);
  box-shadow: 0 2px 20px rgba(15, 23, 42, .06);
  backdrop-filter: blur(16px);
}

.fk-nav-inner {
  max-width: 1400px;
  height: 76px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fk-brand { display: flex; align-items: center; flex: 0 0 auto; }
.fk-brand img {
  width: 112px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.fk-nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.fk-nav-link {
  color: var(--fk-text);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  padding: 12px 14px;
  border-radius: 9px;
  white-space: nowrap;
  position: relative;
  transition: color .2s, background .2s;
}

.fk-nav-link:hover,
.fk-nav-link.active {
  color: var(--fk-blue);
  background: rgba(11, 73, 156, .07);
}

.fk-nav-link.active::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 3px;
  border-radius: 10px;
  background: var(--fk-blue);
  inset-inline-start: 50%;
  bottom: -1px;
  transform: translateX(-50%);
}

.fk-nav-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.fk-lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(11, 73, 156, .14);
  border-radius: 12px;
  background: #fff;
}

.fk-lang-toggle a {
  min-width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--fk-text);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 900;
}

.fk-lang-toggle a.active { background: rgba(11, 73, 156, .09); color: var(--fk-blue); }

.fk-join-btn,
.fk-login-btn,
.fk-primary-btn,
.fk-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}

.fk-join-btn {
  height: 46px;
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--fk-orange-2), var(--fk-orange));
  box-shadow: 0 6px 18px rgba(255, 98, 0, .25);
}

.fk-login-btn {
  height: 46px;
  padding: 0 20px;
  color: var(--fk-blue);
  background: #fff;
  border: 2px solid var(--fk-blue);
}

.fk-join-btn:hover,
.fk-login-btn:hover,
.fk-primary-btn:hover,
.fk-secondary-btn:hover { transform: translateY(-2px); }

.fk-login-btn:hover { background: var(--fk-blue); color: #fff; }

.fk-menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--fk-orange-2), var(--fk-orange));
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.fk-mobile-menu {
  display: none;
  padding: 10px 24px 20px;
  border-top: 1px solid rgba(11, 73, 156, .08);
  background: #fff;
}

.fk-mobile-menu.open { display: grid; gap: 6px; }
.fk-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  color: var(--fk-ink);
  font-weight: 800;
}
.fk-mobile-menu a:hover { background: rgba(11, 73, 156, .06); color: var(--fk-blue); }

.fk-hero {
  background: #fff;
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 20px 0 4px;
}

.fk-hero-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.fk-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 660px;
  margin-inline-start: auto;
}

.fk-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 17px;
  border: 1px solid rgba(11, 73, 156, .14);
  background: rgba(11, 73, 156, .07);
  color: var(--fk-blue);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 20px;
}

.fk-hero-title {
  width: 100%;
  max-width: 650px;
  margin: 0 0 16px;
  color: var(--fk-ink);
  font-size: clamp(32px, 2.95vw, 48px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: 0;
}

.fk-hero-title span { color: var(--fk-orange); }
.fk-hero-title strong {
  display: block;
  color: var(--fk-blue);
  font-weight: 900;
}

.fk-hero-desc {
  max-width: 610px;
  margin: 0 0 22px;
  color: var(--fk-text);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.9;
}

.fk-proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--fk-blue), var(--fk-blue-2));
  padding: 12px 28px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(11, 73, 156, .24);
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 28px;
}

.fk-proof-pill i { color: rgba(255, 255, 255, .9); }

.fk-hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.fk-primary-btn {
  min-height: 58px;
  padding: 0 32px;
  color: #fff;
  background: linear-gradient(135deg, var(--fk-blue), var(--fk-blue-2));
  border: 2px solid transparent;
  font-size: 17px;
  box-shadow: 0 10px 24px rgba(11, 73, 156, .28);
}

.fk-secondary-btn {
  min-height: 58px;
  padding: 0 27px;
  color: #334155;
  background: #fff;
  border: 2px solid var(--fk-line);
  font-size: 16px;
}

.fk-secondary-btn:hover {
  color: var(--fk-blue);
  border-color: rgba(11, 73, 156, .35);
}

.fk-hero-art {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.fk-agent-img {
  position: relative;
  z-index: 3;
  width: min(104%, 700px);
  max-height: 600px;
  object-fit: contain;
  transform: translate(8px, -72px);
  filter: drop-shadow(0 18px 36px rgba(15, 23, 42, .13));
}

.fk-floating-service {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #334155;
  animation: fk-float-up 4.5s ease-in-out infinite alternate;
}

.fk-floating-service span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: rgba(255, 255, 255, .88);
  border: 2px solid currentColor;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
  font-size: 27px;
}

.fk-floating-service strong {
  padding: 4px 14px;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.fk-insurance { top: 13%; inset-inline-start: 14%; color: #38bdf8; }
.fk-companies { top: 10%; inset-inline-end: 13%; color: #fbbf24; animation-name: fk-float-down; }
.fk-visas { top: 56%; inset-inline-end: 4%; color: #a855f7; }
.fk-finance { top: 48%; inset-inline-start: 0%; color: #34d399; animation-name: fk-float-down; }
.fk-gov { top: 80%; inset-inline-start: 32%; color: #fb7185; }

@keyframes fk-float-up {
  from { transform: translateY(0); }
  to { transform: translateY(-14px); }
}

@keyframes fk-float-down {
  from { transform: translateY(0); }
  to { transform: translateY(14px); }
}

.fk-benefit-strip {
  width: 100%;
  background: #fff;
  overflow: hidden;
  padding: 12px 0 16px;
}

.fk-marquee {
  display: flex;
  width: max-content;
  gap: 80px;
  animation: fk-marquee 28s linear infinite;
}

.fk-benefit-strip:hover .fk-marquee { animation-play-state: paused; }
.fk-marquee-group { display: flex; align-items: center; gap: 86px; }

.fk-benefit {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #334155;
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.fk-benefit i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  border: 2px solid currentColor;
  font-size: 24px;
}

.fk-blue i { color: var(--fk-blue); filter: drop-shadow(0 0 8px rgba(11, 73, 156, .25)); }
.fk-purple i { color: #a855f7; filter: drop-shadow(0 0 8px rgba(168, 85, 247, .3)); }
.fk-green i { color: #34d399; filter: drop-shadow(0 0 8px rgba(52, 211, 153, .3)); }
.fk-yellow i { color: #fbbf24; filter: drop-shadow(0 0 8px rgba(251, 191, 36, .3)); }

@keyframes fk-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

.fk-down-arrow {
  width: 100%;
  display: flex;
  justify-content: center;
  color: var(--fk-blue);
  font-size: 34px;
  padding: 14px 0 30px;
  animation: fk-bounce 1.5s ease-in-out infinite;
}

@keyframes fk-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.fk-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 78px 48px;
}

.fk-section-head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.fk-section-head span,
.fk-mini-label {
  display: inline-flex;
  color: var(--fk-blue);
  background: rgba(11, 73, 156, .07);
  border: 1px solid rgba(11, 73, 156, .12);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 900;
  margin-bottom: 12px;
}

.fk-section-head h2,
.fk-split h2,
.fk-final-cta h2 {
  margin: 0;
  color: var(--fk-ink);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 900;
  line-height: 1.35;
}

.fk-section-head p,
.fk-split p,
.fk-final-cta p {
  margin: 12px 0 0;
  color: var(--fk-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.fk-services { background: var(--fk-soft); border-radius: 36px; }

.fk-service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.fk-service-card {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 22px;
  background: #fff;
  color: var(--fk-ink);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
  transition: transform .2s, box-shadow .2s;
}

.fk-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
}

.fk-service-card i {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--accent);
  border: 2px solid color-mix(in srgb, var(--accent) 55%, #fff);
  font-size: 28px;
}

.fk-service-card strong { font-size: 18px; font-weight: 900; line-height: 1.35; }
.fk-service-card span { color: var(--fk-text); font-weight: 800; font-size: 13px; }

.fk-live-services { margin-top: 42px; }
.fk-live-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.fk-live-title h3 { margin: 0; font-size: 24px; color: var(--fk-ink); font-weight: 900; }
.fk-live-title a { display: inline-flex; align-items: center; gap: 8px; color: var(--fk-blue); font-weight: 900; }
.fk-live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.fk-live-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  color: var(--fk-ink);
}
.fk-live-card > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(11, 73, 156, .08);
  color: var(--fk-blue);
  font-size: 24px;
}
.fk-live-card strong { display: block; font-size: 16px; font-weight: 900; }
.fk-live-card small { color: var(--fk-text); font-weight: 700; }
.fk-live-card > i { margin-inline-start: auto; color: var(--fk-blue); }

.fk-start-section {
  background: #fff;
  padding: 76px 24px 88px;
}

.fk-start-inner {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 520px) 72px minmax(420px, 1fr);
  gap: 36px;
  align-items: center;
  direction: ltr;
}

.fk-start-card {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(11, 73, 156, .14);
  border-radius: 22px;
  padding: 40px 32px;
  box-shadow: 0 28px 70px rgba(11, 73, 156, .08);
  text-align: center;
}

.fk-page.rtl .fk-start-card,
.fk-page.rtl .fk-start-steps {
  direction: rtl;
}

.fk-page.ltr .fk-start-card,
.fk-page.ltr .fk-start-steps {
  direction: ltr;
}

.fk-start-card h2,
.fk-start-steps > h2 {
  margin: 0;
  color: var(--fk-blue);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1.35;
}

.fk-start-card > p {
  margin: 12px 0 30px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.fk-start-form {
  display: grid;
  gap: 20px;
}

.fk-start-field {
  position: relative;
  display: block;
}

.fk-start-field input,
.fk-start-field select {
  width: 100%;
  height: 60px;
  border: 1.5px solid #dbe4ef;
  border-radius: 12px;
  background: #f8fafc;
  color: #1e293b;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  padding: 0 52px 0 18px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.fk-page.rtl .fk-start-field input {
  direction: rtl;
  text-align: right;
}

.fk-page.rtl .fk-start-field input[type="tel"] {
  direction: rtl;
  text-align: right;
}

.fk-page.rtl .fk-start-field input::placeholder {
  color: #64748b;
  opacity: 1;
  text-align: right;
}

.fk-page.ltr .fk-start-field input,
.fk-page.ltr .fk-start-field select {
  padding: 0 18px 0 52px;
}

.fk-start-field input:focus,
.fk-start-field select:focus {
  background: #fff;
  border-color: var(--fk-blue);
  box-shadow: 0 0 0 4px rgba(11, 73, 156, .08);
}

.fk-start-field > i:first-child {
  position: absolute;
  top: 50%;
  inset-inline-end: 18px;
  transform: translateY(-50%);
  color: #9aaec2;
  font-size: 20px;
  z-index: 2;
}

.fk-page.ltr .fk-start-field > i:first-child {
  inset-inline-end: auto;
  inset-inline-start: 18px;
}

.fk-start-field select {
  appearance: none;
  cursor: pointer;
}

.fk-select-arrow {
  position: absolute;
  top: 50%;
  inset-inline-start: 18px;
  transform: translateY(-50%);
  color: #9aaec2;
  pointer-events: none;
}

.fk-page.ltr .fk-select-arrow {
  inset-inline-start: auto;
  inset-inline-end: 18px;
}

.fk-start-submit {
  height: 58px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--fk-blue), #0871c8);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(11, 73, 156, .2);
  transition: transform .2s, box-shadow .2s;
}

.fk-start-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(11, 73, 156, .28);
}

.fk-start-note {
  margin-top: 22px;
  color: #08a64f;
  font-size: 14px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fk-start-arrow {
  display: grid;
  place-items: center;
  color: var(--fk-blue);
  font-size: 38px;
}

.fk-start-steps {
  display: grid;
  gap: 32px;
}

.fk-start-steps > h2 {
  text-align: end;
  margin-bottom: 22px;
}

.fk-start-step {
  position: relative;
  min-height: 104px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1.5px solid currentColor;
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .06);
}

.fk-start-step .fk-step-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: color-mix(in srgb, currentColor 10%, #fff);
  border: 2px solid currentColor;
  font-size: 28px;
}

.fk-start-step .fk-step-num {
  position: absolute;
  top: -14px;
  inset-inline-start: 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--step-color);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
}

.fk-page.ltr .fk-start-step .fk-step-num {
  inset-inline-start: auto;
  inset-inline-end: 28px;
}

.fk-start-step h3 {
  margin: 0 0 6px;
  color: var(--fk-ink);
  font-size: 20px;
  font-weight: 900;
}

.fk-start-step p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.fk-step-orange { --step-color: #ff6200; color: var(--step-color); }
.fk-step-purple { --step-color: #a855f7; color: var(--step-color); }
.fk-step-green { --step-color: #02bf68; color: var(--step-color); }

.fk-how { background: #fff; }
.fk-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fk-step {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(11, 73, 156, .1);
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .05);
}
.fk-step b {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--fk-orange), var(--fk-blue));
  font-size: 22px;
}
.fk-step h3 { margin: 18px 0 8px; font-size: 22px; font-weight: 900; color: var(--fk-ink); }
.fk-step p { margin: 0; color: var(--fk-text); font-size: 15px; font-weight: 700; line-height: 1.8; }

.fk-split,
.fk-final-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.fk-stat-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.fk-stat-panel div {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--fk-blue), var(--fk-blue-2));
  color: #fff;
  box-shadow: 0 16px 36px rgba(11, 73, 156, .18);
}
.fk-stat-panel strong { font-size: 36px; font-weight: 900; }
.fk-stat-panel span { font-size: 13px; font-weight: 800; opacity: .85; text-align: center; }

.fk-partners { background: var(--fk-soft); border-radius: 36px; }
.fk-partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.fk-partner-grid img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: contain;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.fk-final-cta {
  margin-bottom: 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(11, 73, 156, .08), rgba(255, 98, 0, .08));
}
.fk-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.fk-footer {
  background: #08162a;
  color: rgba(255, 255, 255, .72);
  padding: 28px 0;
}
.fk-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.fk-footer-brand img {
  width: 128px;
  height: 56px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}
.fk-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.fk-footer-links a { color: rgba(255, 255, 255, .72); font-weight: 800; }
.fk-footer-links a:hover { color: #fff; }

.fk-whatsapp {
  position: fixed;
  inset-inline-end: 24px;
  bottom: 24px;
  z-index: 900;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 36px;
  box-shadow: 0 0 0 14px rgba(37, 211, 102, .12), 0 12px 24px rgba(37, 211, 102, .28);
}

@media (max-width: 1180px) {
  .fk-nav-links { display: none; }
  .fk-menu-btn { display: grid; place-items: center; }
  .fk-hero-inner { grid-template-columns: 1fr; }
  .fk-hero-copy { order: 2; align-items: center; text-align: center; margin: 0 auto; }
  .fk-hero-art { order: 1; min-height: 560px; }
  .fk-service-grid { grid-template-columns: repeat(3, 1fr); }
  .fk-partner-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .fk-nav-inner { height: 68px; padding: 0 18px; gap: 12px; }
  .fk-brand img { width: 104px; height: 48px; }
  .fk-nav-actions { display: none; }
  .fk-hero { min-height: 0; padding: 24px 0 22px; }
  .fk-hero-inner { padding: 0 18px; gap: 10px; }
  .fk-hero-art { min-height: 390px; }
  .fk-agent-img { width: min(88%, 420px); max-height: 420px; }
  .fk-floating-service span { width: 58px; height: 58px; font-size: 26px; border-radius: 16px; }
  .fk-floating-service strong { font-size: 12px; padding: 4px 12px; }
  .fk-insurance { top: 5%; inset-inline-start: 7%; }
  .fk-companies { top: 6%; inset-inline-end: 6%; }
  .fk-visas { top: 48%; inset-inline-end: 0; }
  .fk-finance { top: 52%; inset-inline-start: 0; }
  .fk-gov { bottom: 0; inset-inline-start: 42%; }
  .fk-hero-title { font-size: clamp(34px, 11vw, 52px); }
  .fk-hero-desc { font-size: 17px; }
  .fk-proof-pill { font-size: 14px; padding: 12px 20px; }
  .fk-hero-actions { width: 100%; justify-content: center; }
  .fk-primary-btn, .fk-secondary-btn { width: min(100%, 360px); }
  .fk-section { padding: 56px 18px; }
  .fk-start-section { padding: 56px 18px 64px; }
  .fk-start-inner { grid-template-columns: 1fr; gap: 28px; }
  .fk-start-card { padding: 30px 22px; }
  .fk-start-arrow { transform: rotate(-90deg); }
  .fk-start-steps > h2 { text-align: center; margin-bottom: 8px; }
  .fk-start-step { grid-template-columns: 60px 1fr; padding: 18px; }
  .fk-service-grid, .fk-steps, .fk-split, .fk-final-cta { grid-template-columns: 1fr; }
  .fk-stat-panel { grid-template-columns: 1fr; }
  .fk-final-actions { justify-content: flex-start; }
  .fk-footer-inner { padding: 0 18px; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .fk-mobile-menu { padding-inline: 14px; }
  .fk-hero-art { min-height: 330px; }
  .fk-agent-img { width: 90%; max-height: 340px; }
  .fk-floating-service span { width: 48px; height: 48px; font-size: 22px; }
  .fk-floating-service strong { font-size: 11px; }
  .fk-marquee-group { gap: 44px; }
  .fk-benefit { font-size: 15px; gap: 10px; }
  .fk-benefit i { width: 48px; height: 48px; font-size: 22px; }
  .fk-service-grid, .fk-partner-grid { grid-template-columns: 1fr; }
  .fk-live-title { align-items: flex-start; flex-direction: column; }
  .fk-whatsapp { width: 58px; height: 58px; font-size: 32px; }
}

/* الحاوية الرئيسية لقسم الخدمات */
.services-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 48px;
    background-color: #ffffff;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-header h2 {
    font-size: 36px;
    font-weight: 900;
    color: #0b499c;
    margin-bottom: 12px;
}

.services-header p {
    font-size: 16px;
    color: #64748b;
    font-weight: 600;
}

/* شبكة عرض الخدمات (Responsive Grid) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 أعمدة متساوية متناسقة مع الكروت الـ 5 */
    gap: 20px;
}

/* كارت الخدمة المطور بستايل النيون المتوهج والنظيف */
.service-neon-card {
    background: #ffffff;
    border: 1.5px solid transparent;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* صندوق الأيقونة النيون المفرغ */
.service-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    border: 2px solid;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    transition: transform 0.3s ease;
}

.service-neon-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    white-space: nowrap;
}

.service-neon-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    font-weight: 600;
}

/* حقن ألوان وتوهج الهوية لكل كارت بالتفصيل حسب الصورة */

/* 1. تأسيس الشركات (وردي / فوشيا) */
.card-companies { border-color: rgba(236, 72, 153, 0.15); }
.card-companies .service-icon-box { border-color: #ec4899; color: #ec4899; filter: drop-shadow(0 0 10px rgba(236, 72, 153, 0.4)); }
.card-companies h3 { color: #ec4899; }

/* 2. التمويل والتقسيط (أخضر فسفوري) */
.card-finance { border-color: rgba(34, 197, 94, 0.15); }
.card-finance .service-icon-box { border-color: #22c55e; color: #22c55e; filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.4)); }
.card-finance h3 { color: #22c55e; }

/* 3. التأمين (أزرق سماوي) */
.card-insurance { border-color: rgba(56, 189, 248, 0.15); }
.card-insurance .service-icon-box { border-color: #38bdf8; color: #38bdf8; filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4)); }
.card-insurance h3 { color: #0b499c; } /* أزرق داكن متناسق مع النص الأصلي */

/* 4. التأشيرات والسفر (بنفسجي / موف) */
.card-visas { border-color: rgba(168, 85, 247, 0.15); }
.card-visas .service-icon-box { border-color: #a855f7; color: #a855f7; filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4)); }
.card-visas h3 { color: #a855f7; }

/* 5. الخدمات الحكومية (أصفر ذهبي) */
.card-gov { border-color: rgba(245, 158, 11, 0.15); }
.card-gov .service-icon-box { border-color: #f59e0b; color: #f59e0b; filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.4)); }
.card-gov h3 { color: #0b499c; } /* أزرق داكن متناسق مع النص الأصلي */

/* تأثير الهوفر للحركة الفخمة للكروت والـ Glow */
.service-neon-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(11, 73, 156, 0.06);
}
.service-neon-card:hover .service-icon-box {
    transform: scale(1.08) rotate(2deg);
}

/* حاوية السكشن الإجمالية الطويلة لعمل السكرول والتفاعل */
.apple-showcase-section {
    position: relative;
    width: 100%;
    height: 200vh; 
    background: #ffffff;
}

/* الحاوية المثبتة (Sticky Container) لتظل الأجهزة ثابتة أمام الشاشة أثناء السكرول */
.sticky-viewport {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 2000px; /* تفعيل البُعد الثالث العميق لكروت أبل */
}

/* ضبط مكان ومسافة العنوان ليكون بعيداً عن الموبايل تماماً وبشكل احترافي */
.showcase-header {
    position: absolute;
    top: 110px; /* زيادة المساحة العلوية لتأمين الكلام */
    text-align: center;
    z-index: 20;
    padding: 0 24px;
    width: 100%;
}

.showcase-header h2 {
    font-size: 38px;
    font-weight: 900;
    color: #0b499c;
    margin-bottom: 10px;
}

/* المسرح الافتراضي الحاضن للموك أب المطور */
.devices-3d-stage {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 500px;
    margin-top: 80px; /* دفع المسرح بالكامل لأسفل بعيداً عن الكلام */
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

/* === ستايل الموبايل الذكي (iPhone 3D Mockup) === */
.apple-phone {
    position: absolute;
    width: 280px;
    height: 560px;
    background: #0f172a;
    border: 12px solid #334155;
    border-radius: 40px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    z-index: 10;
    transform: translate(-50%, -46%) rotateY(-15deg) rotateX(5deg); /* ضبط الارتفاع الرأسي لعدم التداخل */
    top: 50%;
    left: 50%;
    overflow: hidden;
    transition: transform 0.1s ease-out, opacity 0.2s ease-out;
    transform-style: preserve-3d;
}

/* شاشة الموبايل الداخلية التي تحاكي نزول وسكرول الموقع */
.phone-screen-scroll {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    overflow: hidden;
    position: relative;
}

/* محاكاة محتويات صفحة موقعك وهي بتعمل سكرول ذاتي جوه الشاشة */
.phone-mock-content {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    animation: autoScrollScreen 30s infinite linear;
}

/* === ستايل اللاب توب الذكي المخفي مبدئياً (MacBook 3D Mockup) === */
.apple-laptop {
    position: absolute;
    width: 700px;
    height: 420px;
    background: #cbd5e1;
    border: 16px solid #1e293b;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 40px 70px rgba(11, 73, 156, 0.15);
    z-index: 5;
    top: 52%; /* ترحيل اللاب توب قليلاً لأسفل ليتماشى مع التمركز الجديد */
    left: 50%;
    transform: translate(-30%, -50%) rotateY(25deg) rotateX(10deg);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.1s ease-out, opacity 0.2s ease-out;
}

/* قاعدة اللاب توب السفلي لإعطاء إيحاء الـ 3D المجسم */
.apple-laptop::after {
    content: '';
    position: absolute;
    bottom: -28px;
    left: -40px;
    width: 780px;
    height: 14px;
    background: #94a3b8;
    border-radius: 0 0 20px 20px;
    border-bottom: 4px solid #64748b;
}

/* أنيميشن السكرول التلقائي للموقع جوه شاشة الموبايل */
@keyframes autoScrollScreen {
    0% { top: 0; }
    50% { top: -150%; } 
    100% { top: 0; }
}

.apple-phone img, .apple-laptop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


 /* الحاوية الكبرى لقسم الحسبة والأرباح */
.showcase-earnings-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 48px 100px 48px;
    background-color: #ffffff; /* خلفية بيضاء نقية مدمجة مع الموقع */
    position: relative;
    overflow: hidden;
    direction: rtl;
}

/* حقن رابط خريطة ويكيبيديا كخلفية رمادية ناعمة ومفرغة وممتدة خلف الكروت */
.showcase-earnings-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://commons.wikimedia.org/wiki/Special:FilePath/BlankMap-World.svg?width=640");
    background-size: cover;
    background-position: center;
    /* استخدام الفلتر برمجياً لتحويل الخريطة للون رمادي خفيف جداً وهادئ يتطابق مع ستايل الموقع */
    filter: grayscale(1) brightness(0.95) opacity(0.04); 
    z-index: 1;
    pointer-events: none;
}

.section-stage-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5; /* لتقف الكروت والأزرار فوق خريطة الخلفية بنجاح */
}

/* === 1. العنوان الأعلى === */
.section-main-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-main-header h2 {
    font-size: 32px;
    font-weight: 900;
    color: #0b499c; 
    margin-bottom: 8px;
}

.section-main-header p {
    font-size: 16px;
    color: #64748b;
    font-weight: 700;
}

/* === 2. الكتلة الوسطى (الجدول + الخيوط + الإجمالي) === */
.middle-flex-showroom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 60px;
    position: relative;
}

/* الجدول الأبيض اليمين */
.white-calculator-table {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    width: 54%;
    box-shadow: 0 20px 40px rgba(11, 73, 156, 0.04);
    border: 2px solid rgba(11, 73, 156, 0.1);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.table-row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.table-row-item:last-child {
    border-bottom: none;
}

.right-cell-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* صناديق الأيقونات النيون المفرغة والمضيئة */
.row-neon-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1.5px solid;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.neon-insurance-clr { border-color: #38bdf8; color: #38bdf8; filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.4)); }
.neon-companies-clr { border-color: #fbbf24; color: #fbbf24; filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.4)); }
.neon-visas-clr { border-color: #a855f7; color: #a855f7; filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.4)); }
.neon-finance-clr { border-color: #34d399; color: #34d399; filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.4)); }

.row-service-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
}

.left-cell-values {
    display: flex;
    align-items: center;
    gap: 14px;
}

.percentage-mini-badge {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.row-money-val {
    font-size: 18px;
    font-weight: 800;
    color: #0b499c;
}

/* روابط الخيوط والمسارات الوسطى */
.nodes-connector-flow {
    flex: 1;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.total-central-node {
    width: 46px;
    height: 46px;
    background: #ffffff;
    border: 2px solid #0b499c;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(11, 73, 156, 0.15);
}

.total-central-node i { font-size: 12px; color: #0b499c; }
.total-central-node span { font-size: 9px; font-weight: 700; color: #0b499c; }

.svg-pipelines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* كارت الإجمالي الأخضر النيون المضيء على اليسار */
.neon-total-green-card {
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
    width: 32%;
    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.25);
    border: 1px solid rgba(255,255,255,0.1);
}

.neon-total-green-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: #fef08a;
    margin-bottom: 6px;
}

.neon-total-green-card .final-sum-display {
    font-size: 32px;
    font-weight: 900;
}

/* === 3. البانر السفلي العريض الممتد (CTA) === */
.bottom-horizontal-banner {
    width: 100%;
    background: linear-gradient(90deg, #063970 0%, #001f42 100%);
    border: none;
    border-radius: 100px; 
    padding: 24px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(6, 57, 112, 0.15);
}

.banner-right-text h3 {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 4px;
}

.banner-right-text p {
    font-size: 14px;
    color: #93c5fd;
    font-weight: 600;
}

.banner-left-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.btn-banner-orange {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff8c00, #ff5100);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(255, 81, 0, 0.35);
    transition: all 0.3s ease;
}

.btn-banner-orange:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 81, 0, 0.45);
}

.btn-banner-orange i {
    font-size: 15px;
    transform: rotate(-45deg);
}

.banner-subnote-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .middle-flex-showroom { flex-direction: column; gap: 40px; }
    .white-calculator-table, .neon-total-green-card { width: 100%; }
    .nodes-connector-flow { display: none; }
    .bottom-horizontal-banner { border-radius: 24px; flex-direction: column; text-align: center; padding: 30px 20px; gap: 20px; }
    .btn-banner-orange { width: 100%; justify-content: center; }
}
.success-stories-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 48px;
    background-color: #ffffff;
}

/* رأس القسم (العنوان) */
.stories-header {
    text-align: center;
    margin-bottom: 50px;
}

.stories-header h2 {
    font-size: 36px;
    font-weight: 900;
    color: #0b499c; /* أزرق فاتحة خير المعتمد */
    margin-bottom: 12px;
}

/* شبكة عرض كروت قصص النجاح (3 أعمدة متساوية) */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* كارت قصة النجاح الزجاجي المطور */
.story-card {
    background: #ffffff;
    border: 2px solid rgba(11, 73, 156, 0.08);
    border-radius: 24px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 15px 40px rgba(11, 73, 156, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* تأثير الهوفر الفخم للحركة */
.story-card:hover {
    transform: translateY(-6px);
    border-color: rgba(11, 73, 156, 0.18);
    box-shadow: 0 20px 50px rgba(11, 73, 156, 0.06);
}

/* إطار الصورة الشخصية المفرغ بنعومة */
.story-avatar-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    background: #f8fafc;
    border: 3px solid rgba(11, 73, 156, 0.1);
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.story-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* المسمى والوظيفة */
.story-user-badge {
    font-size: 14px;
    font-weight: 700;
    color: #0b499c;
    background: rgba(11, 73, 156, 0.06);
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
    display: inline-block;
}

/* نص قصة النجاح والاقتباس */
.story-quote-text {
    font-size: 16px;
    font-weight: 700;
    color: #334155;
    line-height: 1.8;
    margin-bottom: 24px;
    flex: 1; /* يضمن توزيع متساوي للمساحات الداخلية للكروت */
}

/* تقييم النجوم الذهبية المطابق للصورة */
.story-stars-rating {
    display: flex;
    gap: 4px;
    color: #f59e0b; /* اللون الذهبي الفخم للنجوم */
    font-size: 16px;
    margin-top: auto; /* يدفع النجوم لتستقر دائماً في أسفل الكارت بالتساوي */
}

/* ريسبونسيف ذكي للموبايل والتابلت */
@media (max-width: 1024px) {
    .stories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .stories-grid { grid-template-columns: 1fr; gap: 24px; }
    .success-stories-section { padding: 50px 24px; }
    .stories-header h2 { font-size: 28px; }
}
/* الحاوية الخارجية الكبرى للشريط المتحرك */
.partners-marquee-wrapper {
    width: 100%;
    background-color: #ffffff; /* مدمج بالكامل مع خلفية الصفحة البيضاء */
    padding: 40px 0;
    overflow: hidden; /* لإخفاء اللوجوهات الخارجة عن نطاق الشاشة */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* عنوان صغير شيك فوق الشريط */
.partners-marquee-wrapper h4 {
    font-size: 14px;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* شريط المسار التكراري للحركة اللانهائية */
.marquee-partners-track {
    display: flex;
    width: max-content;
    gap: 80px; /* مسافة مريحة جداً بين اللوجوهات */
    animation: scrollPartners 30s linear infinite; /* حركة مستمرة لينية بدون قفزات */
}

/* الميزة الذكية: إيقاف الحركة مؤقتاً برفق عند وقوف الماوس على الشريط */
.partners-marquee-wrapper:hover .marquee-partners-track {
    animation-play-state: paused;
}

/* كبسولة اللوجو الفردية */
.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px; /* ارتفاع موحد وشيك لجميع اللوجوهات */
}

.partner-logo-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    /* الخدعة البرمجية: تحويل اللوجو لرمادي هادئ مبدئياً وتقليل الشفافية */
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* تأثير الهوفر المطلوب: اللوجو يرجع للونه الأصلي الطبيعي ويصبح ناصعاً بوضوح */
.partner-logo-item img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.06); /* زوم خفيف فخم للحركة */
}

/* كود الـ CSS Animation للحركة اللانهائية الانسيابية من اليمين لليسار */
@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%); /* إعادة الدورة الهندسية بسلاسة بدون أي قطع بصير */
    }
}

/* ريسبونسيف للشاشات الصغيرة */
@media (max-width: 768px) {
    .partners-marquee-wrapper { padding: 30px 0; }
    .partner-logo-item { height: 35px; }
    .marquee-partners-track { gap: 50px; }
}

/* Service detail & packages */
.service-detail-header { background: linear-gradient(135deg, var(--fk-blue), var(--fk-blue-2)); color: #fff; padding: 40px 24px; }
.service-detail-header .container { max-width: 900px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.6); text-decoration: none; font-size: 13px; margin-bottom: 16px; }
.back-link:hover { color: #fff; }
.service-detail-header h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.packages-section { padding: 48px 0; }
.packages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.package-card { background: #fff; border: 1.5px solid var(--gray-200); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.package-header { background: linear-gradient(135deg, var(--fk-blue), var(--fk-blue-2)); color: #fff; padding: 16px 20px; }
.package-header h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.package-duration { font-size: 12px; opacity: .7; }
.package-body { padding: 16px 20px; flex: 1; }
.package-body p { color: var(--gray-600); font-size: 13px; margin-bottom: 12px; }
.package-inclusions { list-style: none; padding: 0; }
.package-inclusions li { font-size: 13px; display: flex; align-items: center; gap: 6px; padding: 4px 0; }
.package-inclusions li i { color: var(--green); }
.package-footer { padding: 16px 20px; border-top: 1px solid var(--gray-100); display: flex; justify-content: space-between; align-items: center; }
.price-amount { font-size: 22px; font-weight: 700; color: var(--fk-blue); }
.price-currency { font-size: 13px; color: var(--gray-600); }
.package-price { display: flex; align-items: baseline; gap: 4px; }

/* Customer storefront — services index cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.service-card { background: #fff; border: 1px solid var(--fk-line); border-radius: 16px; padding: 28px 24px; display: flex; flex-direction: column; box-shadow: 0 1px 4px rgba(15,23,42,.04); transition: transform .18s, box-shadow .18s, border-color .18s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(11,73,156,.13); border-color: rgba(11,73,156,.25); }
.service-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; background: linear-gradient(135deg, var(--fk-blue), var(--fk-blue-2)); color: #fff; margin-bottom: 18px; box-shadow: 0 8px 18px rgba(11,73,156,.28); }
.service-title { font-size: 20px; font-weight: 800; color: var(--fk-ink); margin: 0 0 8px; }
.service-desc { color: var(--fk-text); font-size: 14px; line-height: 1.7; margin: 0 0 16px; }

/* Primary storefront CTA (orange, matches landing) */
.btn-hero { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: linear-gradient(135deg, var(--fk-orange-2), var(--fk-orange)); color: #fff; font-weight: 700; border: none; border-radius: 10px; padding: 12px 26px; text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px rgba(255,98,0,.25); transition: filter .15s, transform .15s, box-shadow .15s; }
.btn-hero:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,98,0,.34); color: #fff; }

/* Booking */
.booking-page { padding: 40px 0; }
.booking-container { max-width: 620px; }
.booking-header { background: linear-gradient(135deg, var(--fk-blue), var(--fk-blue-2)); color: #fff; border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.booking-header h1 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.booking-package-name { font-size: 14px; opacity: .75; }
.booking-price { font-size: 24px; font-weight: 700; color: var(--gold); margin-top: 10px; }
.agent-code-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.agent-map-container { margin-top: 12px; }
.booking-submit { margin-top: 20px; }
.booking-show { max-width: 640px; margin: 40px auto; }
.booking-status-card { background: #fff; border-radius: 14px; padding: 32px; text-align: center; margin-bottom: 20px; border: 1.5px solid var(--gray-200); }
.booking-status-card h2 { font-size: 20px; font-weight: 700; margin-top: 12px; }
.booking-ref { font-size: 13px; color: var(--gray-600); margin-top: 6px; }
.booking-details-card { background: #fff; border: 1.5px solid var(--gray-200); border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.booking-detail-row { display: flex; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--gray-100); }
.booking-detail-row:last-child { border-bottom: none; }
.booking-detail-label { color: var(--gray-600); font-size: 13px; }
.booking-detail-value { font-weight: 600; font-size: 13px; }
.booking-no-agent { padding: 12px 20px; background: #fffbeb; border-top: 1px solid #fde68a; }
.voucher-available, .booking-pending-payment { background: #fff; border: 1.5px solid var(--gray-200); border-radius: 12px; padding: 24px; text-align: center; }
.voucher-actions { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }

/* Admin/Agent layouts */
.admin-layout, .agent-layout { display: flex; min-height: 100vh; }
.admin-sidebar, .agent-sidebar { width: var(--sidebar-w); background: var(--navy); color: #fff; flex-shrink: 0; display: flex; flex-direction: column; }
.admin-main, .agent-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.admin-content, .agent-content { flex: 1; padding: 28px 24px; overflow-y: auto; }
.admin-header, .agent-header { height: 60px; background: #fff; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; padding: 0 20px; gap: 12px; flex-shrink: 0; }
.sidebar-logo { padding: 20px 16px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
.sidebar-logo-text { font-size: 16px; font-weight: 700; }
.sidebar-nav { flex: 1; padding: 12px 8px; overflow-y: auto; }
.sidebar-section-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.35); padding: 12px 8px 4px; }
.sidebar-nav-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: rgba(255,255,255,.65); text-decoration: none; font-size: 13px; font-weight: 500; transition: background .12s, color .12s; margin-bottom: 2px; }
.sidebar-nav-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.sidebar-nav-item.active { background: var(--gold); color: #fff; font-weight: 700; }
.sidebar-nav-item i { font-size: 18px; }

/* Tables */
.table-wrapper { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { padding: 10px 16px; background: var(--gray-50); text-align: start; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--gray-200); }
.data-table td { padding: 10px 16px; border-bottom: 1px solid var(--gray-100); color: var(--gray-600); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--gray-50); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-green  { background: #dcfce7; color: #166534; }
.badge-yellow { background: #fef9c3; color: #854d0e; }
.badge-red    { background: #fee2e2; color: #991b1b; }
.badge-gray   { background: var(--gray-100); color: var(--gray-600); }
.badge-navy   { background: #dbeafe; color: #1e40af; }

/* Page header */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.page-header h1 { font-size: 22px; font-weight: 700; color: var(--navy); }

/* Stats grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 20px; }
.stat-card .stat-label { font-size: 12px; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.stat-card .stat-value { font-size: 28px; font-weight: 700; color: var(--navy); margin: 6px 0; }
.stat-card .stat-icon { font-size: 24px; color: var(--gold); }

/* Buttons & alerts used across admin/agent portals (were undefined) */
.btn-primary { display: inline-flex; align-items: center; gap: 6px; background: var(--cyan); color: #fff; padding: 10px 20px; border-radius: 8px; border: none; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; transition: filter .15s; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-green { display: inline-flex; align-items: center; gap: 4px; background: #16a34a; color: #fff; padding: 6px 14px; border-radius: 6px; border: none; font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-green:hover { filter: brightness(1.05); }
.btn-sm { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 12px; font-size: 12px; border-radius: 7px; font-weight: 600; cursor: pointer; text-decoration: none; border: none; font-family: inherit; }
.btn-red { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.btn-red:hover { background: #fecaca; }
.alert { border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; font-size: 13px; }
.alert-warning { background: #fef9c3; border: 1px solid #fde047; color: #854d0e; }
.alert-error { background: #fee2e2; border: 1px solid #fecaca; color: #991b1b; }
.alert-error ul { margin: 0; padding-inline-start: 18px; }

/* ── Agent portal — refreshed cyan scheme ── */
.agent-layout .agent-sidebar { background: linear-gradient(180deg, #0d3a66 0%, #001b38 100%); }
.agent-layout .sidebar-nav-item.active { background: var(--cyan); color: #fff; }
.agent-layout .sidebar-nav-item.active i { color: #fff; }
.agent-layout .stat-card { position: relative; border: 1px solid var(--gray-200); border-radius: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.05); padding: 18px 20px; overflow: hidden; }
.agent-layout .stat-card::before { content: ''; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px; background: var(--cyan); }
.agent-layout .stat-card .stat-value { font-size: 26px; color: var(--navy); }
.agent-layout .stat-card .stat-icon { position: absolute; top: 16px; inset-inline-end: 16px; width: 40px; height: 40px; border-radius: 11px; background: var(--light-cyan); color: var(--cyan-dark); display: flex; align-items: center; justify-content: center; font-size: 20px; margin: 0; }
.agent-layout .data-table th { background: var(--gray-50); color: var(--navy); }

/* ── Admin portal — same refreshed cyan scheme ── */
.admin-layout .admin-sidebar { background: linear-gradient(180deg, #0d3a66 0%, #001b38 100%); }
.admin-layout .sidebar-nav-item.active { background: var(--cyan); color: #fff; }
.admin-layout .sidebar-nav-item.active i { color: #fff; }
.admin-layout .stat-card { position: relative; border: 1px solid var(--gray-200); border-radius: 14px; box-shadow: 0 1px 4px rgba(0,0,0,.05); padding: 18px 20px; overflow: hidden; }
.admin-layout .stat-card::before { content: ''; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px; background: var(--cyan); }
.admin-layout .stat-card .stat-value { font-size: 26px; color: var(--navy); }
.admin-layout .stat-card .stat-icon { position: absolute; top: 16px; inset-inline-end: 16px; width: 40px; height: 40px; border-radius: 11px; background: var(--light-cyan); color: var(--cyan-dark); display: flex; align-items: center; justify-content: center; font-size: 20px; margin: 0; }
.admin-layout .data-table th { background: var(--gray-50); color: var(--navy); }

/* ── Message editor toolbar ── */
.msg-toolbar { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; background: var(--gray-50); border: 1px solid var(--gray-200); border-bottom: none; border-radius: 8px 8px 0 0; padding: 6px 8px; }
.msg-toolbar button { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--gray-200); border-radius: 6px; padding: 5px 9px; font-size: 13px; font-weight: 600; color: var(--gray-700); cursor: pointer; font-family: inherit; transition: background .12s, border-color .12s; }
.msg-toolbar button:hover { background: var(--light-cyan); border-color: var(--cyan); color: var(--cyan-dark); }
.msg-toolbar-sep { width: 1px; align-self: stretch; background: var(--gray-200); margin: 2px 4px; }
.msg-toolbar + textarea.form-input { border-radius: 0 0 8px 8px; }

/* ── Shareable QR card ── */
.qr-card { display: inline-block; }
.qr-card-box { display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; padding: 16px; width: 240px; text-align: center; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.qr-card-qr { width: 200px; height: 200px; }
.qr-card-qr svg { width: 100%; height: 100%; display: block; }
.qr-card-title { font-weight: 800; color: var(--navy); font-size: 14px; }
.qr-card-sub { font-size: 13px; color: var(--gray-600); }
.qr-card-code { font-size: 13px; color: var(--cyan-dark); }
.qr-card-caption { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.qr-card-actions { display: flex; gap: 8px; margin-top: 10px; }

/* ── Internal chat ── */
.chat-window { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; overflow: hidden; max-width: 900px; }
.chat-window-header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--gray-200); }
.chat-window-title { font-weight: 800; color: var(--navy); font-size: 15px; }
.chat-window-sub { font-size: 12px; color: var(--gray-400); }
.chat-messages { display: flex; flex-direction: column; gap: 10px; padding: 16px; height: 60vh; overflow-y: auto; background: var(--gray-50); }
.chat-empty { margin: auto; color: var(--gray-400); font-size: 13px; }
.chat-composer { padding: 12px 16px; border-top: 1px solid var(--gray-200); background: #fff; }
.chat-row { display: flex; }
.chat-row--self { justify-content: flex-end; }
.chat-row--other { justify-content: flex-start; }
.chat-bubble { max-width: 72%; padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: #fff; border: 1px solid var(--gray-200); color: var(--gray-800); }
.chat-row--self .chat-bubble { background: var(--fk-blue); color: #fff; border-color: var(--fk-blue); border-radius: 14px 14px 4px 14px; }
.chat-sender { font-size: 11px; font-weight: 700; color: var(--cyan-dark); margin-bottom: 2px; }
.chat-row--self .chat-sender { color: rgba(255,255,255,.7); }
.chat-text { font-size: 14px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.chat-time { font-size: 10px; opacity: .55; margin-top: 3px; text-align: end; }
.chat-list-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--gray-100); text-decoration: none; color: inherit; transition: background .12s; }
.chat-list-row:hover { background: var(--gray-50); }
.chat-list-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--light-cyan); color: var(--cyan-dark); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.chat-list-title { font-weight: 700; color: var(--navy); font-size: 14px; }
.chat-list-preview { font-size: 12.5px; color: var(--gray-400); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 420px; }
.chat-list-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.chat-list-time { font-size: 11px; color: var(--gray-400); }
.chat-standalone { background: var(--gray-50); min-height: 100vh; }
.chat-topbar { height: 56px; background: var(--navy); display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.chat-topbar .btn-outline-sm { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.chat-standalone-main { max-width: 900px; margin: 0 auto; padding: 24px 16px; }
.chat-fab { position: fixed; inset-inline-end: 20px; bottom: 20px; width: 54px; height: 54px; border-radius: 50%; background: var(--cyan); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 6px 20px rgba(11,73,156,.45); text-decoration: none; z-index: 900; }
.chat-fab-badge { position: absolute; top: -2px; inset-inline-end: -2px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 5px; }

/* Live notification toasts */
.toast-stack { position: fixed; top: 18px; inset-inline-end: 18px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; width: min(360px, calc(100vw - 36px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid #e2e8f0; border-inline-start: 4px solid var(--cyan, #06b6d4); border-radius: 12px; box-shadow: 0 10px 30px rgba(15,23,42,.16); padding: 12px 14px; cursor: pointer; animation: toast-in .25s ease; }
.toast--out { animation: toast-out .25s ease forwards; }
.toast-icon { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(6,182,212,.12); color: var(--cyan, #06b6d4); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.toast-body { flex: 1; min-width: 0; }
.toast-title { font-weight: 700; font-size: 14px; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast-text { font-size: 13px; color: #475569; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.toast-close { flex: 0 0 auto; background: none; border: 0; color: #94a3b8; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; }
.toast-close:hover { color: #475569; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(20px); } }

/* ===== Reports & analytics ===== */
.report-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.report-filter-presets { display: flex; flex-wrap: wrap; gap: 6px; }
.report-filter-custom { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.report-period-label { font-size: 13px; color: var(--gray-600); margin-bottom: 16px; }
.form-input-sm { padding: 5px 8px; font-size: 13px; border: 1px solid var(--gray-200); border-radius: 8px; }

.report-grid { display: grid; gap: 16px; margin-bottom: 16px; }
.report-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.report-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .report-grid.cols-2, .report-grid.cols-3 { grid-template-columns: 1fr; } }

.report-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; padding: 16px 18px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.report-card-title { font-weight: 700; color: var(--navy); font-size: 14px; margin-bottom: 12px; }
.chart-box { position: relative; width: 100%; }
.chart-box canvas { max-width: 100%; }
.report-empty { display: flex; align-items: center; justify-content: center; color: var(--gray-400); font-size: 14px; }

/* Breakdown share-bars */
.bk-bar-wrap { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.bk-bar { position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%); height: 18px; background: rgba(6,182,212,.15); border-radius: 4px; }
.bk-bar-val { position: relative; font-weight: 600; color: var(--navy); }
