/* TestWap landing page (index.html), on top of site.css. */
.hero {
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, .18), transparent 45%),
    linear-gradient(135deg, #3f1782, #7646e8 45%, #c73c68);
  color: #fff;
  padding: 24px 0 56px;
}
.hero .bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 0 0 32px; }
.hero .bar img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.hero .bar .brand { flex: 1; min-width: 160px; font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.hero .bar .brand span { display: block; font-weight: 400; opacity: .8; font-size: .85rem; }
.hero .wrap { padding-bottom: 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; }
.hero p.lead { font-size: 1.12rem; opacity: .92; margin: 0 0 24px; max-width: 34em; }
.hero .phone { justify-self: center; width: min(260px, 70vw); }

.phone {
  aspect-ratio: 1 / 2;
  border-radius: 28px;
  padding: 8px;
  background: #0b0a18;
  box-shadow: 0 24px 60px rgba(10, 4, 40, .45), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 21px; }

.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 1rem;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn.primary { background: #fff; color: #3f1782; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.btn.ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid #ffd27a; outline-offset: 2px; }
.cta-note { font-size: .88rem; opacity: .8; margin: 12px 0 0; }

.landing section { margin: 48px 0; }
.landing h2 { font-size: 1.55rem; margin: 0 0 6px; }
.landing .sub { color: var(--muted); margin: 0 0 20px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: -32px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: center;
  box-shadow: 0 10px 30px rgba(60, 30, 140, .12); }
.stat b { display: block; font-size: 1.7rem; line-height: 1.1;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text;
  color: transparent; }
.stat span { color: var(--muted); font-size: .9rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 16px 16px 64px; margin: 0; }
.steps li::before { content: counter(step); position: absolute; inset-inline-start: 16px; top: 16px; width: 32px; height: 32px;
  border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #7646e8, #c73c68); }
.steps strong { display: block; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.feature .ico { font-size: 1.5rem; line-height: 1; }
.feature h3 { margin: 10px 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.shots { display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 16px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; flex: 0 0 200px; scroll-snap-align: start; }
/* A small shadow: the scroll strip clips a large one into a grey band. */
.shots .phone { box-shadow: 0 4px 12px rgba(10, 4, 40, .2), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.shots figcaption { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 8px; }

.platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.platforms .card { margin: 0; }
.platforms h3 { margin-top: 0; }
.platforms ul { margin: 0; }

.final { text-align: center; border-radius: 24px; padding: 32px 20px; color: #fff;
  background: linear-gradient(135deg, #3f1782, #7646e8 50%, #c73c68); }
.final h2 { color: #fff; }
.final .cta { justify-content: center; }
.final p { opacity: .9; }

.landing details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 8px 0; }
.landing summary { cursor: pointer; font-weight: 600; }
.landing details p { margin: 8px 0 0; color: var(--muted); }

@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .phone { display: none; }
  .features, .platforms { grid-template-columns: 1fr; }
  .stat { padding: 12px 8px; }
  .stat b { font-size: 1.3rem; }
  .stat span { font-size: .8rem; line-height: 1.35; display: block; }
  .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }
