:root {
  --bg-0: #050714;
  --text: #e9ecf5;
  --muted: #9099b3;
  --accent: #6366f1;
  --accent-2: #8b5cf6;
  --pink: #ec4899;
  --border: rgba(255,255,255,0.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100vh; background: var(--bg-0); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }

/* Animated gradient orbs */
.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; animation: float 18s ease-in-out infinite; }
.orb-1 { width: 600px; height: 600px; background: #6366f1; top: -150px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: #8b5cf6; bottom: -100px; right: -80px; animation-delay: -6s; }
.orb-3 { width: 400px; height: 400px; background: #ec4899; top: 30%; left: 40%; animation-delay: -12s; opacity: 0.3; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.05); }
  66%      { transform: translate(-30px, 20px) scale(0.95); }
}

.topbar {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 40px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon-img {
  width: 40px; height: 40px; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(99,102,241,0.4);
}
.brand-text { font-size: 18px; font-weight: 700; }

/* Hero */
.hero { position: relative; z-index: 1; padding: 40px 40px 80px; max-width: 1200px; margin: 0 auto; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 24px; }
  .topbar { padding: 20px 24px; }
}

.app-icon {
  width: 110px; height: 110px; border-radius: 26px;
  box-shadow: 0 20px 60px rgba(99,102,241,0.4), 0 0 0 1px rgba(255,255,255,0.08) inset;
  margin-bottom: 24px; background: linear-gradient(135deg, #6366f1, #8b5cf6);
  object-fit: cover;
}
.version-pill {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  font-size: 12px; color: var(--muted); margin-bottom: 16px; font-weight: 500;
}
.hero h1 {
  margin: 0 0 12px; font-size: 56px; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, #c7d2fe);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1.05;
}
@media (max-width: 600px) { .hero h1 { font-size: 40px; } }
.tagline { margin: 0 0 18px; font-size: 18px; color: #c7d2fe; font-weight: 500; }
.desc { margin: 0 0 32px; font-size: 15px; color: var(--muted); line-height: 1.65; max-width: 520px; }

.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px;
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  transition: transform .15s, box-shadow .2s;
  text-decoration: none;
}
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 12px 32px rgba(99,102,241,0.45);
}
.btn-primary:hover { box-shadow: 0 16px 40px rgba(99,102,241,0.6); }
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); }
.apple-glyph {
  width: 18px; height: 22px; display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'><path d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zM236.7 91.5c34.6-41.7 31.5-79.4 30.5-93C236.5 0 200.4 19.4 178 41.7 154 65 140.3 92.3 144.4 122.9c33.3 2.6 64.1-14.4 92.3-31.4z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'><path d='M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zM236.7 91.5c34.6-41.7 31.5-79.4 30.5-93C236.5 0 200.4 19.4 178 41.7 154 65 140.3 92.3 144.4 122.9c33.3 2.6 64.1-14.4 92.3-31.4z'/></svg>") center/contain no-repeat;
}

.telegram-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 22px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(34,158,217,0.15), rgba(34,158,217,0.05));
  border: 1px solid rgba(34,158,217,0.35);
  color: #7dd3fc;
  margin-bottom: 32px;
  transition: all .2s;
  max-width: 380px;
}
.telegram-cta:hover {
  background: linear-gradient(135deg, rgba(34,158,217,0.25), rgba(34,158,217,0.1));
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(34,158,217,0.25);
}
.tg-label { font-size: 11px; color: #7dd3fc; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.tg-handle { font-size: 16px; font-weight: 700; color: white; margin-top: 2px; }
.tg-arrow { margin-left: auto; font-size: 20px; }

.meta { display: flex; gap: 24px; flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

/* Screenshots */
.hero-right { position: relative; }
.shots {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}
.shots::-webkit-scrollbar { height: 6px; }
.shots::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
.shots img {
  height: 480px; border-radius: 24px; flex-shrink: 0;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  scroll-snap-align: center;
}
@media (max-width: 600px) { .shots img { height: 360px; } }

.footer {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 40px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--muted);
}
.footer a { color: var(--muted); }
.footer a:hover { color: #c7d2fe; }
