@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap");

:root {
  --main-color: #4f46e5;
  --secondary-color: #7c3aed;
  --accent-color: #ec4899;
  --text-dark: #111827;
  --text-soft: #6b7280;
  --text-light: #9ca3af;
  --white: #ffffff;
  --bg-light: #f8fafc;
  --bg-soft: #eef2ff;
  --border-color: rgba(79, 70, 229, 0.12);
  --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 30px rgba(79, 70, 229, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  direction: rtl;
  text-align: right;
  background: var(--white);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

section {
  scroll-margin-top: 95px;
}

a {
  transition: all .3s ease;
}

a:hover,
a:focus {
  text-decoration: none;
  color: var(--main-color);
}

img {
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
}

h1 {
  font-size: 62px;
  font-weight: 700;
}

h2 {
  font-size: 42px;
  font-weight: 700;
}

h3 {
  font-size: 34px;
  font-weight: 700;
}

h4 {
  font-size: 28px;
  font-weight: 600;
}

h5 {
  font-size: 21px;
  font-weight: 600;
}

h6 {
  font-size: 16px;
  font-weight: 600;
}

p, a, li, span, label {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-soft);
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
}

.section {
  padding: 110px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title h2 {
  margin-bottom: 18px;
}

.section-title p {
  width: 68%;
  margin: 0 auto;
  font-size: 16px;
}

.section-title-inline {
  text-align: right;
  margin-bottom: 35px;
}

.section-title-inline p {
  width: 100%;
  margin: 0;
}

.text-white,
.text-white p,
.text-white h2 {
  color: #fff !important;
}

.btn {
  border: none;
  outline: none !important;
  box-shadow: none !important;
}

.btn-main-rounded {
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
  color: #fff;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.btn-main-rounded:hover {
  color: #fff;
  transform: translateY(-2px);
}

.btn-light-outline {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.btn-light-outline:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

/* navbar */
.main-nav {
  background: rgba(17, 24, 39, 0.35);
  backdrop-filter: blur(12px);
  padding: 18px 0;
  transition: all .3s ease;
  z-index: 999;
}

.main-nav.nav-scrolled {
  background: rgba(17, 24, 39, 0.92);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  padding: 12px 0;
}

.main-nav .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.main-nav .navbar-brand img {
  height: 42px;
  width: auto;
}

.main-nav .navbar-brand span {
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

.main-nav .navbar-nav .nav-item {
  margin-right: 4px;
  margin-left: 4px;
}

.main-nav .navbar-nav .nav-item .nav-link {
  color: rgba(255,255,255,.9);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
}

.main-nav .navbar-nav .nav-item .nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,.09);
}

.navbar-toggler {
  color: #fff;
  font-size: 26px;
  padding: 6px 10px;
  border: none;
}

.navbar-toggler:focus,
.navbar-toggler:hover {
  outline: none;
}

/* hero */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 160px 0 110px;
  background:
    radial-gradient(circle at top right, rgba(236,72,153,.22), transparent 28%),
    radial-gradient(circle at top left, rgba(124,58,237,.22), transparent 25%),
    linear-gradient(135deg, #111827 0%, #312e81 40%, #4f46e5 100%);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: 14px;
  margin-bottom: 22px;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.25;
}

.hero-content p {
  color: rgba(255,255,255,.88);
  font-size: 17px;
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-store .list-inline-item:not(:last-child) {
  margin-left: 18px;
}

.hero-store img {
  max-width: 155px;
}

.hero-image-wrap {
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(10px);
}

.hero-phone {
  position: relative;
  max-width: 360px;
  animation: floatPhone 4s ease-in-out infinite;
}

@keyframes floatPhone {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* about */
.about {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.about-image {
  text-align: center;
}

.about-image img {
  max-width: 360px;
}

.about-grid {
  display: grid;
  gap: 22px;
}

.about-item-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border: 1px solid rgba(79,70,229,.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: all .3s ease;
}

.about-item-card:hover {
  transform: translateY(-6px);
}

.about-item-card.active {
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
}

.about-item-card .icon {
  min-width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(79,70,229,.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-item-card.active .icon {
  background: rgba(255,255,255,.14);
}

.about-item-card .icon i {
  font-size: 28px;
  color: var(--main-color);
}

.about-item-card.active .icon i,
.about-item-card.active h5,
.about-item-card.active p {
  color: #fff;
}

.about-item-card .content h5 {
  margin-bottom: 8px;
}

/* feature */
.feature-section {
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.feature-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(79,70,229,.08);
  transition: all .3s ease;
  margin-bottom: 22px;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(79,70,229,.12);
}

.feature-item .icon {
  margin-bottom: 16px;
}

.feature-item .icon i {
  font-size: 38px;
  color: var(--main-color);
}

.feature-item .content h5 {
  margin-bottom: 8px;
}

.feature-center-image {
  text-align: center;
}

.feature-center-image img {
  max-width: 260px;
  filter: drop-shadow(0 20px 40px rgba(79,70,229,.14));
}

/* video */
.custom-video-section {
  background: #fff;
  padding-top: 0;
}

.video-box-main {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.video-box-main img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,24,39,.66), rgba(79,70,229,.55));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.video-overlay h3,
.video-overlay p {
  color: #fff;
}

.video-overlay h3 {
  margin-bottom: 10px;
  font-size: 30px;
}

.video-overlay p {
  margin-bottom: 22px;
  max-width: 520px;
}

.play-btn {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn i {
  color: #fff;
  font-size: 34px;
  margin-right: 4px;
}

/* pricing */
.pricing {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8ff 100%);
}

.pricing-table {
  background: #fff;
  border-radius: 26px;
  padding: 35px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(79,70,229,.08);
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  height: 100%;
  transition: all .3s ease;
}

.pricing-table:hover {
  transform: translateY(-8px);
}

.pricing-table.featured {
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
  border: 2px solid rgba(79,70,229,.18);
  transform: translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: linear-gradient(135deg, var(--accent-color), #f97316);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
}

.pricing-head {
  margin-bottom: 22px;
}

.pricing-head h5 {
  margin-bottom: 10px;
}

.pricing-head .price {
  font-size: 38px;
  line-height: 1.4;
  color: var(--main-color);
  font-weight: 700;
}

.pricing-head .price span {
  font-size: 15px;
  color: var(--text-soft);
  font-weight: 400;
}

.feature-list li {
  position: relative;
  padding-right: 28px;
  margin: 12px 0;
  color: var(--text-soft);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--main-color);
  font-weight: 700;
}

.action-button {
  margin-top: 24px;
}

/* cta download */
.cta-download {
  padding: 30px 0 100px;
  background: #fff;
}

.cta-download-box {
  border-radius: 30px;
  padding: 55px 45px;
  background: linear-gradient(135deg, #111827, #312e81 50%, #4f46e5);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
}

.cta-download-box::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  top: -120px;
  left: -80px;
}

.download-image img {
  max-width: 260px;
}

.cta-download .content-block {
  position: relative;
  z-index: 1;
}

.cta-download .content-block h2,
.cta-download .content-block p {
  color: #fff;
}

.cta-download .content-block h2 {
  margin-bottom: 16px;
}

.cta-download .content-block p {
  margin-bottom: 25px;
  color: rgba(255,255,255,.88);
}

/* counter */
.custom-counter {
  padding-top: 0;
  background: #fff;
}

.counter-item {
  text-align: center;
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
  border-radius: 24px;
  padding: 36px 16px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.counter-item h3 {
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 8px;
}

.counter-item p {
  color: rgba(255,255,255,.92);
  font-size: 16px;
}

/* team */
.team-section {
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.team-member {
  background: #fff;
  border-radius: 24px;
  padding: 35px 30px;
  box-shadow: var(--shadow-card);
  transition: all .3s ease;
  margin-bottom: 25px;
  height: 100%;
}

.team-member:hover {
  transform: translateY(-6px);
}

.team-member .image {
  margin-bottom: 22px;
}

.team-member .image img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid rgba(79,70,229,.08);
}

.team-member .name h5 {
  font-size: 22px;
}

.team-member .position {
  margin: 8px 0 18px;
}

.team-member .position p {
  color: var(--main-color);
  font-weight: 600;
}

.team-member .skill-bar {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.team-member .skill-bar .progress {
  width: 80%;
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: #e5e7eb;
}

.team-member .skill-bar .progress .progress-bar {
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
}

.team-member .skill-bar span {
  font-size: 13px;
  margin-right: 12px;
  color: var(--text-dark);
  font-weight: 600;
}

ul.social-icons li a {
  display: block;
  height: 42px;
  width: 42px;
  background: #f3f4f6;
  text-align: center;
  border-radius: 50%;
}

ul.social-icons li a i {
  font-size: 17px;
  line-height: 42px;
  color: var(--main-color);
}

ul.social-icons li a:hover {
  background: var(--main-color);
}

ul.social-icons li a:hover i {
  color: #fff;
}

/* testimonial */
.custom-testimonial {
  background: linear-gradient(135deg, #312e81, #4f46e5);
}

.testimonial-slider .testimonial-item {
  background: #fff;
  display: flex !important;
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.testimonial-slider .testimonial-item .content {
  flex-basis: 75%;
  padding: 42px 34px;
}

.testimonial-slider .testimonial-item .content .name h5 {
  color: var(--text-dark);
  font-size: 22px;
}

.testimonial-slider .testimonial-item .content .pos-in-com {
  margin: 8px 0 14px;
}

.testimonial-slider .testimonial-item .content .pos-in-com span {
  color: var(--main-color);
  font-weight: 700;
}

.testimonial-slider .testimonial-item .content .speech {
  margin-bottom: 14px;
}

.testimonial-slider .testimonial-item .image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-left: 20px;
}

.testimonial-slider .testimonial-item .image img {
  max-width: 185px;
}

ul.rating li {
  color: #fbbf24;
  font-size: 24px;
}

.testimonial-slider .slick-prev,
.testimonial-slider .slick-next {
  width: 54px;
  height: 54px;
  background: #fff;
  border-radius: 16px;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.testimonial-slider .slick-prev {
  right: -75px;
  left: auto;
}

.testimonial-slider .slick-next {
  left: -75px;
  right: auto;
}

.testimonial-slider .slick-prev:before,
.testimonial-slider .slick-next:before {
  color: var(--main-color);
  font-size: 22px;
}

/* subscribe */
.cta-subscribe {
  background: #fff;
}

.subscribe-box {
  background: linear-gradient(180deg, #f7f8ff 0%, #ffffff 100%);
  border-radius: 30px;
  padding: 40px 35px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(79,70,229,.08);
}

.cta-subscribe .image img {
  max-width: 240px;
}

.cta-subscribe .content .title {
  margin-bottom: 14px;
}

.cta-subscribe .content .description {
  margin-bottom: 25px;
}

.custom-subscribe-group {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(79,70,229,.12);
  box-shadow: 0 12px 30px rgba(79,70,229,.08);
}

.form-control.main {
  background: #fff;
  padding: 18px 20px;
  border: none;
  font-size: 15px;
  height: auto;
  border-radius: 0;
}

.form-control.main:focus {
  box-shadow: none;
}

.subscribe-btn {
  min-width: 72px;
  height: 58px;
  border: none;
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
  color: #fff;
  cursor: pointer;
}

.subscription-tag {
  margin-top: 16px;
}

.subscription-tag p {
  color: var(--main-color);
  font-weight: 500;
}

/* footer */
.footer-main {
  padding: 55px 0;
  background: linear-gradient(135deg, #312e81, #4f46e5);
}

.footer-main .footer-logo {
  margin-bottom: 15px;
}

.footer-main .footer-logo img {
  max-height: 54px;
}

.footer-main .copyright p,
.footer-main .footer-links li a {
  color: rgba(255,255,255,.92);
}

.footer-main .footer-links {
  margin-top: 22px;
}

.footer-main .footer-links li {
  margin-left: 12px;
}

.footer-main .footer-links li a:hover {
  color: #fff;
}

.footer-main ul.social-icons {
  margin-bottom: 16px;
}

.footer-main ul.social-icons li a {
  background: rgba(255,255,255,.12);
}

.footer-main ul.social-icons li a i {
  color: #fff;
}

/* responsive */
@media (max-width: 1199px) {
  .testimonial-slider .slick-prev { right: -20px; }
  .testimonial-slider .slick-next { left: -20px; }
}

@media (max-width: 991px) {
  .section {
    padding: 85px 0;
  }

  h1 { font-size: 46px; }
  h2 { font-size: 34px; }

  .section-title p {
    width: 100%;
  }

  .main-nav {
    background: rgba(17, 24, 39, 0.92);
  }

  .main-nav .navbar-nav {
    background: rgba(255,255,255,.06);
    margin-top: 15px;
    border-radius: 18px;
    padding: 12px;
  }

  .main-nav .navbar-nav .nav-item .nav-link {
    text-align: right;
    padding: 12px 14px;
  }

  .hero-section {
    min-height: auto;
    padding: 140px 0 90px;
    text-align: center;
  }

  .hero-content p {
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-store .list-inline {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-phone {
    max-width: 300px;
    margin-bottom: 25px;
  }

  .about-image {
    margin-bottom: 30px;
  }

  .section-title-inline {
    text-align: center;
  }

  .feature-center-image {
    margin: 25px 0;
  }

  .pricing-table.featured {
    transform: none;
  }

  .cta-download-box {
    padding: 40px 28px;
  }

  .download-image {
    margin-bottom: 25px;
  }

  .testimonial-slider .testimonial-item {
    flex-direction: column-reverse;
    text-align: center;
  }

  .testimonial-slider .testimonial-item .image {
    padding: 22px 0 0;
  }

  .testimonial-slider .testimonial-item .image img {
    max-width: 120px;
  }

  .testimonial-slider .slick-prev,
  .testimonial-slider .slick-next {
    display: none !important;
  }

  .cta-subscribe .image {
    margin-bottom: 25px;
    text-align: center;
  }

  .cta-subscribe .content {
    text-align: center;
  }

  .footer-main {
    text-align: center;
  }

  .footer-main .text-lg-left {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-section {
    padding: 125px 0 80px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-store img {
    max-width: 145px;
  }

  .hero-store .list-inline-item {
    margin-bottom: 10px;
  }

  .about-item-card {
    flex-direction: column;
    text-align: center;
  }

  .about-item-card .icon {
    margin: 0 auto;
  }

  .feature-item {
    text-align: center;
  }

  .video-overlay h3 {
    font-size: 24px;
  }

  .pricing-table {
    padding: 30px 22px;
  }

  .pricing-head .price {
    font-size: 32px;
  }

  .btn-main-rounded,
  .btn-light-outline {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .custom-subscribe-group {
    flex-direction: column;
    background: transparent;
    box-shadow: none;
    border: none;
    gap: 12px;
  }

  .form-control.main {
    width: 100%;
    border-radius: 16px !important;
    border: 1px solid rgba(79,70,229,.12);
  }

  .subscribe-btn {
    width: 100%;
    border-radius: 16px;
    height: 52px;
  }

  .footer-main .footer-links li {
    margin: 6px;
  }
}

@media (max-width: 480px) {
  .main-nav .navbar-brand span {
    font-size: 18px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  .hero-badge {
    font-size: 13px;
  }

  .hero-phone {
    max-width: 245px;
  }

  .feature-center-image img,
  .about-image img,
  .download-image img,
  .cta-subscribe .image img {
    max-width: 220px;
  }

  .counter-item h3 {
    font-size: 28px;
  }

  .team-member {
    padding: 28px 20px;
  }

  .team-member .name h5 {
    font-size: 20px;
  }

  .testimonial-slider .testimonial-item .content {
    padding: 28px 22px;
  }

  .section-title {
    margin-bottom: 45px;
  }
}