:root {
  --primary: #0081fd;
  --primary-dark: #004d97;
  --primary-soft: #e8f4ff;
  --page-bg-a: rgba(0, 129, 253, 0.09);
  --page-bg-b: rgba(133, 223, 255, 0.22);
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --surface-muted: #eef4fb;
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;
  --border: #e2e8f0;
  --shadow: 0 20px 50px rgba(0, 77, 151, 0.12);
  --shadow-lg: 0 28px 70px rgba(0, 129, 253, 0.18);
  --radius: 14px;
  --radius-sm: 10px;
  --font-en: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --font-ar: "Cairo", "Plus Jakarta Sans", ui-sans-serif, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0c121c;
    --surface-soft: #05080f;
    --surface-muted: #0a1018;
    --text: #e2e8f4;
    --text-muted: #9aa8c4;
    --text-soft: #6b7a96;
    --border: rgba(255, 255, 255, 0.08);

    --primary-soft: rgba(0, 129, 253, 0.1);
    --page-bg-a: transparent;
    --page-bg-b: transparent;

    --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);

    color-scheme: dark;
  }

  body {
    background: var(--surface-soft);
    color: var(--text);
  }

  .site-header {
    background: rgba(5, 8, 15, 0.92);
    border-bottom: 1px solid var(--border);
  }

  .nav-tabs {
    background: rgba(8, 12, 22, 0.95);
    border-color: var(--border);
  }

  .nav-tab {
    color: var(--text-muted);
  }

  .page-hero {
    background: var(--surface-muted);
  }

  .page-bg {
    background: var(--surface-soft);
  }

  .showcase-section,
  .process-section {
    background: var(--surface-soft);
  }

  .activities-section {
    background: var(--surface-soft);
  }

  .features-section::before {
    display: none;
  }

  .hero {
    background: linear-gradient(165deg, #050c18 0%, #040a14 50%, #030810 100%);
  }

  .hero-sky {
    opacity: 0.12;
    filter: brightness(0.45) saturate(0.7);
  }

  .hero-gradient-mesh {
    opacity: 0.28;
    filter: brightness(0.55) saturate(0.75);
  }

  .hero-shimmer {
    opacity: 0.08;
  }

  .hero-light-beam {
    opacity: 0.06;
    animation: none;
  }

  .hero-sea {
    opacity: 0.35;
  }

  .hero::after {
    background: linear-gradient(
      to top,
      var(--surface-soft) 0%,
      rgba(5, 8, 15, 0.95) 50%,
      transparent 100%
    );
  }

  .hero-mockup-glow {
    opacity: 0.2;
    filter: blur(22px) brightness(0.55);
  }

  .auth-layout {
    background: linear-gradient(165deg, #050810 0%, #03060c 100%);
  }

  .document-panel {
    color: var(--text);
  }

  .contact-form input,
  .contact-form textarea {
    background: rgba(11, 19, 34, 0.7);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text);
  }

  .feature-card,
  .process-grid article,
  .contact-panel,
  .support-panel,
  .document-panel {
    background: var(--surface);
    border-color: var(--border);
  }

  .store-badge {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
  }

  .store-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.26);
  }
}

/* Theme toggle override */
html[data-theme="dark"] {
  --surface: #0c121c;
  --surface-soft: #05080f;
  --surface-muted: #0a1018;
  --text: #e2e8f4;
  --text-muted: #9aa8c4;
  --text-soft: #6b7a96;
  --border: rgba(255, 255, 255, 0.08);
  --primary-soft: rgba(0, 129, 253, 0.1);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
  --page-bg-a: transparent;
  --page-bg-b: transparent;
}

html[data-theme="dark"] body {
  background: var(--surface-soft);
  color: var(--text);
}

html[data-theme="dark"] .site-header {
  background: rgba(5, 8, 15, 0.92);
  border-bottom: 1px solid var(--border);
}

html[data-theme="dark"] .nav-tabs {
  background: rgba(8, 12, 22, 0.95);
  border-color: var(--border);
}

html[data-theme="dark"] .nav-tab {
  color: var(--text-muted);
}

html[data-theme="dark"] .page-hero {
  background: var(--surface-muted);
}

html[data-theme="dark"] .document-panel {
  color: var(--text);
}

