:root{
  --bg:#0b0f14;
  --muted:#9aa4b2;
  --accent:#e11d2e;
  --line: rgba(255,255,255,.10);
}
*{font-family:"Cairo",system-ui,-apple-system,Segoe UI,Arial,sans-serif;}
body{background:#fff;color:#111}

/* Topbar */
.topbar{background:#0b0f14;color:#d7dde6;}
.toplink{color:#d7dde6;text-decoration:none}
.toplink:hover{color:#fff}

/* Navbar */
.navbar{
  background: linear-gradient(180deg, rgba(11,15,20,.92), rgba(11,15,20,.82));
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}
.navbar .nav-link{color:#d7dde6 !important; font-weight:800}
.navbar .nav-link:hover{color:#fff !important;}
.navbar-brand{color:#fff !important;}
.brand-logo{width:44px;height:44px;object-fit:contain;border-radius:12px;background:#fff;padding:6px}
.brand-title{font-weight:900; line-height:1}
.brand-subtitle{font-size:.85rem; color:#cbd5e1}
.navbar-toggler{border-color:rgba(255,255,255,.18)}
.navbar-toggler-icon{filter: invert(1)}

/* Hero */
.hero{
  position:relative;
  background:
    radial-gradient(1100px 520px at 18% 12%, rgba(225,29,46,.28), transparent 60%),
    radial-gradient(900px 520px at 80% 22%, rgba(255,255,255,.11), transparent 58%),
    linear-gradient(180deg, #0b0f14, #0a1017);
  color:#fff;
  padding: 92px 0 0;
  overflow:hidden;
}
.hero-overlay{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity:.22;
}

/* floating shapes */
.shape{
  position:absolute;
  border-radius:999px;
  filter: blur(.2px);
  opacity:.9;
  animation: floaty 8s ease-in-out infinite;
}
.shape-1{width:180px;height:180px;left:-40px;top:120px;background:rgba(225,29,46,.22); border:1px solid rgba(225,29,46,.22)}
.shape-2{width:120px;height:120px;right:60px;top:110px;background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.12); animation-duration:10s}
.shape-3{width:240px;height:240px;right:-90px;bottom:180px;background:rgba(225,29,46,.16); border:1px solid rgba(225,29,46,.18); animation-duration:12s}
.shape-4{width:90px;height:90px;left:80px;bottom:240px;background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); animation-duration:9s}

@keyframes floaty{
  0%,100%{transform: translateY(0)}
  50%{transform: translateY(-16px)}
}

.hero-badge{
  display:inline-flex; align-items:center; gap:.35rem;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  padding:.45rem .85rem;
  border-radius:999px;
}
.hero-title{font-size:clamp(2.2rem, 3.3vw, 3.2rem); font-weight:900; line-height:1.15}
.hero-lead{color:#d7dde6; font-size:1.06rem; margin-top:.9rem; max-width: 54ch}
.text-accent{color:var(--accent);}
.hero-actions{margin-bottom: 6px}

/* Hero card */
.hero-card{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 25px 60px rgba(0,0,0,.25);
}
.hero-card-head{padding:6px 4px}
.dot{width:10px;height:10px;border-radius:999px;background:var(--accent); box-shadow:0 0 0 6px rgba(225,29,46,.18)}
.hero-card .form-control,
.hero-card .form-select{
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  color:#fff;
}
.hero-card .form-control::placeholder{color:rgba(255,255,255,.55)}
.hero-card .form-label{color:#e5e7eb; font-weight:800}

/* Hero stats */
.hero-stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:10px;
}
.stat{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:10px 12px;
}
.stat-num{font-weight:900; font-size:1.25rem}
.stat-label{color:#d7dde6; font-size:.92rem}

/* wave */
.hero-divider{
  margin-top: 44px;
}
.hero-divider svg{width:100%; height: 96px; display:block}
.hero-divider path{fill:#ffffff}

/* Mini strip */
.mini-strip{background:#fff; padding:18px 0; border-bottom:1px solid #eef2f7}
.mini-pill{
  background:#0b0f14; color:#fff;
  border-radius:999px;
  padding:10px 12px;
  font-weight:900;
}
.mini-pill i{color:var(--accent)}

/* Sections */
.section{padding:76px 0}
.section-alt{background:#f6f7fb}
.kicker{
  display:inline-flex; align-items:center; gap:.35rem;
  color:var(--accent);
  font-weight:900;
  letter-spacing:.2px;
}
.section-h{font-weight:900; margin-top:10px}
.section-p{color:#475569; max-width: 72ch}

/* About */
.features-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
}
.feature{
  display:flex; gap:10px; align-items:flex-start;
  background:#fff; border:1px solid #eef2f7;
  padding:14px; border-radius:16px;
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
}
.feature i{color:var(--accent); font-size:1.1rem; margin-top:2px}
.feature h6{margin:0; font-weight:900}
.feature p{margin:.2rem 0 0; color:#64748b; font-size:.92rem}

.about-card{
  background: linear-gradient(180deg, #111827, #0b0f14);
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  padding:18px;
  box-shadow: 0 25px 60px rgba(0,0,0,.22);
}
.about-card-inner{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:10px;
}
.about-metric{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  padding:12px;
  text-align:center;
}
.metric-num{font-weight:900; font-size:1.4rem}
.metric-label{color:#cbd5e1; font-size:.92rem}
.about-note{
  background: rgba(225,29,46,.10);
  border:1px solid rgba(225,29,46,.20);
  padding:12px;
  border-radius:14px;
  color:#fee2e2;
}

/* Services */
.service-card{
  background:#fff;
  border:1px solid #eef2f7;
  border-radius:18px;
  padding:18px;
  height:100%;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover{transform: translateY(-3px); box-shadow: 0 18px 50px rgba(15,23,42,.10);}
.service-card .icon{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  background: rgba(225,29,46,.10);
  color:var(--accent);
  margin-bottom:10px;
  font-size:1.1rem;
}
.service-card h5{font-weight:900}
.service-card p{color:#64748b}

/* Portfolio */
.project-card{
  background:#fff;
  border:1px solid #eef2f7;
  border-radius:18px;
  padding:18px;
  height:100%;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}
.project-top{
  display:flex; align-items:center; gap:.5rem;
  color:var(--accent);
  font-weight:900;
  margin-bottom:8px;
}

/* CTA */
.cta{background:#fff;border:1px solid #eef2f7;border-radius:18px;padding:16px; box-shadow: 0 14px 34px rgba(15,23,42,.06);}
.cta-inner{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap}

/* Pricing */
.price-card{
  position:relative;
  background:#fff;border:1px solid #eef2f7;border-radius:18px;padding:18px;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
  height:100%;
}
.price-head{display:flex; align-items:end; justify-content:space-between; margin-bottom:14px}
.price-name{font-weight:900; font-size:1.15rem}
.price-val{font-weight:900; color:var(--accent)}
.price-featured{border:1px solid rgba(225,29,46,.28); box-shadow: 0 18px 58px rgba(225,29,46,.12)}
.badge-featured{
  position:absolute; top:14px; left:14px;
  background: var(--accent);
  color:#fff; padding:6px 10px; border-radius:999px;
  font-weight:900; font-size:.8rem;
}

/* FAQ */
.accordion-button{font-weight:800}
.accordion-button:not(.collapsed){color:#111; background: rgba(225,29,46,.08)}
.accordion-item{border:1px solid #eef2f7; border-radius:14px; overflow:hidden; margin-bottom:10px}

/* Contact */
.contact-card, .form-card{
  background:#fff;
  border:1px solid #eef2f7;
  border-radius:18px;
  padding:18px;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}
.contact-item{display:flex; gap:12px; padding:12px 0; border-bottom:1px dashed #e6ebf2}
.contact-item:last-child{border-bottom:0}
.contact-item i{color:var(--accent); font-size:1.1rem; margin-top:2px}
.social{display:flex; gap:8px}
.social-btn{
  width:42px;height:42px;border-radius:14px;
  display:grid;place-items:center;
  background:#0b0f14;color:#fff;text-decoration:none;
}
.social-btn:hover{opacity:.9}

/* Footer */
.footer{
  background:#0b0f14;color:#d7dde6;
  padding:22px 0;
  border-top:1px solid rgba(255,255,255,.08);
}
.footer-logo{width:40px;height:40px;object-fit:contain;border-radius:10px;background:#fff;padding:6px}

/* Back to top */
.backtop{
  position:fixed;
  left:16px;
  bottom:16px;
  width:44px;height:44px;
  border-radius:14px;
  border:0;
  display:none;
  place-items:center;
  background: var(--accent);
  color:#fff;
  box-shadow: 0 16px 40px rgba(225,29,46,.35);
  z-index: 999;
}
.backtop.show{display:grid}

/* Buttons */
.btn-primary{background: var(--accent) !important; border-color: var(--accent) !important;}
.btn-outline-light{border-color: rgba(255,255,255,.35) !important}

/* Responsive */
@media (max-width: 992px){
  .hero{padding-top:66px}
  .hero-stats{grid-template-columns:1fr;}
  .features-grid{grid-template-columns:1fr}
  .about-card-inner{grid-template-columns:1fr}
  .shape-3{display:none}
}

/* Products gallery (Our Work style) */
.work-filters{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;}
.filter-btn{
  border:1px solid #e5e7eb;background:#fff;padding:10px 14px;border-radius:999px;
  font-weight:900;color:#0f172a;transition: all .2s ease;
}
.filter-btn:hover{transform: translateY(-1px)}
.filter-btn.active{background: #e11d2e;border-color:#e11d2e;color:#fff;}

.work-card{
  position:relative; display:block;
  border-radius:18px; overflow:hidden;
  border:1px solid #eef2f7;
  box-shadow: 0 14px 34px rgba(15,23,42,.08);
}
.work-card img{width:100%; height:260px; object-fit:cover; transition: transform .35s ease;}
.work-card:hover img{transform: scale(1.06)}
.work-overlay{position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.70));}
.work-meta{position:absolute; right:14px; left:14px; bottom:14px; color:#fff;}
.work-tag{
  display:inline-block;background: rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  padding:6px 10px;border-radius:999px;font-weight:900;font-size:.82rem;margin-bottom:8px;
}
.work-title{font-weight:900;font-size:1.1rem;margin-bottom:4px}
.work-cta{color:#e5e7eb;font-weight:800;font-size:.92rem}
.work-cta i{color:#e11d2e}

/* Modal skin */
.modal-skin{border-radius:18px; overflow:hidden;}
.pm-code{
  font-weight:900;color:#0f172a;background: rgba(225,29,46,.08);
  border: 1px solid rgba(225,29,46,.18);
  display:inline-flex;gap:6px;align-items:center;
  padding:8px 12px;border-radius:999px;
}
