/* ==========================================================================
   1. المتغيرات وإعدادات عامة (Variables & Reset)
   ========================================================================== */
:root {
  /* Colors */
  --primary: #7973ff;
  --secondary: #f84669;

  --gradient-main: linear-gradient(135deg, #7973ff, #f84669);

  --white: #ffffff;
  --black: #000000;

  --text-dark: #1e1e1e;
  --text-light: rgba(255, 255, 255, 0.8);

  --bg-page: #f5f5f5;
  --border-color: #cccccc;

  /* Typography */
  --font-main: "Almarai", sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --container-width: 1300px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   HEADER
========================================= */
.header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  padding: 25px 0;
  z-index: 1000;
  background: transparent;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo-img {
  height: 60px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 60px;
  margin: 0 20px;
}

.nav-menu li a {
  font-weight: 700;
  color: var(--white);
  font-size: 16px;
}

.nav-menu a:hover {
  opacity: 0.7;
}

.btn-download {
  background: rgba(255, 255, 255, 0.2); /* شفافية */

  border: 1px solid rgba(255, 255, 255, 0.1); /* حدود خفيفة */

  border-radius: 16px;
  padding: 10px 35px;

  display: flex;
  align-items: center;
  gap: 10px;

  color: white;
  font-weight: 700;
  font-family: var(--font-main);

  cursor: pointer;
  white-space: nowrap;

  transition: all 0.3s ease;
}

.btn-download:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}
/* Burger Menu */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--bg-white);
  cursor: pointer;
}

/* =========================================
   2 - HERO
========================================= */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: visible;
  background: #f5f5f5;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg svg {
  width: 100%;
  height: 100%;
}

.hero-wrapper {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 100%;

  flex-direction: row-reverse;
}

.hero-content {
  color: white;
  max-width: 520px;
  text-align: right;
  transform: translateY(180px);
}

.hero-content h1 {
  font-size: 56px;
  line-height: 1.3;

  font-weight: 700;
}

.hero-content p {
  font-size: 20px;
  opacity: 0.9;
  line-height: 1.6;
  margin-top: 20px;
}

.hero-image {
  flex: 1;
  display: flex;

  justify-content: flex-start;
}

.hero-image img {
  width: clamp(260px, 40vw, 600px);
  position: absolute;
  transform: translateX(-60%) translateY(32px);
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.35));
}

/* 
   HERO BOTTOM 
 */

.hero-bottom {
  margin-top: 260px;
  position: relative;
  right: 0;
  width: 100%;

  display: flex;
  align-items: center;
  transform: translateY(20px);
  justify-content: flex-end;

  z-index: 3;
}
.hero-bottom .container {
  display: flex;
  justify-content: flex-end;
}

