/* MeowSage homepage css */

:root {
  --bg: #050509;
  --bg-alt: #0b0c12;
  --bg-soft: #0c0f19;
  --card: #11131f;
  --card-soft: #141827;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f5f7;
  --muted: #a1a1b3;
  --accent: #f5b200;
  --accent-soft: rgba(245, 178, 0, 0.16);
  --pill: rgba(255, 255, 255, 0.06);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 25px 80px rgba(0, 0, 0, 0.7);
  --shadow-subtle: 0 18px 50px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #111320 0, #050509 40%, #020308 100%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 10, 0.9),
    rgba(5, 5, 10, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

/* ====== 顶部导航 – 基础 ====== */

.nav-toggle {
  display: none;                /* 默认隐藏，手机再显示 */
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 8, 14, 0.9);
  padding: 0;
  margin-left: auto;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-lines {
  position: relative;
  width: 16px;
  height: 12px;
}

.nav-toggle-lines .line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: #f5f5f7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-lines .line-1 {
  top: 0;
}
.nav-toggle-lines .line-2 {
  top: 5px;
}
.nav-toggle-lines .line-3 {
  top: 10px;
}

/* 打开状态：三杠 → 两杠 X */
.nav-toggle.is-open .line-1 {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle.is-open .line-2 {
  opacity: 0;
}
.nav-toggle.is-open .line-3 {
  transform: translateY(-5px) rotate(-45deg);
}

/* 手机端下拉菜单容器 */
.nav-mobile {
  display: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 10, 0.98);
  backdrop-filter: blur(16px);
}

.nav-mobile-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-mobile-link {
    font-size: 14px;
    padding: 10px 0 16px;
    position: relative;
    text-decoration: none;
}

.nav-mobile-link:not(:last-of-type)::after {
    content: "";
    display: block;
    height: 1px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}

.nav-mobile-link:hover {
    text-decoration: none;
    color: #f5f5f7;
}

.nav-mobile-link:hover {
    text-decoration: none;
    color: #f5f5f7;
}

.nav-mobile-pill {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 8, 14, 0.9);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* 打开时显示下拉 */
.nav-mobile.nav-mobile-open {
  display: block;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* brand mark */
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: conic-gradient(
    from 140deg,
    #ffb347,
    #ff6a88,
    #9f6bff,
    #45c4ff,
    #ffb347
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-mark::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: #050509;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-label-main {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: none;
    line-height: 1.1;
}

.brand-label-sub {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  color: var(--muted);
}

.nav-main {
  display: flex;
  align-items: center;
  margin-left: -80px;
  margin-right: 12px;
}

.nav-main {
  display: flex;
  align-items: center;
  margin-left: -80px;
  margin-right: 12px;
}

.nav-main .nav-link {
  margin-right: 32px;
}

.nav-main .nav-login {
  margin-left: 56px;
}

.nav-main .nav-link {
  margin-right: 32px;
}

.nav-main .nav-login {
  margin-left: 56px;
}

.nav-right a {
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 600;
}

.nav-right a:hover {
  color: #f5f5f7;
  text-decoration: none;
}

.nav-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 8, 14, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #72ffd4, #00d3a4);
  box-shadow: 0 0 14px rgba(0, 211, 164, 0.8);
}

/* hero */

.hero {
  padding: 40px 0 32px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 8, 14, 0.8);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--muted);
}

.hero-tagline span:nth-child(2) {
  color: #fce58a;
}

.hero-title {
  font-size: clamp(30px, 4.4vw, 42px);
  letter-spacing: -0.03em;
  font-weight: 650;
  margin-bottom: 12px;
}

