:root{
  --bg:#0b1220;
  --bg2:#0f1b33;
  --card:#0e1730cc;
  --text:#e8eefc;
  --muted:#b9c4e1;
  --line:#223055;
  --accent:#4da3ff;
  --accent2:#7c5cff;
  --shadow: 0 14px 40px rgba(0,0,0,.35);
  --radius: 18px;
  --radius2: 14px;
}

/* Light mode */
:root[data-theme="light"]{
  --bg:#f6f8ff;
  --bg2:#ffffff;
  --card:#ffffffcc;
  --text:#0b1220;
  --muted:#445277;
  --line:#d7def1;
  --accent:#1f7aff;
  --accent2:#6a4dff;
  --shadow: 0 12px 30px rgba(9,20,40,.12);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: "Cairo","IBM Plex Sans Arabic",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 500px at 20% 10%, rgba(77,163,255,.18), transparent 60%),
    radial-gradient(900px 420px at 80% 0%, rgba(124,92,255,.14), transparent 62%),
    linear-gradient(180deg, #070b14, var(--bg) 28%, #070b14);
}
:root[data-theme="light"] body{
  background:
    radial-gradient(1100px 500px at 20% 10%, rgba(31,122,255,.14), transparent 60%),
    radial-gradient(900px 420px at 80% 0%, rgba(106,77,255,.12), transparent 62%),
    linear-gradient(180deg, #ffffff, var(--bg) 28%, #ffffff);
}

.container{
  width:min(1120px, 92vw);
  margin-inline:auto;
}

a{color:inherit; text-decoration:none}
.link{opacity:.95}
.link:hover{opacity:1; text-decoration:underline}

.topnotice{
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}
:root[data-theme="light"] .topnotice{
  background: rgba(0,0,0,.03);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.topnotice__inner{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  padding:10px 0;
  color: var(--muted);
  font-size:14px;
}
.sep{opacity:.55}

.header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(11,18,32,.65);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
}
:root[data-theme="light"] .header{
  background: rgba(255,255,255,.75);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 240px;
}
.brand__logo{
  width:42px; height:42px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  object-fit:contain;
}
:root[data-theme="light"] .brand__logo{
  border:1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.02);
}
.brand__name{
  font-weight:800;
  letter-spacing:.2px;
  font-size:18px;
}
.brand__tag{
  color:var(--muted);
  font-size:12.5px;
  margin-top:2px;
}

.nav{display:flex; align-items:center; gap:12px}
.nav__menu{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav__menu a{
  color: var(--muted);
  font-weight:600;
  font-size:14.5px;
  padding:8px 8px;
  border-radius: 10px;
}
.nav__menu a:hover{color:var(--text); background: rgba(255,255,255,.06)}
:root[data-theme="light"] .nav__menu a:hover{background: rgba(0,0,0,.05)}

.nav__toggle{
  display:none;
  width:44px; height:40px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  cursor:pointer;
}
:root[data-theme="light"] .nav__toggle{
  border:1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.03);
}
.nav__toggle span{
  display:block;
  height:2px;
  margin:6px 10px;
  background: rgba(255,255,255,.85);
  border-radius: 3px;
}
:root[data-theme="light"] .nav__toggle span{background: rgba(0,0,0,.75)}

.themebtn{
  width:44px; height:40px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: var(--text);
  font-weight:900;
}
:root[data-theme="light"] .themebtn{
  border:1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.03);
}
.themebtn:hover{transform: translateY(-1px)}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#081022;
  font-weight:800;
  border:none;
  box-shadow: 0 10px 30px rgba(77,163,255,.22);
  transition: transform .18s ease, filter .18s ease;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0px)}
.btn--ghost{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color: var(--text);
  box-shadow:none;
}
:root[data-theme="light"] .btn--ghost{
  background: rgba(0,0,0,.03);
  border:1px solid rgba(0,0,0,.10);
}
.btn--small{padding:10px 12px; font-size:14px}