.feature-cards {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 420px;

  margin-left: auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-box {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #7973ff33;

  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box img {
  width: 36px;
}

.feature-text {
  text-align: right;
}

.feature-text h3 {
  font-size: 24px;
  margin-bottom: 4px;
  color: #1e1e1e;
}

.feature-text p {
  font-size: 16px;
  color: #666;
}
@media (max-width: 992px) {
  .hero-wrapper {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
  }

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

  .hero-image img {
    transform: none;
    width: min(90%, 350px);
  }

  .hero-content {
    transform: none;
  }
}

@media (max-width: 992px) {
  .hero-bottom {
    position: relative;
    height: auto;
    transform: none;
    margin-top: 40px;
  }

  .hero-bottom .container {
    justify-content: center;
  }

  .feature-cards {
    align-items: center;
    margin: 0 auto;
  }
  .feature-item {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 28px;
    line-height: 1.4;
  }

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

@media (max-width: 992px) {
  .hero-image img {
    transform: none;
    width: min(90%, 320px);
  }
}
/* =========================================
   3 - ABOUT SECTION
========================================= */

.about {
  padding: 300px 0px 0px 0px;
  background: #f5f5f5;
  position: relative;
}

/* Wrapper */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
}

/* =========================================
   IMAGE 
========================================= */

.about-image {
  position: relative;
  right: 0;

  z-index: 3;
}

.about-image img {
  width: 100%;
  max-width: 620px;
  border-radius: 30px;
  transform: translateY(-115px);
}

/* =========================================
   LOGO 
========================================= */

.about-logo {
  position: absolute;
  right: 380px;
  top: -130px;

  z-index: 2;
}

.about-logo img {
  width: 500px;
  opacity: 0.9;
}
/* =========================================
   TEXT BOX 
========================================= */

.about-box {
  background: #e9e9f7;
  padding: 70px 200px 10px 100px;
  border-radius: 30px;
  margin-right: -180px;
  width: 750px;
  height: 300px;
  position: relative;
  z-index: 1;

  margin-left: 0;
}

.about-box h2 {
  font-size: 40px;
  color: #6c63ff;
  margin-bottom: 10px;
  font-weight: 700;
}

.about-box p {
  font-size: 24px;
  color: #6c63ff;
  line-height: 1.8;
}

.about-image img {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.about-image,
.about-logo,
.about-box {
  transition: 0.3s ease;
}
@media (max-width: 992px) {
  .about {
    padding: 80px 0;
  }

  .about-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .about-image img {
    width: min(90%, 320px);
    margin: 0 auto;
  }

  .about-logo {
    position: static;
    opacity: 0.2;
    margin: 10px 0;
  }

  .about-logo img {
    width: 160px;
  }

  .about-box {
    width: 100%;
    padding: 30px 20px;
    text-align: center;
    margin: 0 auto;
  }

  .about-box h2 {
    font-size: 24px;
  }

  .about-box p {
    font-size: 16px;
  }
}
/* ==========================================================================
   6. (Features)
   ========================================================================== */
.features {
  padding: 80px 0;
  background: #f5f5f5;
}

.section-title {
  text-align: center;
  font-size: 2.6rem;
  margin-bottom: 60px;
  color: #222;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: 40px;
  max-width: 1350px;
  margin: 0 auto;
}

.feature-card {
  width: 100%;
  max-width: 520px;
  min-height: 220px;
  height: auto;
  padding: 30px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #eef4ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-red {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #f8466933;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon img,
.feature-icon svg {
  width: 50px;
  height: 50px;
}
.feature-icon-red img,
.feature-icon-red svg {
  width: 50px;
  height: 50px;
}
.feature-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #222;
}
/* Tablet */
@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .feature-icon,
  .feature-icon-red {
    width: 70px;
    height: 70px;
  }

  .feature-icon img,
  .feature-icon-red img {
    width: 40px;
  }
}

@media (max-width: 768px) {
  .feature-card h3 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .features {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .feature-card {
    padding: 20px 15px;
  }
}

/* =========================================
   7 - Showcase
========================================= */
.showcase {
  padding: 120px 0 0;
  background: #f5f5f5;
  text-align: center;
  overflow: hidden;
}

/* Wrapper  */
.phones-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phones-wrapper img {
  width: min(1100px, 100%);
  max-width: 100%;

  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.2));
}

.showcase-bar {
  margin-top: 80px;
  background: #f8c7cd;
  padding: 25px 0;
}

.showcase-bar p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;

  font-size: 30px;
  font-weight: 600;
  color: #e63950;
}

@media (max-width: 768px) {
  .phones-wrapper img {
    width: 95%;
  }
}
@media (max-width: 768px) {
  .showcase {
    padding: 60px 0 0;
  }

  .showcase-bar {
    margin-top: 40px;
    padding: 18px 10px;
  }
}

.showcase-bar p span {
  transition: transform 0.2s ease;
}

.showcase-bar p span:hover {
  transform: scale(1.1);
}
/* =========================================
   8 - DOWNLOAD SECTION
========================================= */

