/*
Theme Name: UUUTalk Official
Author: UUUTalk
Description: UUUTalk 官方网站主题。
Version: 2.0.4
Text Domain: uuutalk
*/

:root {
  --brand: #3f74fc;
  --brand-dark: #2458e6;
  --sky: #f5f7fa;
  --ink: #333;
  --muted: #727985;
  --line: #e7ebf1;
  --white: #fff;
  --container: 1200px;
  --shadow: 0 22px 55px rgba(61, 101, 174, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--sky);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: calc(100% - 48px); max-width: var(--container); margin: 0 auto; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
}
.site-header.is-scrolled {
  position: fixed;
  background: rgba(245, 247, 250, .85);
  box-shadow: 0 8px 25px rgba(57, 81, 120, .08);
  backdrop-filter: blur(16px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 78px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 34px;
}
.nav-menu a, .header-link {
  padding: 9px 14px;
  color: #4a505b;
  border-radius: 7px;
  font-size: 14px;
  transition: .2s ease;
}
.nav-menu a:hover, .header-link:hover { color: var(--brand); background: rgba(63, 116, 252, .08); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-link { display: inline-block; }
.header-button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.header-button {
  min-height: 38px;
  padding: 0 16px;
  color: var(--brand);
  border-color: var(--brand);
  font-size: 14px;
}
.header-button:hover { color: white; background: var(--brand); }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 9px; margin-left: auto; border: 0; background: white; border-radius: 6px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--brand); }

