﻿:root {
  --bg: #090711;
  --bg-soft: #100c19;
  --surface: #151020;
  --surface-2: #1b1429;
  --border: #302747;

  --text: #f8f5ff;
  --muted: #bdb4cb;
  --muted-2: #8f869e;

  --primary: #8b5cf6;
  --primary-light: #a78bfa;
  --primary-dark: #6d28d9;

  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 70% 0%, rgba(124,58,237,.13), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary-light);
  text-decoration: none;
}

.wrap {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}


/* NAV */

.site-nav,
nav {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(9,7,17,.88);
  backdrop-filter: blur(18px);
}

.site-nav {
  position: sticky;
  top: 0;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 800;
  font-size: 1.08rem;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--muted);
  font-size: .92rem;
}

.nav-links a:hover {
  color: white;
}


/* HERO */

.hero {
  min-height: 760px;
  padding: 90px 0 80px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  color: var(--primary-light);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
}

.hero h1 {
  margin: 18px 0 24px;
  font-size: clamp(3.3rem, 7vw, 6.3rem);
  line-height: .94;
  letter-spacing: -.055em;
}

.hero h1 span {
  color: var(--primary-light);
}

.hero-text {
  max-width: 620px;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: white;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: #594772;
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 36px rgba(124,58,237,.24);
}

.btn.secondary {
  background: rgba(255,255,255,.035);
}

.download-btn {
  min-width: 178px;
}

.download-btn small {
  display: block;
  line-height: 1;
  font-size: .65rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

.download-icon {
  font-size: 1.4rem;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
  color: var(--muted-2);
  font-size: .82rem;
}


/* PHONE */

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-glow {
  position: absolute;
  width: 430px;
  height: 430px;
  top: 20%;
  background: rgba(124,58,237,.22);
  filter: blur(95px);
  border-radius: 50%;
}

.phone-frame {
  position: relative;
  width: min(310px, 78vw);
  padding: 8px;
  border-radius: 38px;
  background: #18131f;
  border: 1px solid #423651;
  box-shadow:
    0 45px 90px rgba(0,0,0,.45),
    0 0 0 5px rgba(255,255,255,.018);
  transform: rotate(2deg);
}

.phone-frame img,
.screenshot-frame img {
  border-radius: 31px;
}


/* TRUST */

.trust-strip {
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.018);
}

.trust-grid {
  padding: 30px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid div {
  padding: 2px 30px;
  border-right: 1px solid rgba(255,255,255,.07);
}

.trust-grid div:first-child {
  padding-left: 0;
}

.trust-grid div:last-child {
  border-right: 0;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: white;
  margin-bottom: 3px;
}

.trust-grid span {
  color: var(--muted);
  font-size: .88rem;
}


/* SECTIONS */

.section {
  padding-top: 110px;
  padding-bottom: 110px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.privacy-copy h2,
.download-panel h2 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.section-heading p,
.privacy-copy p,
.download-panel p {
  color: var(--muted);
}


/* FEATURES */

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

.feature-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  color: var(--primary-light);
  background: rgba(139,92,246,.11);
  font-size: 1.25rem;
}

.feature-card h3 {
  margin: 0 0 8px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}


/* SCREENSHOTS */

.screenshots-section {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(124,58,237,.055),
    transparent
  );
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: end;
}

.screenshots figure {
  margin: 0;
  text-align: center;
}

.screenshot-frame {
  padding: 5px;
  border-radius: 25px;
  background: #17121f;
  border: 1px solid #3a3047;
  box-shadow: 0 25px 50px rgba(0,0,0,.25);
  transition: transform .2s ease;
}

.screenshot-frame:hover {
  transform: translateY(-7px);
}

.screenshot-frame img {
  border-radius: 20px;
}

.screenshots figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: .88rem;
}


/* PRIVACY */

.privacy-panel {
  padding: 54px;
  border: 1px solid var(--border);
  border-radius: 30px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  background:
    radial-gradient(circle at 10% 20%, rgba(124,58,237,.11), transparent 40%),
    var(--surface);
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
}

.privacy-points {
  display: grid;
  gap: 16px;
}

.privacy-points > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.privacy-points > div:last-child {
  border-bottom: 0;
}

.privacy-points span {
  color: var(--primary-light);
  font-weight: 900;
}

.privacy-points p {
  margin: 0;
  color: var(--muted);
}

.privacy-points strong {
  display: block;
  color: white;
}


/* DOWNLOAD */

.download-panel {
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 34px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #181022, #110d19);
}

.download-logo {
  width: 125px;
  height: 125px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}

.verification {
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.02);
}

.verification strong,
.verification span,
.verification code {
  display: block;
}

.verification span {
  margin-top: 8px;
  color: var(--muted-2);
  font-size: .72rem;
}

.verification code {
  margin-top: 4px;
  color: var(--muted);
  font-size: .78rem;
  word-break: break-all;
}


/* DOCUMENT PAGES */

.doc {
  max-width: 900px;
  padding: 60px 0 100px;
}

.doc h1 {
  margin-bottom: 5px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.doc h2 {
  margin-top: 38px;
}

.doc p,
.doc li {
  color: var(--muted);
}

.notice,
.card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

.lang {
  text-align: right;
}


/* FOOTER */

footer {
  margin-top: 40px;
  padding: 55px 0 28px;
  border-top: 1px solid rgba(255,255,255,.07);
  background: #07050d;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.footer-grid p {
  max-width: 440px;
  color: var(--muted-2);
  font-size: .9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-links a {
  color: var(--muted);
}

.copyright {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: var(--muted-2);
  font-size: .8rem;
}


/* RESPONSIVE */

@media (max-width: 900px) {

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 70px;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-actions,
  .release-meta {
    justify-content: center;
  }

  .hero-phone {
    margin-top: 20px;
  }

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

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

  .privacy-panel {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}


@media (max-width: 640px) {

  .wrap {
    width: min(100% - 28px, var(--max-width));
  }

  .nav {
    min-height: 64px;
  }

  .nav-links a:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 65px 0 70px;
    gap: 50px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 4.7rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .trust-grid div,
  .trust-grid div:first-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  .trust-grid div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

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

  .screenshots {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 10px 2px 20px;
    scroll-snap-type: x mandatory;
  }

  .screenshots figure {
    min-width: 68vw;
    scroll-snap-align: center;
  }

  .privacy-panel {
    padding: 30px 24px;
  }

  .download-panel {
    padding: 32px 24px;
    flex-direction: column;
    text-align: center;
  }

  .download-logo {
    width: 100px;
    height: 100px;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-links {
    gap: 18px;
  }
}

[dir="rtl"] .lang {
  text-align: left;
}
