/* ===== Variables ===== */
:root {
  --white: #ffffff;
  --sky-50: #f0f7ff;
  --sky-100: #e0effe;
  --sky-200: #b8dcfc;
  --sky-300: #7ec0f7;
  --sky-400: #4aa3ef;
  --sky-500: #2b87db;
  --sky-600: #1a6bb8;
  --sky-700: #155694;
  --text: #1a2b3c;
  --text-muted: #5a7184;
  --shadow: 0 8px 32px rgba(43, 135, 219, 0.12);
  --shadow-lg: 0 20px 60px rgba(43, 135, 219, 0.18);
  --radius: 16px;
  --radius-lg: 24px;
  --font: 'Nunito', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* ===== Hero Atmosphere ===== */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--sky-50) 100%);
}

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

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.hero__orb--1 {
  width: 420px;
  height: 420px;
  top: -80px;
  right: -60px;
  background: rgba(126, 192, 247, 0.35);
  animation: orb-float 20s ease-in-out infinite;
}

.hero__orb--2 {
  width: 320px;
  height: 320px;
  bottom: 10%;
  left: -80px;
  background: rgba(184, 220, 252, 0.5);
  animation: orb-float 16s ease-in-out infinite reverse;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  top: 35%;
  left: 40%;
  background: rgba(74, 163, 239, 0.12);
  animation: orb-float 24s ease-in-out infinite 4s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -15px); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  .hero__orb {
    animation: none;
  }
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sky-100);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--sky-600);
}

.logo__img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__links a {
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--sky-500);
}

.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(--sky-600);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.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);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 4vw 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--sky-100);
}

.mobile-menu a {
  padding: 0.75rem 0;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--sky-50);
}

.mobile-menu.open {
  display: flex;
}

/* ===== Hero content ===== */
.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--sky-100);
  color: var(--sky-600);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--sky-400), var(--sky-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--sky-400), var(--sky-500));
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: transparent;
  color: var(--sky-600);
  border-color: var(--sky-200);
}

.btn--ghost:hover {
  background: var(--sky-50);
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sky-600);
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Phone Mockup ===== */
.hero__phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 260px;
  background: #1a2b3c;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 1;
  animation: float-phone 4s ease-in-out infinite;
}

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

.phone__screen {
  width: 100%;
  aspect-ratio: 1260 / 2800;
  border-radius: 28px;
  overflow: hidden;
  background: #0d1117;
  line-height: 0;
}

.phone__screenshot {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.phone__glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--sky-200) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* ===== Section Head ===== */
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.section-head--light h2,
.section-head--light p {
  color: var(--white);
}

/* ===== Features ===== */
.features {
  padding: 4rem 0 5rem;
  background: var(--sky-50);
}

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

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--sky-100);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--sky-700);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===== Stores ===== */
.stores {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--sky-400), var(--sky-600));
  position: relative;
  overflow: hidden;
}

.stores::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stores__cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
}

.store-tag {
  padding: 0.6rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s, background 0.2s;
  cursor: default;
}

.store-tag:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.25);
}

.store-tag--more {
  background: rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 5rem 0;
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: none;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky-300), var(--sky-500));
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--sky-700);
}

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===== Download ===== */
.download {
  padding: 5rem 0;
  background: var(--white);
}

.download__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.download__content h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--sky-700);
}

.download__content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.download__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.store-badge {
  display: block;
  line-height: 0;
  border-radius: 8px;
}

.store-badge img {
  height: 52px;
  width: auto;
  display: block;
}

.store-badge--small img {
  height: 44px;
}

.store-badge--large img {
  height: 64px;
}

.download__visual {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anchor {
  font-size: 5rem;
  animation: anchor-sway 3s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(43, 135, 219, 0.3));
}

