/* Rageed marketing landing — lightweight, no framework */

:root {
  --green-deep: #0b3d2e;
  --green: #1b5e20;
  --green-mid: #2e7d32;
  --green-soft: #e8f5e9;
  --green-mist: #f1f8f4;
  --teal: #0f766e;
  --orange: #f39c12;
  --orange-bright: #fba72c;
  --ink: #0f1a14;
  --ink-soft: #3d4f45;
  --muted: #5c6b62;
  --line: rgba(27, 94, 32, 0.12);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(11, 61, 46, 0.1);
  --shadow-sm: 0 8px 24px rgba(11, 61, 46, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1120px;
  --font: "Outfit", "Cairo", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(46, 125, 50, 0.14), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(15, 118, 110, 0.1), transparent 55%),
    linear-gradient(180deg, #f7fbf8 0%, #ffffff 38%, #f4faf6 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

[hidden] {
  display: none !important;
}

[dir="rtl"] .flip-x {
  transform: scaleX(-1);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 251, 248, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(11, 61, 46, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 148px;
  height: auto;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}

.lang-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(27, 94, 32, 0.28);
  background: var(--white);
}

.lang-toggle svg {
  width: 16px;
  height: 16px;
  opacity: 0.75;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 4.8vw, 3.55rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--green-deep);
  font-weight: 700;
  max-width: 14ch;
}

.hero__subtitle {
  margin: 0 0 1.6rem;
  max-width: 38ch;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.85rem;
  padding: 0;
  list-style: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.badge svg {
  width: 16px;
  height: 16px;
  color: var(--green-mid);
  flex-shrink: 0;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.download-label {
  width: 100%;
  margin: 0 0 0.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 178px;
  padding: 0.85rem 1.15rem;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  box-shadow: 0 14px 30px rgba(27, 94, 32, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s;
}

.store-btn--secondary {
  background: linear-gradient(135deg, #1a1a1a, #333);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.store-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 18px 36px rgba(27, 94, 32, 0.32);
}

.store-btn--secondary:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.store-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-btn small {
  font-size: 0.68rem;
  opacity: 0.8;
  font-weight: 500;
}

.store-btn strong {
  font-size: 1rem;
  font-weight: 700;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.hero-visual__glow {
  position: absolute;
  inset: 12% 8%;
  background:
    radial-gradient(circle at 50% 45%, rgba(243, 156, 18, 0.18), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(46, 125, 50, 0.22), transparent 60%);
  filter: blur(8px);
  z-index: 0;
}

.hero-visual__skyline {
  position: absolute;
  inset-inline: 6%;
  bottom: 4%;
  height: 28%;
  opacity: 0.14;
  z-index: 1;
}

.phone {
  position: relative;
  z-index: 3;
  width: min(100%, 280px);
  aspect-ratio: 9 / 19;
  border-radius: 36px;
  padding: 12px;
  background: linear-gradient(160deg, #1a2e24, #0b3d2e);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  animation: float 6s ease-in-out infinite;
}

.phone__screen {
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fcf9, #eef7f1);
  padding: 1rem 0.85rem;
}

.phone__search {
  height: 34px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 0.85rem;
}

.phone__banner {
  height: 88px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  box-shadow: 0 10px 20px rgba(27, 94, 32, 0.25);
}

.phone__cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}

.phone__cat {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}

.float-item {
  position: absolute;
  z-index: 4;
  width: clamp(64px, 12vw, 92px);
  filter: drop-shadow(0 14px 24px rgba(11, 61, 46, 0.18));
  animation: float 5.5s ease-in-out infinite;
}

.float-item--1 { inset-inline-start: 2%; top: 18%; animation-delay: -1s; }
.float-item--2 { inset-inline-end: 0; top: 28%; animation-delay: -2.2s; width: clamp(72px, 14vw, 110px); }
.float-item--3 { inset-inline-start: 6%; bottom: 16%; animation-delay: -3.4s; }
.float-item--4 { inset-inline-end: 4%; bottom: 12%; animation-delay: -0.8s; width: clamp(78px, 15vw, 118px); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section__head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.5rem;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--green-deep);
}

.section__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  padding: 1.45rem 1.3rem 1.55rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(46, 125, 50, 0.28);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(145deg, var(--green-soft), #fff);
  color: var(--green);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  color: var(--green-deep);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* About + coverage */
.split {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: stretch;
  }
}

.panel {
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.panel--green {
  background:
    linear-gradient(145deg, rgba(11, 61, 46, 0.96), rgba(27, 94, 32, 0.92) 55%, rgba(15, 118, 110, 0.9));
  color: var(--white);
  border: 0;
  box-shadow: 0 20px 40px rgba(11, 61, 46, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
}

.panel--green h2,
.panel--green p {
  color: inherit;
}

.panel--green p {
  opacity: 0.88;
  margin: 0;
}

.panel h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  color: var(--green-deep);
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.chip {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--green-mist);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--line);
}

.saudi-map {
  width: min(100%, 220px);
  margin-inline: auto;
  opacity: 0.95;
}

/* Download band */
.download-band {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2rem, 5vw, 3rem);
  background:
    radial-gradient(600px 240px at 85% 20%, rgba(243, 156, 18, 0.22), transparent 55%),
    linear-gradient(125deg, var(--green-deep), var(--green) 48%, var(--teal));
  color: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.download-band h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
}

.download-band p {
  margin: 0 auto 1.5rem;
  max-width: 40ch;
  opacity: 0.9;
}

.download-band .download-row {
  justify-content: center;
}

.download-band .download-label {
  color: rgba(255, 255, 255, 0.85);
}

/* Footer */
.site-footer {
  margin-top: 1rem;
  padding: 3rem 0 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(232, 245, 233, 0.65));
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand img {
  width: 130px;
  margin-bottom: 0.85rem;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  max-width: 32ch;
  font-size: 0.95rem;
}

.footer-col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--green-deep);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--green);
}

.socials {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--green);
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s;
}

.socials a:hover {
  transform: translateY(-2px);
  background: var(--green);
  color: var(--white);
}

.socials svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone,
  .float-item,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .brand img { width: 118px; }
  .hero-visual { min-height: 360px; }
  .float-item--1,
  .float-item--3 { inset-inline-start: -2%; }
  .float-item--2,
  .float-item--4 { inset-inline-end: -4%; }
}