.download-section {
  padding: 120px 0px 320px 0px;
  background: #f5f5f5;
  overflow: hidden;
}

.download-layout {
  position: relative;
  display: flex;
  max-width: 1300px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: 520px;
}

.download-phones-col {
  position: relative;
  width: 42%;
  min-height: 520px;
  flex-shrink: 0;
}

.download-phones {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-30%);
  width: 750px;
  z-index: 2;
}

.download-phones img {
  width: 100%;
  max-width: none;
  display: block;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.22));
}

.download-card {
  width: min(1000px, 100%);
  min-height: 270px;
  margin-right: 0;
  margin-left: -130px;
  background: linear-gradient(135deg, #6f67ff 0%, #746dff 100%);
  border-radius: 42px;
  position: relative;
  overflow: hidden;
}

.download-card-content {
  position: relative;
  z-index: 3;
  height: 100%;
  padding: 60px 120px 60px 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  text-align: right;
}

.download-card h2,
.download-card p {
  width: 100%;
  text-align: right;
}

.download-card h2 {
  font-size: 72px;
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 28px;
}

.download-card p {
  font-size: 28px;
  line-height: 1.5;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 30px;
}

.download-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.download-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.download-buttons img {
  width: 180px;
  height: 55px;
  display: block;
}

@media (max-width: 1400px) {
  .download-phones {
    width: 580px;
  }

  .download-card-content {
    padding: 80px 70px 80px 220px;
  }

  .download-card h2 {
    font-size: 60px;
  }

  .download-card p {
    font-size: 26px;
  }
}

@media (max-width: 1200px) {
  .download-layout {
    min-height: 480px;
  }

  .download-phones-col {
    width: 40%;
    min-height: 460px;
  }

  .download-phones {
    width: 500px;
  }

  .download-card {
    width: 70%;
    min-height: 430px;
  }

  .download-card-content {
    padding: 70px 55px 70px 180px;
  }

  .download-card h2 {
    font-size: 52px;
  }

  .download-card p {
    font-size: 24px;
  }

  .download-buttons img {
    width: 170px;
  }
}

@media (max-width: 992px) {
  .download-section {
    padding: 80px 0;
  }

  .download-layout {
    flex-direction: column;
    min-height: auto;
    gap: 40px;
  }

  .download-phones-col,
  .download-card {
    width: 100%;
  }

  .download-phones-col {
    min-height: auto;
  }

  .download-phones {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .download-card {
    min-height: auto;
  }

  .download-card-content {
    padding: 60px 30px;
    align-items: center;
    text-align: center;
  }

  .download-card h2 {
    font-size: 42px;
  }

  .download-card p {
    font-size: 22px;
  }

  .download-buttons {
    justify-content: center;
  }
}
@media (max-width: 992px) {
  .download-layout {
    flex-direction: column;
    gap: 40px;
  }

  .download-phones-col {
    width: 100%;
  }

  .download-phones {
    position: relative;
    transform: none;
    margin: 0 auto;
    width: min(90%, 400px);
  }

  .download-card {
    width: 100%;
    margin: 0;
  }

  .download-card-content {
    padding: 40px 20px;
    text-align: center;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .download-card h2 {
    font-size: 32px;
  }

  .download-card p {
    font-size: 18px;
  }
}
@media (max-width: 768px) {
  .download-buttons {
    justify-content: center;
  }

  .download-buttons img {
    width: 150px;
    height: auto;
  }
}

/* =========================================
  9 - FOOTER
========================================= */

.footer {
  background: linear-gradient(135deg, #d4548a 0%, #7b73ff 100%);
  color: #fff;
  padding: 90px 0 40px;
  overflow: hidden;
}

.footer-card {
  width: min(1300px, 90%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.15fr 1fr 1.15fr 1fr;
  column-gap: 60px;
  row-gap: 40px;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer h4 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 28px;
  color: #fff;
}

/* =========================================
   about
========================================= */

.footer-about {
  align-items: flex-start;
}

.footer-logo {
  width: 220px;
  max-width: 100%;
  margin-bottom: 26px;
}

.footer-about p {
  font-size: 23px;
  line-height: 1.4;
  margin: 0;
  max-width: 260px;
  color: #fff;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 10px;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-contact {
  align-items: flex-start;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 22px;
  line-height: 1.5;
  margin: 0 0 12px;
  color: #fff;
}

.contact-item i {
  font-size: 30px;
  flex-shrink: 0;
}

.follow-title {
  margin-top: 28px;
  margin-bottom: 22px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #b168d8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 24px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.footer-download {
  gap: 22px;
  align-items: flex-start;
}

.store-btn {
  width: 260px;
  min-height: 80px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  padding: 18px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  color: #fff;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

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

.store-btn img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.1;
}

.store-text p {
  margin: 0 0 6px;
  font-size: 18px;
  color: #fff;
}

.store-text strong {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.copyright {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
  color: #fff;
}

@media (max-width: 1100px) {
  .footer-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .footer-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-contact,
  .footer-download {
    align-items: center;
  }
}
@media (max-width: 768px) {
  .footer-about p,
  .footer-links a,
  .contact-item {
    font-size: 16px;
  }

  .footer h4 {
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .store-btn {
    width: 100%;
    max-width: 260px;
    padding: 12px 16px;
  }

  .store-text strong {
    font-size: 18px;
  }

  .store-text p {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .footer {
    padding: 60px 0 20px;
  }

  .footer-card {
    padding: 30px 20px;
  }
}
@media (max-width: 768px) {
  .copyright {
    font-size: 14px;
  }
}

/* =========================================
   Responsive
========================================= */

/* ===== Tablet ===== */
@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* ===== Small Tablet ===== */
@media (max-width: 992px) {
  .hero-wrapper {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about-wrapper {
    flex-direction: column;
  }

  .download-layout {
    flex-direction: column;
  }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
  }

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

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

/* ===== Small Mobile ===== */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  /* ===== NAVBAR ===== */
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
    text-align: center;
    gap: 15px;
  }

  .nav-menu.active {
    display: flex;
  }

  .btn-download {
    display: none;
  }

  /* ===== HERO ===== */
  .hero-wrapper {
    flex-direction: column-reverse;
    text-align: center;
    gap: 20px;
  }

  .hero-content {
    max-width: 100%;
    transform: none;
  }

  .hero-content h1 {
    font-size: 26px;
  }

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

  .hero-image img {
    transform: none;
    width: 85%;
    max-width: 300px;
    margin: 0 auto;
  }

  /* ===== HERO FEATURES ===== */
  .hero-bottom {
    margin-top: 30px;
  }

  .feature-cards {
    align-items: center;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  /* ===== ABOUT ===== */
  .about-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image img {
    width: 85%;
    margin: 0 auto;
  }

  .about-logo {
    position: static;
    opacity: 0.2;
    margin: 10px 0;
  }

  .about-box {
    padding: 20px;
  }

  /* ===== FEATURES ===== */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* ===== SHOWCASE ===== */
  .phones-wrapper img {
    width: 90%;
  }

  .showcase-bar p {
    font-size: 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  /* ===== DOWNLOAD ===== */
  .download-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-card-content {
    text-align: center;
    padding: 30px 20px;
  }

  .download-card h2 {
    font-size: 28px;
  }

  .download-card p {
    font-size: 16px;
  }

  .download-phones img {
    transform: none;
    max-width: 260px;
    margin: 0 auto;
  }

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

  /* ===== FOOTER ===== */
  .footer-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-col {
    align-items: center;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 22px;
  }

  .hero-content p {
    font-size: 14px;
  }

  .download-card h2 {
    font-size: 24px;
  }

  .download-card p {
    font-size: 14px;
  }
}