html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form textarea {
  background: var(--surface-muted);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .process-grid article,
html[data-theme="dark"] .contact-panel,
html[data-theme="dark"] .support-panel,
html[data-theme="dark"] .document-panel {
  background: var(--surface);
  border-color: var(--border);
}

html[data-theme="dark"] .store-badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .store-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.26);
}

html[data-theme="light"] {
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --surface-muted: #eef4fb;
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;
  --border: #e2e8f0;
  --primary-soft: #e8f4ff;
  --shadow: 0 20px 50px rgba(0, 77, 151, 0.12);
  --shadow-lg: 0 28px 70px rgba(0, 129, 253, 0.18);
  color-scheme: light;
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
}

html[data-theme="light"] .nav-tabs {
  background: var(--surface);
  border-color: var(--border);
}

html[data-theme="light"] .nav-tab {
  color: var(--text-muted);
}

html[data-theme="light"] .page-hero {
  background:
    linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.92),
      rgba(232, 244, 255, 0.9)
    ),
    var(--surface-muted);
}

html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea {
  background: var(--surface);
  border-color: rgba(178, 192, 207, 0.8);
  color: var(--text);
}

html[data-theme="light"] .store-badge {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

html[data-theme="light"] .store-badge:hover {
  background: rgba(0, 0, 0, 0.32);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Dark theme — deeper backgrounds, less glow */
html[data-theme="dark"] .page-bg {
  background: linear-gradient(
    165deg,
    #005eff 0%,
    #053d9b 50%,
    #000000 100%
  );
}

html[data-theme="dark"] .showcase-section,
html[data-theme="dark"] .process-section {
  background: var(--surface-soft);
}

html[data-theme="dark"] .activities-section {
  background: var(--surface-soft);
}

html[data-theme="dark"] .features-section::before {
  display: none;
}

html[data-theme="dark"] .hero {
  background: linear-gradient(165deg, #050c18 0%, #040a14 50%, #030810 100%);
}

html[data-theme="dark"] .hero-sky {
  opacity: 0.12;
  filter: brightness(0.45) saturate(0.7);
}

html[data-theme="dark"] .hero-gradient-mesh {
  opacity: 0.28;
  filter: brightness(0.55) saturate(0.75);
}

html[data-theme="dark"] .hero-shimmer {
  opacity: 0.08;
}

html[data-theme="dark"] .hero-light-beam {
  opacity: 0.06;
  animation: none;
}

html[data-theme="dark"] .hero-sea {
  opacity: 0.35;
}

html[data-theme="dark"] .hero-wave--front {
  filter: brightness(0.5);
}

html[data-theme="dark"] .hero::after {
  background: linear-gradient(
    to top,
    var(--surface-soft) 0%,
    rgba(5, 8, 15, 0.95) 50%,
    transparent 100%
  );
}

html[data-theme="dark"] .site-footer {
  background: var(--surface);
}

html[data-theme="dark"] .hero-mockup-glow {
  opacity: 0.2;
  filter: blur(22px) brightness(0.55);
}

html[data-theme="dark"] .auth-layout {
  background: linear-gradient(165deg, #050810 0%, #03060c 100%);
}

html[data-theme="dark"] .showcase-list li {
  background: rgba(0, 129, 253, 0.08);
  color: var(--text);
}

html[data-theme="dark"] .showcase-list li::before {
  background: var(--primary);
}

html[data-theme="dark"] .lang-btn.is-active,
html[data-theme="dark"] .theme-btn.is-active {
  color: var(--primary);
  background: rgba(0, 129, 253, 0.12);
}

/* Card hover glow (all main cards) */
:is(.feature-card, .process-grid article, .contact-panel, .support-panel, .document-panel, .activity-card) {
  position: relative;
  isolation: isolate;
}

:is(.feature-card, .process-grid article, .contact-panel, .support-panel, .document-panel, .activity-card)::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  background: radial-gradient(
    circle at 30% 0%,
    rgba(0, 129, 253, 0.18),
    rgba(0, 129, 253, 0.06) 30%,
    transparent 62%
  );
}

:is(.feature-card, .process-grid article, .contact-panel, .support-panel, .document-panel, .activity-card):hover::after,
:is(.feature-card, .process-grid article, .contact-panel, .support-panel, .document-panel, .activity-card):focus-within::after {
  opacity: 1;
}

html[data-theme="dark"] :is(.feature-card, .process-grid article, .contact-panel, .support-panel, .document-panel, .activity-card)::after {
  background: radial-gradient(
    circle at 30% 0%,
    rgba(0, 129, 253, 0.1),
    rgba(0, 129, 253, 0.03) 35%,
    transparent 65%
  );
}

html[data-theme="dark"] .feature-card:hover,
html[data-theme="dark"] .process-grid article:hover,
html[data-theme="dark"] .contact-panel:hover,
html[data-theme="dark"] .support-panel:hover,
html[data-theme="dark"] .document-panel:hover,
html[data-theme="dark"] .activity-card:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

html[lang="ar"] {
  font-family: var(--font-ar);
}

html[lang="en"] {
  font-family: var(--font-en);
}

body {
  margin: 0;
  background: var(--surface-soft);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 12%, var(--page-bg-a), transparent 38%),
    radial-gradient(circle at 92% 4%, var(--page-bg-b), transparent 32%),
    var(--surface-soft);
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  color: var(--text);
}

.brand-centered {
  justify-content: center;
}

.brand-logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 129, 253, 0.22);
}

