/* C-Gauge app page components */

.c-gauge-page {
  padding-bottom: 96px;
  overflow-x: hidden;
}

.c-gauge-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 72px;
  min-height: 68vh;
  padding: 72px 0 84px;
}

.c-gauge-hero > *,
.c-gauge-page .section-header,
.c-gauge-page .faq-item,
.c-gauge-page .app-card {
  min-width: 0;
}

.c-gauge-hero h1 {
  max-width: 760px;
  margin: 18px 0 22px;
}

.c-gauge-icon {
  width: clamp(132px, 18vw, 220px);
  height: clamp(132px, 18vw, 220px);
  border-radius: 28%;
  box-shadow: 0 30px 90px rgba(0,0,0,.38);
}

.platform-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
}

.platform-badges li,
.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}

.status-badge {
  min-height: 48px;
  padding: 0 22px;
  color: var(--text);
}

.language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.language-nav a,
.language-nav span {
  color: var(--soft);
  font-size: 14px;
}

.language-nav [aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.section-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.feature-grid.compact {
  margin-top: 28px;
}

.feature-card h3 {
  font-size: 1.35rem;
  letter-spacing: -.035em;
}

.screenshot-reserve {
  margin-top: 28px;
  padding: 28px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255,255,255,.035);
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.faq-item {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
}

.faq-item h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.about-panel {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.045);
}

.about-panel img {
  width: 76px;
  height: 76px;
  border-radius: 22px;
}

.about-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.doc-page {
  max-width: 820px;
}

.doc-card {
  padding: 34px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.055);
}

.doc-card h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.doc-card h2 {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.doc-card p,
.doc-card li {
  color: var(--muted);
  line-height: 1.65;
}

.doc-card a {
  color: var(--accent);
  font-weight: 700;
}

.notice {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  color: var(--text);
}

@media (max-width: 860px) {
  .c-gauge-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: auto;
    padding: 42px 0 56px;
  }

  .c-gauge-icon {
    order: -1;
  }

  .language-nav {
    margin-top: 6px;
  }

  .about-panel {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .c-gauge-hero > div,
  .c-gauge-page .section-header,
  .c-gauge-page .hero-text,
  .c-gauge-page h1,
  .c-gauge-page h2,
  .c-gauge-page .status-badge {
    max-width: calc(100vw - 28px);
  }

  .c-gauge-page .hero-text {
    max-width: min(24ch, calc(100vw - 28px));
  }

  .c-gauge-page h2 {
    max-width: min(11ch, calc(100vw - 28px));
  }

  .c-gauge-page h1 {
    font-size: clamp(2.75rem, 11vw, 3.1rem);
    letter-spacing: -.055em;
  }

  .c-gauge-page h2 {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    line-height: 1.06;
    letter-spacing: -.045em;
  }

  .c-gauge-page .section-copy,
  .doc-card p,
  .doc-card li {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .status-badge {
    width: min(100%, 320px);
    justify-content: center;
  }

  .about-panel {
    flex-direction: column;
  }
}
