:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --indigo: #6366f1;
  --success: #16a34a;
  --success-hover: #15803d;
  --teal: #0f766e;
  --danger: #dc2626;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.22);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
  max-width: 100vw;
}

code {
  font-family: Consolas, monospace;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.9em;
  direction: ltr;
  display: inline-block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.92rem;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 1.02rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-success {
  background: var(--success);
  color: #fff;
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.35);
}

.btn-success:hover {
  background: var(--success-hover);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.14);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-icon {
  font-size: 1.35rem;
}

.btn-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}

.btn-label small {
  font-weight: 600;
  font-size: 0.78rem;
  opacity: 0.9;
  direction: ltr;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.brand-badge {
  background: rgba(37, 99, 235, 0.25);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.35);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  direction: ltr;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.94rem;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(155deg, #0b1224 0%, #0f172a 55%, #172554 100%);
  color: #fff;
  padding: 68px 0 78px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -200px auto auto 10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.28) 0%, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 42px;
  align-items: center;
}

.hero-content, .hero-visual {
  min-width: 0;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.dot-live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
}

.hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 18px;
}

.text-gradient {
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  color: #cbd5e1;
  font-size: 1.08rem;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
}

.window-mockup {
  background: #1e293b;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.window-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #0f172a;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.win-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.win-dot.red { background: #ef4444; }
.win-dot.yellow { background: #f59e0b; }
.win-dot.green { background: #22c55e; }

.win-title {
  margin-inline-start: auto;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-img, .gallery-img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.zoomable {
  cursor: zoom-in;
}

/* Sections */
.section {
  padding: 76px 0;
}

.section-light {
  background: var(--bg-soft);
}

.section-dark {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.section-kicker {
  display: inline-block;
  color: var(--primary);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 14px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 12px;
}

.section-header.light .section-kicker {
  background: rgba(96, 165, 250, 0.15);
  border-color: rgba(96, 165, 250, 0.35);
  color: #93c5fd;
}

.section-header h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.35;
}

.section-header p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-header.light p {
  color: #cbd5e1;
}

/* Comparison */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.compare-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.compare-bad {
  border-top: 4px solid #ef4444;
}

.compare-good {
  border-top: 4px solid var(--success);
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 30%);
}

.compare-badge {
  position: absolute;
  top: 18px;
  left: 20px;
  background: var(--success);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
}

.compare-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.compare-icon {
  font-size: 2.1rem;
}

.compare-head h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.compare-time {
  display: inline-block;
  font-weight: 700;
  font-size: 0.92rem;
}

.compare-time.bad { color: #b91c1c; }
.compare-time.good { color: #15803d; }

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  color: #334155;
}

.x-mark {
  color: #dc2626;
  font-weight: 900;
  flex-shrink: 0;
}

.ok-mark {
  color: #16a34a;
  font-weight: 900;
  flex-shrink: 0;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.stat-box strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-box span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #bfdbfe;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.feature-icon.blue { background: #dbeafe; }
.feature-icon.indigo { background: #e0e7ff; }
.feature-icon.emerald { background: #dcfce7; }
.feature-icon.teal { background: #ccfbf1; }
.feature-icon.amber { background: #fef3c7; }
.feature-icon.sky { background: #e0f2fe; }
.feature-icon.purple { background: #f3e8ff; }
.feature-icon.rose { background: #ffe4e6; }

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.93rem;
  color: var(--muted);
}

/* Gallery */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.gallery-tab {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  padding: 10px 18px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: #fff;
  color: #334155;
  cursor: pointer;
  transition: all 0.16s ease;
}

.gallery-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.gallery-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.gallery-stage {
  max-width: 960px;
  margin: 0 auto;
}

.gallery-caption {
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  margin-top: 14px;
  font-size: 0.98rem;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.26);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.roadmap-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius);
  padding: 24px;
}

.roadmap-badge {
  display: inline-block;
  background: rgba(99, 102, 241, 0.25);
  color: #c7d2fe;
  border: 1px solid rgba(129, 140, 248, 0.4);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.roadmap-item h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.roadmap-item p {
  color: #cbd5e1;
  font-size: 0.94rem;
}

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--text);
  text-align: right;
  cursor: pointer;
}

.faq-arrow {
  transition: transform 0.2s ease;
  color: var(--primary);
  font-size: 1.2rem;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-a {
  display: none;
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 0.97rem;
}

.faq-item.open .faq-a {
  display: block;
}

/* CTA & Contact */
.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff;
  border-radius: 22px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.cta-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 900;
  margin-bottom: 10px;
}

.cta-text p {
  color: #cbd5e1;
  margin-bottom: 24px;
  font-size: 1.02rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 24px;
}

.contact-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.c-icon {
  font-size: 1.35rem;
}

.contact-row small {
  display: block;
  color: #94a3b8;
  font-size: 0.8rem;
}

.contact-row a, .contact-row strong {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  direction: ltr;
  display: inline-block;
}

.contact-row a:hover {
  text-decoration: underline;
  color: #93c5fd;
}

/* Footer */
.footer {
  background: #0b1224;
  color: #94a3b8;
  padding: 24px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.92rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
}

.footer-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  left: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: #0f172a;
  color: #fff;
  border: 1px solid rgba(96, 165, 250, 0.4);
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 1000;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-cta, .trust-bar { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav-inner { gap: 8px; }
  .brand-badge { display: none; }
  .nav-actions .share-trigger { display: none; }
  .nav-actions .btn-sm { padding: 7px 12px; font-size: 0.85rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background: #0f172a;
    flex-direction: column;
    padding: 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .hero { padding: 40px 0 54px; }
  .pill-tag { font-size: 0.78rem; padding: 5px 11px; flex-wrap: wrap; justify-content: center; }
  .hero-cta .btn-lg { width: 100%; }
  .compare-grid, .stats-strip, .steps-grid, .roadmap-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 26px 18px; }
  .cta-buttons .btn-lg { width: 100%; }
}
