@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family=LXGW+WenKai+TC&family=Noto+Sans+SC:wght@400;500;600;700&family=Noto+Serif+SC:wght@400;500;600;700&display=swap");

:root {
  --ink: #183228;
  --muted: #62756a;
  --moss: #496f52;
  --leaf: #7fb38c;
  --paper: #f3f8f1;
  --line: rgba(73, 111, 82, 0.14);
  --font-body: "LXGW WenKai TC", "Noto Serif SC", "Noto Sans SC", sans-serif;
  --font-display: "Noto Serif SC", "LXGW WenKai TC", serif;
  --font-script: "Great Vibes", cursive;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--paper);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(243, 248, 241, 0.78), rgba(243, 248, 241, 0.58) 48%, rgba(185, 219, 200, 0.38)),
    var(--active-bg, none);
  background-position: center;
  background-size: cover;
}

.background-credit {
  position: fixed;
  right: 14px;
  bottom: 12px;
  z-index: 5;
  max-width: min(360px, calc(100vw - 28px));
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(247, 251, 245, 0.7);
  color: rgba(24, 50, 40, 0.74);
  font-size: 0.7rem;
  backdrop-filter: blur(12px);
}

a {
  color: inherit;
}

.about-nav,
.about-main,
.about-footer {
  width: min(1080px, calc(100% - 40px));
  margin-inline: auto;
}

.about-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
}

.about-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.about-brand > span:last-child {
  display: grid;
}

.about-brand strong {
  font-family: var(--font-script);
  font-size: 1.75rem;
  font-weight: 400;
}

.about-brand small {
  color: var(--muted);
  font-size: 0.7rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  padding: 4px;
  border-radius: 10px;
  background: conic-gradient(from 130deg, var(--moss), var(--leaf), #d9ead6, #d9c77a, #b9dbc8, var(--moss));
}

.brand-mark i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.78);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.language-toggle,
.back-link {
  min-height: 39px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--moss);
  font: 700 0.78rem var(--font-body);
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, background 180ms ease;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.language-toggle span {
  opacity: 0.4;
}

.language-toggle span.active {
  opacity: 1;
}

.language-toggle i {
  opacity: 0.24;
  font-style: normal;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.language-toggle:hover,
.back-link:hover {
  background: rgba(255, 255, 255, 0.84);
  transform: translateY(-1px);
}

.about-main {
  padding: clamp(48px, 7vw, 76px) 0 54px;
}

.support-hero {
  display: grid;
  gap: 30px;
}

.hero-copy {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(73, 111, 82, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  color: #173d2d;
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5vw, 4.7rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.13;
  text-shadow:
    0 1px 1px rgba(255, 255, 255, 0.98),
    0 0 13px rgba(255, 255, 255, 0.84),
    0 0 30px rgba(244, 250, 242, 0.72);
}

.hero-subtitle {
  max-width: 600px;
  margin: 22px auto 0;
  color: #274735;
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  font-weight: 600;
  line-height: 1.9;
  text-shadow:
    0 1px 1px rgba(255, 255, 255, 1),
    0 0 7px rgba(255, 255, 255, 1),
    0 0 18px rgba(247, 251, 245, 0.98),
    0 2px 8px rgba(24, 50, 40, 0.28);
}

.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.version-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 5px rgba(127, 179, 140, 0.13);
}

.feedback-card,
.mini-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 22px 64px rgba(38, 75, 54, 0.1);
  backdrop-filter: blur(18px);
}

.feedback-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 32px;
  min-height: 0;
  padding: 24px 28px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(185, 219, 200, 0.72), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 248, 235, 0.68));
}

.card-kicker {
  grid-column: 1;
  margin: 0 0 -8px;
  color: rgba(73, 111, 82, 0.58);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.feedback-card h2 {
  grid-column: 1;
  max-width: none;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.3;
}

.email-address {
  grid-column: 1;
  width: fit-content;
  margin-top: -8px;
  color: var(--moss);
  font-size: 0.82rem;
  text-underline-offset: 3px;
}

.email-button {
  grid-column: 2;
  grid-row: 1 / 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 150px;
  margin-top: 0;
  padding: 14px 17px;
  border-radius: 13px;
  background: #496f52;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(38, 75, 54, 0.18);
  transform: translateY(0);
  transition: transform 120ms ease, background 180ms ease, box-shadow 120ms ease;
}

.email-button:hover {
  background: #365f49;
  transform: translateY(-2px);
}

.email-button:active {
  background: #2d513e;
  box-shadow:
    inset 0 3px 8px rgba(18, 42, 30, 0.32),
    0 4px 10px rgba(38, 75, 54, 0.14);
  transform: translateY(2px) scale(0.985);
}

.email-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.mini-card {
  min-height: 170px;
  padding: 24px;
  border-radius: 20px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.mini-card:hover {
  box-shadow: 0 26px 68px rgba(38, 75, 54, 0.13);
  transform: translateY(-3px);
}

.card-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(217, 234, 214, 0.68);
  color: var(--moss);
  font-size: 0.82rem;
}

.mini-card h2 {
  margin: 23px 0 8px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.about-footer {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding: 24px 0 36px;
  color: #365846;
  font-size: 0.74rem;
  font-weight: 700;
  text-shadow:
    0 1px 1px rgba(255, 255, 255, 1),
    0 0 7px rgba(255, 255, 255, 1),
    0 0 16px rgba(247, 251, 245, 0.98),
    0 2px 7px rgba(24, 50, 40, 0.28);
}

@media (max-width: 820px) {
  .feedback-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .email-button {
    grid-column: 1;
    grid-row: auto;
    margin-top: 8px;
  }
}

@media (max-width: 680px) {
  .about-nav,
  .about-main,
  .about-footer {
    width: min(100% - 28px, 1080px);
  }

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

  .about-brand small,
  .back-link span:first-child {
    display: none;
  }

  .about-main {
    padding-top: 32px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .mini-card {
    min-height: 0;
  }

}
