:root {
  --bg: #fcf9f8;
  --surface: #ffffff;
  --surface-soft: #f5f0ec;
  --text: #1c1b1b;
  --muted: #5e5244;
  --line: #e8ded3;
  --primary: #8a5a00;
  --primary-strong: #704700;
  --primary-soft: #ffe5b7;
  --blue: #1d6f9b;
  --blue-soft: #d7ecff;
  --shadow: 0 24px 70px rgba(129, 86, 0, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(20px, 5vw, 56px);
  background: rgba(252, 249, 248, 0.86);
  border-bottom: 1px solid rgba(214, 196, 173, 0.35);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-strong);
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 16px;
}

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

.desktop-nav a:hover {
  color: var(--primary-strong);
}

.nav-action {
  padding: 10px 18px;
  color: #fff !important;
  background: var(--primary);
  border-radius: 999px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(129, 86, 0, 0.12);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--primary-strong);
}

.mobile-nav {
  display: none;
}

.section-shell {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
  min-height: min(720px, calc(88vh - 72px));
  padding: clamp(42px, 7vw, 74px) 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 14px;
  font-size: clamp(50px, 7vw, 86px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.18;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.3;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 28px rgba(129, 86, 0, 0.22);
}

.button.secondary {
  color: var(--primary-strong);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 52% 40%, rgba(255, 229, 183, 0.5), transparent 38%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
}

.feature-band,
.privacy-band {
  padding: clamp(70px, 9vw, 110px) 0;
  background: var(--surface-soft);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
}

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

.feature-card {
  min-height: 250px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid rgba(214, 196, 173, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(129, 86, 0, 0.08);
}

.feature-card p,
.scene-card p,
.download-panel p,
.privacy-points p {
  color: var(--muted);
  line-height: 1.75;
}

.icon {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--primary-soft);
}

.icon::before,
.icon::after {
  position: absolute;
  content: "";
}

.icon.sun::before {
  inset: 15px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(138, 90, 0, 0.12);
}

.icon.brightness {
  background: var(--blue-soft);
}

.icon.brightness::before {
  inset: 13px;
  border: 3px solid var(--blue);
  border-radius: 50%;
}

.icon.brightness::after {
  top: 12px;
  left: 22px;
  width: 4px;
  height: 24px;
  background: var(--blue);
  border-radius: 4px;
}

.icon.temperature {
  background: #eeecea;
}

.icon.temperature::before {
  top: 9px;
  left: 20px;
  width: 8px;
  height: 23px;
  border: 3px solid #5e5f5c;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.icon.temperature::after {
  left: 16px;
  bottom: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #5e5f5c;
}

.icon.camera::before {
  top: 15px;
  left: 10px;
  width: 28px;
  height: 21px;
  border: 3px solid var(--primary);
  border-radius: 6px;
}

.icon.camera::after {
  top: 21px;
  left: 19px;
  width: 10px;
  height: 10px;
  border: 3px solid var(--primary);
  border-radius: 50%;
}

.scenes {
  padding: clamp(70px, 9vw, 110px) 0;
}

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

.scene-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: #1f1b19;
  box-shadow: 0 20px 50px rgba(50, 32, 4, 0.12);
}

.scene-art.warm {
  background: linear-gradient(135deg, #241814, #8a5a00);
}

.scene-art.clean {
  background: linear-gradient(135deg, #f8f8f8, #cbd7dd);
}

.scene-art.cool {
  background: linear-gradient(135deg, #16242d, #1d6f9b);
}

.phone-shape,
.portrait-shape,
.desk-light,
.device-shape,
.face-light,
.panel-light {
  position: absolute;
  display: block;
}

.phone-shape {
  right: 28px;
  bottom: 20px;
  width: 72px;
  height: 120px;
  border: 8px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
}

.face-light {
  left: 36px;
  top: 32px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 229, 183, 0.95), rgba(255, 178, 44, 0.08) 68%);
}

.portrait-shape {
  left: 50%;
  top: 34px;
  width: 92px;
  height: 92px;
  transform: translateX(-50%);
  border-radius: 50% 50% 44% 44%;
  background: #384653;
}

.panel-light {
  left: 50%;
  bottom: 20px;
  width: 150px;
  height: 58px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.desk-light {
  left: 34px;
  top: 34px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 236, 255, 0.95), rgba(215, 236, 255, 0.08) 68%);
}

.device-shape {
  right: 34px;
  bottom: 28px;
  width: 128px;
  height: 78px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.privacy-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.privacy-points {
  display: grid;
  gap: 16px;
}

.privacy-points p {
  margin: 0;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.68);
  border-radius: var(--radius);
}

.download {
  padding: clamp(70px, 9vw, 110px) 0;
}

.download-panel {
  padding: clamp(36px, 7vw, 76px);
  text-align: center;
  background: linear-gradient(135deg, #ffe9c2, #fff7e8 58%, #dff0ff);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.download-panel p {
  max-width: 660px;
  margin: 0 auto 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 56px);
  color: var(--muted);
  background: var(--surface-soft);
  border-top: 1px solid rgba(214, 196, 173, 0.45);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a {
  color: var(--primary-strong);
}

@media (max-width: 920px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    top: 72px;
    right: 20px;
    z-index: 30;
    display: none;
    min-width: 210px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .mobile-nav a {
    padding: 12px;
    border-radius: 6px;
    color: var(--muted);
  }

  .mobile-nav a:hover {
    color: var(--primary-strong);
    background: var(--surface-soft);
  }

  .hero,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

@media (max-width: 620px) {
  .section-shell {
    width: min(100% - 32px, var(--container));
  }

  .site-header {
    padding: 14px 16px;
  }

  .brand {
    font-size: 18px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .feature-card {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
