:root {
  --green-950: #02180d;
  --green-900: #042714;
  --green-800: #064b25;
  --green-700: #087735;
  --green-600: #0f8f43;
  --green-500: #19b85e;
  --green-100: #e8fff2;
  --white: #ffffff;
  --soft-white: #f5fff9;
  --text: #102116;
  --muted: #617067;
  --line: rgba(8, 119, 53, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  --card-shadow: 0 18px 50px rgba(2, 24, 13, 0.11);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #f7fff9;
  overflow-x: hidden;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section { padding: 104px 0; position: relative; }
.section-small { padding: 42px 0; }

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 18%, rgba(25, 184, 94, 0.30), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(18, 134, 62, 0.24), transparent 26%),
    linear-gradient(180deg, #f7fff9 0%, #ffffff 54%, #f2fff7 100%);
}

.orb,
.dot-map {
  position: absolute;
  opacity: 0.9;
}

.orb {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 2px solid rgba(25, 184, 94, 0.18);
  background: radial-gradient(circle at 35% 35%, rgba(25, 184, 94, 0.22), transparent 64%);
}

.orb-a { right: -110px; top: -80px; }
.orb-b { left: -160px; bottom: 10%; width: 260px; height: 260px; }

.dot-map {
  width: 360px;
  height: 420px;
  background-image: radial-gradient(rgba(8, 119, 53, 0.16) 2px, transparent 2.5px);
  background-size: 15px 15px;
  mask-image: radial-gradient(ellipse at center, #000 0 55%, transparent 74%);
}

.dot-left { left: -100px; top: 230px; }
.dot-right { right: -90px; top: 520px; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(247, 255, 249, 0.82);
  border-bottom: 1px solid rgba(8, 119, 53, 0.08);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, var(--green-600), var(--green-800));
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(8, 119, 53, 0.28);
}

.brand-text { font-size: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #24402d;
  font-weight: 650;
}

.nav-links a:not(.nav-cta) {
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green-600);
  transition: transform 0.25s ease;
}

.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.nav-cta {
  background: var(--green-700);
  color: white;
  box-shadow: 0 14px 30px rgba(8, 119, 53, 0.24);
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green-900);
  margin: 5px auto;
}

.hero {
  padding-top: 76px;
  background:
    radial-gradient(circle at 72% 18%, rgba(25, 184, 94, 0.22), transparent 27%),
    linear-gradient(135deg, var(--green-950) 0%, var(--green-800) 58%, var(--green-700) 100%);
  color: white;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  right: -170px;
  top: -180px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 62%);
}

.hero::after {
  width: 460px;
  height: 520px;
  left: -180px;
  bottom: 80px;
  opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 2px, transparent 2px);
  background-size: 16px 16px;
  mask-image: radial-gradient(ellipse at center, #000 0 50%, transparent 75%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.86fr);
  gap: 70px;
  align-items: center;
}

