@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap");
    @import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&display=swap");

    body {
      font-family: "Montserrat", sans-serif;
      background: linear-gradient(135deg,
          #2d1b4e 0%,
          #4a1a5c 25%,
          #6b2d7a 50%,
          #8b4298 75%,
          #b45bb8 100%) !important;
      background-attachment: scroll !important;
      background-size: cover !important;
      background-repeat: no-repeat !important;
      color: var(--text-white);
      line-height: 1.6;
      overflow-x: hidden;
      position: relative;
    }

    body::before {
      content: "";
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.3);
      z-index: -1;
    }

    /* حل خاص لأجهزة iOS */
    @supports (-webkit-appearance: none) {
      body {
        background: linear-gradient(135deg,
            #2d1b4e 0%,
            #4a1a5c 25%,
            #6b2d7a 50%,
            #8b4298 75%,
            #b45bb8 100%) !important;
        background-attachment: scroll !important;
      }
    }

    /* حل نهائي قوي لمشكلة الآيفون */
    @supports (-webkit-touch-callout: none) {
      body {
        background: linear-gradient(135deg,
            #2d1b4e 0%,
            #4a1a5c 25%,
            #6b2d7a 50%,
            #8b4298 75%,
            #b45bb8 100%) !important;
        background-attachment: scroll !important;
      }
    }

    /* حل إضافي لأجهزة iOS تحديداً */
    @media screen and (-webkit-min-device-pixel-ratio: 1) {
      body {
        background: linear-gradient(135deg,
            #2d1b4e 0%,
            #4a1a5c 25%,
            #6b2d7a 50%,
            #8b4298 75%,
            #b45bb8 100%) !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
      }
    }

    /* حل للأجهزة المحمولة */
    @media (max-width: 1024px) {
      body {
        background: linear-gradient(135deg,
            #2d1b4e 0%,
            #4a1a5c 25%,
            #6b2d7a 50%,
            #8b4298 75%,
            #b45bb8 100%) !important;
        background-size: 100% 100% !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
      }
    }


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

    :root {
      --primary-bg: #000000;
      --secondary-bg: #1a0d2e;
      --accent-purple: #692c92;
      --text-white: #ffffff;
      --text-gray: #bdc3c7;
      --button-gray: #692c92;
      --dark-gray: #cccccc;
      --header-bg: rgba(105, 44, 146, 0.24);
    }


    body[dir="rtl"] {
      font-family: "Cairo", sans-serif;
      text-align: right;
    }


    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .header {
      position: fixed;
      top: 0;
      width: 100%;
      background: var(--header-bg);
      backdrop-filter: blur(10px);
      z-index: 1000;
      padding: 15px 0;
      transition: all 0.3s ease;
      border-bottom: 1px solid rgba(105, 44, 146, 0.1);
    }

    .nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

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

    .logo img {
      height: 40px;
      width: auto;
      object-fit: contain;
    }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 30px;
      align-items: center;
    }

    .nav-links a {
      color: var(--text-white);
      text-decoration: none;
      transition: color 0.3s ease;
      font-weight: 500;
    }

    .nav-links a:hover {
      color: var(--accent-purple);
    }

    .language-toggle {
      background: var(--text-white);
      border: none;
      color: var(--accent-purple);
      padding: 8px 15px;
      border-radius: 20px;
      cursor: pointer;
      font-weight: bold;
      transition: all 0.3s ease;
    }

    .language-toggle:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
    }

    .mobile-menu {
      display: none;
      font-size: 24px;
      cursor: pointer;
      color: var(--text-white);
    }

    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      padding-top: 100px;
    }

    .hero-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      max-width: 1200px;
      width: 100%;
      z-index: 2;
      padding: 40px 20px;
    }

    .hero-text {
      text-align: left;
    }

    [dir="rtl"] .hero-text {
      text-align: right;
    }

    .product-badge {
      background: rgba(105, 44, 146, 0.8);
      border: 2px solid rgba(255, 255, 255, 0.3);
      padding: 8px 20px;
      border-radius: 25px;
      font-size: 12px;
      margin-bottom: 20px;
      display: inline-block;
      text-transform: uppercase;
      letter-spacing: 1.2px;
      font-weight: 600;
      color: #ffffff;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 15px rgba(105, 44, 146, 0.4);
      transition: all 0.3s ease;
    }

    .hero-title {
      font-size: clamp(3rem, 8vw, 5rem);
      font-weight: bold;
      margin-bottom: 15px;
      line-height: 1.1;
      color: var(--text-white);
    }

    .hero-subtitle {
      font-size: clamp(1.1rem, 2.5vw, 1.5rem);
      color: var(--text-gray);
      margin-bottom: 20px;
      line-height: 1.3;
      font-weight: 400;
    }

    .hero-description {
      font-size: 16px;
      color: var(--text-gray);
      margin-bottom: 30px;
      line-height: 1.6;
      text-align: justify;
    }

    .hero-buttons {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
    }

    .btn {
      background: var(--text-white);
      color: var(--accent-purple);
      padding: 12px 30px;
      border: none;
      border-radius: 25px;
      font-size: 14px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-block;
      text-decoration: none;
      text-transform: uppercase;
    }

    .btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .btn-service {
      background: var(--button-gray) !important;
      color: var(--text-white) !important;
      border: 2px solid transparent !important;
      text-transform: none;
    }

    .btn-service:hover {
      background: transparent !important;
      border-color: var(--button-gray) !important;
      color: var(--button-gray) !important;
      transform: translateY(-2px);
    }

    .btn-secondary {
      background: transparent !important;
      color: var(--accent-purple) !important;
      border: 2px solid var(--accent-purple) !important;
      text-transform: none;
    }

    .btn-secondary:hover {
      background: var(--accent-purple) !important;
      color: var(--text-white) !important;
      transform: translateY(-2px);
    }

    .hero-image {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .product-logo {
      max-width: 100%;
      width: 400px;
      height: auto;
      object-fit: contain;
      filter: drop-shadow(0 10px 30px rgba(105, 44, 146, 0.3));
      animation: float 6s ease-in-out infinite;
    }

    @keyframes float {

      0%,
      100% {
        transform: translateY(0px);
      }

      50% {
        transform: translateY(-20px);
      }
    }

    .features {
      padding: 80px 0;
      background: rgba(26, 13, 46, 0.3);
      backdrop-filter: blur(10px);
    }

    .section-header {
      text-align: center;
      margin-bottom: 60px;
    }

    .section-title {
      font-size: clamp(1.8rem, 4vw, 2.5rem);
      font-weight: bold;
      margin-bottom: 15px;
      color: var(--text-white);
    }

    .section-subtitle {
      font-size: 16px;
      color: var(--text-gray);
      max-width: 600px;
      margin: 0 auto;
      line-height: 1.6;
    }

    .features-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      margin-top: 50px;
    }

    .features-list {
      background: rgba(26, 13, 46, 0.4);
      border: 1px solid rgba(105, 44, 146, 0.1);
      border-radius: 15px;
      padding: 40px 30px;
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
    }

    .features-list:hover {
      transform: translateY(-5px);
      border-color: rgba(105, 44, 146, 0.3);
      background: rgba(26, 13, 46, 0.6);
      box-shadow: 0 10px 30px rgba(105, 44, 146, 0.2);
    }

    .features-list h3 {
      font-size: 24px;
      margin-bottom: 30px;
      color: var(--accent-purple);
      text-align: center;
    }

    .feature-item {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
      padding: 15px;
      background: rgba(105, 44, 146, 0.1);
      border-radius: 10px;
      transition: all 0.3s ease;
      border: 1px solid rgba(105, 44, 146, 0.1);
    }

    .feature-item:hover {
      background: rgba(105, 44, 146, 0.2);
      transform: translateX(10px);
      border-color: rgba(105, 44, 146, 0.3);
    }

    [dir="rtl"] .feature-item:hover {
      transform: translateX(-10px);
    }

    .feature-icon {
      width: 20px;
      margin-right: 15px;
      color: var(--accent-purple);
      font-size: 16px;
      flex-shrink: 0;
    }

    [dir="rtl"] .feature-icon {
      margin-right: 0;
      margin-left: 15px;
    }

    .feature-text {
      color: var(--text-white);
      font-size: 14px;
      font-weight: 500;
    }

    .final-cta {
      padding: 80px 0;
      background: rgba(105, 44, 146, 0.42);
      backdrop-filter: blur(10px);
      display: flex;
      align-items: center;
    }

    .final-cta .container {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 40px;
      align-items: center;
      width: 100%;
    }

    [dir="rtl"] .final-cta .container {
      grid-template-columns: auto 1fr;
    }

    .final-cta-content {
      text-align: left;
    }

    [dir="rtl"] .final-cta-content {
      text-align: right;
    }

    .final-cta h2 {
      font-size: clamp(1.8rem, 4vw, 2.5rem);
      margin-bottom: 15px;
      color: var(--text-white);
    }

    .final-cta p {
      font-size: 16px;
      margin-bottom: 0;
      opacity: 0.9;
      color: var(--text-white);
    }

    .final-cta-buttons {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .footer {
      background: rgba(26, 13, 46, 0.8);
      padding: 50px 0 25px;
      border-top: 1px solid rgba(105, 44, 146, 0.1);
      backdrop-filter: blur(10px);
    }

    .footer-content {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-section h3 {
      font-size: 16px;
      margin-bottom: 15px;
      color: var(--accent-purple);
    }

    .footer-section ul {
      list-style: none;
    }

    .footer-section ul li {
      margin-bottom: 8px;
    }

    .footer-section ul li a {
      color: var(--text-gray);
      text-decoration: none;
      transition: color 0.3s ease;
      font-size: 13px;
    }

    .footer-section ul li a:hover {
      color: var(--text-white);
    }

    .footer-company-info {
      grid-column: 1;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 20px;
    }

    .footer-logo img {
      height: 35px;
      width: auto;
      object-fit: contain;
    }

    .footer-logo-text {
      font-size: 20px;
      font-weight: bold;
      color: var(--accent-purple);
    }

    .footer-company-info .company-description {
      color: var(--text-gray);
      font-size: 14px;
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .footer-contact-info {
      margin-top: 20px;
    }

    .footer-contact-info p {
      color: var(--text-gray);
      font-size: 13px;
      margin-bottom: 5px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .footer-contact-info i {
      color: var(--accent-purple);
      width: 16px;
    }

    .working-hours {
      margin-top: 15px;
    }

    .working-hours h4 {
      color: var(--text-white);
      font-size: 14px;
      margin-bottom: 5px;
    }

    .working-hours p {
      color: var(--text-gray);
      font-size: 13px;
    }

    .social-links {
      display: flex;
      gap: 15px;
      margin-top: 20px;
      flex-wrap: wrap;
    }

    .social-links a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background: rgba(105, 44, 146, 0.1);
      border: 1px solid rgba(105, 44, 146, 0.3);
      border-radius: 50%;
      color: var(--text-gray);
      font-size: 16px;
      transition: all 0.3s ease;
      text-decoration: none;
    }

    .social-links a:hover {
      background: var(--accent-purple);
      color: var(--text-white);
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(105, 44, 146, 0.3);
    }

    .footer-bottom {
      border-top: 1px solid rgba(105, 44, 146, 0.1);
      padding-top: 20px;
      text-align: center;
    }

    .footer-bottom-left {
      color: var(--text-gray);
      font-size: 12px;
    }

    .fade-in {
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.6s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .mobile-nav {
      display: none;
      position: fixed;
      top: 70px;
      left: 0;
      width: 100%;
      background: rgba(0, 0, 0, 0.9);
      backdrop-filter: blur(10px);
      z-index: 999;
      padding: 20px;
      border-top: 1px solid rgba(105, 44, 146, 0.1);
    }

    .mobile-nav.active {
      display: block;
    }

    .mobile-nav ul {
      list-style: none;
      text-align: center;
    }

    .mobile-nav ul li {
      margin: 15px 0;
    }

    .mobile-nav ul li a {
      color: var(--text-white);
      text-decoration: none;
      font-size: 16px;
      font-weight: 500;
    }

    .modal {
      display: none;
      position: fixed;
      z-index: 10000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(5px);
    }

    .modal-content {
      background: rgba(26, 13, 46, 0.9);
      margin: 3% auto;
      padding: 25px;
      border-radius: 15px;
      width: 90%;
      max-width: 450px;
      position: relative;
      border: 1px solid rgba(105, 44, 146, 0.3);
      box-shadow: 0 15px 35px rgba(105, 44, 146, 0.3);
      max-height: 85vh;
      overflow-y: auto;
      backdrop-filter: blur(10px);
    }

    .close {
      color: var(--text-gray);
      float: right;
      font-size: 24px;
      font-weight: bold;
      cursor: pointer;
      transition: color 0.3s ease;
      position: absolute;
      top: 8px;
      right: 12px;
      z-index: 1;
    }

    .close:hover {
      color: var(--accent-purple);
    }

    .modal h2 {
      color: var(--accent-purple);
      margin-bottom: 20px;
      font-size: 20px;
      text-align: center;
      padding-top: 5px;
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      color: var(--text-white);
      font-weight: 500;
      font-size: 14px;
    }

    .required {
      color: #ff4444;
    }

    .form-group input {
      width: 100%;
      padding: 12px 15px;
      background: rgba(26, 13, 46, 0.8);
      border: 1px solid rgba(105, 44, 146, 0.3);
      border-radius: 8px;
      color: var(--text-white);
      font-size: 14px;
      transition: all 0.3s ease;
      font-family: inherit;
    }

    .form-group input:focus {
      outline: none;
      border-color: var(--accent-purple);
      background: var(--secondary-bg);
    }

    .form-buttons {
      display: flex;
      gap: 15px;
      margin-top: 30px;
    }

    .submit-btn {
      flex: 1;
      background: var(--button-gray);
      color: var(--text-white);
      padding: 12px;
      border: none;
      border-radius: 8px;
      font-size: 14px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .submit-btn:hover {
      transform: translateY(-1px);
      box-shadow: 0 6px 15px rgba(105, 44, 146, 0.3);
    }

    .cancel-btn {
      flex: 1;
      background: transparent;
      color: var(--text-gray);
      padding: 12px;
      border: 1px solid var(--text-gray);
      border-radius: 8px;
      font-size: 14px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .cancel-btn:hover {
      background: rgba(255, 255, 255, 0.1);
      color: var(--text-white);
    }

    @media (max-width: 968px) {
      .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
      }

      .hero-text {
        text-align: center;
      }

      .hero-image {
        order: -1;
      }

      .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
      }

      .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
      }

      .footer-company-info {
        grid-column: 1 / -1;
        margin-bottom: 20px;
      }

      .hero-buttons {
        justify-content: center;
      }

      .final-cta .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
      }

      .final-cta-content {
        text-align: center;
      }

      [dir="rtl"] .final-cta-content {
        text-align: center;
      }
    }

    @media (max-width: 768px) {
      .nav-links {
        display: none;
      }

      .mobile-menu {
        display: block;
      }

      .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 60px;
      }

      .hero-content {
        padding: 30px 20px;
      }

      .product-logo {
        max-width: 300px;
      }

      .features-list {
        padding: 30px 20px;
      }

      .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .footer-company-info {
        grid-column: 1;
      }

      .modal-content {
        margin: 8% auto;
        padding: 20px 15px;
        max-height: 75vh;
      }

      .form-buttons {
        flex-direction: column;
        gap: 8px;
      }

      .social-links {
        justify-content: flex-start;
      }

      .hero-buttons {
        flex-direction: column;
        align-items: center;
      }

      .btn {
        width: 200px;
      }
    }

    @media (max-width: 480px) {
      .hero-title {
        font-size: 2.5rem;
      }

      .hero-subtitle {
        font-size: 1.1rem;
      }

      .hero-description {
        font-size: 14px;
      }

      .product-logo {
        max-width: 250px;
      }

      .feature-item {
        padding: 12px;
      }

      .feature-text {
        font-size: 13px;
      }

      .hero-content {
        padding: 25px 15px;
      }
    }

    #successModal .btn {
      background: #28a745 !important;
      color: white !important;
      border: none !important;
      padding: 12px 30px !important;
      border-radius: 25px !important;
      font-size: 14px !important;
      font-weight: bold !important;
      cursor: pointer !important;
      transition: all 0.3s ease !important;
    }

    #successModal .btn:hover {
      background: #218838 !important;
      transform: translateY(-2px) !important;
      box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3) !important;
    }

    #successModal .close {
      position: absolute !important;
      top: 10px !important;
      right: 15px !important;
      font-size: 28px !important;
      font-weight: bold !important;
      cursor: pointer !important;
      color: #aaa !important;
      z-index: 1001 !important;
    }

    #successModal .close:hover {
      color: #28a745 !important;
    }

    [dir="rtl"] #successModal .close {
      right: auto !important;
      left: 15px !important;
    }
    
    .logo-link {
        display: flex;
        align-items: center;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
      }

      .logo-link:hover {
        opacity: 0.8;
        transform: scale(1.05);
      }

      .logo-link img {
        transition: all 0.3s ease;
      }