.hero {
  position: relative;
  min-height: 790px;
  padding: 128px 0 0;
  overflow: hidden;
  text-align: left;
}
.hero-bg {
  background-color: #e1efff;
  background-image: url("assets/brand/herobg-M5UryA-m.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-content { position: relative; z-index: 4; max-width: 1200px; margin: 0 auto; padding-right: 46%; }
.hero-logo { display: flex; justify-content: flex-start; }
.hero-logo img { width: 88px; height: 88px; border-radius: 25px; box-shadow: 0 15px 35px rgba(63, 116, 252, .15); }
.hero-brand { margin: 22px 0 0; color: var(--brand); font-size: clamp(30px, 4vw, 48px); line-height: 1; }
.hero h1 { margin: 24px 0 0; color: var(--brand); font-size: clamp(32px, 4vw, 56px); font-weight: 400; line-height: 1.18; letter-spacing: .01em; }
.hero h1 span { color: var(--ink); }
.hero-copy { max-width: 520px; margin: 21px 0 0; color: #697584; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.button { min-height: 44px; padding: 0 26px; font-size: 15px; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--brand); box-shadow: 0 8px 18px rgba(63, 116, 252, .25); }
.button-primary:hover { background: var(--brand-dark); }
.button-ghost { color: var(--brand); background: rgba(255,255,255,.5); border-color: rgba(63,116,252,.8); }
.button-ghost:hover { background: white; }
.announcement-wrap { position: relative; z-index: 3; margin-top: 34px; }
.announcement {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 900px;
  min-height: 64px;
  margin: 0 auto;
  padding: 0 22px;
  text-align: left;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 12px 30px rgba(96, 133, 192, .12);
  backdrop-filter: blur(12px);
}
.announcement-label { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; color: #f04444; font-size: 14px; font-weight: 700; }
.announcement-dot { width: 8px; height: 8px; background: #f04444; border-radius: 50%; }
.announcement-text { flex: 1; color: #657080; font-size: 14px; }
.announcement > a { color: var(--brand); font-size: 22px; }
.hero-devices { position: absolute; z-index: 2; right: max(20px, calc((100vw - var(--container)) / 2 - 40px)); bottom: -48px; width: min(560px, 44vw); }
.hero-devices img { width: 100%; filter: drop-shadow(0 24px 32px rgba(30, 71, 143, .14)); }

.section { padding: 96px 0; }
.features-section { background: white; }
.section-heading { max-width: 680px; margin: 0 auto 58px; text-align: center; }
.section-kicker { display: inline-block; margin-bottom: 18px; color: var(--brand); font-size: 12px; font-weight: 800; letter-spacing: .16em; }
.section-heading h2, .showcase-copy h2, .download-copy h2 { margin: 0; color: var(--ink); font-size: clamp(34px, 4vw, 54px); font-weight: 400; line-height: 1.25; }
.section-heading h2 span, .showcase-copy h2 span, .download-copy h2 span { color: var(--brand); }
.section-heading p, .showcase-copy > p, .download-copy > p { margin: 20px auto 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 30px; }
.feature-item { text-align: center; }
.feature-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 27px; color: white; background: var(--brand); border-radius: 50%; box-shadow: 0 10px 24px rgba(63, 116, 252, .18); font-size: 26px; font-weight: 700; }
.icon-shield { background: #3f74fc; }.icon-group { background: #41a9e8; }.icon-chat { background: #725df3; }.icon-emoji { background: #f5aa48; }.icon-burn { background: #ef6d8a; }.icon-lock { background: #46bb98; }
.feature-item h3 { margin: 0 0 12px; color: #3d424a; font-size: 19px; font-weight: 600; }
.feature-item p { max-width: 275px; margin: 0 auto; color: #9097a2; font-size: 14px; line-height: 1.8; }

.showcase-section { background: var(--sky); }
.showcase-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 58px; }
.showcase-copy > p { margin-left: 0; max-width: 470px; }
.platform-list { display: grid; gap: 14px; margin-top: 30px; color: #5a6573; font-size: 15px; }
.platform-list b { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; color: white; background: var(--brand); border-radius: 50%; font-size: 11px; }
.showcase-art { min-height: 390px; padding: 24px; background: linear-gradient(145deg, #e2efff, #fff); border-radius: 24px; box-shadow: var(--shadow); }
.showcase-art img { width: 100%; height: 100%; max-height: 480px; object-fit: contain; }

.news-section { background: white; }
.news-more-link { display: inline-block; margin-top: 22px; color: var(--brand); font-size: 14px; font-weight: 700; }
.news-more-link:hover { color: #2d5fd8; }
.news-page { padding-top: 132px; background: white; }
.news-page-header { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.news-page-header h1 { margin: 0; color: var(--ink); font-size: clamp(38px, 5vw, 58px); font-weight: 400; line-height: 1.2; }
.news-page-header h1 span { color: var(--brand); }
.news-page-header p { margin: 18px auto 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.news-page .news-grid { max-width: 1080px; margin: 0 auto; }
.news-page .news-card a { min-height: 280px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card a {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 28px;
  background: #f7faff;
  border: 1px solid #e6eefb;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(82, 119, 172, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.news-card a:hover { transform: translateY(-4px); border-color: rgba(63, 116, 252, .35); box-shadow: 0 16px 32px rgba(82, 119, 172, .13); }
.news-card time { color: var(--brand); font-size: 13px; font-weight: 700; }
.news-card h3 { margin: 18px 0 12px; color: #343b46; font-size: 21px; font-weight: 600; line-height: 1.45; }
.news-card p { margin: 0; color: #7b8490; font-size: 14px; line-height: 1.8; }
.news-card span { margin-top: auto; padding-top: 26px; color: var(--brand); font-size: 14px; font-weight: 700; }

.download-section { background: white; }
.download-box { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; padding: 56px 64px; background: linear-gradient(135deg, #eef6ff, #f9fcff); border-radius: 20px; }
.download-copy > p { margin-left: 0; }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.download-card { display: flex; align-items: center; gap: 13px; min-height: 82px; padding: 14px 16px; background: white; border: 1px solid #e5edf8; border-radius: 9px; box-shadow: 0 8px 18px rgba(92, 129, 178, .08); transition: transform .2s, box-shadow .2s; }
.download-card:hover { transform: translateY(-3px); box-shadow: 0 13px 26px rgba(92, 129, 178, .15); }
.download-card img { width: 42px; height: 42px; object-fit: contain; }
.download-card span { flex: 1; }.download-card strong, .download-card small { display: block; }.download-card strong { color: #454b55; font-size: 15px; }.download-card small { margin-top: 4px; color: #98a0ad; font-size: 12px; }.download-card > b { color: var(--brand); font-size: 20px; }

.site-footer { padding: 72px 0 28px; color: #555c67; background: white; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 36px; padding-bottom: 62px; }
.footer-brand p { max-width: 260px; margin: 20px 0 0; color: #979eaa; font-size: 14px; line-height: 1.8; }
.footer-column h3 { margin: 6px 0 18px; color: #444b55; font-size: 15px; }
.footer-column a { display: block; margin: 11px 0; color: #8a929e; font-size: 13px; }.footer-column a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; color: #a6adb7; border-top: 1px solid var(--line); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.page-content { min-height: 60vh; padding: 150px 0 100px; background: white; }.page-content h1 { color: var(--brand); font-weight: 400; }

@media (max-width: 900px) {
  .header-link { display: none; }
  .menu-toggle { display: block; }
  .nav-menu { position: absolute; top: 70px; right: 24px; left: 24px; display: none; flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 12px; background: white; border-radius: 8px; box-shadow: var(--shadow); }
  .nav-menu.is-open { display: flex; }.nav-menu a { padding: 13px 14px; }
  .hero { min-height: 700px; text-align: center; }.hero-content { max-width: 720px; padding-right: 0; margin: 0 auto; }.hero-logo { justify-content: center; }.hero-copy { margin-left: auto; margin-right: auto; }.hero-actions { justify-content: center; }.hero-devices { right: auto; left: 50%; width: 88vw; bottom: -20px; transform: translateX(-50%); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid, .download-box { grid-template-columns: 1fr; gap: 45px; }.download-box { padding: 45px 30px; }.news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }.footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .container { width: calc(100% - 30px); }.site-header__inner { min-height: 70px; }.header-button { padding: 0 12px; font-size: 12px; }
  .hero { min-height: 620px; padding-top: 106px; }.hero-logo img { width: 70px; height: 70px; }.hero h1 { font-size: 32px; }.hero-copy { padding: 0 16px; font-size: 14px; }
  .announcement { gap: 10px; padding: 0 13px; }.announcement-label { font-size: 12px; }.announcement-text { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.hero-devices { bottom: -5px; width: 110vw; }
  .section { padding: 72px 0; }.section-heading { margin-bottom: 46px; }.section-heading h2, .showcase-copy h2, .download-copy h2 { font-size: 34px; }
  .feature-grid { grid-template-columns: 1fr; gap: 44px; }.showcase-art { min-height: 290px; padding: 16px; }.download-box { padding: 35px 20px; }.download-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }.footer-brand { grid-column: 1 / -1; }.footer-bottom { flex-direction: column; gap: 9px; }
}