.brand-logo-mark--sm {
  width: 38px;
  height: 38px;
}

.brand-text {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: var(--text-muted);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-tab:hover,
.nav-tab:focus-visible,
.nav-tab.is-active {
  color: #fff;
  background: var(--primary);
  outline: none;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-btn {
  min-width: 44px;
  min-height: 34px;
  padding: 0 10px;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.lang-btn.is-active {
  color: var(--primary-dark);
  background: var(--surface);
  box-shadow: 0 4px 12px rgba(0, 129, 253, 0.14);
}

.lang-btn:focus-visible {
  outline: 3px solid rgba(0, 129, 253, 0.35);
  outline-offset: 2px;
}

/* Theme toggle */

.theme-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.theme-btn {
  min-width: 44px;
  min-height: 34px;
  padding: 0 10px;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.theme-btn svg {
  width: 18px;
  height: 18px;
}

.theme-btn.is-active {
  color: var(--primary-dark);
  background: var(--surface);
  box-shadow: 0 4px 12px rgba(0, 129, 253, 0.14);
}

.theme-btn:focus-visible {
  outline: 3px solid rgba(0, 129, 253, 0.35);
  outline-offset: 2px;
}

.theme-switch--card {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 5vw, 48px);
  background: #003d78;
  color: #fff;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-sky {
  position: absolute;
  inset: 0 0 28% 0;
  background: linear-gradient(
    180deg,
    #7dd3fc 0%,
    #38bdf8 12%,
    #0ea5e9 28%,
    rgba(0, 129, 253, 0.85) 55%,
    transparent 100%
  );
}

.hero-gradient-mesh {
  position: absolute;
  inset: -15% -10% -5%;
  background:
    radial-gradient(ellipse 85% 60% at 12% 8%, rgba(255, 255, 255, 0.35), transparent 50%),
    radial-gradient(ellipse 70% 50% at 88% 12%, rgba(255, 255, 255, 0.18), transparent 45%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(0, 77, 151, 0.7), transparent 55%),
    radial-gradient(ellipse 65% 55% at 75% 75%, rgba(0, 129, 253, 0.5), transparent 50%),
    linear-gradient(
      165deg,
      rgba(56, 189, 248, 0.4) 0%,
      #0081fd 35%,
      #0070e8 58%,
      #0059b8 78%,
      #003d78 100%
    );
  animation: hero-mesh-shift 22s ease-in-out infinite alternate;
}

.hero-shimmer {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    radial-gradient(ellipse 12% 8% at 18% 72%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(ellipse 10% 6% at 42% 85%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(ellipse 14% 8% at 68% 78%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(ellipse 8% 5% at 85% 88%, rgba(255, 255, 255, 0.25), transparent);
  animation: sea-shimmer 9s ease-in-out infinite;
}

@keyframes sea-shimmer {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(2%);
  }
}

.hero-sea {
  position: absolute;
  inset: auto 0 0;
  height: min(38vh, 280px);
}

.hero-wave {
  position: absolute;
  left: 0;
  width: 200%;
  height: 100%;
  bottom: 0;
}

.hero-wave--back {
  opacity: 0.85;
  animation: wave-drift 28s linear infinite;
}

.hero-wave--mid {
  opacity: 0.95;
  animation: wave-drift 20s linear infinite reverse;
  bottom: 4%;
}

.hero-wave--front {
  opacity: 1;
  animation: wave-drift 14s linear infinite;
  bottom: 0;
  filter: drop-shadow(0 -8px 24px rgba(133, 223, 255, 0.25));
}

@keyframes wave-drift {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes hero-mesh-shift {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.04) translate(-1.5%, 1%);
  }
}

.hero-light-beam {
  position: absolute;
  top: -40%;
  left: 5%;
  width: 55%;
  height: 140%;
  background: linear-gradient(
    108deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 35%,
    rgba(255, 255, 255, 0.14) 48%,
    rgba(255, 255, 255, 0.05) 62%,
    transparent 78%
  );
  transform: rotate(-8deg);
  animation: hero-beam-sweep 14s ease-in-out infinite;
}

@keyframes hero-beam-sweep {
  0%,
  100% {
    opacity: 0.55;
    transform: rotate(-8deg) translateX(-4%);
  }
  50% {
    opacity: 1;
    transform: rotate(-8deg) translateX(6%);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: min(22vh, 160px);
  background: linear-gradient(
    to top,
    var(--surface-soft) 0%,
    rgba(247, 249, 252, 0.9) 40%,
    transparent 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-content {
  max-width: 580px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero .eyebrow,
.destination-band .eyebrow,
.download-card .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9375rem;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(0, 129, 253, 0.32);
}

.hero .button-primary {
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.button:focus-visible,
.contact-email:focus-visible,
a:focus-visible,
.lang-btn:focus-visible {
  outline: 3px solid rgba(133, 223, 255, 0.8);
  outline-offset: 3px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 0;
}

.hero-stats div {
  padding: 14px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.hero-stats dt {
  margin-bottom: 2px;
  font-weight: 800;
  font-size: 0.9375rem;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup-frame,
.showcase-mockup-frame {
  position: relative;
  width: min(100%, 580px);
  margin-inline: auto;
  aspect-ratio: 1160 / 1217;
}

.showcase-mockup-frame {
  width: min(100%, 500px);
  aspect-ratio: 1000 / 936;
}

.hero-mockup-frame::before,
.showcase-mockup-frame::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  z-index: 0;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14),
    rgba(0, 129, 253, 0.12) 50%,
    rgba(255, 255, 255, 0.08)
  );
  opacity: 1;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.hero-mockup-frame.is-loaded::before,
.showcase-mockup-frame.is-loaded::before {
  opacity: 0;
}

.hero-mockup-glow {
  position: absolute;
  width: 85%;
  height: 75%;
  background:
    radial-gradient(ellipse at center, rgba(133, 223, 255, 0.5) 0%, transparent 68%),
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.2) 0%, transparent 55%);
  filter: blur(28px);
  animation: mockup-glow-pulse 6s ease-in-out infinite;
}

@keyframes mockup-glow-pulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.hero-mockup-frame picture,
.showcase-mockup-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-mockup {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: mockup-float 5s ease-in-out infinite;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.32));
}

.hero-mockup.is-loaded {
  opacity: 1;
}

@keyframes mockup-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.showcase-mockup {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: mockup-float 6s ease-in-out infinite;
  filter: drop-shadow(0 28px 56px rgba(15, 23, 42, 0.14));
}

.showcase-mockup.is-loaded {
  opacity: 1;
}

/* Download */

.download-section {
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 129, 253, 0.96), rgba(0, 77, 151, 0.94)),
    var(--primary);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.download-card::after {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 55%;
  height: 180%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 60%
  );
  animation: shine 7s ease-in-out infinite;
}

@keyframes shine {
  0%,
  100% {
    transform: translateX(-30%) rotate(12deg);
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  55% {
    transform: translateX(120%) rotate(12deg);
    opacity: 0;
  }
}

.download-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.download-copy,
.store-buttons {
  position: relative;
  z-index: 1;
}

.download-card p {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.9);
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  min-height: 58px;
  padding: 10px 18px;
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, border-color 0.2s;
}

.store-badge:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.32);
  border-color: rgba(255, 255, 255, 0.45);
}

