/* ============================================
   Naqaa Landing Page — Design System
   ============================================ */

:root {
  --color-primary: #2196F3;
  --color-primary-dark: #1976D2;
  --color-navy: #1A3B5C;
  --color-teal: #5CB8A8;
  --color-bg: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-text: #0F172A;
  --color-text-secondary: #64748B;
  --color-border: #E8EEF4;
  --color-accent-soft: #E3F2FD;

  --gradient-primary: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
  --gradient-hero: linear-gradient(160deg, #E3F2FD 0%, #F8FAFC 50%, #FFFFFF 100%);

  --font-en: 'Inter', system-ui, sans-serif;
  --font-ar: 'Noto Sans Arabic', 'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(26, 59, 92, 0.06);
  --shadow-md: 0 4px 16px rgba(33, 150, 243, 0.12);
  --shadow-lg: 0 12px 40px rgba(33, 150, 243, 0.18);
  --shadow-card: 0 2px 12px rgba(26, 59, 92, 0.08);

  --header-height: 72px;
  --container-max: 1200px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  overflow-x: hidden;
}

body {
  font-family: var(--font-en);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body[dir="rtl"] {
  font-family: var(--font-ar);
}

/* Keep phone numbers and emails readable LTR without breaking RTL layout */
.ltr-num,
.hero__contact-phone,
.hero__contact-email,
.download__contact-phone,
.download__contact-email,
a[href^="tel:"],
a[href^="mailto:"] {
  unicode-bidi: plaintext;
}

body[dir="rtl"] .hero__contact-banner {
  text-align: right;
}

body[dir="rtl"] .hero__contact-phone,
body[dir="rtl"] .hero__contact-email {
  direction: ltr;
  text-align: right;
}

body[dir="rtl"] .download__contact span {
  display: block;
  width: 100%;
  text-align: right;
}

body[dir="rtl"] .download__contact-phone,
body[dir="rtl"] .download__contact-email {
  direction: ltr;
  text-align: right;
}

body[dir="rtl"] .footer__links a[href^="tel:"],
body[dir="rtl"] .footer__links a[href^="mailto:"] {
  direction: ltr;
  display: inline-block;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}

.section {
  padding: 96px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(33, 150, 243, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(33, 150, 243, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-accent-soft);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: var(--header-height);
  height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-navy);
}

.nav__logo-img {
  width: auto;
  height: 40px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--color-primary);
}

.nav__item--dropdown {
  position: relative;
}

.nav__dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 0;
  transition: color var(--transition);
}

.nav__dropdown-btn:hover,
.nav__item--dropdown.is-open .nav__dropdown-btn {
  color: var(--color-primary);
}

.nav__dropdown-btn svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav__item--dropdown.is-open .nav__dropdown-btn svg {
  transform: rotate(180deg);
}

.nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-start: 0;
  min-width: 220px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 20;
}

body[dir="rtl"] .nav__dropdown {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

.nav__item--dropdown.is-open .nav__dropdown {
  display: block;
}

.nav__dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
}

.nav__dropdown a:hover,
.nav__dropdown a.is-active,
.nav__dropdown a[aria-current="page"] {
  background: var(--color-accent-soft);
  color: var(--color-primary);
}

.footer__legal-inline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 8px;
}

.footer__legal-inline a {
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--transition);
}

.footer__legal-inline a:hover {
  color: var(--color-teal);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  background: var(--color-accent-soft);
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  cursor: pointer;
  transition: background var(--transition);
}

.lang-toggle:hover {
  background: #BBDEFB;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.active span:nth-child(2) {
  opacity: 0;
}

.nav__burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero__blob--1 {
  width: 500px;
  height: 500px;
  background: rgba(33, 150, 243, 0.15);
  top: -100px;
  right: -100px;
}

.hero__blob--2 {
  width: 400px;
  height: 400px;
  background: rgba(92, 184, 168, 0.12);
  bottom: -50px;
  left: -100px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
  padding: 64px 24px 72px;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 8px 16px 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero__badge-icon {
  width: auto;
  height: 22px;
  object-fit: contain;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-navy);
  margin-bottom: 20px;
}

.hero__title span {
  display: block;
}

.hero__title-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__contact-banner {
  width: 100%;
  max-width: 380px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f3f9ff 100%);
  border: 1px solid rgba(33, 150, 243, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 36px rgba(26, 59, 92, 0.08);
}

.hero__contact-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 16px;
}

.hero__contact-head-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 6px 16px rgba(33, 150, 243, 0.3);
}

.hero__contact-head-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.hero__contact-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}

.hero__contact-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  background: rgba(33, 150, 243, 0.12);
  color: var(--color-primary-dark);
  border-radius: 100px;
}

.hero__contact-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(33, 150, 243, 0.1);
}

.hero__contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  transition: background var(--transition);
  border-bottom: 1px solid rgba(33, 150, 243, 0.08);
}

