:root {
  --bg: #f7efe7;
  --bg-secondary: #efe1d3;
  --card: rgba(255, 255, 255, 0.48);
  --card-strong: rgba(255, 255, 255, 0.7);
  --text: #2d2433;
  --muted: #6b6073;
  --purple: #7b5ea7;
  --purple-dark: #5c3f86;
  --purple-soft: #b8a2d8;
  --beige: #e7d6c5;
  --beige-dark: #cab49e;
  --border: rgba(123, 94, 167, 0.15);
  --shadow: 0 10px 30px rgba(90, 67, 126, 0.12);
  --shadow-hover: 0 16px 40px rgba(90, 67, 126, 0.18);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(184, 162, 216, 0.28), transparent 28%),
    radial-gradient(circle at bottom left, rgba(231, 214, 197, 0.52), transparent 28%),
    linear-gradient(180deg, #fbf6f1 0%, #f6ede5 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input {
  font-family: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.glass {
  background: var(--card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  margin: 12px auto 0;
  width: min(100% - 20px, calc(var(--container) + 20px));
  border-radius: 22px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--purple-dark);
  font-size: 1.15rem;
}



.brand-logo {
  width: 70px;   /* كبرناه */
  height: 70px;
  object-fit: contain;

  background: transparent; /* مهم */
  mix-blend-mode: multiply; /* يخلي الخلفية تندمج */
}

.navbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  transition: 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.2); /* تكبير عند الهوفر */
}

.brand-logo {
  width: 60px;
  height: 60px;
  transition: all 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.25) rotate(3deg);
}
.nav-link {
  padding: 10px 16px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 700;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  background: rgba(123, 94, 167, 0.12);
  color: var(--purple-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--purple-dark);
  margin: 5px 0;
  border-radius: 999px;
  transition: var(--transition);
}

.section {
  padding: 36px 0 72px;
}

.section-kicker,
.eyebrow {
  color: var(--purple);
  font-weight: 800;
  margin-bottom: 8px;
}

.hero {
  padding: 96px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.25;
  margin: 0 0 16px;
}

.hero h1 span {
  color: var(--purple-dark);
}

.hero-text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 680px;
  line-height: 1.95;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  border: none;
  border-radius: 16px;
  padding: 14px 22px;
  cursor: pointer;
  font-weight: 800;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(92, 63, 134, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 14px 28px rgba(92, 63, 134, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--purple-dark);
  border: 1px solid rgba(123, 94, 167, 0.18);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.stat-card {
  padding: 18px;
  border-radius: var(--radius-md);
}

.stat-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--purple-dark);
}

.stat-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-blob {
  width: 320px;
  height: 320px;
  border-radius: 40% 60% 55% 45% / 48% 35% 65% 52%;
  background: linear-gradient(135deg, rgba(123, 94, 167, 0.22), rgba(231, 214, 197, 0.55));
  animation: floatBlob 8s ease-in-out infinite;
  filter: blur(2px);
}

.floating-card {
  position: absolute;
  padding: 22px;
  border-radius: 22px;
  max-width: 260px;
}

.card-a {
  top: 15%;
  right: 6%;
}

.card-b {
  bottom: 15%;
  left: 3%;
}

.section-header {
  text-align: center;
  max-width: 800px;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.section-header p {
  color: var(--muted);
  line-height: 1.9;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.feature-card,
.portal-feature {
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.feature-card:hover,
.portal-feature:hover,
.preview-panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.feature-card h3,
.portal-feature h3 {
  margin: 8px 0;
  color: var(--purple-dark);
}

.feature-card p,
.portal-feature p {
  color: var(--muted);
  line-height: 1.85;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.preview-text p {
  color: var(--muted);
  line-height: 1.95;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}

.check-list li {
  position: relative;
  padding-right: 28px;
  margin-bottom: 10px;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--purple-dark);
  font-weight: 800;
}

.preview-panel {
  border-radius: 26px;
  padding: 18px;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.preview-bar span,
.embed-topbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--beige-dark);
}

.mock-window {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  min-height: 240px;
}

.mock-card {
  display: grid;
  place-items: center;
  min-height: 110px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(123, 94, 167, 0.12), rgba(255, 255, 255, 0.7));
  font-weight: 700;
  color: var(--purple-dark);
  transition: var(--transition);
}

.mock-card:hover {
  transform: scale(1.03);
}

.cta-box {
  border-radius: 28px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-box h2 {
  margin: 6px 0 0;
}

.site-footer {
  padding: 22px 0 34px;
}

.footer-content {
  border-top: 1px solid rgba(123, 94, 167, 0.12);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--purple-dark);
}

.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(250, 244, 238, 0.95);
  display: grid;
  place-items: center;
  z-index: 9999;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-orb {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid rgba(123, 94, 167, 0.18);
  border-top-color: var(--purple-dark);
  animation: spin 0.9s linear infinite;
}

.scroll-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 50;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.fade-in-up,
.fade-in,
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in {
  transform: translateY(0) scale(0.98);
}

.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes floatBlob {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(8deg);
  }
}