.store-badge-text {
  display: grid;
  gap: 1px;
}

.store-badge-text small {
  font-size: 0.6875rem;
  opacity: 0.88;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-badge-text strong {
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.1;
}

/* Showcase */

.showcase-section {
  background: var(--surface);
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.showcase-media {
  display: flex;
  justify-content: center;
}

.showcase-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.showcase-copy > p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.showcase-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.showcase-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  background: var(--primary-soft);
  border-radius: var(--radius-sm);
  color: var(--primary-dark);
  font-weight: 700;
}

.showcase-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  background: var(--primary);
  border-radius: 50%;
}

/* Activities */

.activities-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 129, 253, 0.08), transparent 42%),
    radial-gradient(circle at 90% 100%, rgba(133, 223, 255, 0.18), transparent 38%),
    var(--surface-soft);
}

.section-heading .section-lead {
  margin: 0;
  max-width: 640px;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(220px, 280px) minmax(220px, 280px);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.activity-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 20px 48px rgba(0, 77, 151, 0.12);
  cursor: default;
}

.activity-card--featured {
  grid-row: 1 / span 2;
}

.activities-grid .activity-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.activity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 30, 60, 0.05) 0%,
    rgba(0, 40, 80, 0.35) 45%,
    rgba(0, 20, 50, 0.88) 100%
  );
  transition: opacity 0.35s ease;
}