.hero-title span {
  background: linear-gradient(120deg, #f5b200, #ff7a00, #ff4ecd);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-slogan {
  font-size: 16px;
  margin-bottom: 12px;
  color: #f5f5f7;
  letter-spacing: 0.02em;
}

.hero-slogan small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-subtext {
  font-size: 13px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 22px;
}

.hero-subtext strong {
  color: #fce58a;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.btn-primary {
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(110deg, #f5b200, #ff7a00);
  color: #030307;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: none;
}

.btn-primary span.icon {
  font-size: 14px;
  transform: translateY(1px);
}

.btn-primary:hover {
  background: linear-gradient(110deg, #ffd24a, #ff9733);
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: none;
}

.btn-outline {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 10, 16, 0.9);
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover {
  border-color: #f5b200;
  background: rgba(24, 24, 35, 0.98);
  color: #fefce8;
  text-decoration: none;
}

.hero-meta {
  font-size: 11px;
  color: var(--muted);
}

.hero-meta span {
  color: #9af7dd;
}

/* hero panel (right) */

.hero-panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: radial-gradient(
      circle at top left,
      rgba(245, 178, 0, 0.4),
      transparent 60%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(172, 100, 255, 0.45),
      transparent 55%
    );
  padding: 1px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-panel-inner {
  border-radius: inherit;
  background: radial-gradient(circle at top, #15192a, #050509 60%);
  padding: 18px 18px 16px;
  position: relative;
  z-index: 1;
}

.hero-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.hero-panel-title {
  font-size: 13px;
  font-weight: 600;
}

.hero-panel-label {
  font-size: 11px;
  color: var(--muted);
}

.hero-chip {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #72ffd4, #00d3a4);
  box-shadow: 0 0 12px rgba(0, 211, 164, 0.8);
}

.hero-panel-body {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at top, #181d31, #060712 70%);
  padding: 12px;
  font-size: 11px;
}

.mini-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 4px;
}

.hero-editor {
  background: rgba(7, 7, 14, 0.95);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 10px 8px;
  margin-bottom: 10px;
}

.hero-editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  font-size: 11px;
  color: var(--muted);
}

.hero-editor-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hero-editor-badge {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
}

.hero-editor-body {
  margin-top: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  color: #e2e2f2;
  white-space: pre-wrap;
  line-height: 1.5;
}

.hero-panel-footer {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}

.hero-panel-pill {
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(10, 255, 198, 0.45);
  background: rgba(10, 255, 198, 0.07);
  color: #9af7dd;
}

.hero-panel-note {
  color: #fce58a;
}

.panel-glow {
  position: absolute;
  inset: -60%;
  background: radial-gradient(
      circle at 0 0,
      rgba(245, 178, 0, 0.35),
      transparent 60%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(172, 100, 255, 0.4),
      transparent 60%
    ),
    radial-gradient(
      circle at 50% 0,
      rgba(0, 211, 164, 0.35),
      transparent 60%
    );
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* sections */

section {
  padding: 18px 0 10px;
}

/* extra space above footer */
section:last-of-type {
  padding-bottom: 89px;   /* 原来全局是 10px，这里单独加大 */
}

.section-headline {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-subtext {
  font-size: 12px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 16px;
}

/* features */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  box-shadow: var(--shadow-subtle);
  font-size: 12px;
}

.feature-tag {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--pill);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.feature-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

/* steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.step-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--card-soft);
  padding: 12px;
  font-size: 12px;
}

.step-index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.step-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 13px;
}

/* about / contact */

.about-layout {
  display: grid;
  grid-template-columns: 1.8fr 1.3fr;
  gap: 16px;
}

.about-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(
    circle at top left,
    rgba(245, 178, 0, 0.16),
    #0c0f19 52%,
    #050509 100%
  );
  border: 1px solid var(--border-subtle);
  padding: 14px;
  font-size: 12px;
  box-shadow: var(--shadow-subtle);
}

.about-card h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.pill {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(9, 12, 24, 0.9);
  font-size: 10px;
  color: var(--muted);
}

.contact-card {
  border-radius: var(--radius-md);
  background: rgba(8, 9, 18, 0.96);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  font-size: 12px;
}

.contact-card strong {
  display: block;
  margin-bottom: 4px;
}

.fine-print {
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
}

/* footer */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 11px 0 11px;
  margin-top: auto;
  font-size: 11px;
  color: var(--muted);
  background: radial-gradient(circle at bottom, #101324, transparent 65%);
}

footer a {
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-lang {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-lang-label {
  font-size: 11px;
  color: var(--muted);
}

.footer-lang-select {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: rgba(8, 9, 18, 0.96);
  color: var(--muted);
  outline: none;
  appearance: none;
}

.footer-lang-select:focus {
  border-color: var(--accent);
  color: var(--text);
}

/* responsive */

@media (max-width: 768px) {
    header {
        height: 56px;
    }

    header .container {
        padding: 0 18px;
        height: 100%;
    }

    .header-inner {
        height: 100%;
        padding: 0;
        gap: 8px;
    }

    .nav-right {
        display: none;
    }

    .nav-toggle {
        display: flex;
        width: 40px;
        height: 40px;
        margin-left: auto;
        border: none;
        background: transparent;
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .nav-toggle-lines {
        width: 22px;
        height: 16px;
    }

    .nav-toggle-lines .line {
        height: 2px;
    }

    .nav-toggle-lines .line-1 {
        top: 0;
    }
    .nav-toggle-lines .line-2 {
        top: 7px;
    }
    .nav-toggle-lines .line-3 {
        top: 14px;
    }

    .nav-mobile {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        z-index: 35;
    }

    .hero {
        padding-top: 20px;
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .hero-panel {
        order: 1;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-slogan {
        font-size: 14px;
    }

    .hero-subtext {
        font-size: 12px;
    }

    .feature-grid,
    .steps-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-tagline {
        flex-wrap: wrap;
        max-width: 100%;
        font-size: 9px;
        letter-spacing: 0.1em;
    }
}

.lang-banner {
    background: linear-gradient(
        to right,
        rgba(15, 15, 25, 0.98),
        rgba(7, 7, 12, 0.98)
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-size: 13px;
    line-height: 1.5;
}

.lang-banner-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 20px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lang-banner-text {
    opacity: 0.9;
}

.lang-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.lang-banner-btn {
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease;
    white-space: nowrap;
}

.lang-banner-btn-primary {
    background: linear-gradient(110deg, #f5b200, #ff7a00);
    color: #030307;
    box-shadow: 0 8px 24px rgba(245, 178, 0, 0.45);
}

.lang-banner-btn-primary:hover {
    transform: translateY(-1px);
}

.lang-banner-btn-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(10, 10, 18, 0.9);
    color: var(--muted);
}

.lang-banner-btn-secondary:hover {
    border-color: #f5b200;
    color: #fefce8;
    background: rgba(18, 18, 28, 0.95);
}

@media (max-width: 768px) {
    .lang-banner-inner {
        padding: 8px 16px 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .lang-banner-text {
        font-size: 12px;
    }

    .lang-banner-actions {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 6px;
    }

    .lang-banner-btn {
        padding: 6px 12px;
    }
}