/* ===========================
   益善优选 — 全站样式
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
               "Microsoft YaHei", Arial, sans-serif;
  color: #1a1a2e;
  background: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- CSS Vars --- */
:root {
  --brand: #c8102e;
  --brand-dark: #a00e24;
  --brand-light: #fff0f2;
  --accent: #0ea47a;
  --text: #1a1212;
  --text-2: #4a3a3a;
  --text-3: #9a8888;
  --border: rgba(0,0,0,.08);
  --bg-page: #fdf8f8;
  --bg-card: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 16px rgba(200,16,46,.08);
  --shadow-md: 0 8px 32px rgba(200,16,46,.14);
}

/* --- Layout --- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-inner {
  display: flex; align-items: center; gap: 2rem;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.15rem; font-weight: 700; color: var(--text);
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--brand);
  color: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800;
}
.logo-text { letter-spacing: .02em; }
.nav-links {
  display: flex; gap: 2rem; align-items: center;
  margin-left: auto;
}
.nav-links a {
  font-size: .925rem; color: var(--text-2);
  font-weight: 500;
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--brand);
  transform: scaleX(0); transition: transform .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-links a.active::after { transform: scaleX(1); }

/* --- Buttons --- */
.btn-primary {
  background: var(--brand);
  color: #fff;
  padding: .55rem 1.3rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  transition: background .2s, transform .15s;
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--brand);
  padding: .55rem 1.3rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  border: 1.5px solid var(--brand);
  transition: background .2s, color .2s;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-outline:hover { background: var(--brand-light); }
.btn-lg { padding: .75rem 1.8rem; font-size: 1rem; border-radius: 10px; }
.nav-cta { margin-left: 1rem; white-space: nowrap; }

/* --- Mobile Menu --- */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px; margin-left: auto;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
}
.mobile-menu a {
  padding: .75rem 0;
  font-size: .95rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.mobile-menu a:last-child { border: none; margin-top: .5rem; text-align: center; }
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  padding: 128px 0 80px;
  background: linear-gradient(155deg, #fff0f2 0%, #fdf8f8 60%, #fff 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  font-size: .8rem; font-weight: 600;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  letter-spacing: .04em;
}
.hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 1.2rem;
  letter-spacing: -.01em;
}
.hero-sub {
  font-size: 1.05rem; color: var(--text-2);
  max-width: 440px; line-height: 1.75;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex; align-items: center; gap: 1.5rem;
}
.stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--brand); }
.stat span { font-size: .82rem; color: var(--text-3); }
.stat-divider {
  width: 1px; height: 32px;
  background: var(--border);
}