.activity-card-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: clamp(18px, 3vw, 26px);
  color: #fff;
}

.activity-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.activity-card h3 {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.activity-card p {
  margin: 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.activity-card:hover img,
.activity-card:focus-within img {
  transform: scale(1.07);
}

.activity-card:hover .activity-card-overlay,
.activity-card:focus-within .activity-card-overlay {
  opacity: 0.92;
}

.activity-card--featured .activity-card-content {
  padding: clamp(22px, 4vw, 32px);
}

.activity-card--featured h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Sections */

.section {
  padding: clamp(52px, 8vw, 88px) clamp(18px, 5vw, 48px);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 32px;
}

.section-heading h2,
.destination-band h2,
.page-hero h1,
.contact-panel h2,
.support-panel h2,
.document-panel h2 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.feature-grid,
.process-grid {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.process-grid article,
.contact-panel,
.support-panel,
.document-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(0, 129, 253, 0.1);
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-icon--teal {
  color: #0d9488;
  background: rgba(13, 148, 136, 0.12);
}

.feature-icon--orange {
  color: #ea580c;
  background: rgba(234, 88, 12, 0.12);
}

.feature-icon--blue {
  color: var(--primary);
  background: var(--primary-soft);
}

.feature-icon--violet {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.12);
}

.features-section {
  position: relative;
}

.features-section::before {
  content: "";
  position: absolute;
  inset: 10% 0 auto;
  height: 240px;
  background: radial-gradient(circle, rgba(0, 129, 253, 0.06), transparent 72%);
  pointer-events: none;
}

.features-section::before {
  z-index: 0;
}

.features-section .feature-grid {
  position: relative;
  z-index: 1;
}


.feature-card h3,
.process-grid h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.feature-card p,
.process-grid p,
.destination-band p,
.page-hero p,
.contact-panel p,
.support-list span,
.document-panel p {
  color: var(--text-muted);
}

.process-section {
  background: var(--surface-soft);
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid article {
  padding: 28px;
}

.process-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 900;
}

.destination-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto clamp(52px, 7vw, 80px);
  padding: clamp(34px, 5vw, 52px);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(0, 129, 253, 0.94), rgba(11, 18, 32, 0.9)),
    linear-gradient(135deg, #0081fd, #004d97);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-lg);
}

.destination-band h2,
.destination-band p {
  color: #fff;
}

.destination-band p {
  max-width: 580px;
  opacity: 0.9;
}

.destination-band ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.destination-band li {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-align: center;
}

/* Reveal animations */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

/* Footer */

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 24px;
  align-items: center;
  padding: 28px clamp(18px, 5vw, 48px);
  color: var(--text-muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer .brand-text {
  font-size: 1.1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-nav a,
.site-footer .brand {
  text-decoration: none;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(0, 129, 253, 0.16);
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}

.social-link:hover {
  transform: translateY(-3px) scale(1.04);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 129, 253, 0.28);
}

.social-link--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.social-link--instagram:hover {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
  border-color: transparent;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.875rem;
}

/* Subpages */

.page-hero {
  padding: clamp(40px, 6vw, 72px) clamp(18px, 5vw, 48px);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(232, 244, 255, 0.9)),
    var(--surface-muted);
}

.compact-hero {
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  max-width: 760px;
}

.page-hero p {
  max-width: 760px;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.updated-label {
  display: inline-flex;
  margin-top: 8px;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.875rem;
}

.policy-layout,
.contact-layout {
  min-height: calc(100svh - 152px);
}

.document-panel {
  max-width: 940px;
  margin: clamp(24px, 5vw, 48px) auto clamp(52px, 7vw, 80px);
  padding: clamp(24px, 5vw, 48px);
}

.document-panel article + article {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.document-panel h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.document-panel a {
  color: var(--primary-dark);
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px) clamp(18px, 5vw, 48px) clamp(52px, 7vw, 80px);
}

.contact-panel,
.support-panel {
  padding: clamp(22px, 4vw, 32px);
}

.contact-panel h2,
.support-panel h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input {
  min-height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  resize: vertical;
  padding: 14px;
  min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 129, 253, 0.12);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.875rem;
}

.support-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 22px;
  padding: 0;
  list-style: none;
}

