:root {
  color-scheme: light;
  --bg: #f7fbff;
  --bg-soft: #edf7ff;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.96);
  --border: rgba(51, 111, 157, 0.16);
  --border-strong: rgba(43, 109, 163, 0.28);
  --text: #172a3f;
  --text-soft: #5d7289;
  --accent: #1685d1;
  --accent-strong: #2563eb;
  --accent-warm: #139a87;
  --shadow: 0 24px 64px rgba(62, 113, 153, 0.14);
  --shadow-soft: 0 12px 34px rgba(62, 113, 153, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    system-ui,
    sans-serif;
  background:
    radial-gradient(circle at 6% 2%, rgba(103, 201, 255, 0.3), transparent 27%),
    radial-gradient(circle at 88% 8%, rgba(123, 231, 201, 0.24), transparent 23%),
    radial-gradient(circle at 54% 100%, rgba(153, 201, 255, 0.2), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #eef8ff 48%, #f9fcff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(41, 104, 151, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 104, 151, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 85%);
}

::selection {
  color: #0a2941;
  background: rgba(104, 207, 235, 0.36);
}

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

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

.page-shell {
  position: relative;
  z-index: 1;
}

.topbar,
.section,
.footer {
  width: var(--content-width);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  margin-top: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(59, 111, 151, 0.12);
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #67d8e8 0%, #3f9fee 48%, var(--accent-strong) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.brand-text {
  font-size: 1rem;
}

.topnav {
  display: inline-flex;
  gap: 20px;
  color: var(--text-soft);
}

.topnav a:hover,
.footer-links a:hover {
  color: var(--accent-strong);
}

.lang-switch {
  position: relative;
  display: inline-flex;
  min-width: 154px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(235, 247, 255, 0.8);
}

.lang-switch::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  pointer-events: none;
  border-right: 2px solid var(--text-soft);
  border-bottom: 2px solid var(--text-soft);
  transform: translateY(-65%) rotate(45deg);
}

.lang-select {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 38px 12px 16px;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.lang-select:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.52);
  outline-offset: 3px;
}

.lang-select option {
  color: #05111f;
  background: #fff;
}

.lang-switch:hover {
  border-color: rgba(37, 99, 235, 0.28);
  background: rgba(221, 242, 255, 0.95);
}

.section {
  padding: 84px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 40px;
  padding-top: 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-warm);
  font-size: 0.82rem;
  letter-spacing: 0;
  font-weight: 800;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.hero-text,
.section-heading p,
.feature-card p,
.gallery-copy p,
.privacy-card p,
.policy-section p,
.footer-text {
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #39b9dd 0%, var(--accent) 48%, var(--accent-strong) 100%);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.2);
}

.button-store {
  min-height: 58px;
  padding: 10px 18px 10px 16px;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02) 42%),
    linear-gradient(180deg, #111 0%, #050505 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 30px rgba(24, 42, 62, 0.18);
}

.button-store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.button-store-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.button-store-copy {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.button-store-top {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
}

.button-store-bottom {
  margin-top: 3px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0;
}

.button-store:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 36px rgba(24, 42, 62, 0.22);
}

.button-secondary {
  border: 1px solid var(--border-strong);
  color: #245277;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.button-secondary:hover {
  border-color: rgba(37, 99, 235, 0.34);
  background: #fff;
}

.hero-download-note {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.stat-card,
.feature-card,
.gallery-card,
.privacy-card,
.policy-section {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.stat-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
  line-height: 1.5;
}

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

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 10% auto;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 178, 232, 0.3), rgba(128, 222, 201, 0.12) 42%, transparent 68%);
  filter: blur(20px);
}

.device-frame {
  position: relative;
  width: min(100%, 720px);
  padding: 18px;
  border-radius: 34px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(233, 247, 255, 0.88)),
    #fff;
  box-shadow: var(--shadow);
}

.device-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(47, 96, 133, 0.12);
}

.floating-note {
  position: absolute;
  max-width: 220px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(38, 167, 145, 0.2);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(54, 112, 145, 0.15);
  animation: float 6s ease-in-out infinite;
}

.floating-note-top {
  top: 2%;
  right: 0;
}

.floating-note-bottom {
  bottom: 8%;
  left: -6%;
  animation-delay: 1.4s;
}

.note-title {
  display: block;
  font-weight: 800;
}

.note-text {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  line-height: 1.55;
}