/* --- Phone Mockup --- */
.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.hero-bg-circle {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, #ffd6dd 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.phone-mockup {
  width: 240px;
  background: #fff;
  border-radius: 32px;
  border: 8px solid #1a1a2e;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(26,31,46,.2);
  position: relative; z-index: 1;
}
.phone-screen { background: #f8f9fc; }
.phone-statusbar {
  display: flex; justify-content: space-between;
  padding: 6px 14px 2px;
  font-size: .65rem; font-weight: 600;
  background: #fff;
  color: var(--text);
}
.statusbar-icons { letter-spacing: .1em; }
.phone-app-header {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px 6px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.app-logo-sm {
  width: 22px; height: 22px;
  background: var(--brand);
  color: #fff; font-size: .65rem; font-weight: 800;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.app-title-sm { font-size: .75rem; font-weight: 700; flex: 1; }
.app-search-icon { font-size: .8rem; color: var(--text-3); }
.phone-banner {
  margin: 8px;
  background: linear-gradient(135deg, #c8102e, #e84060);
  border-radius: 10px;
  padding: 12px;
  color: #fff;
}
.banner-tag {
  display: inline-block;
  background: rgba(255,255,255,.25);
  font-size: .58rem; font-weight: 700;
  padding: 2px 7px; border-radius: 100px;
  margin-bottom: 4px;
}
.banner-title { font-size: .85rem; font-weight: 800; }
.banner-sub { font-size: .7rem; opacity: .85; }
.phone-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px; padding: 8px;
}
.phone-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.card-img { height: 56px; }
.c-blue-bg { background: #fff0f2; }
.c-green-bg { background: #e1f5ee; }
.c-amber-bg { background: #faeeda; }
.c-coral-bg { background: #fde8e8; }
.card-name { font-size: .65rem; font-weight: 600; padding: 4px 6px 0; color: var(--text); }
.card-price { font-size: .62rem; color: #E24B4A; font-weight: 700; padding: 2px 6px 5px; }

/* Float badges */
.hero-badge-float {
  position: absolute; z-index: 2;
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  min-width: 130px;
}
.badge-left { left: -30px; bottom: 20%; }
.badge-right { right: -30px; top: 25%; }
.badge-float-icon {
  width: 32px; height: 32px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700;
}
.badge-float-title { font-size: .78rem; font-weight: 700; color: var(--text); }
.badge-float-sub { font-size: .68rem; color: var(--text-3); }

/* ===== SECTIONS SHARED ===== */
section { padding: 88px 0; }
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  font-size: .78rem; font-weight: 700;
  padding: .3rem .85rem;
  border-radius: 100px;
  margin-bottom: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: .6rem;
}
.section-header p { color: var(--text-2); font-size: 1.02rem; }

/* ===== FEATURES ===== */
.features { background: #fff; }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg {
  width: 26px; height: 26px;
  flex-shrink: 0;
}
.icon-blue { background: #fff0f2; color: #c8102e; }
.icon-teal { background: #e1f5ee; color: #0F6E56; }
.icon-amber { background: #faeeda; color: #854F0B; }
.icon-coral { background: #fde8e8; color: #a00e24; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .6rem; }
.feature-card p { font-size: .9rem; color: var(--text-2); line-height: 1.7; }

/* ===== CATEGORIES ===== */
.categories { background: var(--bg-page); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.cat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-large { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; }
.cat-large { background: linear-gradient(160deg, var(--cat-light, #e8f0fe) 0%, #fff 100%); }
.cat-icon {
  color: var(--cat-color, var(--brand));
  margin-bottom: .9rem;
  display: block;
}
.cat-icon svg {
  width: 2rem; height: 2rem;
  display: block;
}
.cat-large .cat-icon { margin-bottom: auto; }
.cat-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); }
.cat-card p { font-size: .87rem; color: var(--text-2); line-height: 1.6; }
.cat-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: .87rem;
  font-weight: 600;
  color: var(--cat-color, var(--brand));
}

/* ===== TESTIMONIALS ===== */
.testimonials { background: #fff; }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
.review-card {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.review-featured {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.review-stars { color: #F5A623; font-size: 1rem; margin-bottom: 1rem; }
.review-featured .review-stars { color: #ffd77a; }
.review-text { font-size: .92rem; line-height: 1.75; flex: 1; margin-bottom: 1.25rem; }
.review-featured .review-text { color: rgba(255,255,255,.9); }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700;
  flex-shrink: 0;
}
.reviewer-name { font-size: .9rem; font-weight: 700; }
.review-featured .reviewer-name { color: #fff; }
.reviewer-info { font-size: .78rem; color: var(--text-3); }
.review-featured .reviewer-info { color: rgba(255,255,255,.65); }

/* ===== APP BANNER ===== */
.app-banner {
  background: linear-gradient(135deg, #1a0608, #6b0015);
  color: #fff;
}
.app-banner-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
}
.app-banner h2 { font-size: clamp(1.5rem,3vw,2rem); font-weight: 800; margin-bottom: .75rem; }
.app-banner p { color: rgba(255,255,255,.75); margin-bottom: 1.75rem; font-size: .95rem; }
.app-download-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-download {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  padding: .75rem 1.25rem;
  border-radius: 12px;
  transition: background .2s;
}
.btn-download:hover { background: rgba(255,255,255,.2); }
.download-icon { font-size: 1.4rem; display: flex; align-items: center; }
.download-icon svg { width: 20px; height: 20px; }
.btn-download small { display: block; font-size: .7rem; opacity: .7; }
.btn-download strong { display: block; font-size: .9rem; }
.app-qr { flex-shrink: 0; }
.qr-box {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
}
.qr-pattern {
  width: 100px; height: 100px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.15) 0, rgba(255,255,255,.15) 1px, transparent 1px, transparent 8px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.15) 0, rgba(255,255,255,.15) 1px, transparent 1px, transparent 8px);
  border-radius: 8px;
  margin: 0 auto .5rem;
  position: relative;
  overflow: hidden;
}
.qr-pattern::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 3px solid rgba(255,255,255,.5);
  border-radius: 4px;
}
.qr-box p { font-size: .75rem; opacity: .7; margin-top: .25rem; }

/* ===== FOOTER ===== */
.footer { background: #0f172a; color: rgba(255,255,255,.7); }
.footer-inner {
  display: flex; gap: 4rem;
  padding: 4rem 24px;
}
.footer-brand { flex: 0 0 200px; }
.footer-logo .logo-text { color: #fff; }
.footer-logo .logo-icon { background: var(--brand); }
.footer-tagline { font-size: .88rem; margin-top: .75rem; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-btn {
  font-size: .78rem;
  padding: .3rem .75rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  color: rgba(255,255,255,.7);
  transition: background .2s, color .2s;
}
.social-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.footer-links { display: flex; gap: 3rem; flex: 1; }
.footer-col { flex: 1; }
.footer-col h4 {
  font-size: .85rem; font-weight: 700;
  color: #fff; margin-bottom: 1rem;
  letter-spacing: .03em;
}
.footer-col a {
  display: block; font-size: .85rem;
  color: rgba(255,255,255,.5);
  padding: .3rem 0;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 24px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.35); text-align: center; }

/* ===== PRODUCT PAGE ===== */
.page-hero {
  padding: 128px 0 80px;
  background: linear-gradient(155deg, #fff0f2, #fdf8f8 60%, #fff);
  overflow: hidden;
}
.page-hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.page-hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; line-height: 1.2;
  margin: .75rem 0 1.2rem;
}
.download-platforms { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.btn-download-lg {
  display: flex; align-items: center; gap: 10px;
  background: #1a1a2e;
  color: #fff;
  padding: .8rem 1.5rem;
  border-radius: 12px;
  border: none; cursor: pointer;
  transition: background .2s, transform .15s;
  font-size: .9rem;
}
.btn-download-lg:hover { background: var(--brand); transform: translateY(-2px); }
.btn-android { background: var(--brand); }
.btn-android:hover { background: var(--brand-dark); }
.btn-apk { background: #1D9E75; }
.btn-apk:hover { background: #157A5A; }
.btn-download-lg small { display: block; font-size: .68rem; opacity: .7; }
.btn-download-lg strong { display: block; font-size: .92rem; }
.download-note { font-size: .82rem; color: var(--text-3); margin-top: .5rem; }

/* Product dual phones */
.product-phones {
  position: relative;
  height: 520px;
  display: flex; align-items: center; justify-content: center;
}
.phone-back {
  position: absolute; left: 5%; top: 10%;
  transform: rotate(-8deg) scale(.9);
  z-index: 1; opacity: .7;
}
.phone-front {
  position: relative; z-index: 2;
  right: -5%;
}
.phone-screen-sm { background: #f8f9fc; }
.mini-app-header {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: #fff;
  font-size: .75rem; font-weight: 700;
  border-bottom: 1px solid var(--border);
}
.order-list { padding: 8px; }
.order-item {
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 6px;
  border: 1px solid var(--border);
}
.order-img { width: 36px; height: 36px; border-radius: 6px; flex-shrink: 0; }
.order-info { flex: 1; }
.order-name { font-size: .68rem; font-weight: 600; color: var(--text); }
.order-status { font-size: .6rem; margin-top: 2px; font-weight: 600; }
.status-delivered { color: var(--accent); }
.status-shipping { color: var(--brand); }
.status-pending { color: #BA7517; }
.order-price { font-size: .7rem; font-weight: 700; color: #E24B4A; }
.phone-cats { display: flex; gap: 4px; padding: 8px 8px 0; }
.phone-cat { flex: 1; text-align: center; }
.cat-dot {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  margin: 0 auto 3px;
}
.phone-cat span { font-size: .6rem; color: var(--text-2); }
.phone-products { display: flex; gap: 6px; padding: 8px; }
.phone-prod { flex: 1; background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.prod-img { height: 70px; }
.prod-name { font-size: .63rem; font-weight: 600; padding: 4px 6px 0; color: var(--text); }
.prod-price { font-size: .62rem; color: #E24B4A; font-weight: 700; padding: 2px 6px 5px; }

/* App features */
.app-features { background: #fff; }
.app-feat-list { display: flex; flex-direction: column; gap: 2.5rem; }
.app-feat-item {
  display: grid; grid-template-columns: 64px 1fr 220px;
  gap: 2rem; align-items: center;
  padding: 2rem;
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: box-shadow .25s;
}
.app-feat-item:hover { box-shadow: var(--shadow-md); }
.feat-reverse { direction: rtl; }
.feat-reverse > * { direction: ltr; }
.feat-num {
  font-size: 2.5rem; font-weight: 900;
  color: var(--brand-light);
  line-height: 1;
  text-align: center;
}
.feat-content h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; }
.feat-content p { font-size: .92rem; color: var(--text-2); line-height: 1.7; }
.feat-visual {
  height: 80px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.fv-blue { background: #fff0f2; }
.fv-teal { background: #e1f5ee; }
.fv-amber { background: #faeeda; }
.fv-pink { background: #fde8e8; }
.fv-dots { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; }
.fv-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(200,16,46,.15);
}
.fv-dot.active { background: var(--brand); }
.fv-dot-lg {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(200,16,46,.15);
}
.fv-dot-lg.active { background: var(--brand); }
.fv-bars { display: flex; align-items: flex-end; gap: 6px; height: 100%; }
.fv-bar {
  flex: 1; background: rgba(15,110,86,.2);
  border-radius: 4px 4px 0 0;
}
.fv-bar.active { background: var(--accent); }
.fv-track { display: flex; align-items: center; gap: 4px; }
.fv-track-node { font-size: .9rem; color: rgba(186,117,23,.3); }
.fv-track-node.done { color: #BA7517; }
.fv-track-node.current { color: #BA7517; font-size: 1.1rem; }
.fv-track-line { flex: 1; height: 2px; background: #BA7517; }
.fv-line-empty { background: rgba(186,117,23,.2); }
.fv-stars { text-align: center; font-size: .8rem; }
.fv-stars span:first-child { color: #F5A623; font-size: 1rem; display: block; }
.fv-count { font-size: .9rem; font-weight: 700; color: #D4537E; display: block; margin: 2px 0 6px; }
.fv-bar-row { background: rgba(212,83,126,.15); border-radius: 4px; height: 6px; margin-bottom: 4px; }
.fv-bar-fill { background: #D4537E; height: 100%; border-radius: 4px; }

/* Version cards */
.version-section { background: var(--bg-page); }
.version-cards {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}
.ver-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
  display: flex; gap: 10px; align-items: flex-start;
}
.ver-tag {
  font-size: .7rem; font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 6px;
  flex-shrink: 0; margin-top: 2px;
}
.tag-new { background: #fff0f2; color: #c8102e; }
.tag-improve { background: #e1f5ee; color: #0F6E56; }
.tag-fix { background: #faeeda; color: #854F0B; }
.ver-card p { font-size: .88rem; color: var(--text-2); line-height: 1.6; }

/* QR Section */
.qr-section { background: #fff; }
.qr-inner { display: flex; gap: 4rem; align-items: center; justify-content: space-between; }
.qr-text .section-tag { margin-bottom: .75rem; }
.qr-text h2 { font-size: clamp(1.5rem,3vw,2rem); font-weight: 800; margin-bottom: .6rem; }
.qr-text p { color: var(--text-2); margin-bottom: 1.75rem; }
.qr-downloads { display: flex; gap: 1rem; flex-wrap: wrap; }
.qr-downloads .btn-download {
  background: #fff0f2;
  color: var(--text);
  border-color: var(--border);
}
.qr-downloads .btn-download:hover { background: var(--brand-light); }
.qr-codes { display: flex; gap: 1.5rem; flex-shrink: 0; }
.qr-item { text-align: center; }
.qr-box-lg {
  width: 130px; height: 130px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .5rem;
}
.qr-pattern-lg {
  width: 96px; height: 96px;
  background:
    repeating-linear-gradient(0deg, rgba(26,26,46,.07) 0, rgba(26,26,46,.07) 1px, transparent 1px, transparent 8px),
    repeating-linear-gradient(90deg, rgba(26,26,46,.07) 0, rgba(26,26,46,.07) 1px, transparent 1px, transparent 8px);
  border-radius: 6px;
  position: relative;
}
.qr-pattern-lg::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 3px solid rgba(200,16,46,.35);
  border-radius: 4px;
}
.qr-android::before { border-color: rgba(15,110,86,.4); }
.qr-label { font-size: .82rem; color: var(--text-3); }

/* ===== CONTACT PAGE ===== */
.page-top {
  padding: 128px 0 64px;
  text-align: center;
}
.contact-top {
  background: linear-gradient(155deg, #fff0f2, #fdf8f8);
}
.contact-top h1 {
  font-size: clamp(2rem,4vw,2.8rem);
  font-weight: 800; line-height: 1.2;
  margin-bottom: .75rem;
}
.contact-top p { color: var(--text-2); font-size: 1rem; }
.contact-main { background: #fff; padding: 72px 0; }
.contact-layout {
  display: grid; grid-template-columns: 420px 1fr;
  gap: 3rem;
}
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.info-block {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 1.25rem;
  background: var(--bg-page);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.info-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.info-block h3 { font-size: .88rem; font-weight: 700; color: var(--text-2); margin-bottom: .3rem; }
.info-value { font-size: 1rem; font-weight: 700; color: var(--text); }
.info-note { font-size: .82rem; color: var(--text-3); margin-top: .2rem; }
.social-contact { padding: 1.25rem; background: var(--bg-page); border-radius: var(--radius); border: 1px solid var(--border); }
.social-contact h4 { font-size: .88rem; font-weight: 700; margin-bottom: .85rem; }
.social-row { display: flex; gap: 1rem; }
.social-item { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.social-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800;
}
.social-item span { font-size: .75rem; color: var(--text-3); }

/* FAQ */
.faq-block { background: var(--bg-page); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.faq-block h4 { font-size: .88rem; font-weight: 700; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.faq-item {
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  overflow: hidden;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: .85rem 1.25rem;
  font-size: .88rem; font-weight: 600;
}
.faq-arrow {
  font-size: 1.2rem; color: var(--text-3);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(90deg); }
.faq-a {
  padding: 0 1.25rem;
  max-height: 0; overflow: hidden;
  font-size: .85rem; color: var(--text-2); line-height: 1.7;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 120px; padding-bottom: 1rem; }

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem 2rem;
}
.form-header { margin-bottom: 1.5rem; }
.form-header h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: .4rem; }
.form-header p { font-size: .9rem; color: var(--text-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block; font-size: .85rem; font-weight: 600;
  margin-bottom: .4rem; color: var(--text);
}
.required { color: #E24B4A; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .7rem 1rem;
  font-size: .9rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color .2s;
  appearance: auto;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(200,16,46,.1);
}
.form-group textarea { resize: vertical; }
.btn-submit {
  width: 100%; padding: .85rem;
  font-size: 1rem; border-radius: 10px;
  justify-content: center;
  margin-bottom: .75rem;
}
.form-privacy { font-size: .8rem; color: var(--text-3); text-align: center; }
.form-privacy a { color: var(--brand); }
.form-success { text-align: center; padding: 2rem; }
.success-icon {
  width: 60px; height: 60px;
  background: #e1f5ee;
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700;
  margin: 0 auto 1rem;
}
.form-success h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: .5rem; }
.form-success p { color: var(--text-2); font-size: .9rem; margin-bottom: 1.25rem; }

/* Map Section */
.map-section { background: var(--bg-page); }
.map-placeholder {
  height: 380px;
  background: #e8edf5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.map-grid { position: absolute; inset: 0; }
.map-road { position: absolute; background: #fff; }
.map-road-h { height: 14px; }
.map-road-v { width: 14px; }
.map-block { position: absolute; background: #d4dae6; border-radius: 4px; }
.map-block-highlight { background: var(--brand); opacity: .7; }
.map-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem; z-index: 2;
}
.map-pin {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.pin-dot {
  width: 16px; height: 16px;
  background: var(--brand);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(200,16,46,.4);
  z-index: 1;
}
.pin-ring {
  position: absolute;
  width: 40px; height: 40px;
  border: 2px solid rgba(200,16,46,.3);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.5); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.map-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: center;
}
.map-card strong { font-size: .95rem; font-weight: 700; display: block; margin-bottom: .3rem; }
.map-card p { font-size: .83rem; color: var(--text-2); }
.map-transport { font-size: .78rem !important; color: var(--brand) !important; margin-top: .3rem !important; font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .cat-large { grid-row: span 1; }
  .footer-inner { flex-direction: column; gap: 2rem; }
  .footer-brand { flex: none; }
  .app-feat-item { grid-template-columns: 48px 1fr; }
  .feat-visual { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero-inner, .page-hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .product-phones { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .app-banner-inner { flex-direction: column; }
  .app-qr { display: none; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
  .version-cards { grid-template-columns: 1fr; }
  .qr-inner { flex-direction: column; }
  .qr-codes { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
}