.hero__contact-row:last-child {
  border-bottom: none;
}

.hero__contact-row:hover {
  background: rgba(33, 150, 243, 0.06);
}

.hero__contact-row-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-primary);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.hero__contact-row:hover .hero__contact-row-icon {
  border-color: rgba(33, 150, 243, 0.35);
  color: var(--color-primary-dark);
  transform: scale(1.04);
}

.hero__contact-row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__contact-row-body small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.hero__contact-phone {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  line-height: 1.3;
  transition: color var(--transition);
}

.hero__contact-row:hover .hero__contact-phone {
  color: var(--color-primary-dark);
}

.hero__contact-email {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
  transition: color var(--transition);
  word-break: break-all;
}

.hero__contact-row:hover .hero__contact-email {
  color: var(--color-primary);
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.hero__stat strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
}

.hero__stat span {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
  align-self: center;
}

.hero__device {
  width: 100%;
  max-width: 290px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 24px 48px rgba(26, 59, 92, 0.16));
  animation: float 5s ease-in-out infinite;
}

.hero__float {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}

.hero__float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__float--1 {
  top: 10%;
  left: 0;
  animation-delay: 0s;
}

.hero__float--2 {
  top: 50%;
  right: 0;
  animation-delay: 1.3s;
}

.hero__float--3 {
  bottom: 10%;
  left: 10%;
  animation-delay: 2.6s;
}

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

/* Section headers */
.section__header {
  margin-bottom: 56px;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__subtitle {
  margin: 16px auto 0;
  max-width: 560px;
}

.section__tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: var(--color-accent-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
}

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Features */
.features {
  background: var(--color-surface);
}

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

.feature-card {
  padding: 32px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-soft);
  border-radius: var(--radius-md);
  color: var(--color-primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* Download — content locked to left column; Arabic reads RTL inside without overlapping image */
.download__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 440px) 1fr;
  align-items: center;
  direction: ltr;
  min-height: 420px;
  border-radius: var(--radius-xl);
  padding: 64px;
  color: #fff;
  overflow: hidden;
  background: url('../assets/cover-page.png') right center / cover no-repeat;
}

.download__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 45, 85, 0.96) 0%,
    rgba(15, 45, 85, 0.9) 38%,
    rgba(15, 45, 85, 0.55) 52%,
    rgba(15, 45, 85, 0.08) 68%,
    transparent 82%
  );
  pointer-events: none;
}

.download__content {
  position: relative;
  z-index: 1;
  grid-column: 1;
  max-width: 100%;
  text-align: left;
}

body[dir="rtl"] .download__content {
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
}

body[dir="rtl"] .download__content h2,
body[dir="rtl"] .download__content p,
body[dir="rtl"] .download__contact {
  text-align: right;
}

body[dir="rtl"] .download__stores {
  justify-content: flex-end;
}

body[dir="rtl"] .download__contact {
  display: block;
  width: 100%;
}

.download__content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.download__content p {
  font-size: 1.0625rem;
  opacity: 0.95;
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 100%;
}

.download__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 135px;
  height: 40px;
  line-height: 0;
  flex-shrink: 0;
  transition: transform var(--transition), opacity var(--transition);
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.store-badge img {
  display: block;
  width: 135px;
  height: 40px;
  object-fit: contain;
  object-position: center;
}

.download__contact {
  display: inline-flex;
  margin-top: 28px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  color: #fff;
}

.download__contact small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.85;
  margin-bottom: 4px;
}

.download__contact-phone {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  color: #fff;
  opacity: 0.95;
  transition: opacity var(--transition);
}

.download__contact-phone:hover {
  opacity: 1;
  text-decoration: underline;
}

.download__contact-email {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  opacity: 0.92;
  transition: opacity var(--transition);
}

.download__contact-email:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr repeat(4, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 48px;
}

.footer__logo {
  width: auto;
  height: 48px;
  margin-bottom: 16px;
  object-fit: contain;
}

.footer__social {
  margin-top: 20px;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  opacity: 0.85;
  transition: opacity var(--transition), color var(--transition);
}

.footer__social-link:hover {
  opacity: 1;
  color: var(--color-teal);
}

.footer__brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  opacity: 0.8;
  max-width: 320px;
}

.footer__links h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: #fff;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links li span {
  font-size: 0.9375rem;
  opacity: 0.75;
}

.footer__links a {
  font-size: 0.9375rem;
  opacity: 0.75;
  transition: opacity var(--transition), color var(--transition);
}

