:root {
  --bg-main: #f5f5f7;
  --bg-alt: #ffffff;
  --bg-dark: #000000;
  --text-main: #1d1d1f;
  --text-sub: #6e6e73;
  --accent: #c8102e;  /* SINOTRUK 红，可少量点缀 */
  --border-soft: #d2d2d7;
  --radius: 26px;
  --shadow-soft: 0 18px 40px rgba(0,0,0,0.08);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
}

/* 语言显示 */
body.lang-pt .text-pt { display: inline; }
body.lang-pt .text-en { display: none; }
body.lang-en .text-pt { display: none; }
body.lang-en .text-en { display: inline; }

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

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

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

/* 顶部导航：简洁白底+细线条 */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(245,245,247,0.9);
  border-bottom: 1px solid rgba(210,210,215,0.8);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.65rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #000;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-title {
  font-weight: 600;
  font-size: 0.88rem;
}

.logo-subtitle {
  font-size: 0.7rem;
  color: var(--text-sub);
}

nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.82rem;
}

nav a {
  position: relative;
  color: var(--text-main);
  opacity: 0.85;
}

nav a:hover {
  opacity: 1;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 1px;
  background: #000;
  transition: width .2s ease;
}

nav a.active::after {
  width: 100%;
}

.lang-switch {
  display: flex;
  gap: 0.25rem;
  padding: 0.12rem;
  border-radius: 999px;
  background: #e5e5ea;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.18rem 0.6rem;
  font-size: 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  color: #3a3a3c;
}

.lang-btn.active {
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

/* 首页 Hero：大块白卡片 + 中央大图 */

main {
  padding-bottom: 3rem;
}

.hero {
  padding: 2.4rem 0 1.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}

h1 {
  font-size: clamp(2.4rem, 3vw + 1rem, 3.2rem);
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 0.6rem;
}

.hero-sub {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-main);
}

.lead {
  margin-top: 0.7rem;
  font-size: 0.97rem;
  color: var(--text-sub);
  max-width: 32rem;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease, transform .12s ease;
}

.btn.primary {
  background: #000000;
  color: #f5f5f7;
}

.btn.primary:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}

.btn.outline {
  border-color: #1d1d1f;
  color: #1d1d1f;
  background: transparent;
}

.btn.outline:hover {
  background: #1d1d1f;
  color: #f5f5f7;
}

.hero-meta {
  margin-top: 1.2rem;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--text-sub);
}

.hero-meta strong {
  font-size: 0.95rem;
  color: #000;
}

.hero-image-box {
  border-radius: 40px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  padding: 1.4rem;
}

.hero-image-box img {
  border-radius: 32px;
}

/* 通用 Section：大标题 + 很干净的卡片 */

.section {
  padding: 2.4rem 0;
}

.section h2 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 0.4rem;
}

.section > .container > p {
  font-size: 0.95rem;
  color: var(--text-sub);
  max-width: 34rem;
}

.cards {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.5rem;
  font-size: 0.9rem;
}

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

.card p {
  color: var(--text-sub);
}

/* “big” 卡片，用在产品页 */

.card.big {
  padding: 1.6rem 1.7rem;
}

.card.big h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card.big p {
  margin-bottom: 0.55rem;
}

.card ul {
  list-style: disc;
  margin-left: 1.2rem;
  color: var(--text-sub);
  font-size: 0.88rem;
}

/* 页面头部（其它页面） */

.page-header {
  padding: 3rem 0 1.8rem;
}

.page-header h1 {
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -.02em;
}

.page-header p {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-sub);
  max-width: 36rem;
}

/* 两列布局（About / Contact） */

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.bullet-list {
  margin-top: 0.7rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  color: var(--text-sub);
}

.bullet-list li + li {
  margin-top: 0.25rem;
}

.contact-box {
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.7rem;
  font-size: 0.9rem;
}

.contact-box h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

/* 表单 */

form {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.9rem;
}

label {
  font-size: 0.84rem;
  display: block;
}

input, textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #f5f5f7;
  font-size: 0.86rem;
  color: var(--text-main);
}

textarea {
  border-radius: 18px;
  min-height: 96px;
  resize: vertical;
}

/* 页脚 */

footer {
  border-top: 1px solid var(--border-soft);
  padding: 1.4rem 0 1.8rem;
  font-size: 0.78rem;
  color: var(--text-sub);
  background: #f5f5f7;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* 自适应 */

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

  .hero-image-box {
    order: -1;
  }
}

@media (max-width: 720px) {
  nav {
    display: none;
  }

  .nav-bar {
    justify-content: space-between;
  }

  .hero {
    padding-top: 2rem;
  }
}
/* ===== Apple-style Hero ===== */

.apple-hero {
  background: #f5f5f7;
  padding: 4rem 0 3.5rem;
}

.apple-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 文案 */

.apple-hero-text {
  max-width: 880px;
  margin-bottom: 2.6rem;
}

.apple-hero h1 {
  font-size: clamp(2.6rem, 3.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 0.8rem;
}

.apple-subtitle {
  font-size: 1.05rem;
  color: #6e6e73;
  max-width: 620px;
  margin: 0 auto;
}

/* 按钮 */

.apple-hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* 图片主视觉 */

.apple-hero-image {
  width: 100%;
  max-width: 1200px;      /* ✅ Apple 产品页关键尺寸 */
  margin: 0 auto;
}

.apple-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  background: #ffffff;
}

/* 移动端调整 */

@media (max-width: 768px) {
  .apple-hero {
    padding: 3rem 0 2.5rem;
  }

  .apple-hero h1 {
    font-size: 2.3rem;
  }

  .apple-hero-image img {
    border-radius: 26px;
  }
}
.card.big img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  margin-bottom: 0.8rem;
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  background: #ffffff;
}
/* ===== Header Logo (PNG - Apple style) ===== */

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 28px;        /* ✅ 标准桌面高度 */
  width: auto;
  display: block;
  image-rendering: auto;
}

@media (max-width: 768px) {
  .logo-img {
    height: 32px;      /* ✅ 手机端稍小 */
  }
}
/* ===== Contact page map ===== */

.contact-map {
  margin-top: 2.5rem;
}

.contact-map h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.map-wrapper {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* 16:9 自适应比例 */
.map-wrapper::before {
  content: "";
  display: block;
  padding-bottom: 56.25%; /* 16:9 */
}

.map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* ===== WhatsApp CTA ===== */

.whatsapp-cta {
  margin-top: 2rem;
  text-align: center;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2.4rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}