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

body {
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color: #1b1b1b;
  background: #f7f7f5;
  line-height: 1.6;
}

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

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  background: rgba(247, 247, 245, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #ece8e1;
  z-index: 20;
}

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

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
  color: #4a4a4a;
}

.hero {
  padding: 90px 0 60px;
  background: linear-gradient(120deg, #faf8f3 0%, #f5f0e7 60%, #f0ece2 100%);
}

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

.hero h1 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  color: #3f3f3f;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.portrait-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 4vw, 48px);
  justify-items: center;
  align-items: center;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}

.portrait-frame {
  width: min(340px, 100%);
  aspect-ratio: 9 / 16;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.portrait-frame.offset {
  transform: translate(0, 0);
}

@media (max-width: 640px) {
  .portrait-stack {
    grid-template-columns: 1fr;
  }
}

.button-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid #b9b1a5;
  font-weight: 600;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: #2d2a26;
  color: #fff;
  border-color: #2d2a26;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.phone-mock {
  background: #fdfcf8;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9e2d8;
}

.phone-screen {
  background: linear-gradient(160deg, #f5efe6 0%, #efe6d8 100%);
  border-radius: 20px;
  padding: 24px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.screen-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid #eee7dd;
}

.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  margin-bottom: 12px;
}

.section-title p {
  color: #555;
  max-width: 620px;
  margin: 0 auto;
}

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

.card {
  background: #fff;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid #f0e9de;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.highlight {
  background: #fff6e8;
  border: 1px solid #f0e1cc;
  border-radius: 24px;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: center;
}

.highlight h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.list {
  display: grid;
  gap: 10px;
  color: #444;
}

.footer {
  padding: 30px 0 50px;
  border-top: 1px solid #ece8e1;
  color: #6a655d;
  font-size: 0.9rem;
}

.page-hero {
  padding: 80px 0 50px;
  background: #fbfaf7;
  border-bottom: 1px solid #eee7dd;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  margin-bottom: 12px;
}

.content {
  padding: 50px 0 80px;
}

.content h2 {
  font-size: 1.4rem;
  margin: 28px 0 12px;
}

.content p {
  color: #3d3d3d;
  margin-bottom: 14px;
}

.content ul {
  padding-left: 20px;
  color: #3d3d3d;
  margin-bottom: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

form {
  display: grid;
  gap: 16px;
}

input,
textarea {
  border: 1px solid #e2dbd0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 1rem;
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

@media (max-width: 900px) {
  .hero-grid,
  .highlight,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 70px;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    flex-direction: column;
    gap: 12px;
  }

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

  .button-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