@keyframes anchor-sway {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.bubbles span {
  position: absolute;
  border-radius: 50%;
  background: rgba(126, 192, 247, 0.3);
  border: 2px solid rgba(126, 192, 247, 0.5);
  animation: bubble-rise 4s ease-in infinite;
}

.bubbles span:nth-child(1) { width: 20px; height: 20px; left: 20%; bottom: 0; animation-delay: 0s; }
.bubbles span:nth-child(2) { width: 14px; height: 14px; left: 40%; bottom: 0; animation-delay: 0.8s; }
.bubbles span:nth-child(3) { width: 24px; height: 24px; left: 60%; bottom: 0; animation-delay: 1.6s; }
.bubbles span:nth-child(4) { width: 12px; height: 12px; left: 75%; bottom: 0; animation-delay: 2.4s; }
.bubbles span:nth-child(5) { width: 18px; height: 18px; left: 55%; bottom: 0; animation-delay: 3.2s; }

@keyframes bubble-rise {
  0% { transform: translateY(0) scale(1); opacity: 0.6; }
  100% { transform: translateY(-200px) scale(0.5); opacity: 0; }
}

/* ===== Footer ===== */
.footer {
  position: relative;
  background: linear-gradient(135deg, var(--sky-400), var(--sky-600));
  color: rgba(255, 255, 255, 0.85);
  padding-top: 4rem;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.footer__waves {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 80px;
  color: var(--sky-50);
  transform: translateY(-99%);
  z-index: 1;
}

.footer__waves svg {
  width: 100%;
  height: 100%;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.logo--footer {
  color: var(--white);
  margin-bottom: 1rem;
}

.logo--footer .logo__text {
  color: var(--white);
}

.footer__tagline {
  font-size: 0.95rem;
  opacity: 0.8;
  max-width: 280px;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer__col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer__col ul li {
  margin-bottom: 0.5rem;
}

.footer__col a {
  font-size: 0.95rem;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.footer__col a:hover {
  opacity: 1;
  color: var(--sky-200);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0;
  position: relative;
  z-index: 1;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__inner,
  .download__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__stats,
  .download__badges {
    justify-content: center;
  }

  .hero__phone {
    order: -1;
  }

  .phone {
    width: 220px;
  }

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

  .feature-card {
    padding: 1.25rem;
  }

  .feature-card h3 {
    font-size: 0.95rem;
  }

  .feature-card p {
    font-size: 0.85rem;
  }

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

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

  .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logo--footer {
    justify-content: center;
  }

  .footer__tagline {
    margin-inline: auto;
  }

  .footer__columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer__bottom-inner {
    justify-content: center;
    text-align: center;
  }

  .download__visual {
    height: 200px;
  }
}

@media (max-width: 640px) {
  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero__stats {
    gap: 1.5rem;
  }

  .store-badge img {
    height: 48px;
  }

  .store-badge--small img {
    height: 40px;
  }

  .store-badge--large img {
    height: 58px;
  }
}

/* ===== Privacy Page ===== */
.privacy-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--sky-50) 0%, var(--white) 40vh);
}

.privacy {
  flex: 1;
  padding: 3rem 0 5rem;
}

.privacy-back {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.privacy__container {
  max-width: 720px;
}

.privacy__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.privacy__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--sky-700);
  margin-bottom: 0.5rem;
}

.privacy__updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.privacy__lang {
  display: inline-flex;
  background: var(--sky-100);
  border-radius: 100px;
  padding: 4px;
  gap: 4px;
}

.privacy__lang-btn {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 100px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.privacy__lang-btn.active {
  background: var(--white);
  color: var(--sky-600);
  box-shadow: 0 2px 8px rgba(43, 135, 219, 0.15);
}

.privacy__highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--sky-50), var(--sky-100));
  border: 1px solid var(--sky-200);
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
}

.privacy__highlight-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.privacy__highlight p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--sky-700);
  line-height: 1.5;
}

.privacy__content section {
  margin-bottom: 2rem;
}

.privacy__content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sky-700);
  margin-bottom: 0.75rem;
}

.privacy__content p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.privacy__content p:last-child {
  margin-bottom: 0;
}

.privacy__content a {
  color: var(--sky-500);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy__content a:hover {
  color: var(--sky-600);
}

.privacy__content.hidden {
  display: none;
}

.footer--compact {
  padding-top: 0;
}

.footer--compact .footer__bottom-inner--compact {
  position: relative;
  z-index: 1;
}

.footer__bottom-inner--compact {
  padding: 1.5rem 0;
  opacity: 0.75;
}

.footer__link-back {
  opacity: 0.85;
  transition: color 0.2s;
}

.footer__link-back:hover {
  color: var(--sky-200);
}
