/* 桂乐WiFi 官网 — 青驰同款白底蓝强调落地页 */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --gl-blue: #2563eb;
  --gl-blue-deep: #1d4ed8;
  --gl-blue-soft: #eff6ff;
  --gl-ink: #1e293b;
  --gl-muted: #64748b;
  --gl-line: #e2e8f0;
  --gl-bg: #ffffff;
  --gl-win: #1677ff;
  --gl-ios: #64748b;
  --gl-and: #22c55e;
  --gl-font: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--gl-font);
  color: var(--gl-ink);
  background: var(--gl-bg);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.gl-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.gl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.7);
}
.gl-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.gl-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.gl-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.gl-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gl-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gl-ink);
  transition: background .2s, color .2s;
}
.gl-nav a:hover { background: var(--gl-blue-soft); color: var(--gl-blue); }
.gl-nav a.is-active {
  background: var(--gl-blue);
  color: #fff;
}
.gl-menu-btn {
  display: none;
  border: 0;
  background: var(--gl-blue-soft);
  color: var(--gl-blue);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
}

/* Hero */
.gl-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 28px;
}
.gl-hero-copy h1 {
  margin: 0 0 28px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.gl-hero-copy h1 em {
  font-style: normal;
  color: var(--gl-blue);
}
.gl-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.gl-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.gl-ico {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gl-blue-soft);
  color: var(--gl-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.gl-features p {
  margin: 0;
  padding-top: 8px;
  color: var(--gl-muted);
  font-size: 15px;
  line-height: 1.55;
}

.gl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 148px;
  height: 52px;
  padding: 0 32px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 18px;
}
.gl-btn-primary {
  background: var(--gl-win);
  color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: transform .15s, background .15s;
}
.gl-btn-primary:hover {
  background: #155eef;
  transform: translateY(-1px);
}

.gl-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}
.gl-device-stack {
  width: min(420px, 100%);
  filter: drop-shadow(0 24px 48px rgba(37, 99, 235, 0.18));
  animation: gl-float 5.5s ease-in-out infinite;
}
.gl-device-img {
  width: 100%;
  height: auto;
}

@keyframes gl-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Download — 对齐青驰：左栏内三列均分，略加长 */
.gl-download {
  margin-top: 28px;
  text-align: left;
}
.gl-download-tip {
  margin: 0 0 16px;
  color: var(--gl-muted);
  font-size: 15px;
  font-weight: 500;
}
.gl-download-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}
.gl-dl {
  width: 100%;
  min-width: 0;
  height: 60px;
  padding: 0 20px;
  border-radius: 12px;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .15s, filter .15s;
  box-sizing: border-box;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.gl-dl i { font-size: 18px; }
.gl-dl:hover { transform: translateY(-2px); filter: brightness(1.05); }
.gl-dl-win { background: var(--gl-win); }
.gl-dl-ios { background: var(--gl-ios); }
.gl-dl-and { background: var(--gl-and); }

/* About */
.gl-about {
  padding: 8px 0 56px;
  text-align: center;
  max-width: 720px;
}
.gl-about h2 {
  margin: 0 0 12px;
  font-size: 22px;
}
.gl-about p {
  margin: 0;
  color: var(--gl-muted);
  line-height: 1.7;
  font-size: 15px;
}

.gl-footer {
  border-top: 1px solid var(--gl-line);
  padding: 22px 0;
  text-align: center;
  color: var(--gl-muted);
  font-size: 13px;
}

@media (max-width: 768px) {
  .gl-hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
    gap: 20px;
  }
  .gl-hero-visual { order: -1; min-height: auto; }
  .gl-device-stack { width: min(280px, 70vw); }
  .gl-hero-copy h1 { text-align: left; margin-bottom: 20px; }
  .gl-btn { width: auto; }
  .gl-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .gl-nav {
    display: none;
    position: absolute;
    right: 20px;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--gl-line);
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    min-width: 180px;
  }
  .gl-nav.is-open { display: flex; }
  .gl-header { position: relative; }
  .gl-header-inner { position: relative; }
}

/* 与青驰 sm:grid-cols-3 一致：小屏才纵向堆叠 */
@media (max-width: 640px) {
  .gl-download-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .gl-device-stack { animation: none; }
}
