:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f3f4f6;
  --line: #d8dde5;
  --text: #111111;
  --muted: #5c6675;
  --accent: #e31b23;
  --dark: #0d0d10;
  --dark-soft: #1a1d24;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.contain-image { object-fit: contain; object-position: center; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading h2, .hero h1, .cta-inner h2 { margin: 0 0 14px; line-height: 1.14; }
.section-heading p, .hero p, .faq-answer p { color: var(--muted); line-height: 1.8; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 13, 16, 0.98);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand img { height: 34px; object-fit: contain; }
.nav { display: flex; gap: 22px; font-size: 14px; color: rgba(255,255,255,0.74); }
.nav a:hover { color: #fff; }
.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.16);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
}

.hero, .features, .devices, .checks, .faq-section, .related-searches, .cta-band { padding: 72px 0; }
.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(227, 27, 35, 0.12), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #f5f6f8 100%);
}
.hero-grid, .device-columns, .cta-inner { display: grid; gap: 30px; align-items: center; }
.hero-grid { grid-template-columns: 1fr 0.9fr; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 700;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 14px 28px rgba(227, 27, 35, 0.18); }
.btn-ghost { background: var(--dark); color: #fff; }

.phone-stage {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}
.phone-frame {
  width: min(320px, 100%);
  padding: 18px 14px;
  border-radius: 38px;
  background: linear-gradient(180deg, #181a21 0%, #2a3039 100%);
  box-shadow: 0 28px 60px rgba(9, 10, 12, 0.22);
}
.phone-frame img {
  width: 100%;
  max-height: 360px;
  margin: 0 auto;
}
.phone-float-card {
  position: absolute;
  right: 10px;
  bottom: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 18px 38px rgba(0,0,0,0.08);
}
.phone-float-card span { display: block; color: var(--muted); margin-bottom: 6px; }

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-row article,
.device-card,
.check-list article,
.faq-item {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.feature-row article {
  padding: 26px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
}

.device-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.device-card {
  padding: 24px;
  background: var(--surface-alt);
}
.device-card img { max-height: 260px; margin: 0 auto 20px; }

.check-list { display: grid; gap: 16px; }
.check-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 18px;
  align-items: start;
}
.check-list span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(227, 27, 35, 0.1);
  color: var(--accent);
  border-radius: 14px;
  font-weight: 700;
}

.faq-list { display: grid; gap: 16px; }
.faq-item { overflow: hidden; }
.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  padding: 20px 22px;
  cursor: pointer;
}
.faq-answer { display: none; padding: 0 22px 20px; }
.faq-item.open .faq-answer { display: block; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tag-list span {
  padding: 12px 16px;
  border-radius: 999px;
  background: #111111;
  color: #fff;
  font-weight: 600;
}

.cta-band { padding-top: 0; }
.cta-inner {
  grid-template-columns: 1fr auto;
  background: linear-gradient(135deg, var(--dark), var(--dark-soft));
  color: #fff;
  border-radius: 28px;
  padding: 34px;
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    background: #111319;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 16px;
  }
  .nav.open { display: flex; }
  .hero-grid, .feature-row, .device-columns, .cta-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1160px); }
  .hero, .features, .devices, .checks, .faq-section, .related-searches, .cta-band { padding: 56px 0; }
  .phone-stage { min-height: 360px; }
  .phone-frame { width: min(260px, 100%); border-radius: 30px; }
  .phone-frame img { max-height: 290px; }
  .phone-float-card { position: static; width: 100%; margin-top: 16px; }
}

.site-logo,
.logo img,
.brand img,
.header-logo img,
.nav-logo img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-height: 40px !important;
  max-width: 180px !important;
  object-fit: contain !important;
}

.brand,
.logo,
.header-logo,
.nav-logo {
  overflow: visible !important;
}

.site-header .brand,
header .brand,
header .logo,
header .header-logo,
header .nav-logo {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
