/* ============ Safora website ============ */
:root {
  --g1: #34a874;
  --g2: #1f7a50;
  --g3: #0f4d32;
  --g4: #0a3322;
  --mint: #e6f5ec;
  --ink: #0f1f18;
  --text: #2c3b34;
  --muted: #5d6e66;
  --bg: #f7faf8;
  --card: #ffffff;
  --line: #e2eae5;
  --warm: #f0a33a;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 31, 24, .04), 0 12px 32px -12px rgba(15, 31, 24, .18);
  --shadow-lg: 0 30px 80px -24px rgba(10, 51, 34, .45);
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
[dir=rtl] { --font: "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g2); text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
[dir=rtl] h1, [dir=rtl] h2, [dir=rtl] h3 { letter-spacing: 0; line-height: 1.35; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 750; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.hidden { display: none !important; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); }
.center { text-align: center; }
.section { padding: 110px 0; }
.kicker {
  display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--g2); margin-bottom: 14px;
}
[dir=rtl] .kicker { letter-spacing: 0; }
.kicker.light { color: #8fe0b8; }
.sub { font-size: 19px; color: var(--muted); margin-top: 18px; }

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 14px;
  font-weight: 700; font-size: 16px; padding: 12px 20px; transition: transform .15s, box-shadow .2s, background .2s;
  border: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--g1), var(--g2) 60%, var(--g3));
  box-shadow: 0 10px 30px -10px rgba(31, 122, 80, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(31, 122, 80, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-light { color: var(--g3); background: #fff; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .5); }
.btn-lg { font-size: 19px; padding: 18px 30px; border-radius: 16px; }
.btn-sm { padding: 9px 16px; font-size: 15px; border-radius: 11px; }

/* ============ nav ============ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s, backdrop-filter .25s;
}
.nav.scrolled { background: rgba(247, 250, 248, .82); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 28px; margin-inline-start: 12px; }
.nav-links a { color: var(--text); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--g2); }
.nav-right { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.lang { display: flex; background: rgba(15, 77, 50, .07); border-radius: 10px; padding: 3px; }
.lang button {
  border: none; background: none; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted);
  padding: 5px 9px; border-radius: 8px; cursor: pointer; min-width: 34px;
}
.lang button.active { background: #fff; color: var(--g3); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.menu-toggle { display: none; background: none; border: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 0 8px; }

/* ============ hero ============ */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.b1 { width: 620px; height: 620px; background: radial-gradient(circle, #9be5bf, transparent 70%); top: -180px; inset-inline-end: -120px; animation: float 14s ease-in-out infinite; }
.b2 { width: 480px; height: 480px; background: radial-gradient(circle, #c9f0dc, transparent 70%); bottom: -160px; inset-inline-start: -140px; animation: float 18s ease-in-out infinite reverse; }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(15, 77, 50, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 77, 50, .05) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}
@keyframes float { 50% { transform: translate(30px, 40px) scale(1.05); } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: #fff; color: var(--g2); font-weight: 700; font-size: 14px; box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(42px, 5.6vw, 72px); font-weight: 800; letter-spacing: -0.035em; }
[dir=rtl] .hero h1 { letter-spacing: 0; }
.grad { background: linear-gradient(120deg, var(--g1), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 20px; color: var(--muted); margin-top: 22px; max-width: 540px; }

.cta-block { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.cta-block.center { justify-content: center; }
.cta-meta { display: flex; flex-direction: column; gap: 4px; }
.dl-count {
  display: inline-flex; align-items: center; gap: 7px; font-size: 16px; color: var(--g3);
  background: var(--mint); padding: 6px 12px 6px 10px; border-radius: 999px; width: fit-content;
}
.dl-count strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.dl-count.light { background: rgba(255, 255, 255, .14); color: #fff; }
.cta-info { font-size: 14px; color: var(--muted); padding-inline-start: 4px; }
.final .cta-info { color: rgba(255, 255, 255, .75); }

.trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.trust li { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--text); }
.trust svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; background: var(--g1); border-radius: 50%; padding: 3px; }

.hero-visual { position: relative; }
.window {
  border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 77, 50, .12);
}
.window-bar { display: flex; gap: 7px; padding: 11px 14px; background: #eef2f0; border-bottom: 1px solid var(--line); direction: ltr; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3dbd7; }
.window-bar i:first-child { background: #ff6159; }
.window-bar i:nth-child(2) { background: #ffbd2e; }
.window-bar i:nth-child(3) { background: #28c941; }
.hero .window { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transition: transform .6s; }
[dir=rtl] .hero .window { transform: perspective(1600px) rotateY(8deg) rotateX(3deg); }
.hero .window:hover { transform: perspective(1600px) rotateY(0) rotateX(0); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: 14px; color: var(--muted); animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-size: 18px; line-height: 1.2; }
.fc-1 { bottom: -26px; inset-inline-start: -30px; }
.fc-2 { top: 34px; inset-inline-end: -22px; animation-delay: -3s; }
.fc-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--g1), var(--g3)); }
.fc-icon svg { width: 22px; height: 22px; fill: #fff; }
.fc-warm { background: linear-gradient(135deg, #ffc56b, #f08a24); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ============ strip ============ */
.strip { background: var(--g3); color: #cfeedd; padding: 34px 0; }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip-inner div { display: flex; flex-direction: column; gap: 2px; }
.strip strong { font-size: 34px; color: #fff; font-weight: 800; letter-spacing: -0.02em; }
.strip span { font-size: 15px; }

/* ============ why ============ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.pillar { background: var(--card); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.pillar p { color: var(--muted); margin-top: 10px; }
.p-icon, .f-icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--mint), #d2f0e0);
}
.p-icon svg, .f-icon svg { width: 27px; height: 27px; fill: none; stroke: var(--g2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============ features ============ */
.features { background: linear-gradient(180deg, var(--bg), #eef6f1); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 60px; }
.feature {
  background: var(--card); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #bfe5cf; }
.feature p { color: var(--muted); margin-top: 8px; font-size: 16px; }

/* ============ how ============ */
.how { background: radial-gradient(ellipse at 20% 0%, #13603f, var(--g4) 60%); color: #cfe7da; }
.how h2 { color: #fff; }
.how .sub { color: #a8cdb9; }
.how-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.how-shot { margin-top: 36px; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); border: 1px solid rgba(255, 255, 255, .1); }
.layers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; position: relative; }
.layers li {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: 16px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09); backdrop-filter: blur(6px);
}
.layers h3 { color: #fff; font-size: 18px; }
.layers p { font-size: 15px; color: #a8cdb9; margin-top: 4px; }
.num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 800;
  color: var(--g4); background: linear-gradient(135deg, #8fe0b8, var(--g1));
}

/* ============ support (split) ============ */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { position: relative; padding-inline-start: 36px; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--g1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

/* ============ gallery ============ */
.gallery { background: #eef6f1; }
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 44px 0 26px; }
.tabs button {
  font: inherit; font-size: 15px; font-weight: 650; border: 1px solid var(--line); background: #fff; color: var(--text);
  padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.tabs button:hover { border-color: var(--g1); }
.tabs button.active { background: var(--g3); color: #fff; border-color: var(--g3); }
.window.big { max-width: 1040px; margin: 0 auto; }
#gallery-img { transition: opacity .25s; }

/* ============ audiences ============ */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.audience { padding: 34px 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.a-emoji { font-size: 38px; margin-bottom: 14px; }
.audience p { color: var(--muted); margin-top: 10px; }

/* ============ faq ============ */
.faq { padding-top: 40px; }
.faq-list { margin-top: 46px; display: flex; flex-direction: column; gap: 12px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; transition: box-shadow .2s; }
details[open] { box-shadow: var(--shadow); }
summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 18px; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint); color: var(--g2); font-size: 20px; font-weight: 600; transition: transform .25s;
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 22px; color: var(--muted); }

/* ============ final ============ */
.final { position: relative; overflow: hidden; padding: 120px 0; background: linear-gradient(135deg, var(--g2), var(--g3) 55%, var(--g4)); color: #d7f1e3; }
.final-bg { position: absolute; inset: 0; pointer-events: none; }
.b3 { width: 700px; height: 700px; background: radial-gradient(circle, rgba(143, 224, 184, .45), transparent 70%); top: -300px; left: 50%; transform: translateX(-50%); }
.final-inner { position: relative; }
.final-icon { margin: 0 auto 26px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.final h2 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); }
.final p { font-size: 19px; margin: 18px auto 0; max-width: 600px; }

/* ============ footer ============ */
.footer { background: #07241a; color: #9dbcad; padding: 60px 0 30px; font-size: 15px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand img { width: 190px; height: auto; margin-bottom: 10px; }
.footer-brand p { max-width: 320px; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { color: #d0e6da; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }

/* ============ reveal animation ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .float-card { animation: none; }
}

/* ============ responsive ============ */
@media (max-width: 1000px) {
  .hero-inner, .how-inner, .split { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 120px; }
  .hero .window, [dir=rtl] .hero .window { transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .split-visual { order: 2; }
}
@media (max-width: 820px) {
  .nav-links {
    position: absolute; top: 72px; inset-inline: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 24px 16px;
    background: rgba(247, 250, 248, .97); backdrop-filter: blur(14px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .2);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: flex; }
  .nav-right .btn { display: none; }
  .pillars, .cards-3 { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .strip strong { font-size: 26px; }
  .float-card { display: none; }
  .btn-lg { width: 100%; }
  .cta-block { flex-direction: column; align-items: stretch; }
  .cta-meta { align-items: center; }
}
