/* Landing page */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(120% 90% at 10% 0%, #2A1680 0%, #160A4E 45%, #0C0630 100%);
  padding: 72px 0 96px;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; left: -140px; top: -180px; background: #FF4FD8; opacity: .38; }
.b2 { width: 600px; height: 600px; right: -180px; bottom: -260px; background: #00E5FF; opacity: .3; animation-delay: -8s; }
.b3 { width: 420px; height: 420px; right: 18%; top: -160px; background: #2F6BFF; opacity: .55; animation-delay: -14s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }
.grain { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 4px 4px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); font-weight: 600; font-size: 14.5px; letter-spacing: .01em; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #6CFFB0; box-shadow: 0 0 0 4px rgba(108,255,176,.22); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(108,255,176,0); } }
.hero h1 { margin: 22px 0 18px; }
.hero-name { display: block; font-size: clamp(56px, 9vw, 104px); font-weight: 800; letter-spacing: -.05em; line-height: .95; background: linear-gradient(100deg, #fff 30%, #C9D6FF 60%, #FFC6EF 90%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero-line { display: block; margin-top: 14px; font-size: clamp(24px, 3.2vw, 36px); font-weight: 650; letter-spacing: -.025em; line-height: 1.18; color: #fff; max-width: 15em; }
.hero-sub { font-size: 18.5px; color: rgba(255,255,255,.78); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 30px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255,255,255,.75); font-size: 15px; font-weight: 550; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ms { font-size: 20px; color: #FFD166; }

.hero-visual { position: relative; height: 480px; display: grid; place-items: center; }
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.22); }
.o1 { width: 340px; height: 340px; animation: spin 60s linear infinite; }
.o2 { width: 460px; height: 460px; border-style: solid; border-color: rgba(0,229,255,.14); }
@keyframes spin { to { transform: rotate(360deg); } }
.logo-stage { position: relative; width: 240px; height: 240px; animation: bob 6s ease-in-out infinite; }
.logo-stage::before { content: ""; position: absolute; inset: -30px; border-radius: 40%; background: radial-gradient(closest-side, rgba(255,209,102,.45), rgba(255,79,216,.18) 55%, transparent 75%); filter: blur(12px); animation: glow 4s ease-in-out infinite alternate; }
.hero-logo { position: relative; width: 240px; height: 240px; border-radius: 64px; box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.2); }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
@keyframes glow { from { opacity: .6; transform: scale(.95); } to { opacity: 1; transform: scale(1.06); } }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 22px; background: rgba(255,255,255,.92); color: #1A1530; box-shadow: 0 16px 40px rgba(0,0,0,.3); font-size: 14px; line-height: 1.3; animation: floaty 7s ease-in-out infinite; backdrop-filter: blur(12px); }
.float-card b { display: block; font-size: 15px; }
.float-card small { color: #5E5780; font-size: 13px; }
.fc-icon { flex: none; width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: #DFE3FF; overflow: hidden; }
.fc-icon img { width: 40px; height: 40px; }
.fc-icon.amber { background: #FFEFC9; color: #7A4F00; }
.fc-icon.cyan { background: #CDF6FF; color: #005563; }
.fc1 { top: 36px; left: -10px; }
.fc2 { top: 50%; right: -20px; animation-delay: -2.5s; }
.fc3 { bottom: 30px; left: 30px; animation-delay: -4.5s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { height: 400px; order: -1; margin-top: -10px; }
  .o2 { width: 380px; height: 380px; }
  .o1 { width: 290px; height: 290px; }
  .logo-stage, .hero-logo { width: 170px; height: 170px; border-radius: 46px; }
  .fc1 { left: 0; top: 10px; }
  .fc2 { right: 0; }
  .fc3 { left: 8px; bottom: 10px; }
}
@media (max-width: 520px) {
  .hero-visual { height: 330px; }
  .float-card { padding: 9px 14px 9px 9px; font-size: 12.5px; border-radius: 18px; }
  .float-card b { font-size: 13.5px; }
  .float-card small { font-size: 12px; }
  .fc-icon, .fc-icon img { width: 32px; height: 32px; border-radius: 11px; }
  .fc2 { top: 46%; }
  .hero-cta .btn { width: 100%; }
}

/* Sections */
.section { padding: 96px 0 0; }
@media (max-width: 600px) { .section { padding-top: 64px; } }
.section-head { max-width: 700px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(32px, 5vw, 50px); letter-spacing: -.035em; margin-top: 10px; }
.section-head p { color: var(--text-2); font-size: 18.5px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: var(--surface); border-radius: var(--r-xl); padding: 32px 28px 28px; box-shadow: var(--shadow-1); border: 1px solid color-mix(in srgb, var(--outline) 55%, transparent); transition: transform .5s var(--spring); }
.step:hover { transform: translateY(-4px) rotate(-.4deg); }
.step h3 { font-size: 23px; margin-top: 22px; }
.step p { color: var(--text-2); margin: 0; }
.step-shape { width: 84px; height: 84px; display: grid; place-items: center; }
.step-shape .ms { font-size: 38px; }
.s1 { background: var(--primary-c); color: var(--on-primary-c); border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; }
.s2 { background: var(--secondary-c); color: var(--on-secondary-c); clip-path: polygon(50% 0%, 61% 11%, 75% 7%, 79% 21%, 93% 25%, 89% 39%, 100% 50%, 89% 61%, 93% 75%, 79% 79%, 75% 93%, 61% 89%, 50% 100%, 39% 89%, 25% 93%, 21% 79%, 7% 75%, 11% 61%, 0% 50%, 11% 39%, 7% 25%, 21% 21%, 25% 7%, 39% 11%); }
.s3 { background: var(--amber-c); color: var(--on-amber-c); border-radius: 28px; transform: rotate(8deg); }
.s3 .ms { transform: rotate(-8deg); }
.step-num { position: absolute; top: 22px; right: 26px; font-size: 64px; font-weight: 800; line-height: 1; color: var(--surface-3); letter-spacing: -.05em; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { border-radius: var(--r-l); padding: 26px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--outline) 55%, transparent); transition: transform .45s var(--spring), box-shadow .3s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.feature h3 { font-size: 19.5px; margin: 18px 0 8px; }
.feature p { color: var(--text-2); margin: 0; font-size: 16px; }
.f-wide { grid-column: span 2; }
.f-icon { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; }
.f-icon .ms { font-size: 28px; }
.c-primary .f-icon { background: var(--primary-c); color: var(--on-primary-c); }
.c-secondary .f-icon { background: var(--secondary-c); color: var(--on-secondary-c); }
.c-tertiary .f-icon { background: var(--tertiary-c); color: var(--on-tertiary-c); }
.c-amber .f-icon { background: var(--amber-c); color: var(--on-amber-c); }
.c-coral .f-icon { background: var(--coral-c); color: var(--on-coral-c); }
.f-wide.c-primary { background: linear-gradient(135deg, var(--primary-c), var(--surface) 80%); }
.f-wide.c-coral { background: linear-gradient(135deg, var(--coral-c), var(--surface) 80%); }
@media (max-width: 1020px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } .f-wide { grid-column: auto; } }

/* Download */
.dl-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; align-items: start; }
.dl-card { background: var(--surface); border-radius: var(--r-xl); padding: 32px; border: 1px solid color-mix(in srgb, var(--outline) 55%, transparent); box-shadow: var(--shadow-1); }
.dl-card.featured { background: linear-gradient(160deg, var(--primary-c) 0%, var(--surface) 55%); }
.dl-card h3 { font-size: 24px; margin: 18px 0 8px; }
.dl-card > p { color: var(--text-2); }
.dl-icon { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; }
.dl-icon .ms { font-size: 32px; }
.dl-icon.play { background: var(--tertiary-c); color: var(--on-tertiary-c); }
.dl-icon.apk { background: var(--brand-grad); color: #fff; }
.dl-meta { margin: 12px 0 0; color: var(--text-3); font-size: 14.5px; min-height: 1.5em; }
.dl-meta b { color: var(--text); }
.install-steps { margin-top: 24px; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--outline); padding: 4px 20px; }
.install-steps summary { cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: 700; padding: 14px 0; list-style: none; }
.install-steps summary::-webkit-details-marker { display: none; }
.install-steps summary .ms { color: var(--primary); }
.install-steps ol { margin: 0 0 18px; padding-left: 1.3em; color: var(--text-2); font-size: 16px; }
.install-steps li { margin: 10px 0; }
.install-steps li b { color: var(--text); }
@media (max-width: 860px) { .dl-grid { grid-template-columns: 1fr; } .dl-card { padding: 26px 22px; } .dl-card .btn { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .blob, .o1, .logo-stage, .float-card { animation: none !important; }
}
