/* =========================================================
   Aovik — Apple-inspired stylesheet
   Palette: pure white / soft gray (#f5f5f7) / ink black (#1d1d1f) / Apple blue (#0071e3)
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-soft: #ececef;
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #0071e3;
  --accent-dark: #005bb5;

  --ff: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
        "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
        Arial, sans-serif;

  --maxw: 980px;
  --maxw-wide: 1080px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: var(--maxw-wide); }

/* ---------- Nav (sticky translucent) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav__inner {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav__logo { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.nav__menu { display: flex; gap: 30px; align-items: center; }
.nav__link {
  font-size: 0.88rem;
  color: var(--ink-soft);
  opacity: 0.85;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.nav__link:hover { opacity: 1; color: var(--ink); }

.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}
.nav__lang-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav__lang-btn.is-active { color: var(--ink); font-weight: 600; }
.nav__lang-btn:hover { color: var(--ink); }
.nav__lang-sep { color: var(--line); user-select: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 90px;
  background: var(--bg);
  text-align: center;
}
.hero__inner { max-width: 900px; margin: 0 auto; }

.eyebrow {
  display: block;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--muted);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}
.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 5.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero__sub {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto 36px;
}
.hero__ctas {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.hero__band {
  margin-top: 84px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 24px;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  color: var(--muted);
  letter-spacing: 0.01em;
  text-align: center;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 980px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 400;
  cursor: pointer;
  border: 0;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--lg { padding: 17px 36px; font-size: 1.12rem; }
.btn--block { width: 100%; }

.link { color: var(--accent); cursor: pointer; }
.link:hover { text-decoration: underline; }
.link--arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 400;
}

/* ---------- Sections (general) ---------- */
section { padding: 130px 0; }
.section-title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin: 14px 0 36px;
}

/* ---------- Product sections ---------- */
.product { padding: 120px 0; }
.product--light { background: var(--bg); }
.product--alt { background: var(--bg-alt); }

.product__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.product__inner--reverse { direction: rtl; }
.product__inner--reverse > * { direction: ltr; }

.product__copy { max-width: 480px; }
.product__title {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--ink);
  margin-bottom: 22px;
}
.product__desc {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 22px;
}
.product__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.product__chips li {
  background: var(--bg-alt);
  color: var(--ink-soft);
  padding: 6px 14px;
  border-radius: 980px;
  font-size: 0.84rem;
  white-space: nowrap;
}
.product--alt .product__chips li { background: #ececef; }

.product__media img { width: 100%; height: auto; border-radius: 22px; }

.product__media--stack {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.product__media--stack .product__img--main {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
  height: 100%;
  object-fit: cover;
}
.product__media--stack .product__img--aside {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  height: 100%;
  object-fit: cover;
}

/* ---------- Services ---------- */
.services { background: var(--bg); text-align: center; padding: 130px 0; }
.services .section-title { margin-bottom: 64px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: left;
}
.svc__ic {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 300;
}
.svc__title {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}
.svc__text {
  font-size: 1.04rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- About ---------- */
.about {
  background: var(--bg-alt);
  padding: 130px 0;
  text-align: center;
}
.about__inner { max-width: 760px; margin: 0 auto; }
.about__lead {
  font-size: clamp(1.2rem, 1.6vw, 1.35rem);
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 36px;
}

/* ---------- Contact ---------- */
.contact { background: var(--bg); padding: 130px 0; }
.contact__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.contact__lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 16px auto 32px;
}
.contact__email-cta {
  font-size: 1.4rem;
  color: var(--ink);
  margin: 0 0 44px;
}
.contact__email-cta a { color: var(--accent); }
.contact__email-cta a:hover { text-decoration: underline; }
.contact__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contact__meta strong {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.contact__meta p {
  font-size: 0.98rem;
  color: var(--ink);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 40px;
  align-items: start;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__logo { width: 38px; height: 38px; border-radius: 8px; }
.footer__name { font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.footer__cn { font-size: 0.84rem; color: var(--muted); margin-top: 2px; }
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer__col h4 {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.footer__col a {
  display: block;
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.footer__icp a { color: var(--muted); }
.footer__icp a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .product__inner { grid-template-columns: 1fr; gap: 48px; }
  .product__inner--reverse { direction: ltr; }
  .product__copy { max-width: none; }
  .services__grid { grid-template-columns: 1fr; gap: 32px; }
  .contact__inner { grid-template-columns: 1fr; gap: 56px; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section, .hero, .product, .services, .about, .contact { padding: 80px 0; }
  .nav__inner { padding: 12px 18px; gap: 16px; }
  .nav__menu { display: none; }
  .hero__title { font-size: clamp(2.4rem, 9vw, 3.4rem); }
  .product__title { font-size: clamp(2.2rem, 7vw, 3rem); }
  .product__chips { gap: 8px; }
  .product__chips li { font-size: 0.78rem; padding: 6px 12px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero { padding: 80px 0 60px; }
  .hero__ctas { gap: 16px; }
}
