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

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

    :root {
      --primary: #2D8653;
      --primary-dk: #1F6B3E;
      --dark: #1E1F21;
      --dark-2: #282B30;
      --dark-3: #30343A;
      --gray: #6B6F76;
      --light: #F5F5F5;
      --white: #FFFFFF;
      --teal: #4ECBC4;
      --yellow: #F5A623;
      --lime: #7ED321;
      --border: #E8E8E8;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Tajawal', sans-serif;
      background: var(--white);
      color: var(--dark);
      line-height: 1.6;
    }

    nav {
      position: fixed;
      top: 0;
      right: 0;
      left: 0;
      z-index: 100;
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border);
      padding: 0 48px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

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

    .logo-icon {
      width: 36px;
      height: 36px;
      background: var(--primary);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 18px;
      font-weight: 800;
    }

    .logo-text {
      font-size: 20px;
      font-weight: 800;
      color: var(--dark);
      letter-spacing: 0.2px;
    }

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

    .nav-links a {
      text-decoration: none;
      color: var(--gray);
      font-size: 15px;
      font-weight: 600;
      transition: color 0.2s;
    }

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

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

    .btn-ghost {
      padding: 8px 20px;
      border: 1.5px solid var(--border);
      border-radius: 8px;
      background: transparent;
      color: var(--dark);
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      text-decoration: none;
      font-family: 'Tajawal', sans-serif;
      transition: all 0.2s;
    }

    .btn-ghost:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    .btn-primary {
      padding: 8px 20px;
      background: var(--primary);
      border: none;
      border-radius: 8px;
      color: white;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      font-family: 'Tajawal', sans-serif;
      transition: all 0.2s;
    }

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

    .hero {
      padding: 132px 48px 90px;
      text-align: center;
      background: linear-gradient(180deg, #F8FBF9 0%, #FFFFFF 100%);
      overflow: hidden;
    }

    .hero-badge,
    .section-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #E8F5EE;
      color: var(--primary);
      padding: 7px 16px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 800;
      margin-bottom: 18px;
    }

    .hero h1 {
      font-size: 56px;
      font-weight: 800;
      line-height: 1.25;
      margin-bottom: 20px;
      color: var(--dark);
    }

    .hero h1 span {
      color: var(--primary);
    }

    .hero p {
      font-size: 18px;
      color: var(--gray);
      max-width: 680px;
      margin: 0 auto 36px;
      font-weight: 400;
      line-height: 1.9;
    }

    .hero-actions {
      display: flex;
      justify-content: center;
      gap: 14px;
      margin-bottom: 64px;
      flex-wrap: wrap;
    }

    .btn-hero {
      padding: 14px 34px;
      background: var(--primary);
      border: none;
      border-radius: 12px;
      color: white;
      font-size: 16px;
      font-weight: 800;
      cursor: pointer;
      text-decoration: none;
      font-family: 'Tajawal', sans-serif;
      transition: all 0.2s;
      box-shadow: 0 8px 24px rgba(45,134,83,0.24);
    }

    .btn-hero:hover {
      background: var(--primary-dk);
      transform: translateY(-2px);
      box-shadow: 0 10px 28px rgba(45,134,83,0.30);
    }

    .btn-hero-ghost {
      padding: 14px 34px;
      border: 2px solid var(--border);
      border-radius: 12px;
      background: white;
      color: var(--dark);
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      text-decoration: none;
      font-family: 'Tajawal', sans-serif;
      transition: all 0.2s;
    }

    .btn-hero-ghost:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    .hero-preview {
      max-width: 1120px;
      margin: 0 auto;
      background: var(--dark);
      border-radius: 24px;
      overflow: hidden;
      box-shadow: 0 32px 90px rgba(0,0,0,0.22);
      text-align: initial;
    }

    .preview-bar {
      background: #282B30;
      padding: 16px 22px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .preview-dots {
      display: flex;
      align-items: center;
      gap: 9px;
      flex-shrink: 0;
    }

    .preview-dot {
      width: 14px;
      height: 14px;
      border-radius: 50%;
    }

    .preview-dot.red { background: #FF5F57; }
    .preview-dot.amber { background: #FEBC2E; }
    .preview-dot.green { background: #28C840; }

    .preview-url {
      flex: 1;
      background: #1D1F22;
      border-radius: 10px;
      padding: 9px 14px;
      font-size: 13px;
      color: #707783;
      text-align: center;
      letter-spacing: 0.3px;
    }

    .preview-body {
      padding: 26px;
      display: grid;
      grid-template-columns: 1fr 250px;
      gap: 18px;
      min-height: 390px;
      background: #1E1F21;
    }

    html[dir="rtl"] .preview-body {
      grid-template-columns: 1fr 250px;
    }

    html[dir="ltr"] .preview-body {
      grid-template-columns: 250px 1fr;
    }

    html[dir="rtl"] .preview-sidebar {
      order: 2;
    }

    html[dir="rtl"] .preview-main {
      order: 1;
    }

    html[dir="ltr"] .preview-sidebar {
      order: 1;
    }

    html[dir="ltr"] .preview-main {
      order: 2;
    }

    .preview-sidebar {
      background: #2B2F34;
      border-radius: 18px;
      padding: 22px 18px;
      border: 1px solid rgba(255,255,255,0.05);
    }

    .preview-logo {
      font-size: 17px;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 22px;
      text-align: center;
    }

    .preview-menu-item {
      padding: 12px 14px;
      border-radius: 12px;
      font-size: 14px;
      color: #B7BDC8;
      margin-bottom: 10px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      line-height: 1.5;
    }

    .preview-menu-item.active {
      background: var(--primary);
      color: white;
      font-weight: 800;
      justify-content: center;
    }

    .preview-main {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .preview-cards {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
    }

    .preview-card {
      background: #2B2F34;
      border-radius: 16px;
      padding: 18px 12px;
      min-height: 112px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255,255,255,0.05);
      text-align: center;
    }

    .preview-card .num {
      font-size: 28px;
      font-weight: 800;
      margin-bottom: 8px;
    }

    .preview-card .lbl {
      font-size: 13px;
      color: #8B93A4;
      line-height: 1.5;
    }

    .preview-card.p1 .num { color: var(--primary); }
    .preview-card.p2 .num { color: var(--teal); }
    .preview-card.p3 .num { color: var(--yellow); }
    .preview-card.p4 .num { color: var(--lime); }

    .preview-projects {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
      flex: 1;
    }

    .preview-project {
      background: #2B2F34;
      border-radius: 16px;
      padding: 20px;
      min-height: 190px;
      border: 1px solid rgba(255,255,255,0.05);
    }

    .preview-project .title {
      font-size: 16px;
      color: white;
      font-weight: 800;
      margin-bottom: 18px;
      line-height: 1.6;
      text-align: center;
    }

    .preview-bar-item {
      height: 7px;
      border-radius: 999px;
      background: #3A3F46;
      margin-bottom: 12px;
      overflow: hidden;
    }

    .preview-bar-item .fill {
      height: 100%;
      border-radius: 999px;
    }

    .features-section,
    .pricing-section {
      padding: 86px 48px;
      background: var(--white);
    }

    .how-section {
      padding: 86px 48px;
      background: var(--light);
    }

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

    .section-header h2 {
      font-size: 38px;
      font-weight: 800;
      margin-bottom: 12px;
      color: var(--dark);
    }

    .section-header p {
      color: var(--gray);
      font-size: 17px;
      line-height: 1.8;
    }

    .features-grid {
      max-width: 1050px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .feature-card {
      padding: 30px;
      border-radius: 18px;
      border: 1.5px solid var(--border);
      transition: all 0.2s;
      background: white;
    }

    .feature-card:hover {
      border-color: var(--primary);
      box-shadow: 0 10px 28px rgba(45,134,83,0.10);
      transform: translateY(-4px);
    }

    .feature-icon {
      width: 54px;
      height: 54px;
      border-radius: 16px;
      background: #E8F5EE;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 25px;
      margin-bottom: 18px;
    }

    .feature-card h3 {
      font-size: 18px;
      font-weight: 800;
      margin-bottom: 10px;
    }

    .feature-card p {
      font-size: 15px;
      color: var(--gray);
      line-height: 1.8;
    }

    .steps-grid {
      max-width: 1180px;
      margin: 0 auto;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      gap: 0;
      text-align: center;
    }

    .step-item {
      flex: 1 1 0;
      max-width: 240px;
      min-width: 0;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .step-num {
      width: 52px;
      height: 52px;
      background: var(--primary);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 19px;
      font-weight: 800;
      margin: 0 auto 18px;
    }

    .step-item h3 {
      font-size: 16px;
      font-weight: 800;
      margin-bottom: 8px;
    }

    .step-item p {
      font-size: 14px;
      color: var(--gray);
      line-height: 1.7;
    }

    .step-connector {
      flex: 0 0 88px;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding-top: 10px;
      min-height: 52px;
    }

    .step-arrow {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #C5CDD7;
      font-size: 30px;
      font-weight: 800;
      line-height: 1;
    }

    .pricing-grid {
      max-width: 980px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }

    .pricing-grid.single-plan {
      grid-template-columns: minmax(300px, 460px);
      justify-content: center;
    }

    .pricing-grid.two-plan {
      grid-template-columns: repeat(2, minmax(280px, 380px));
      justify-content: center;
    }

    .pricing-grid.single-plan .pricing-card {
      border-color: var(--primary);
      box-shadow: 0 12px 36px rgba(45,134,83,0.13);
    }

    .pricing-card {
      border: 1.5px solid var(--border);
      border-radius: 18px;
      padding: 34px 32px;
      position: relative;
      transition: all 0.2s;
      background: white;
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .pricing-card:hover {
      box-shadow: 0 10px 32px rgba(0,0,0,0.08);
      transform: translateY(-3px);
    }

    .pricing-card.featured {
      border-color: var(--primary);
      box-shadow: 0 10px 32px rgba(45,134,83,0.13);
    }

    .featured-badge {
      position: absolute;
      top: -16px;
      right: 50%;
      transform: translateX(50%);
      background: var(--primary);
      color: white;
      border-radius: 999px;
      padding: 7px 16px;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }

    .pricing-card h3 {
      font-size: 19px;
      font-weight: 800;
      margin-bottom: 10px;
    }

    .pricing-card .price {
      font-size: 42px;
      font-weight: 800;
      color: var(--primary);
      margin-bottom: 4px;
    }

    .pricing-card .price span {
      font-size: 16px;
      font-weight: 500;
      color: var(--gray);
    }

    .pricing-card .price.contact-message {
      min-height: 58px;
      display: flex;
      align-items: center;
      font-size: 17px;
      line-height: 1.7;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 10px;
    }

    .pricing-card .desc {
      font-size: 14px;
      color: var(--gray);
      margin-bottom: 24px;
      padding-bottom: 24px;
      border-bottom: 1px solid var(--border);
      line-height: 1.8;
    }

    .pricing-features {
      list-style: none;
      margin-bottom: 30px;
      flex: 1;
    }

    .pricing-features li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 15px;
      color: var(--dark);
      margin-bottom: 13px;
      line-height: 1.6;
    }

    .pricing-features li .check {
      color: #1D7A4A;
      font-size: 17px;
      font-weight: 800;
    }

    .pricing-features li .cross {
      color: #BFC3C9;
      font-size: 17px;
      font-weight: 800;
    }

    .btn-pricing {
      width: 100%;
      padding: 13px;
      border-radius: 12px;
      font-size: 15px;
      font-weight: 800;
      cursor: pointer;
      font-family: 'Tajawal', sans-serif;
      transition: all 0.2s;
      text-align: center;
      text-decoration: none;
      display: block;
      margin-top: auto;
    }

    .btn-pricing.outline {
      border: 2px solid var(--border);
      background: transparent;
      color: var(--dark);
    }

    .btn-pricing.outline:hover {
      border-color: var(--primary);
      color: var(--primary);
    }

    .btn-pricing.filled {
      background: var(--primary);
      border: none;
      color: white;
    }

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

    .cta-section {
      padding: 86px 48px;
      background: var(--dark);
      text-align: center;
    }

    .cta-section h2 {
      font-size: 42px;
      font-weight: 800;
      color: white;
      margin-bottom: 16px;
      line-height: 1.4;
    }

    .cta-section h2 span {
      color: var(--primary);
    }

    .cta-section p {
      color: #B8BDC7;
      font-size: 17px;
      margin-bottom: 34px;
      line-height: 1.8;
    }

    footer {
      background: #111;
      padding: 42px 48px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    footer .footer-logo {
      color: white;
      font-size: 20px;
      font-weight: 800;
    }

    footer p {
      color: #777;
      font-size: 14px;
    }

    .lang-btn {
      position: fixed;
      bottom: 24px;
      left: 24px;
      background: white;
      border: 1.5px solid var(--border);
      border-radius: 12px;
      padding: 10px 18px;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
      font-family: 'Tajawal', sans-serif;
      color: var(--dark);
      box-shadow: 0 4px 14px rgba(0,0,0,0.10);
      transition: all 0.2s;
      z-index: 999;
      line-height: 1.2;
    }

    .lang-btn:hover {
      border-color: var(--primary);
      color: var(--primary);
      transform: translateY(-1px);
    }

    .support-btn {
      position: fixed;
      bottom: 24px;
      right: 24px;
      background: var(--primary);
      color: white;
      border: none;
      border-radius: 999px;
      padding: 12px 20px;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
      font-family: 'Tajawal', sans-serif;
      box-shadow: 0 4px 16px rgba(45,134,83,0.35);
      transition: all 0.2s;
      z-index: 999;
      display: flex;
      align-items: center;
      gap: 7px;
      text-decoration: none;
      line-height: 1.2;
    }

    .support-btn:hover {
      background: var(--primary-dk);
      transform: translateY(-2px);
    }

    @media (max-width: 1000px) {
      nav {
        padding: 0 22px;
      }

      .nav-links {
        display: none;
      }

      .hero {
        padding: 112px 22px 60px;
      }

      .hero h1 {
        font-size: 40px;
      }

      .preview-body {
        grid-template-columns: 1fr !important;
      }

      .preview-sidebar,
      .preview-main {
        order: unset !important;
      }

      .preview-cards {
        grid-template-columns: repeat(2, 1fr);
      }

      .preview-projects {
        grid-template-columns: 1fr;
      }

      .features-grid,
      .pricing-grid:not(.single-plan):not(.two-plan) { grid-template-columns: repeat(2, 1fr) !important; }
      .pricing-grid.single-plan { grid-template-columns: minmax(280px, 460px) !important; }
      .pricing-grid.two-plan { grid-template-columns: repeat(2, minmax(260px, 340px)) !important; justify-content: center; }
      .pricing-grid-old {
        grid-template-columns: 1fr;
      }

      .steps-grid {
        flex-direction: column;
        gap: 22px;
        align-items: center;
      }

      .step-item {
        max-width: 360px;
      }

      .step-connector {
        display: none;
      }

      footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }
    }

    @media (max-width: 560px) {
      .hero h1 {
        font-size: 34px;
      }

      .hero p {
        font-size: 16px;
      }

      .hero-actions {
        flex-direction: column;
      }

      .btn-hero,
      .btn-hero-ghost {
        width: 100%;
      }

      .preview-cards {
        grid-template-columns: 1fr;
      }

      .features-section,
      .how-section,
      .pricing-section,
      .cta-section {
        padding: 62px 22px;
      }

      .section-header h2,
      .cta-section h2 {
        font-size: 30px;
      }
    }