.section-alt {
  padding-inline: clamp(22px, 4vw, 48px);
  border: 1px solid rgba(66, 135, 173, 0.12);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(229, 246, 255, 0.84), rgba(238, 253, 248, 0.84));
  box-shadow: 0 22px 64px rgba(67, 128, 164, 0.08);
}

.section-band {
  margin-top: 48px;
  padding: 52px clamp(22px, 4vw, 48px);
  border: 1px solid rgba(66, 135, 173, 0.12);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.section-heading p {
  margin: 18px 0 0;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.feature-grid,
.gallery-grid,
.privacy-highlights,
.policy-grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

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

.feature-card,
.privacy-card,
.policy-section {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.feature-card,
.gallery-card,
.privacy-card,
.policy-section,
.stat-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover,
.gallery-card:hover,
.privacy-card:hover,
.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.23);
  box-shadow: 0 18px 42px rgba(62, 113, 153, 0.14);
}

.feature-card h3,
.gallery-copy h3,
.privacy-card h3,
.policy-section h3 {
  margin: 0 0 12px;
  font-size: 1.26rem;
}

.feature-list,
.updates-list {
  margin: 0;
  padding-inline-start: 1.25rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.feature-list li + li,
.updates-list li + li {
  margin-top: 8px;
}

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

.gallery-card {
  overflow: hidden;
  border-radius: 28px;
}

.gallery-image-wrap {
  padding: 18px;
  background: linear-gradient(145deg, rgba(212, 241, 255, 0.86), rgba(231, 251, 246, 0.72));
}

.gallery-image-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
}

.gallery-copy {
  padding: 0 22px 24px;
}

.gallery-tag {
  display: inline-flex;
  margin-top: 4px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(22, 133, 209, 0.1);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.updates-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.updates-list li {
  position: relative;
  padding: 18px 20px 18px 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  box-shadow: 0 10px 28px rgba(62, 113, 153, 0.08);
}

.updates-list li::before {
  content: "✓";
  position: absolute;
  top: 18px;
  left: 20px;
  color: var(--accent-warm);
  font-weight: 900;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(19, 154, 135, 0.18);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font-weight: 700;
}

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

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

.policy-section a {
  color: var(--accent);
}

.website-privacy {
  margin-top: 20px;
}

.footer {
  margin: 24px auto 40px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: clamp(36px, 7vw, 84px);
  align-items: start;
  padding: 36px 40px 34px;
}

.footer-title,
.footer-meta {
  margin: 0;
}

.footer-title {
  font-size: 1.3rem;
  font-weight: 800;
}

.footer-text {
  margin: 10px 0 0;
  max-width: 62ch;
  line-height: 1.7;
}

.footer-links {
  display: inline-flex;
  gap: 18px;
  color: var(--text-soft);
  font-weight: 700;
}

.footer-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-soft);
  text-align: end;
}

.footer-contact {
  max-width: 38ch;
  color: var(--text-soft);
  line-height: 1.55;
  text-align: start;
}

.footer-contact p {
  margin: 0;
}

.footer-email {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent-strong);
  font-size: 0.98rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.footer-email:hover {
  color: var(--accent-warm);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 40px;
  border-top: 1px solid var(--border);
  background: rgba(231, 246, 255, 0.48);
}

[dir="rtl"] .button-store-copy {
  align-items: flex-end;
}

[dir="rtl"] .updates-list li {
  padding: 18px 48px 18px 20px;
}

[dir="rtl"] .updates-list li::before {
  right: 20px;
  left: auto;
}

[dir="rtl"] .floating-note-top {
  right: auto;
  left: 0;
}

[dir="rtl"] .floating-note-bottom {
  right: -6%;
  left: auto;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-stats,
  .gallery-grid,
  .privacy-highlights,
  .policy-grid {
    grid-template-columns: 1fr;
  }

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

  .floating-note-bottom {
    left: 0;
  }

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

  .footer-contact {
    max-width: 52ch;
  }
}

@media (max-width: 760px) {
  .topbar {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    border-radius: 28px;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .updates-list {
    grid-template-columns: 1fr;
  }

  .button-store {
    width: 100%;
    justify-content: center;
  }

  .floating-note {
    position: static;
    max-width: none;
  }

  .hero-visual {
    gap: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .section-alt {
    padding: 64px 22px;
    border-radius: 28px;
  }

  .section-band {
    margin-top: 32px;
    padding: 44px 22px;
    border-radius: 28px;
  }

  .footer {
    border-radius: 24px;
  }

  .footer-main {
    padding: 28px 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px 22px;
  }

  .footer-meta {
    flex-wrap: wrap;
    text-align: start;
  }
}
