/* ==========================================================================
   مواقيتي — mawaqiti.com
   Landing page theme. Mirrors the Android app: mint, gold, Almarai + Amiri.
   ========================================================================== */

@font-face {
  font-family: "Almarai";
  src: url("fonts/almarai-light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Almarai";
  src: url("fonts/almarai-regular.ttf") format("truetype");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Almarai";
  src: url("fonts/almarai-bold.ttf") format("truetype");
  font-weight: 600 700;
  font-display: swap;
}
@font-face {
  font-family: "Almarai";
  src: url("fonts/almarai-extrabold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Amiri";
  src: url("fonts/amiri-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #f4faf7;
  --card: #ffffff;
  --ink: #0c2a21;
  --muted: #5c7770;
  --muted-2: #5a756d;
  --border: #e1efe9;
  --primary: #0e7c60;
  --primary-deep: #0a5b46;
  --primary-darkest: #063a2c;
  --mint: #2fbf8f;
  --mint-soft: #e4f5ee;
  --gold: #d2a75c;
  --gold-deep: #8a5f1c;
  --gold-soft: #fbf3e2;
  --ring-gold: #f2ce8f;
  --hero-top: #063a2c;
  --hero-mid: #0a5b46;
  --hero-bottom: #0f8063;
  --footer: #061410;
  --header-bg: rgba(244, 250, 247, 0.86);
  --shadow: 0 26px 60px -34px rgba(6, 58, 44, 0.38);
  --shadow-soft: 0 18px 42px -28px rgba(6, 58, 44, 0.38);
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #061410;
  --card: #0c211a;
  --ink: #e8f5f0;
  --muted: #9db8af;
  --muted-2: #6f8b82;
  --border: #1d3b30;
  --primary: #4fd6a8;
  --primary-deep: #0a5b46;
  --primary-darkest: #04231a;
  --mint: #2fbf8f;
  --mint-soft: #123829;
  --gold: #e5bf78;
  --gold-deep: #e5bf78;
  --gold-soft: #2a2418;
  --ring-gold: #f2ce8f;
  --hero-top: #04231a;
  --hero-mid: #0a4d3b;
  --hero-bottom: #0d6b51;
  --footer: #030d0a;
  --header-bg: rgba(6, 20, 16, 0.87);
  --shadow: 0 26px 60px -34px rgba(0, 0, 0, 0.8);
  --shadow-soft: 0 18px 42px -28px rgba(0, 0, 0, 0.72);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Almarai", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button {
  font: inherit;
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--mint-soft);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 10px 36px -32px rgba(6, 58, 44, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand-logo {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  box-shadow: 0 8px 20px -10px rgba(6, 58, 44, 0.7);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-tag {
  margin-top: 2px;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline-start: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover {
  background: var(--mint-soft);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--mint-soft);
}

.lang-switch a {
  min-width: 30px;
  padding: 5px 7px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.02em;
}

.lang-switch a[aria-current="page"] {
  background: var(--card);
  color: var(--primary);
  box-shadow: 0 3px 8px -5px rgba(6, 58, 44, 0.5);
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--mint);
  background: var(--mint-soft);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.theme-toggle .icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.menu-toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-sm {
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 11px;
  font-size: 12px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px -16px rgba(6, 58, 44, 0.9);
}

.btn-primary:hover {
  background: var(--primary-deep);
}

.btn-gold {
  background: linear-gradient(135deg, #f4d79b 0%, #d2a75c 55%, #b98a3c 100%);
  color: #2b2008;
  box-shadow: 0 16px 32px -18px rgba(210, 167, 92, 0.9);
}

.btn-gold:hover {
  box-shadow: 0 20px 38px -18px rgba(210, 167, 92, 1);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.23);
  color: #fff;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-header {
  display: inline-flex;
}

.mobile-nav {
  display: none;
}

/* --------------------------------------------------------------- hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 78px 0 108px;
  background:
    radial-gradient(circle at 14% 8%, rgba(111, 227, 188, 0.15), transparent 34%),
    linear-gradient(135deg, var(--hero-top) 0%, var(--hero-mid) 52%, var(--hero-bottom) 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("pattern.svg") repeat;
  opacity: 0.72;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -240px;
  inset-inline-end: -180px;
  z-index: -1;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 206, 143, 0.24), rgba(47, 191, 143, 0.08) 46%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 58px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.4;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.eyebrow-light {
  border: 1px solid rgba(242, 206, 143, 0.22);
  background: rgba(242, 206, 143, 0.12);
  color: var(--ring-gold);
}

.hero h1 {
  margin: 20px 0 22px;
  font-size: clamp(40px, 5.3vw, 68px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.028em;
}

.hero h1 .accent {
  display: block;
  color: var(--ring-gold);
}

.hero-lead {
  max-width: 565px;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(15.5px, 1.45vw, 18px);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  font-weight: 600;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust svg {
  width: 14px;
  height: 14px;
  color: var(--ring-gold);
}

.hero-verse {
  max-width: 565px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-verse p {
  margin: 0 0 3px;
  color: rgba(255, 255, 255, 0.91);
  font-family: "Amiri", serif;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.7;
}

.hero-verse span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11.5px;
}

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

.hero-halo {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 206, 143, 0.26), rgba(47, 191, 143, 0.09) 46%, transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

.phone {
  position: relative;
  z-index: 2;
  width: 302px;
  filter: drop-shadow(0 40px 52px rgba(0, 0, 0, 0.38));
  animation: floatPhone 7s ease-in-out infinite;
}

.phone-frame {
  position: relative;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(150deg, #294f41 0%, #051710 55%, #020a07 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.17),
    0 0 0 1px rgba(0, 0, 0, 0.36);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  border-radius: 38px;
  background: #0b1f18;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 52px -26px rgba(0, 0, 0, 0.6);
  color: #0c2a21;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: floatCard 6s ease-in-out infinite;
}

.float-card.one {
  inset-inline-start: -20px;
  top: 110px;
}

.float-card.two {
  inset-inline-end: -12px;
  bottom: 106px;
  animation-delay: -3s;
}

.fc-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  background: #e4f5ee;
  color: #0e7c60;
}

.fc-icon.gold {
  background: #fbf3e2;
  color: #8a5f1c;
}

.fc-icon svg {
  width: 19px;
  height: 19px;
}

.fc-title {
  color: #5c7770;
  font-size: 10px;
  line-height: 1.35;
}

.fc-value {
  color: #0c2a21;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

/* -------------------------------------------------------------- stats */

.stats-wrap {
  position: relative;
  z-index: 4;
  margin-top: -52px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.stat {
  padding: 19px 16px;
  text-align: center;
}

.stat + .stat {
  border-inline-start: 1px solid var(--border);
}

.stat-value {
  color: var(--primary);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.stat-label {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

/* ------------------------------------------------------------ sections */

.section {
  padding: 100px 0;
}

.section-tight {
  padding-top: 0;
}

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

.section-head.start {
  margin-inline: 0;
  text-align: start;
}

.section h2 {
  margin: 14px 0 14px;
  font-size: clamp(29px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.section .lead {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

/* ----------------------------------------------------------- features */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--mint) 36%, var(--border));
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 17px;
  border-radius: 15px;
  background: var(--mint-soft);
  color: var(--primary);
}

.feature:nth-child(3n + 2) .feature-icon {
  background: var(--gold-soft);
  color: var(--gold-deep);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
}

.feature h3 {
  margin: 0 0 7px;
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

/* ------------------------------------------------------------- release */

.release {
  padding: 0 0 100px;
}

.release-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 44px;
  overflow: hidden;
  padding: 56px;
  border-radius: 32px;
  background: linear-gradient(135deg, #063a2c 0%, #0a5b46 55%, #0f8063 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.release-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("pattern.svg") repeat;
  opacity: 0.64;
}

.release-panel::after {
  content: "";
  position: absolute;
  inset-inline-end: -160px;
  bottom: -220px;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 206, 143, 0.22), transparent 68%);
}

.release-copy h2 {
  margin: 16px 0 16px;
  font-size: clamp(29px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.release-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 14.5px;
  line-height: 1.95;
}

.release-list {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.release-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.7;
}

.release-list .check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  flex: none;
  border-radius: 50%;
  background: rgba(242, 206, 143, 0.15);
  color: var(--ring-gold);
}

.release-list .check svg {
  width: 12px;
  height: 12px;
}

.release-media {
  position: relative;
  min-height: 500px;
}

.release-phone {
  position: absolute;
  width: 216px;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.32));
}

.release-phone .phone-frame {
  padding: 6px;
  border-radius: 34px;
}

.release-phone .phone-screen {
  border-radius: 28px;
}

.release-phone.one {
  inset-inline-end: 28px;
  top: 0;
  z-index: 2;
  transform: rotate(4deg);
}

.release-phone.two {
  inset-inline-start: 4px;
  bottom: 0;
  z-index: 1;
  transform: rotate(-5deg);
}

/* --------------------------------------------------------- screenshots */

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

.shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: zoom-in;
}

.shot .phone-frame {
  width: 100%;
  max-width: 278px;
  padding: 7px;
  border-radius: 34px;
  background: linear-gradient(150deg, #294f41 0%, #051710 55%, #020a07 100%);
  box-shadow: 0 24px 44px -30px rgba(6, 58, 44, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.shot:hover .phone-frame {
  transform: translateY(-6px) scale(1.008);
  box-shadow: 0 32px 52px -30px rgba(6, 58, 44, 0.8);
}

.shot img {
  width: 100%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  border-radius: 27px;
}

.shot-label {
  margin-top: 11px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

/* ------------------------------------------------------------ download */

.download {
  padding: 0 0 100px;
}

.download-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.download-main {
  padding: 46px;
}

.download-main h2 {
  margin: 14px 0 12px;
  font-size: clamp(29px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 25px;
}

.meta {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
}

.meta span {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
}

.meta strong {
  display: block;
  margin-top: 1px;
  font-size: 14px;
  font-weight: 800;
}

.checksum {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  padding: 9px 10px 9px 13px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--bg);
}

.checksum-label {
  flex: none;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.checksum code {
  flex: 1;
  color: var(--muted-2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.copy-btn {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.copy-btn:hover {
  border-color: var(--mint);
  color: var(--primary);
}

.copy-btn svg {
  width: 15px;
  height: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.step {
  padding: 14px;
  border: 1px dashed var(--border);
  border-radius: 14px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
}

.step strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12.5px;
  font-weight: 800;
}

.step span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.install-note {
  margin-top: 15px;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-size: 11.5px;
  line-height: 1.75;
}

.demo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 17px;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 800;
}

.demo-link svg {
  width: 15px;
  height: 15px;
}

.download-side {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
  overflow: hidden;
  padding: 42px;
  background: linear-gradient(160deg, #063a2c 0%, #0a5b46 60%, #0f8063 100%);
  color: #fff;
}

.download-side::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("pattern.svg") repeat;
  opacity: 0.62;
}

.download-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ring-gold);
}

.download-icon svg {
  width: 30px;
  height: 30px;
}

.download-side h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.download-side p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12.5px;
  line-height: 1.7;
}

.download-side .btn {
  width: 100%;
  margin-top: 3px;
}

.download-side small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10.5px;
}

/* ---------------------------------------------------------- dedication */

.dedication {
  padding: 0 0 100px;
}

.dedication-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 62px 40px;
  border: 1px solid rgba(242, 206, 143, 0.28);
  border-radius: 32px;
  background: linear-gradient(135deg, #063a2c 0%, #0a5b46 58%, #0f8063 100%);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.dedication-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("pattern.svg") repeat;
  opacity: 0.55;
}

.dedication-card::after {
  content: "";
  position: absolute;
  inset-inline-start: -180px;
  top: -200px;
  z-index: -1;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 206, 143, 0.18), transparent 68%);
}

.dedication-card .eyebrow {
  border: 1px solid rgba(242, 206, 143, 0.22);
  background: rgba(242, 206, 143, 0.12);
  color: var(--ring-gold);
}

.dedication-verse {
  max-width: 840px;
  margin: 18px auto 8px;
  color: var(--ring-gold);
  font-family: "Amiri", serif;
  font-size: clamp(28px, 4.3vw, 48px);
  line-height: 1.65;
}

.dedication-translation {
  max-width: 680px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.8;
}

.dedication-text {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.83);
  font-size: 14.5px;
  line-height: 1.95;
}

.dedication-sign {
  margin-top: 22px;
  color: var(--ring-gold);
  font-size: 12.5px;
  font-weight: 800;
}

/* ----------------------------------------------------------------- faq */

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  padding: 0 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: color-mix(in srgb, var(--mint) 35%, var(--border));
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--primary);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

/* -------------------------------------------------------------- footer */

.site-footer {
  padding: 54px 0 26px;
  background: var(--footer);
  color: #cfe5dd;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.footer-brand strong {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.footer-about {
  max-width: 330px;
  margin: 0;
  color: rgba(207, 229, 221, 0.62);
  font-size: 12px;
  line-height: 1.85;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 14px 0 0;
}

.footer-contact a {
  width: fit-content;
  color: rgba(207, 229, 221, 0.78);
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--ring-gold);
}

.footer-col h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.footer-col a {
  display: block;
  width: fit-content;
  padding: 3px 0;
  color: rgba(207, 229, 221, 0.62);
  font-size: 12px;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(207, 229, 221, 0.62);
  font-size: 10.5px;
}

.footer-verse {
  color: rgba(207, 229, 221, 0.5);
  font-family: "Amiri", serif;
  font-size: 14px;
}

/* ------------------------------------------------------------- lightbox */

.lightbox {
  width: min(92vw, 480px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: var(--ink);
}

.lightbox::backdrop {
  background: rgba(4, 18, 14, 0.84);
  backdrop-filter: blur(6px);
}

.lightbox-inner {
  position: relative;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

.lightbox img {
  width: 100%;
  max-height: 76vh;
  border-radius: 14px;
  object-fit: contain;
}

.lightbox-caption {
  padding: 10px 6px 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  inset-inline-end: -14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.lightbox-close svg {
  width: 18px;
  height: 18px;
}

/* ---------------------------------------------------------------- toast */

.toast {
  position: fixed;
  inset-inline: 0;
  bottom: 24px;
  z-index: 200;
  width: max-content;
  max-width: calc(100% - 32px);
  margin-inline: auto;
  padding: 10px 18px;
  border-radius: 999px;
  background: #0a2a20;
  color: #fff;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------- reveal */

.reveal {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
}

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

.reveal-d1 {
  transition-delay: 0.06s;
}
.reveal-d2 {
  transition-delay: 0.12s;
}
.reveal-d3 {
  transition-delay: 0.18s;
}

@keyframes floatPhone {
  0%,
  100% {
    transform: translateY(0) rotate(-1.4deg);
  }
  50% {
    transform: translateY(-12px) rotate(-0.4deg);
  }
}

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

/* --------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .header-inner {
    gap: 16px;
  }

  .nav a {
    padding-inline: 9px;
    font-size: 12px;
  }

  .hero-grid {
    gap: 34px;
  }

  .phone {
    width: 282px;
  }

  .float-card.one {
    inset-inline-start: -8px;
  }

  .float-card.two {
    inset-inline-end: -4px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .release-panel {
    padding: 44px;
    gap: 30px;
  }

  .release-phone {
    width: 196px;
  }
}

@media (max-width: 920px) {
  .nav,
  .btn-header {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .header-actions {
    margin-inline-start: auto;
  }

  .mobile-nav {
    position: fixed;
    top: 76px;
    inset-inline: 0;
    z-index: 99;
    display: block;
    padding: 14px 24px 22px;
    border-bottom: 1px solid var(--border);
    background: var(--card);
    box-shadow: 0 24px 40px -30px rgba(6, 58, 44, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .mobile-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .mobile-nav a {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-nav a:hover {
    background: var(--mint-soft);
    color: var(--primary);
  }

  .mobile-nav .btn {
    margin-top: 8px;
  }

  .hero {
    padding: 62px 0 96px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: 660px;
  }

  .hero-visual {
    min-height: 580px;
  }

  .phone {
    width: 276px;
  }

  .stats-wrap {
    margin-top: -46px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(3) {
    border-inline-start: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .release-panel {
    grid-template-columns: 1fr;
    padding: 42px;
  }

  .release-media {
    min-height: 470px;
  }

  .release-phone {
    width: 210px;
  }

  .release-phone.one {
    inset-inline-end: 16%;
  }

  .release-phone.two {
    inset-inline-start: 16%;
  }

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

  .download-side {
    padding: 38px 42px;
  }

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

@media (max-width: 700px) {
  .container {
    width: calc(100% - 36px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-tag {
    display: none;
  }

  .nav,
  .mobile-nav {
    top: 70px;
  }

  .section {
    padding: 74px 0;
  }

  .section-tight {
    padding-top: 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .hero {
    padding: 50px 0 86px;
  }

  .hero h1 {
    font-size: clamp(37px, 10vw, 52px);
  }

  .hero-actions .btn {
    flex: 1 1 190px;
  }

  .hero-visual {
    min-height: 540px;
  }

  .phone {
    width: 250px;
  }

  .float-card {
    padding: 9px 11px;
  }

  .float-card.one {
    top: 84px;
    inset-inline-start: 0;
  }

  .float-card.two {
    bottom: 78px;
    inset-inline-end: 0;
  }

  .fc-icon {
    width: 32px;
    height: 32px;
  }

  .fc-icon svg {
    width: 16px;
    height: 16px;
  }

  .fc-title {
    font-size: 9px;
  }

  .fc-value {
    font-size: 11.5px;
  }

  .stats-wrap {
    margin-top: -38px;
  }

  .stats {
    border-radius: 19px;
  }

  .stat {
    padding: 15px 10px;
  }

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

  .release {
    padding-bottom: 74px;
  }

  .release-panel {
    padding: 34px 24px;
    border-radius: 25px;
  }

  .release-media {
    min-height: 430px;
  }

  .release-phone {
    width: 176px;
  }

  .release-phone.one {
    inset-inline-end: 4%;
  }

  .release-phone.two {
    inset-inline-start: 4%;
  }

  .shots-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 72vw;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .shot {
    scroll-snap-align: center;
  }

  .shot .phone-frame {
    max-width: 270px;
  }

  .download {
    padding-bottom: 74px;
  }

  .download-main {
    padding: 30px 24px;
  }

  .download-side {
    padding: 32px 24px;
  }

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

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

  .dedication {
    padding-bottom: 74px;
  }

  .dedication-card {
    padding: 44px 22px;
    border-radius: 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 440px) {
  .brand-logo {
    width: 38px;
    height: 38px;
  }

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

  .lang-switch a {
    min-width: 27px;
    padding-inline: 5px;
  }

  .hero-visual {
    min-height: 490px;
  }

  .phone {
    width: 224px;
  }

  .float-card.one {
    top: 66px;
  }

  .float-card.two {
    bottom: 58px;
  }

  .float-card {
    max-width: 170px;
  }

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

  .checksum {
    flex-wrap: wrap;
  }

  .checksum code {
    flex-basis: 100%;
    order: 3;
  }

  .copy-btn {
    margin-inline-start: auto;
  }

  .release-media {
    min-height: 380px;
  }

  .release-phone {
    width: 154px;
  }

  .dedication-verse {
    font-size: 26px;
  }
}

@media (max-width: 380px) {
  .header-inner {
    gap: 8px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .brand-name {
    font-size: 16px;
  }

  .header-actions {
    gap: 6px;
  }

  .lang-switch a {
    min-width: 24px;
    padding-inline: 3px;
    font-size: 10px;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .icon-btn svg {
    width: 17px;
    height: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------- legal */

.legal-page {
  min-height: 70vh;
  padding: 70px 0 100px;
}

.legal-card {
  max-width: 820px;
  margin-inline: auto;
  padding: 44px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.legal-date {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 12px;
}

.legal-card h2 {
  margin: 30px 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.legal-card ul {
  padding-inline-start: 20px;
}

.legal-card a {
  color: var(--primary);
  font-weight: 700;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 800;
}
