:root {
  --bg: #020611;
  --fg: #f8fbff;
  --muted: #a9b7d0;
  --cyan: #37e7ff;
  --pink: #ff4fd8;
  --red: #ff355f;
  --purple: #8b5cf6;
  --border: rgba(255, 255, 255, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(55, 231, 255, 0.14), transparent 32rem),
    radial-gradient(circle at 84% 28%, rgba(255, 79, 216, 0.12), transparent 30rem),
    linear-gradient(135deg, #020611, #061126 48%, #020611);
  color: var(--fg);
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}
html[dir="rtl"] body { font-family: Cairo, Tahoma, Arial, sans-serif; text-align: right; }
a { color: inherit; text-decoration: none; }

.shell { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.glass {
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(22px);
}
.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.background { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
.blob { position: absolute; border-radius: 999px; filter: blur(34px); opacity: .65; animation: float 16s ease-in-out infinite; }
.blob-cyan { left: 8%; top: 12%; width: 18rem; height: 18rem; background: rgba(55,231,255,.3); }
.blob-pink { right: 10%; top: 18%; width: 20rem; height: 20rem; background: rgba(255,79,216,.24); animation-duration: 18s; }
.blob-red { left: 42%; bottom: 8%; width: 16rem; height: 16rem; background: rgba(255,53,95,.18); animation-duration: 20s; }
@keyframes float { 0%,100% { transform: translate(0) scale(1); } 50% { transform: translate(24px,-20px) scale(1.08); } }

.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 50; padding: 18px 0; }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-radius: 999px; padding: 12px 16px; }
.brand-link { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo-wrap { display: block; width: 160px; height: 48px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.05); }
.logo-wrap img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.brand-copy { display: block; line-height: 1.2; }
.brand-copy strong { display: block; font-size: 14px; }
.brand-copy small { display: block; color: rgba(255,255,255,.58); font-size: 12px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { border-radius: 999px; padding: 10px 14px; color: rgba(255,255,255,.78); font-size: 14px; transition: .25s; }
.nav-links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-links a.active { background: #fff !important; color: #061126 !important; }
.lang-switch { border: 1px solid rgba(255,255,255,.14); }
.menu-toggle { display: none; border: 1px solid rgba(255,255,255,.16); background: transparent; color: #fff; border-radius: 999px; width: 44px; height: 44px; }

.hero { position: relative; z-index: 1; min-height: 100vh; padding: 150px 0 70px; display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.eyebrow { display: inline-flex; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); border-radius: 999px; padding: 10px 16px; color: #baf4ff; font-size: 14px; font-weight: 700; }
.hero h1,
.page-hero h1 {
  margin: 28px 0 0;
  max-width: 980px;
  font-size: clamp(44px, 6.8vw, 92px);
  line-height: 1.16;
  letter-spacing: 0;
  background: linear-gradient(100deg, #fff, #bfeeff 35%, #ffb2ec 72%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 { font-size: clamp(52px, 7.2vw, 102px); line-height: 1.08; }
.hero h2 { margin: 24px 0 0; font-size: clamp(24px, 2.7vw, 36px); line-height: 1.35; font-weight: 500; }
.lead { max-width: 760px; color: rgba(255,255,255,.68); font-size: 18px; line-height: 1.95; }
html[dir="rtl"] .hero h1 { font-size: clamp(48px, 6.3vw, 88px); line-height: 1.18; }
html[dir="rtl"] .page-hero h1 { font-size: clamp(42px, 5.6vw, 78px); line-height: 1.28; }
html[dir="rtl"] .hero h2 { line-height: 1.55; }
html[dir="rtl"] .lead { line-height: 2.05; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; padding: 13px 24px; font-size: 14px; font-weight: 800; transition: .25s; }
.btn.primary { background: #fff; color: #061126; box-shadow: 0 0 40px rgba(55,231,255,.22); }
.btn.ghost { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.07); color: #fff; }
.hero-visual { min-height: 430px; border-radius: 32px; position: relative; overflow: hidden; }
.hero-visual-inner { position: absolute; inset: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: rgba(2,6,17,.42); display: grid; place-items: center; text-align: center; padding: 24px; }
.hero-logo { width: min(320px, 90%); height: auto; }

.section,
.page-hero { position: relative; z-index: 1; padding: 88px 0; }
.page-hero { padding-top: 170px; padding-bottom: 95px; }
.page-hero .lead { margin-top: 24px; max-width: 850px; }
.section-title { max-width: 780px; }
.section-title.center { margin: auto; text-align: center; }
.section-title p { margin: 0; color: #baf4ff; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .24em; }
.section-title h2 { margin: 16px 0 0; font-size: clamp(30px, 4vw, 52px); line-height: 1.22; }
.section-title span { display: block; margin-top: 18px; color: rgba(255,255,255,.68); line-height: 1.9; }
.section-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; }

.card-grid { display: grid; gap: 20px; margin-top: 38px; }
.card-grid.three,
.services-grid,
.projects-grid,
.industries-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card,
.service-card,
.project-card,
.industry-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  backdrop-filter: blur(18px);
  padding: 30px;
  transition: .3s;
}
.card:hover,
.service-card:hover,
.project-card:hover,
.industry-card:hover { transform: translateY(-5px); border-color: rgba(55,231,255,.45); box-shadow: 0 20px 55px rgba(0,0,0,.24); }
.premium-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin-bottom: 26px;
  background: linear-gradient(145deg, #fff, #c8f6ff);
  color: #061126;
  box-shadow: 0 14px 34px rgba(55,231,255,.18), inset 0 1px 0 rgba(255,255,255,.75);
}
.premium-icon:after { content: ""; position: absolute; inset: -8px; border-radius: 24px; background: radial-gradient(circle, rgba(55,231,255,.2), transparent 62%); z-index: -1; }
.premium-icon svg { width: 26px; height: 26px; }
.service-card .premium-icon,
.project-card .premium-icon,
.industry-card .premium-icon { background: rgba(255,255,255,.1); color: #baf4ff; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 12px 34px rgba(55,231,255,.1); }
.card h3,
.service-card h3,
.project-card h3,
.industry-card h3 { margin: 0 0 14px; font-size: 23px; line-height: 1.45; }
.service-card h3,
.project-card h3,
.industry-card h3 { margin-top: 14px; }
.card p,
.service-card p,
.project-card p,
.industry-card p { color: rgba(255,255,255,.66); line-height: 1.9; }
.service-card span,
.project-top span { color: #baf4ff; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.project-card:before { content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 999px; background: rgba(55,231,255,.18); filter: blur(34px); }
.project-card.accent-pink:before { background: rgba(255,79,216,.18); }
.project-card.accent-purple:before { background: rgba(139,92,246,.18); }
.project-card.accent-red:before { background: rgba(255,53,95,.18); }
.project-top { position: relative; display: flex; justify-content: space-between; gap: 12px; }
.project-card small { position: relative; color: rgba(255,255,255,.48); font-weight: 700; }
.chips { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { border-radius: 999px; background: rgba(255,255,255,.08); padding: 7px 10px; color: rgba(255,255,255,.66); font-size: 12px; font-weight: 700; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.check-list { display: grid; gap: 14px; }
.check-list div { padding: 18px; border-radius: 18px; }
.process-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 28px; }
.form-grid { display: grid; gap: 14px; }
.form-grid input,
.form-grid textarea,
.admin-input { width: 100%; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.08); color: #fff; border-radius: 16px; padding: 15px; font: inherit; }
.form-grid textarea { min-height: 150px; resize: vertical; }
.empty { margin-top: 34px; padding: 28px; color: rgba(255,255,255,.68); border-radius: 24px; }

.site-footer { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.1); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 36px; }
.footer-logo { width: 230px; height: auto; display: block; }
.site-footer p,
.site-footer a { display: block; color: rgba(255,255,255,.62); line-height: 1.8; }
.site-footer h3 { color: #baf4ff; font-size: 13px; text-transform: uppercase; letter-spacing: .2em; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding-top: 20px; color: rgba(255,255,255,.45); font-size: 14px; }
.reveal { opacity: 0; transform: translateY(22px); transition: .7s; }
.reveal.show { opacity: 1; transform: none; }

.admin-main { position: relative; z-index: 1; min-height: 100vh; padding: 50px 0; }
.admin-card { border-radius: 28px; padding: 26px; margin-bottom: 20px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.admin-label { display: grid; gap: 8px; color: rgba(255,255,255,.62); font-size: 13px; }
.danger { border: 1px solid rgba(255,80,95,.35); color: #ffd5dc; background: transparent; }
.status { display: inline-flex; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 9px 14px; color: rgba(255,255,255,.64); }

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid.three,
  .services-grid,
  .projects-grid,
  .industries-grid,
  .process-grid { grid-template-columns: 1fr 1fr; }
  .brand-copy { display: none; }
  .nav-links { display: none; position: absolute; left: 16px; right: 16px; top: 82px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: rgba(2,6,17,.94); padding: 12px; flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .admin-grid { grid-template-columns: 1fr; }
  .page-hero h1,
  html[dir="rtl"] .page-hero h1 { font-size: clamp(38px, 9vw, 68px); line-height: 1.25; }
}

@media (max-width: 640px) {
  .card-grid.three,
  .services-grid,
  .projects-grid,
  .industries-grid,
  .process-grid { grid-template-columns: 1fr; }
  .hero h1,
  html[dir="rtl"] .hero h1 { font-size: 48px; line-height: 1.18; }
  .page-hero h1,
  html[dir="rtl"] .page-hero h1 { font-size: 40px; line-height: 1.32; }
  .section-row { align-items: start; flex-direction: column; }
  .logo-wrap { width: 132px; }
  .nav-shell { border-radius: 24px; }
  .page-hero { padding-top: 135px; }
  .premium-icon { width: 50px; height: 50px; }
}