@media (max-width: 992px) {
  .hero-grid,
  .preview-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .navbar {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
  }

  .navbar.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .floating-card {
    position: relative;
    inset: auto;
    margin: 10px auto;
  }
}

@media (max-width: 576px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .site-header {
    width: min(100% - 12px, calc(var(--container) + 12px));
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .mock-window {
    grid-template-columns: 1fr;
  }
}

.feature-card .card-image img {
  width: 100%;
  max-width: 200px;   /* كبر الحجم */
  height: 200px;      /* كبر الارتفاع */
  object-fit: contain;
}
.feature-card .card-image img {
  max-width: 200px;
  transform: scale(1.1);
  transition: 0.3s;
}

.feature-card:hover .card-image img {
  transform: scale(1.2);
}

.feature-card .card-image img {
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
}

.feature-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  text-align: right;
  max-height: 220px;
}

.feature-card .card-content {
  width: 55%;
}

.feature-card .card-content h3 {
  margin-top: 0;
}

.feature-card .card-content p {
  line-height: 2;
}

.feature-card .card-image {
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.feature-card .card-image img {
  width: 100%;
  max-width: 300px;   /* كبر الحجم */
  height: 300px;      /* كبر الارتفاع */
  object-fit: contain;
}

@media (max-width: 768px) {
  .feature-card {
    flex-direction: column;
    text-align: center;
  }

  .feature-card .card-content,
  .feature-card .card-image {
    width: 100%;
  }
}

.quick-buttons-section {
  padding: 60px 0;
  text-align: center;
}

.section-title {
  margin-bottom: 30px;
  color: #5b3b8c;
}

.buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.big-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 25px;
  font-size: 18px;
  font-weight: 600;

  background: #f5efe7;
  color: #5b3b8c;

  border-radius: 20px;
  text-decoration: none;

  transition: 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* 🔥 Hover احترافي */
.big-btn:hover {
  background: linear-gradient(135deg, #7b5ea7, #9b7edc);
  color: #fff;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(123, 94, 167, 0.3);
}

@media (max-width: 768px) {
  .buttons-grid {
    grid-template-columns: 1fr;
  }
}

.big-btn {
  padding: 24px 30px;
  font-size: 18px;
  font-weight: 800;
}

.section-title {
  display: inline-block;

  background: linear-gradient(135deg, #5c3f86, #7b5ea7);
  color: #fff;

  padding: 12px 25px;
  border-radius: 15px;

  font-size: 26px;
  font-weight: 800;

  margin-bottom: 30px;

  box-shadow: 0 10px 25px rgba(92, 63, 134, 0.25);
}

.section-title {
  border-radius: 50px;
}

.section-title {
  display: block;
  width: fit-content;
  margin: 0 auto 30px auto;
}

.hero-title {
  text-align: center;
  font-size: 42px; /* كبرنا الخط */
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 20px;
}

.dark-text {
  color: #2d2a32; /* أسود ناعم */
}

.purple-text {
  color: #7b5ea7; /* بنفسجي */
}

.hero-desc {
  text-align: center;
  font-size: 18px;
  color: #6b6472;
  line-height: 1.8;
}

.big-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* مسافة بين الصورة والكلام */
}
.big-btn img {
  width:70px;
  height: 70px;
  object-fit: contain;
}

.big-btn img {
  transition: 0.3s;
}

.big-btn:hover img {
  transform: scale(1.2);
}
.big-btn {
  flex-direction: row-reverse;
  gap:50px;
}

