/* Uses the operating system's native font stack instead of an external
   Google Fonts request — loads faster and still keeps a clean, modern look
   close to Inter on every platform. */

:root {
  --navy: #071426;
  --navy-2: #0b1a30;
  --panel: #0e2038;
  --blue: #138fbd;
  --cyan: #72e8ed;
  --text: #eef5ff;
  --muted: #9eafc4;
  --line: rgba(151, 188, 226, .14);
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 48px)); margin: auto; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,20,38,.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 88px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 500; white-space: nowrap; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand b { font-weight: 800; }
nav { display: flex; gap: 27px; margin-inline-start: auto; }
nav a { color: #afbdd0; font-size: 13px; font-weight: 600; transition: .25s; }
nav a:hover { color: var(--cyan); }
.nav-cta {
  border: 1px solid rgba(114,232,237,.4); padding: 10px 17px; border-radius: 8px;
  color: var(--cyan); font-size: 13px; font-weight: 700;
}
.lang-toggle {
  border: 1px solid var(--line); background: rgba(255,255,255,.03); cursor: pointer;
  padding: 9px 15px; border-radius: 8px; color: #c7d5e7; font-size: 12px; font-weight: 700;
  font-family: inherit; transition: .25s;
}
.lang-toggle:hover { border-color: rgba(114,232,237,.4); color: var(--cyan); }
.menu-btn { display: none; background: none; border: 0; color: white; font-size: 27px; margin-inline-start: auto; }

.hero { position: relative; min-height: 720px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 70px 70px; mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 0 0, rgba(200,245,255,.95) 0, rgba(200,245,255,.7) 1px, transparent 2.5px),
    radial-gradient(circle at 0 0, rgba(114,232,237,.4) 0, transparent 7px);
  background-size: 70px 70px, 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  animation: gridTwinkle 3.4s ease-in-out infinite, gridSnake 8s linear infinite;
}
@keyframes gridTwinkle {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}
@keyframes gridSnake {
  0%   { background-position: 0px 0px,     0px 0px; }
  25%  { background-position: 70px 0px,    70px 0px; }
  50%  { background-position: 70px 70px,   70px 70px; }
  75%  { background-position: 140px 70px,  140px 70px; }
  100% { background-position: 140px 140px, 140px 140px; }
}
.hero-glow { position: absolute; width: 450px; height: 450px; border-radius: 50%; filter: blur(100px); opacity: .18; }
.glow-one { background: #0d8fbd; right: 5%; top: 5%; }
.glow-two { background: #163e8a; left: 2%; bottom: -20%; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.eyebrow, .section-label { color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: 2.2px; }
.eyebrow { display: flex; flex-wrap: nowrap; align-items: center; gap: 9px; margin-bottom: 22px; }
.eyebrow span:first-child { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 15px var(--cyan); }
.eyebrow-text { white-space: nowrap; }
h1 { font-size: clamp(48px, 6vw, 76px); line-height: 1.03; letter-spacing: -3px; max-width: 650px; }
h1 strong, h2 span { background: linear-gradient(90deg, #19a9d0, #7ceef0); -webkit-background-clip: text; color: transparent; }
.hero-copy > p { color: var(--muted); font-size: 16px; max-width: 610px; margin: 25px 0 31px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 17px; padding: 14px 20px; border-radius: 8px; font-size: 13px; font-weight: 800; transition: .25s; color: white; }
.btn.primary { background: linear-gradient(100deg, #087fb0, #22bad1); box-shadow: 0 10px 30px rgba(13,157,195,.2); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 15px 35px rgba(13,157,195,.3); }
.btn.secondary { border: 1px solid var(--line); color: #c7d5e7; }
.btn.secondary:hover { border-color: rgba(114,232,237,.4); color: white; }
.hero-stats { display: flex; gap: 30px; margin-top: 55px; }
.hero-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { color: var(--cyan); font-size: 12px; }
.hero-stats span { color: #8093aa; font-size: 11px; }

.dashboard-card {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, rgba(22,46,76,.93), rgba(8,23,42,.96));
  border: 1px solid rgba(130,184,220,.18); border-radius: 20px; padding: 26px;
  box-shadow: 0 35px 90px rgba(0,0,0,.28); transform: rotate(1deg);
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
  cursor: pointer;
}
.dashboard-card::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.16) 45%, rgba(114,232,237,.4) 55%, transparent);
  transform: skewX(-18deg); pointer-events: none; opacity: 0;
}
.dashboard-card:hover::before,
.dashboard-card:active::before,
.dashboard-card:focus-visible::before {
  animation: cardShine 1.15s ease-in-out;
}
@keyframes cardShine {
  0%   { left: -60%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 130%; opacity: 0; }
}
.dashboard-card:hover,
.dashboard-card:active,
.dashboard-card:focus-visible {
  transform: rotate(0deg) translateY(-8px) scale(1.015);
  border-color: rgba(114,232,237,.55);
  animation: dashboardNeon 1.8s ease-in-out infinite;
}
@keyframes dashboardNeon {
  0%, 100% {
    box-shadow: 0 35px 90px rgba(0,0,0,.28), 0 0 20px rgba(114,232,237,.25),
      0 0 45px rgba(19,143,189,.18), inset 0 0 20px rgba(114,232,237,.05);
  }
  50% {
    box-shadow: 0 35px 90px rgba(0,0,0,.28), 0 0 32px rgba(114,232,237,.5),
      0 0 70px rgba(19,143,189,.35), inset 0 0 28px rgba(114,232,237,.1);
  }
}
.dashboard-top { display: flex; justify-content: space-between; align-items: start; padding-bottom: 23px; border-bottom: 1px solid var(--line); }
.dashboard-top small { color: #6e89a6; font-size: 9px; letter-spacing: 2px; }
.dashboard-top h3 { margin-top: 5px; font-size: 20px; }
.status { font-size: 10px; color: #7ee9c2; background: rgba(54,193,145,.08); padding: 6px 9px; border-radius: 20px; }
.dashboard-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.metric { padding: 15px; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 10px; }
.metric span, .metric small { display: block; color: #8197b0; font-size: 10px; }
.metric strong { display: block; margin: 3px 0; font-size: 24px; }
.metric small { color: #4ec7a2; }
.stock { border-top: 1px solid var(--line); padding-top: 18px; }
.stock-heading { display: flex; justify-content: space-between; color: #667f9b; font-size: 10px; margin-bottom: 10px; }
.stock-row { display: grid; grid-template-columns: 1fr auto 75px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 11px; }
.stock-row b { font-size: 12px; }
.stock-row i { height: 5px; border-radius: 5px; background: linear-gradient(90deg, #1aacc9 75%, rgba(255,255,255,.08) 75%); }
.stock-row i.medium { background: linear-gradient(90deg, #3dabc2 55%, rgba(255,255,255,.08) 55%); }
.stock-row i.low { background: linear-gradient(90deg, #e2ad65 28%, rgba(255,255,255,.08) 28%); }
.invoice-preview { display: flex; justify-content: space-between; align-items: center; margin-top: 17px; padding: 13px; background: rgba(0,0,0,.14); border-radius: 9px; font-size: 10px; color: #8197b0; }
.invoice-preview strong { color: #dce9f7; font-size: 11px; }
.invoice-preview em { color: #69dfbd; font-style: normal; }

.section { padding: 115px 0; }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
h2 { font-size: clamp(35px, 4vw, 52px); line-height: 1.1; letter-spacing: -1.8px; margin-top: 16px; }
.about-text { color: var(--muted); font-size: 14px; max-width: 600px; }
.about-text p + p { margin-top: 17px; }

.features { background: #08172a; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.section-heading > p { max-width: 390px; color: var(--muted); font-size: 13px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { min-height: 265px; padding: 28px; border: 1px solid var(--line); background: rgba(255,255,255,.018); border-radius: 13px; transition: .3s; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(114,232,237,.28); background: rgba(255,255,255,.03); }
.icon {
  width: 48px; height: 48px; border: 1px solid rgba(114,232,237,.3); background: rgba(114,232,237,.06);
  border-radius: 10px; display: grid; place-items: center; color: #fff; margin-bottom: 23px;
}
.icon svg { width: 24px; height: 24px; display: block; }
.feature-card h3 { font-size: 21px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14px; }
.feature-tag { color: #7a93ac; font-size: 12px; margin-top: 24px; }

.services { background: #071426; }
.centered { display: block; text-align: center; max-width: 720px; margin: 0 auto 55px; }
.centered p { margin: 18px auto 0; color: var(--muted); font-size: 13px; }
.service-list { max-width: 900px; margin: auto; border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 27px 8px; border-bottom: 1px solid var(--line); align-items: start; transition: .2s; }
.service:hover { padding-left: 18px; }
.service > span { color: #41627f; font-size: 12px; font-weight: 800; }
.service h3 { font-size: 18px; margin-bottom: 4px; }
.service p { color: var(--muted); font-size: 12px; }

.workflow { background: #08172a; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 55px; }
.step { position: relative; }
.step > b { color: var(--cyan); font-size: 13px; }
.step-line { height: 1px; background: linear-gradient(90deg, rgba(114,232,237,.45), transparent); margin: 15px 0 23px; }
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 11px; max-width: 210px; }

.industries { padding: 75px 0; }
.industry-box { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding: 50px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(130deg, rgba(17,43,71,.7), rgba(7,20,38,.7)); }
.industry-tags { display: flex; flex-wrap: wrap; gap: 9px; align-content: center; }
.industry-tags span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 7px; color: #a9bdd4; font-size: 11px; }

.cta { padding-top: 70px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 58px; border-radius: 18px; background: linear-gradient(120deg, #0d2d48, #092238); border: 1px solid rgba(114,232,237,.2); }
.cta-box h2 { font-size: 38px; }
.cta-box p { color: var(--muted); font-size: 13px; margin-top: 12px; }
.cta-text { flex: 1; min-width: 260px; }
.contact-alt { margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; }
.contact-alt a { color: var(--cyan); font-size: 13px; font-weight: 700; }
.contact-alt a:hover { text-decoration: underline; }

.contact-form { flex: 1; width: 100%; min-width: 260px; max-width: 380px; display: flex; flex-direction: column; gap: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: var(--text); font-family: inherit; font-size: 13px; resize: vertical;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #7488a0; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: rgba(114,232,237,.5); }
.contact-form .btn { border: none; cursor: pointer; justify-content: center; }

footer { margin-top: 80px; border-top: 1px solid var(--line); padding: 25px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; flex-wrap: wrap; }
.footer-inner p, .footer-links a, .footer-social a { color: #60748d; font-size: 10px; }
.footer-links { display: flex; gap: 18px; }
.footer-social { display: flex; gap: 18px; }
.footer-social a:hover, .footer-links a:hover { color: var(--cyan); }

/* Arabic / RTL support */
html[dir="rtl"] body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .section-label {
  letter-spacing: 0;
}
html[dir="rtl"] .btn { gap: 10px; }

@media (max-width: 900px) {
  nav { gap: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; padding: 80px 0; }
  .hero { min-height: auto; }
  .dashboard-card { max-width: 650px; width: 100%; margin: auto; }
  .two-col { grid-template-columns: 1fr; gap: 35px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2,1fr); row-gap: 40px; }
}
@media (max-width: 680px) {
  .container { width: min(var(--max), calc(100% - 30px)); }
  nav { display: none; position: absolute; top: 78px; left: 15px; right: 15px; flex-direction: column; background: #0a1a2d; padding: 20px; border: 1px solid var(--line); border-radius: 10px; }
  nav.open { display: flex; }
  .menu-btn { display: block; }
  .nav-cta { display: none; }
  h1 { font-size: 48px; letter-spacing: -2px; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .section { padding: 80px 0; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .industry-box { grid-template-columns: 1fr; padding: 30px; gap: 30px; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 35px 28px; }
  .cta-box h2 { font-size: 31px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