.hero{
  position:relative;
  min-height: 72vh;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero__bg{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.05);
}
.hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(7,11,20,.86), rgba(7,11,20,.62), rgba(7,11,20,.72));
}
:root[data-theme="light"] .hero__overlay{
  background: linear-gradient(90deg, rgba(255,255,255,.82), rgba(255,255,255,.55), rgba(255,255,255,.65));
}
.hero__inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:22px;
  align-items:start;
  padding:46px 0;
}
.badge{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  color: var(--muted);
  font-weight:700;
  font-size:13px;
}
:root[data-theme="light"] .badge{
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
}
.hero h1{
  margin:14px 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.2;
  letter-spacing: .2px;
}
.hero p{
  margin:0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  max-width: 62ch;
}
.hero__actions{display:flex; gap:12px; flex-wrap:wrap}
.hero__stats{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}
.stat{
  flex: 1 1 140px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  padding:14px;
}
:root[data-theme="light"] .stat{
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
}
.stat__num{font-weight:900; font-size:20px}
.stat__lbl{color:var(--muted); font-size:12.5px; margin-top:4px}

.hero__card{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(14,23,48,.72);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
:root[data-theme="light"] .hero__card{
  background: rgba(255,255,255,.78);
  border:1px solid rgba(0,0,0,.10);
}
.hero__cardTitle{font-weight:900; font-size:16px; margin-bottom:10px}
.checklist{
  margin:0;
  padding:0 18px 0 0;
  color: var(--muted);
  line-height:1.85;
}
.checklist li{margin:10px 0}
.hero__cardFooter{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.mini{
  display:inline-flex;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight:700;
  font-size:13px;
}
:root[data-theme="light"] .mini{
  border:1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
}

.section{padding:72px 0}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
:root[data-theme="light"] .section--alt{
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.00));
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.section__head{margin-bottom:22px}
.section__head h2{
  margin:0 0 8px;
  font-size: 26px;
  letter-spacing:.2px;
}
.section__head p{
  margin:0;
  color: var(--muted);
  line-height:1.8;
}

.grid{display:grid; gap:14px}
.grid--2{grid-template-columns: repeat(2, minmax(0,1fr))}
.grid--3{grid-template-columns: repeat(3, minmax(0,1fr))}

.card{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
}
:root[data-theme="light"] .card{
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.60);
}
.card h3{margin:0 0 8px; font-size:18px}
.card p{margin:0; color:var(--muted); line-height:1.85}
.card--tight p{margin-top:8px}
.pill{
  margin-top:12px;
  display:inline-flex;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-size:12px;
  font-weight:700;
}
:root[data-theme="light"] .pill{
  border:1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
}

.features{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}
.feature{
  display:flex; gap:12px;
  align-items:flex-start;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:16px;
}
:root[data-theme="light"] .feature{
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
}
.feature__icon{
  width:42px; height:42px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(77,163,255,.15);
  border:1px solid rgba(77,163,255,.25);
}
.feature__title{font-weight:900}
.feature__desc{color:var(--muted); margin-top:4px; line-height:1.7; font-size:13.5px}

.divider{
  height:1px;
  background: rgba(255,255,255,.08);
  margin:22px 0;
}
:root[data-theme="light"] .divider{background: rgba(0,0,0,.08)}

.specs{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:stretch;
}
.specs__left{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:18px;
}
:root[data-theme="light"] .specs__left{
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
}
.specs__left h3{margin:0 0 8px}
.specs__left p{margin:0 0 14px; color:var(--muted); line-height:1.85}

.specs__right{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:18px;
  display:grid;
  gap:10px;
}
:root[data-theme="light"] .specs__right{
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
}
.spec{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
:root[data-theme="light"] .spec{
  background: rgba(0,0,0,.02);
  border:1px solid rgba(0,0,0,.08);
}
.spec__k{color:var(--muted); font-weight:700}
.spec__v{font-weight:900}

.gallery{
  display:flex;
  gap:10px;
  align-items:center;
}
.gallery__viewport{
  overflow:hidden;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  flex: 1;
}
:root[data-theme="light"] .gallery__viewport{
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
}
.gallery__track{
  display:flex;
  transition: transform .45s ease;
}
.shot{
  min-width: 100%;
  margin:0;
}
.shot img{
  width:100%;
  height: 420px;
  object-fit:cover;
  display:block;
}
.gallery__nav{
  width:44px; height:44px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-size:28px;
  cursor:pointer;
}
:root[data-theme="light"] .gallery__nav{
  border:1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.03);
}
.gallery__nav:hover{background: rgba(255,255,255,.08)}
:root[data-theme="light"] .gallery__nav:hover{background: rgba(0,0,0,.05)}
.gallery__dots{
  display:flex;
  gap:8px;
  justify-content:center;
  margin-top:12px;
}
.dot{
  width:10px; height:10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.10);
  cursor:pointer;
}
:root[data-theme="light"] .dot{
  border:1px solid rgba(0,0,0,.20);
  background: rgba(0,0,0,.08);
}
.dot.is-active{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
}

