/* ==================================================
   Khayratna - Shared landing page styles
   ================================================== */

/* 1. Design tokens */
:root {
  --red-dark: #89181a;
  --red: #c62129;
  --green-tint: rgba(5, 84, 44, 0.12);
  --red-tint: rgba(179, 31, 36, 0.12);
  --cream: #f7f3ee;
  --green-deep: #0c321b;
  --green: #035e31;
  --white: #ffffff;
  --text-muted: #3d5446;
}

/* 2. Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--green-deep);
  font-family: "Tajawal", system-ui, sans-serif;
}

img {
  max-width: 100%;
}

/* 3. Landing layout */
.landing {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 40px 0 18px;
}

.landing .container {
  position: relative;
  z-index: 2;
}

.landing-language {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 24px;
  min-width: 48px;
  padding: 8px 14px;
  border: 1px solid rgba(12, 50, 27, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--green-deep);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(12, 50, 27, 0.08);
  transition: 0.25s;
}

.landing-language:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

[dir="ltr"] .landing-language {
  left: auto;
  right: 24px;
}

/* 4. Background decoration */
.bg-blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
}

.blob-green {
  right: -160px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  background: var(--green-tint);
}

.blob-red {
  top: -110px;
  left: -90px;
  width: 300px;
  height: 300px;
  background: var(--red-tint);
}

[dir="ltr"] .blob-green {
  right: auto;
  left: -160px;
}

[dir="ltr"] .blob-red {
  right: -90px;
  left: auto;
}

/* 5. Brand and headings */
.logo {
  width: 170px;
  height: auto;
  display: block;
  margin: 0 auto 14px;
}

.badge-launch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--red);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(198, 33, 41, 0.28);
}

.landing h1 {
  margin-bottom: 14px;
  color: var(--green-deep);
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  font-weight: 800;
  line-height: 1.2;
}

.landing h1 span {
  position: relative;
  color: var(--red);
  white-space: nowrap;
}

.lead-text {
  max-width: 500px;
  margin: 0 auto 20px;
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.9;
}

/* 6. Category tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 26px;
}

.tags span {
  padding: 6px 16px;
  border: 1px solid var(--green-tint);
  border-radius: 50px;
  background: var(--white);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
}

/* 7. Store buttons */
.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  border-radius: 16px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
  box-shadow: 0 10px 22px rgba(3, 94, 49, 0.28);
  transition: 0.25s;
}

.store-btn.alt {
  background: var(--green-deep);
  box-shadow: 0 10px 22px rgba(12, 50, 27, 0.28);
}

.store-btn i {
  font-size: 1.8rem;
}

.store-btn small {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
}

.store-btn:hover {
  transform: translateY(-3px);
  background: var(--red);
  color: var(--white);
}

/* 8. Contact information and socials */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.contact a,
.contact .addr {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-deep);
  text-decoration: none;
  font-weight: 700;
}

.contact i {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  font-size: 1rem;
  transition: 0.25s;
}

.contact a:hover i {
  background: var(--red);
  color: var(--white);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--white);
  text-decoration: none;
  font-size: 1.05rem;
  transition: 0.25s;
}

.socials a:hover {
  transform: translateY(-4px);
  background: var(--red);
}

/* 9. Phone showcase */
.stage {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 48px;
  background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 80%);
  box-shadow: 0 30px 60px rgba(12, 50, 27, 0.3);
}

.orb {
  position: absolute;
  border-radius: 50%;
}

.orb-1 {
  top: -130px;
  left: -110px;
  width: 380px;
  height: 380px;
  background: rgba(198, 33, 41, 0.35);
}

.orb-2 {
  right: -90px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  background: rgba(247, 243, 238, 0.07);
}

.phone {
  position: relative;
  z-index: 2;
  width: min(330px, 80vw);
  height: auto;
  margin: -30px 0;
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--green-deep);
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.float-chip i {
  color: var(--red);
}

.chip-2 {
  bottom: 56px;
  left: 24px;
}

/* 10. Footer */
.copy {
  position: relative;
  z-index: 2;
  margin: 26px 0 0;
  color: #5d7466;
  text-align: center;
  font-size: 0.85rem;
}

.copy p {
  margin: 0 0 6px;
}

.copy-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.copy-links a {
  color: var(--green-deep);
  text-decoration: none;
  font-weight: 700;
}

.copy-links a:hover {
  color: var(--red);
}

/* 11. Responsive */
@media (min-width: 992px) {
  .logo {
    margin-right: 0;
    margin-left: 0;
  }

  .lead-text,
  .tags,
  .stores,
  .contact,
  .socials {
    margin-right: 0;
    margin-left: 0;
  }

  .lead-text {
    margin-inline-start: 0;
    margin-inline-end: auto;
  }

  .tags,
  .stores,
  .socials {
    justify-content: flex-start;
  }

  .contact {
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
.phone{
  margin: 0px;
}
}

@media (max-width: 575px) {
  .landing {
    padding-top: 70px;
  }

  .landing-language {
    top: 16px;
    left: 16px;
  }

  [dir="ltr"] .landing-language {
    left: auto;
    right: 16px;
  }

  .stage {
    min-height: 540px;
    border-radius: 36px;
  }

  .chip-2 {
    bottom: 36px;
    left: 12px;
  }

  [dir="ltr"] .chip-2 {
    right: 12px;
    left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .store-btn,
  .socials a,
  .landing-language {
    transition: none;
  }
}