.eyebrow,
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-100);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #55ff9a;
  box-shadow: 0 0 0 0 rgba(85, 255, 154, 0.55);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(85, 255, 154, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(85, 255, 154, 0); }
  100% { box-shadow: 0 0 0 0 rgba(85, 255, 154, 0); }
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.07em;
  max-width: 760px;
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.82);
  max-width: 690px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn-primary {
  background: white;
  color: var(--green-800);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.btn-outline {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-points span {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-visual {
  position: relative;
  min-height: 760px;
  display: grid;
  place-items: center;
}

.phone {
  width: 370px;
  border: 9px solid #101010;
  border-radius: 48px;
  padding: 8px;
  background: #171717;
  box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, 0.23);
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 52px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.phone-speaker {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 8px;
  border-radius: 999px;
  background: #111;
  z-index: 3;
}

.phone-screen {
  height: 710px;
  overflow: hidden;
  border-radius: 38px;
  position: relative;
  background: linear-gradient(180deg, #003e1c 0 18%, #0a5f2c 18% 64%, #063f1e 64% 100%);
}

.status-row {
  display: flex;
  justify-content: space-between;
  padding: 26px 24px 12px;
  font-weight: 800;
  font-size: 13px;
}

.translate-top {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  padding: 12px 20px 20px;
}

.translate-top button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  font-size: 25px;
  background: white;
  color: #032411;
}

.translate-top span {
  padding: 12px 18px;
  min-width: 105px;
  text-align: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.camera-card {
  height: 342px;
  margin: 0 8px;
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(87, 52, 16, 0.45), transparent 18%),
    linear-gradient(180deg, #d9bc8e, #b58a58);
}

.sign-card {
  width: 220px;
  min-height: 250px;
  border-radius: 16px;
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f2c38d;
  background: #003d28;
  border: 3px solid #deaa68;
  box-shadow: 12px 14px 24px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.sign-card strong { font-size: 22px; margin-top: 8px; }
.sign-card small { font-weight: 800; margin-top: 7px; }
.sign-card hr { width: 100%; border: 0; border-top: 1px solid #deaa68; margin: 16px 0; }
.wifi { font-size: 48px; line-height: 0.4; }

.scan-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: white;
  border-style: solid;
}
.scan-corner.one { left: 60px; top: 58px; border-width: 4px 0 0 4px; border-radius: 8px 0 0 0; }
.scan-corner.two { right: 60px; top: 58px; border-width: 4px 4px 0 0; border-radius: 0 8px 0 0; }
.scan-corner.three { left: 60px; bottom: 58px; border-width: 0 0 4px 4px; border-radius: 0 0 0 8px; }
.scan-corner.four { right: 60px; bottom: 58px; border-width: 0 4px 4px 0; border-radius: 0 0 8px 0; }

.result-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 82px;
  background: white;
  color: var(--text);
  border-radius: 24px 24px 0 0;
  padding: 20px 30px 26px;
  box-shadow: 0 -22px 55px rgba(0, 0, 0, 0.18);
}

.sheet-handle {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: #b6b6b6;
  margin: 0 auto 12px;
}

.result-sheet small { font-weight: 850; color: var(--green-900); }
.result-sheet h3 { margin: 16px 0 4px; color: var(--green-950); }
.result-sheet p { margin: 0; color: #314237; }
.mini-line { height: 1px; background: #dfe6e2; margin: 15px 0; }

.bottom-tools {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr 78px 1fr 1fr;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 12px;
  text-align: center;
}

.capture {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: white;
  border: 5px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 0 0 5px #0b5528;
  justify-self: center;
}

.floating-card {
  position: absolute;
  z-index: 2;
  padding: 13px 18px;
  border-radius: 999px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
  font-weight: 850;
  animation: float 4.2s ease-in-out infinite;
}

.fc-one { right: 0; top: 160px; }
.fc-two { left: 8px; bottom: 175px; animation-delay: -1.5s; }
.fc-three { right: 28px; bottom: 90px; animation-delay: -2.2s; }

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

.stats { background: white; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stats-grid div {
  min-height: 130px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #f2fff7);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}

.stats-grid strong {
  display: block;
  font-size: 38px;
  color: var(--green-700);
  letter-spacing: -0.04em;
}

.stats-grid span {
  color: var(--muted);
  font-weight: 750;
}

.section-head {
  max-width: 740px;
  margin: 0 auto 52px;
  text-align: center;
}

.label {
  color: var(--green-700);
  background: rgba(8, 119, 53, 0.08);
  border-color: rgba(8, 119, 53, 0.12);
}

.section-head h2,
.split-copy h2,
.cta-card h2 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.section-head p,
.split-copy p,
.cta-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card,
.use-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover,
.use-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 65px rgba(2, 24, 13, 0.15);
}

.icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--green-600), var(--green-800));
  color: white;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 24px;
}

.feature-card h3,
.use-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  letter-spacing: -0.04em;
}

.feature-card p,
.use-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.split-section {
  background: linear-gradient(180deg, #ffffff, #effff5);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.check-list {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #24402d;
  font-weight: 700;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-700);
  color: white;
  font-size: 14px;
}

.language-panel {
  min-height: 460px;
  border-radius: var(--radius-xl);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(145deg, var(--green-950), var(--green-700));
  box-shadow: var(--shadow);
}

.language-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(255, 255, 255, 0.25) 2px, transparent 2px);
  background-size: 17px 17px;
  mask-image: radial-gradient(ellipse at center, #000 0 48%, transparent 76%);
}

.bubble {
  position: absolute;
  padding: 22px 34px;
  min-width: 220px;
  border-radius: 28px;
  text-align: center;
  font-size: 42px;
  font-weight: 900;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.arabic {
  top: 75px;
  right: 70px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-800);
  direction: rtl;
}

.english {
  left: 70px;
  bottom: 120px;
  background: linear-gradient(145deg, #0b8b3d, #026226);
  color: white;
}

.swap {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 42px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.mini-tools {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mini-tools span {
  padding: 12px 10px;
  border-radius: 999px;
  text-align: center;
  font-weight: 850;
  color: white;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.use-cases { background: white; }
.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cta-section {
  background: white;
  padding-top: 48px;
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-xl);
  color: white;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.19), transparent 25%),
    linear-gradient(135deg, var(--green-950), var(--green-700));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.cta-card p { color: rgba(255, 255, 255, 0.78); }
.label.light {
  color: white;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-light {
  background: white;
  color: var(--green-800);
  white-space: nowrap;
}

.faq-container {
  max-width: 860px;
}

.faq-list {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  background: white;
}

.faq-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: white;
  cursor: pointer;
  color: var(--text);
  font: inherit;
  font-weight: 850;
  text-align: left;
}

.faq-item b {
  color: var(--green-700);
  font-size: 24px;
}

.faq-content {
  display: none;
  padding: 0 28px 24px;
  border-bottom: 1px solid var(--line);
}

.faq-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.faq-content.open { display: block; }

.footer {
  color: white;
  background: var(--green-950);
  padding: 52px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.6fr;
  gap: 28px;
  align-items: start;
}

.footer p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 420px;
  line-height: 1.6;
}

.footer h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.footer a:not(.brand) {
  color: rgba(255, 255, 255, 0.72);
}

.copyright {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .hero-grid,
  .split-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero-visual { min-height: 700px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 16px; }
  .nav-cta { margin-top: 8px; }

  .hero {
    padding-top: 54px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-visual {
    min-height: 620px;
    transform: scale(0.86);
    transform-origin: top center;
    margin-bottom: -80px;
  }

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

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 72px 0; }
  .section-small { padding: 28px 0; }
  .brand-text { font-size: 15px; }
  .brand-mark { width: 40px; height: 40px; }
  .hero h1 { font-size: clamp(40px, 14vw, 62px); }
  .hero-subtitle { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .hero-visual {
    transform: scale(0.72);
    min-height: 560px;
    margin-bottom: -150px;
  }
  .floating-card { display: none; }
  .feature-grid,
  .stats-grid { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 34px; }
  .feature-card,
  .use-card { padding: 24px; }
  .language-panel { min-height: 390px; }
  .bubble { min-width: 160px; font-size: 32px; }
  .arabic { top: 56px; right: 24px; }
  .english { left: 24px; bottom: 100px; }
  .mini-tools { grid-template-columns: repeat(2, 1fr); }
  .cta-card { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