.product{
  overflow:hidden;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
:root[data-theme="light"] .product{
  border:1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.55);
}
.product img{
  width:100%;
  height: 210px;
  object-fit:cover;
  display:block;
}
.product__body{padding:14px}
.product__title{font-weight:900}
.product__desc{color:var(--muted); margin-top:6px; line-height:1.75; font-size:13.5px}

.contactlist{display:grid; gap:10px; margin-top:10px}
.contactitem{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:12px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
:root[data-theme="light"] .contactitem{
  background: rgba(0,0,0,.02);
  border:1px solid rgba(0,0,0,.08);
}
.contactitem__k{color:var(--muted); font-weight:800}
.contactitem__v{font-weight:900}
.note{
  margin-top:10px;
  color: var(--muted);
  font-size:13px;
  line-height:1.8;
}

.form label{display:block; margin:10px 0}
.form span{display:block; margin-bottom:6px; color:var(--muted); font-weight:700}
input, textarea{
  width:100%;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding:12px 12px;
  color: var(--text);
  outline:none;
  font-family: inherit;
}
:root[data-theme="light"] input,
:root[data-theme="light"] textarea{
  border:1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.70);
}
input:focus, textarea:focus{
  border-color: rgba(77,163,255,.55);
  box-shadow: 0 0 0 4px rgba(77,163,255,.12);
}
.form__actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.form__hint{color:var(--muted); font-size:12.5px; line-height:1.7; margin:12px 0 0}

.footer{
  margin-top:18px;
  padding-top:18px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
:root[data-theme="light"] .footer{border-top: 1px solid rgba(0,0,0,.08)}
.footer__links{display:flex; gap:10px; align-items:center}
.footer__links a:hover{text-decoration:underline; color:var(--text)}

.wa{
  position:fixed;
  bottom:18px;
  left:18px;
  z-index:60;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
:root[data-theme="light"] .wa{
  background: rgba(0,0,0,.04);
  border:1px solid rgba(0,0,0,.12);
}
.wa:hover{background: rgba(255,255,255,.12)}
:root[data-theme="light"] .wa:hover{background: rgba(0,0,0,.06)}
.wa span{font-weight:900}

/* Reveal animations */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{transition:none; transform:none}
  .btn, .themebtn{transition:none}
}

/* Responsive */
@media (max-width: 980px){
  .hero__inner{grid-template-columns:1fr; padding:36px 0}
  .features{grid-template-columns:1fr}
  .specs{grid-template-columns:1fr}
  .grid--3{grid-template-columns:1fr}
  .grid--2{grid-template-columns:1fr}
  .shot img{height: 320px}
  .brand{min-width:auto}
  .nav__toggle{display:inline-block}
  .nav__menu{
    position:absolute;
    top: 64px;
    inset-inline: 4vw;
    display:none;
    flex-direction:column;
    gap:10px;
    padding:12px;
    border-radius: 16px;
    border:1px solid rgba(255,255,255,.12);
    background: rgba(11,18,32,.92);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
  }
  :root[data-theme="light"] .nav__menu{
    border:1px solid rgba(0,0,0,.12);
    background: rgba(255,255,255,.92);
  }
  .nav__menu.is-open{display:flex}
  .nav__menu a{width:100%}
  /* ===== Modal ===== */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:100;
}
.modal.is-open{display:block}

.modal__overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}

.modal__card{
  position:relative;
  max-width: 420px;
  margin: 18vh auto;
  background: rgba(14,23,48,.95);
  border:1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding:18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  animation: pop .25s ease;
}

@keyframes pop{
  from{transform: translateY(10px) scale(.98); opacity:0}
  to{transform:none; opacity:1}
}

.modal__card h3{
  margin:0 0 6px;
  font-size:18px;
}
.modal__card p{
  margin:0 0 14px;
  color: var(--muted);
}

.modal__actions{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}

.modal__close{
  position:absolute;
  top:10px;
  inset-inline-end:10px;
  width:36px; height:36px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--text);
  cursor:pointer;
}
.modal__close:hover{background: rgba(255,255,255,.1)}

}