.support-list li {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--surface-muted);
  border-radius: var(--radius-sm);
}

.contact-email {
  display: inline-flex;
  color: var(--primary);
  font-weight: 800;
}

.auth-layout {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 16% 14%, rgba(133, 223, 255, 0.4), transparent 34%),
    linear-gradient(145deg, #0081fd, #004d97 54%, #0b1220);
}

.reset-card {
  width: min(100%, 460px);
  padding: clamp(24px, 6vw, 40px);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.reset-copy {
  margin-top: 24px;
  text-align: center;
}

.reset-copy h1 {
  margin-bottom: 10px;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1.1;
}

.reset-copy p {
  color: var(--text-muted);
}

/* RTL */

html[dir="rtl"] .showcase-list li {
  padding: 14px 44px 14px 16px;
}

html[dir="rtl"] .showcase-list li::before {
  inset-inline-start: auto;
  inset-inline-end: 16px;
}

html[dir="rtl"] .footer-nav {
  justify-content: flex-start;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-gradient-mesh,
  .hero-light-beam,
  .hero-shimmer,
  .hero-wave,
  .hero-mockup,
  .hero-mockup-glow,
  .showcase-mockup,
  .download-card::after {
    animation: none;
  }
}

/* Responsive */

@media (max-width: 1020px) {
  .hero-inner,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .hero-mockup-frame {
    width: min(100%, 320px);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-card {
    grid-template-columns: 1fr;
  }

  .store-buttons {
    justify-content: flex-start;
  }

  .activities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .activity-card--featured {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 320px;
  }

  .activities-grid .activity-card:nth-child(4) {
    grid-column: auto;
  }

  .activity-card {
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    align-items: stretch;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-tabs {
    width: 100%;
    justify-content: center;
    border-radius: var(--radius-sm);
  }

  .nav-tab {
    flex: 1;
    justify-content: center;
    padding: 0 10px;
    font-size: 0.8125rem;
  }

  .lang-switch {
    align-self: center;
  }

  .feature-grid,
  .process-grid,
  .contact-grid,
  .destination-band,
  .activities-grid {
    grid-template-columns: 1fr;
  }

  .activities-grid {
    grid-template-rows: auto;
  }

  .activity-card--featured {
    grid-row: auto;
  }

  .activity-card--featured,
  .activities-grid .activity-card:nth-child(4) {
    grid-column: auto;
  }

  .hero-stats {
    gap: 8px;
  }

  .destination-band ul {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand-col {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .store-badge {
    flex: 1;
    min-width: 0;
  }
}

@media (max-width: 460px) {
  .hero-actions,
  .hero-actions .button,
  .store-buttons {
    width: 100%;
  }

  .store-badge {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero,
  .contact-grid {
    padding-right: 16px;
    padding-left: 16px;
  }
}
