/* ═══════════════════════════════════════════════════════════════
   Info Page — "How does it work?"
   ═══════════════════════════════════════════════════════════════ */

/* ── Full-page overlay ── */
.ww-e-info {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--bg);
  overflow-y: auto;
  padding: 80px 28px 40px;
  transition: opacity 0.5s ease;
  -webkit-overflow-scrolling: touch;
}
.ww-e-info.hidden { opacity: 0; pointer-events: none; z-index: 0; }

.ww-i-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* ── Back button ── */
.ww-i-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, border-color .2s;
  margin-bottom: 8px;
}
.ww-i-back:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.20);
}

/* ── Explanation section ── */
.ww-i-explain {
  margin: 40px 0 0;
}
.ww-i-explain-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.55));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ww-i-explain-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 680px;
  margin-bottom: 32px;
}
.ww-i-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
  text-decoration: none;
}
.ww-i-explore-btn:hover {
  background: var(--blue-light);
}

/* ── Section headings ── */
.ww-i-section-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 56px 0 20px;
  color: var(--text);
}

/* ── Country cards grid (3x3) ── */
.ww-i-countries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ww-i-country {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s;
}
.ww-i-country:hover {
  border-color: var(--border-hover);
}

/* Country header */
.ww-i-country-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 12px;
}
.ww-i-country-flag { font-size: 26px; }
.ww-i-country-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.ww-i-country-from {
  margin-left: auto;
  font-size: 12px;
  color: var(--blue-light);
  font-weight: 500;
}

/* Plans inside country card */
.ww-i-plans {
  padding: 0 16px 14px;
}

.ww-i-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  margin-top: 4px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: background .2s, border-color .2s;
}
.ww-i-plan:first-child { margin-top: 0; }
.ww-i-plan:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.12);
}

.ww-i-plan-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ww-i-plan-data {
  font-size: 13px;
  font-weight: 600;
}
.ww-i-plan-meta {
  font-size: 11px;
  color: var(--text-2);
}
.ww-i-plan-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-light);
  white-space: nowrap;
}

.ww-i-loading {
  display: flex;
  justify-content: center;
  padding: 16px 0;
}
.ww-i-empty {
  text-align: center;
  padding: 12px;
  color: var(--text-3);
  font-size: 13px;
}

/* ── View all button per country ── */
.ww-i-country-cta {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  border-top: 1px solid var(--border);
  transition: background .2s;
}
.ww-i-country-cta:hover {
  background: rgba(37,99,235,.08);
}

/* ── Reviews ── */
.ww-i-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ww-i-review {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}

.ww-i-review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.ww-i-review-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.ww-i-review-stars {
  color: #f0a500;
  font-size: 14px;
  letter-spacing: 1px;
}
.ww-i-review-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 8px;
}
.ww-i-review-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-3);
}

/* ── Footer in info page ── */
.ww-i-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
}
.ww-i-footer a {
  color: var(--text-3);
  text-decoration: none;
}
.ww-i-footer a:hover { color: var(--text-2); }

/* ── Divider ── */
.ww-i-divider {
  height: 1px;
  background: var(--border);
  margin: 48px 0 0;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .ww-e-info { padding: 70px 16px 30px; }
  .ww-i-countries { grid-template-columns: 1fr; }
  .ww-i-reviews { grid-template-columns: 1fr; }
  .ww-i-explain-text { font-size: 15px; }
  .ww-i-explore-btn { width: 100%; justify-content: center; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .ww-i-countries { grid-template-columns: repeat(2, 1fr); }
  .ww-i-reviews { grid-template-columns: repeat(2, 1fr); }
}
