  :root {
    --blue-deep: #1565D8;
    --blue-main: #2E7CF6;
    --blue-bright: #4A9AFF;
    --blue-light: #5BA8FF;
    --blue-pale: #E8F1FE;
    --gold: #FFD233;
    --white: #FFFFFF;
    --off-white: #F6F9FE;
    --text-dark: #0B1A33;
    --text-muted: #4A6080;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
  }

  .bg-wrapper {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  }
  .bg-blob-1 {
    position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(46,124,246,0.08) 0%, transparent 70%);
    border-radius: 50%; animation: drift1 25s ease-in-out infinite;
  }
  .bg-blob-2 {
    position: absolute; bottom: -25%; left: -15%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(74,154,255,0.06) 0%, transparent 70%);
    border-radius: 50%; animation: drift2 30s ease-in-out infinite;
  }
  @keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-4%,6%)} }
  @keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(5%,-5%)} }

  .confetti-piece {
    position: fixed; z-index: 0; pointer-events: none; border-radius: 2px; opacity: 0;
    animation: confetti-fall linear infinite;
  }
  @keyframes confetti-fall {
    0%{opacity:0;transform:translateY(-10vh) rotate(0deg)}
    10%{opacity:.55} 90%{opacity:.35}
    100%{opacity:0;transform:translateY(105vh) rotate(720deg)}
  }

  .page { position: relative; z-index: 1; overflow-x: hidden; }
  .hero {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 100vh; padding: 48px 24px 64px; gap: 48px;
    width: 100%; max-width: 1140px; margin: 0 auto;
  }

  .content { text-align: center; max-width: 520px; animation: fadeUp .8s ease-out both; }
  @keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

  .app-icon {
    width: 88px; height: 88px; border-radius: 22px; overflow: hidden;
    margin: 0 auto 24px;
    box-shadow: 0 8px 30px rgba(21,101,216,.25), 0 2px 8px rgba(0,0,0,.08);
    transition: transform .3s ease;
  }
  .app-icon:hover { transform: scale(1.05) rotate(-2deg); }
  .app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

  .app-name {
    font-size: .95rem; font-weight: 700; color: var(--blue-main);
    letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px;
  }
  h1 {
    font-size: 2.2rem; font-weight: 800; color: var(--text-dark);
    line-height: 1.15; margin-bottom: 16px; letter-spacing: -.025em;
  }
  .slogan {
    font-size: 1.05rem; color: var(--text-muted); line-height: 1.65;
    margin-bottom: 14px; font-weight: 400;
  }

  .rating {
    display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px;
    padding: 8px 16px; background: white; border-radius: 40px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
  }
  .stars { display: flex; gap: 2px; }
  .star { color: var(--gold); font-size: 16px; line-height: 1; }
  .rating-text { font-size: .82rem; color: var(--text-muted); font-weight: 500; }
  .rating-text strong { color: var(--text-dark); font-weight: 700; }

  .badge-link { display: inline-block; transition: transform .25s ease; }
  .badge-link:hover { transform: scale(1.06); }
  .badge-link img { height: 54px; width: auto; }

  .carousel-section { width: 100%; max-width: min(360px, 82vw); animation: fadeUp .8s ease-out .25s both; margin: 0 auto; }
  .carousel-container { position: relative; width: 100%; overflow: visible; }

  .phone-shell {
    position: relative; width: 100%; aspect-ratio: 9/19.5; background: #111;
    border-radius: 42px; padding: 10px;
    box-shadow: 0 50px 100px rgba(21,101,216,.18), 0 20px 40px rgba(0,0,0,.1),
      inset 0 0 0 1.5px rgba(255,255,255,.1);
  }
  .phone-inner {
    width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
    position: relative; background: linear-gradient(180deg, #f9fbff 0%, #eef4ff 100%);
  }
  .phone-inner::before {
    content:''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    width: 84px; height: 25px; background: #000; border-radius: 20px; z-index: 10;
  }

  .swipe-track {
    display: flex; width: 100%; height: 100%;
    transition: transform .4s cubic-bezier(.25,.1,.25,1);
    cursor: grab; user-select: none; -webkit-user-select: none;
    touch-action: pan-y pinch-zoom;
  }
  .swipe-track:active { cursor: grabbing; }
  .swipe-slide {
    min-width: 100%; height: 100%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
  }
  .swipe-slide img {
    width: 100%; height: 100%; object-fit: contain; object-position: center center;
    display: block; pointer-events: none; -webkit-user-drag: none;
  }
  .phone-video {
    width: 100%; height: 100%; object-fit: cover; object-position: center center;
    display: block; background: #000;
  }

  .phone-shell::after {
    content:''; position: absolute; top: 15%; left: -10%; right: -10%; bottom: 5%;
    background: radial-gradient(ellipse, rgba(46,124,246,.15) 0%, transparent 70%);
    z-index: -1; filter: blur(30px);
  }

  .carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
  .dot {
    width: 8px; height: 8px; border-radius: 50%; background: rgba(46,124,246,.2);
    border: none; padding: 0; cursor: pointer; transition: all .3s ease;
  }
  .dot.active { background: var(--blue-main); width: 24px; border-radius: 4px; }

  .carousel-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 50%; border: none; background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,.12); cursor: pointer; display: none;
    align-items: center; justify-content: center; z-index: 20;
    transition: transform .2s ease, box-shadow .2s ease;
    color: var(--text-dark); font-size: 16px; line-height: 1;
  }
  .carousel-nav:hover { transform: translateY(-50%) scale(1.1); box-shadow: 0 4px 16px rgba(0,0,0,.16); }
  .carousel-nav.prev { left: -18px; }
  .carousel-nav.next { right: -18px; }

  .faq {
    position: relative; z-index: 1; max-width: 720px; margin: 0 auto;
    padding: 24px 24px 56px;
  }
  .faq h2 {
    font-size: 1.5rem; font-weight: 800; color: var(--text-dark);
    text-align: center; margin-bottom: 24px; letter-spacing: -.02em;
  }
  .faq details {
    background: white; border-radius: 14px; padding: 16px 20px; margin-bottom: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04); border: 1px solid rgba(46,124,246,.08);
    transition: box-shadow .2s ease;
  }
  .faq details[open] { box-shadow: 0 6px 20px rgba(21,101,216,.08); }
  .faq summary {
    cursor: pointer; font-weight: 600; color: var(--text-dark); font-size: .98rem;
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: '+'; color: var(--blue-main); font-size: 1.4rem; font-weight: 400;
    transition: transform .2s ease;
  }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq p {
    margin-top: 12px; color: var(--text-muted); font-size: .92rem; line-height: 1.6;
  }

  .footer {
    position: relative; z-index: 1; text-align: center;
    padding: 32px 24px 40px; color: var(--text-muted); font-size: .78rem; line-height: 1.7;
  }
  .footer a { color: var(--blue-main); text-decoration: none; font-weight: 500; }
  .footer a:hover { text-decoration: underline; }
  .footer-links { margin-bottom: 8px; }
  .footer-links a { margin: 0 8px; }
  .footer-sep { color: rgba(74,96,128,.3); }

  @media (min-width:768px) {
    .hero { flex-direction: row; gap: 72px; padding: 80px 48px; }
    .content { text-align: left; max-width: 420px; flex-shrink: 0; }
    .app-icon { margin: 0 0 24px; }
    .rating { margin-left: 0; }
    h1 { font-size: 2.6rem; }
    .carousel-section { max-width: min(360px, 36vw); }
  }
  @media (max-width:1023px) {
    .carousel-section { max-width: min(420px, 92vw); }
    .carousel-container { overflow: hidden; }
    .phone-shell {
      aspect-ratio: auto;
      background: transparent;
      border-radius: 0;
      padding: 0;
      box-shadow: none;
    }
    .phone-shell::after { display: none; }
    .phone-inner {
      border-radius: 0;
      overflow: visible;
      background: transparent;
    }
    .phone-inner::before { display: none; }
    .swipe-track {
      height: auto;
      gap: 14px;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      cursor: auto;
    }
    .swipe-track::-webkit-scrollbar { display: none; }
    .swipe-track { scrollbar-width: none; }
    .swipe-slide {
      min-width: 100%;
      height: auto;
      flex: 0 0 100%;
      scroll-snap-align: center;
    }
    .swipe-slide img {
      height: auto;
      border-radius: 28px;
      box-shadow: 0 24px 50px rgba(21,101,216,.14), 0 10px 24px rgba(0,0,0,.08);
      background: white;
    }
    .phone-video {
      height: auto;
      aspect-ratio: 9/19.5;
      border-radius: 28px;
      box-shadow: 0 24px 50px rgba(21,101,216,.14), 0 10px 24px rgba(0,0,0,.08);
    }
    .carousel-nav { display: none; }
  }
  @media (max-width:767px) {
    .hero { padding: 32px 20px 48px; gap: 32px; }
    h1 { font-size: 1.8rem; }
    .slogan { font-size: .95rem; }
  }
  @media (min-width:768px) and (max-width:1023px) {
    .carousel-section { max-width: min(460px, 44vw); }
  }
  @media (max-width:390px) {
    .carousel-section { max-width: min(340px, 88vw); }
    h1 { font-size: 1.6rem; }
  }
  @media (min-width:1024px) {
    .hero { gap: 100px; }
    h1 { font-size: 3rem; }
    .carousel-section { max-width: 340px; }
    .carousel-nav { display: flex; }
  }

  .lang-switcher {
    margin-top: 14px; font-size: .75rem; line-height: 1.8;
  }
  .lang-switcher a { color: var(--text-muted); margin: 0 6px; }
  .lang-switcher a.active { color: var(--blue-main); font-weight: 600; }

  html[dir="rtl"] body { direction: rtl; }
  html[dir="rtl"] .content { text-align: center; }
  html[dir="rtl"] .app-icon { margin: 0 auto 24px; }
  @media (min-width:768px) {
    html[dir="rtl"] .content { text-align: right; }
    html[dir="rtl"] .app-icon { margin: 0 0 24px auto; }
    html[dir="rtl"] .rating { margin-right: 0; }
  }
  html[dir="rtl"] .faq summary { flex-direction: row-reverse; }
  html[dir="rtl"] .footer-links a { margin: 0 8px; }