.footer__links a:hover {
  opacity: 1;
  color: var(--color-teal);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  }

  .hero__visual {
    order: -1;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__contact-banner {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__meta {
    align-items: center;
  }

  .hero__stats {
    margin: 0 auto;
  }

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

  .download__card {
    grid-template-columns: 1fr;
    min-height: 360px;
    padding: 48px 32px;
    background-position: center;
  }

  .download__overlay {
    background: linear-gradient(
      180deg,
      rgba(15, 45, 85, 0.94) 0%,
      rgba(15, 45, 85, 0.88) 100%
    );
  }

  .download__content {
    grid-column: 1;
    max-width: 100%;
    text-align: center;
  }

  body[dir="rtl"] .download__content {
    text-align: center;
  }

  body[dir="rtl"] .download__content h2,
  body[dir="rtl"] .download__content p,
  body[dir="rtl"] .download__contact {
    text-align: center;
  }

  body[dir="rtl"] .download__stores {
    justify-content: center;
  }

  body[dir="rtl"] .download__contact {
    display: inline-flex;
    width: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .download__content p {
    margin-left: auto;
    margin-right: auto;
  }

  .download__stores {
    justify-content: center;
  }

  .download__contact {
    margin-left: auto;
    margin-right: auto;
  }

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

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--color-surface);
    flex-direction: column;
    padding: 16px 24px max(24px, env(safe-area-inset-bottom));
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    max-height: calc(100dvh - var(--header-height) - env(safe-area-inset-top, 0px));
    overflow-y: auto;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__links li:last-child a {
    border-bottom: none;
  }

  .nav__item--dropdown {
    width: 100%;
  }

  .nav__dropdown-btn {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__dropdown {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    border: none;
    padding: 0 0 8px;
    background: transparent;
  }

  .nav__item--dropdown.is-open .nav__dropdown {
    display: block;
  }

  .nav__dropdown a {
    padding: 12px 0 12px 12px;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
  }

  body[dir="rtl"] .nav__dropdown a {
    padding: 12px 12px 12px 0;
  }

  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .lang-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .hero__blob--1 {
    width: 280px;
    height: 280px;
    top: -60px;
    right: -80px;
  }

  .hero__blob--2 {
    width: 220px;
    height: 220px;
    bottom: -40px;
    left: -60px;
  }

  .hero__visual {
    min-height: 380px;
  }

  .hero__device {
    max-width: 230px;
  }

  .hero__float {
    width: 60px;
    height: 60px;
  }

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

  .hero__stats {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .hero__stat-divider {
    width: 60px;
    height: 1px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section {
    padding: 64px 0;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .section__title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .section__subtitle {
    font-size: 1rem;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding: 40px 0 48px;
    gap: 32px;
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__contact-banner,
  .hero__stats {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  .hero__contact-head {
    justify-content: center;
  }

  .hero__contact-head-text {
    justify-content: center;
  }

  .hero__contact-row {
    text-align: start;
  }

  body[dir="rtl"] .hero__contact-banner,
  body[dir="rtl"] .hero__stats {
    text-align: center;
  }

  body[dir="rtl"] .hero__contact-row {
    text-align: start;
  }

  body[dir="rtl"] .hero__contact-phone,
  body[dir="rtl"] .hero__contact-email {
    text-align: right;
  }

  .hero__visual {
    min-height: 300px;
    width: 100%;
    overflow: hidden;
  }

  .hero__device {
    max-width: 220px;
  }

  .hero__float {
    width: 52px;
    height: 52px;
    padding: 8px;
  }

  .hero__float--1 {
    left: 4%;
    top: 8%;
  }

  .hero__float--2 {
    right: 4%;
  }

  .hero__float--3 {
    left: 8%;
    bottom: 6%;
  }

  .feature-card {
    padding: 24px;
  }

  .download__card {
    padding: 40px 24px;
    min-height: auto;
    border-radius: var(--radius-lg);
  }

  .download__content h2 {
    font-size: clamp(1.5rem, 6vw, 1.875rem);
  }

  .download__content p {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .download__stores {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .download__contact {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  body[dir="rtl"] .download__contact {
    text-align: center;
  }

  body[dir="rtl"] .download__contact span,
  body[dir="rtl"] .download__contact-phone,
  body[dir="rtl"] .download__contact-email {
    text-align: center;
  }

  .footer {
    padding-top: 48px;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .footer__inner {
    text-align: center;
  }

  .footer__brand p {
    max-width: none;
    margin: 0 auto;
  }

  .footer__social-link {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .section {
    padding: 48px 0;
  }

  .nav__logo-img {
    height: 34px;
  }

  .nav__logo-text {
    font-size: 1.125rem;
  }

  .hero__inner {
    padding: 32px 0 40px;
  }

  .hero__badge {
    font-size: 0.8125rem;
    padding: 6px 12px 6px 10px;
  }

  .hero__float {
    display: none;
  }

  .hero__visual {
    min-height: 260px;
  }

  .hero__device {
    max-width: 200px;
  }

  .btn--lg {
    padding: 13px 20px;
    font-size: 0.9375rem;
  }

  .store-badge,
  .store-badge img {
    width: 150px;
    height: 44px;
  }
}
