:root {
  --pink: #ff2da8;
  --pink-dark: #c60073;
  --ink: #141321;
  --muted: #666579;
  --line: #eeeaf2;
  --soft: #fff4fb;
  --cyan: #10b9b2;
  --yellow: #f7b731;
  --shadow: 0 18px 45px rgba(20, 19, 33, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.site-header {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; padding: 0 5vw; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, var(--pink), var(--pink-dark)); font-size: 24px; font-weight: 900; }
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.main-nav { display: flex; gap: 28px; color: #343244; font-weight: 800; }
.main-nav a { position: relative; }
.main-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 3px; background: var(--pink); transform: scaleX(0); transform-origin: center; transition: transform .25s ease; content: ""; }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 46%); gap: 44px; align-items: center; min-height: calc(100vh - 74px); padding: 56px 5vw 42px; overflow: hidden; }
.page-hero { padding: 72px 5vw 32px; background: linear-gradient(180deg, var(--soft), #fff); border-bottom: 1px solid var(--line); }
.hero-copy { max-width: 780px; }
.eyebrow, .section-heading p { margin: 0 0 10px; color: var(--pink-dark); font-weight: 900; letter-spacing: 0; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(42px, 7vw, 78px); line-height: 1.05; }
h2 { margin-bottom: 18px; font-size: clamp(28px, 4vw, 44px); line-height: 1.18; }
h3 { margin-bottom: 8px; font-size: 21px; line-height: 1.35; }
.hero-lead { max-width: 700px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.primary-btn, .ghost-btn, .online-btn, .promo-panel button, .contact-form button, .pagination button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 8px; border: 1px solid var(--pink); font-weight: 900; cursor: pointer;
}
.primary-btn, .promo-panel button, .contact-form button, .online-btn { color: #fff; background: var(--pink); }
.ghost-btn, .pagination button { color: var(--pink-dark); background: #fff; }
.hero-media { position: relative; height: min(62vh, 620px); min-height: 380px; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); }
.hero-media span, .live-grid span, .launch-grid span { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 12px 14px; color: #fff; background: rgba(20,19,33,.78); border-left: 4px solid var(--pink); font-weight: 900; }

.stats-section, .section, .promo-section, .site-footer { padding: 72px 5vw; }
.stats-section { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; background: #fbfbfd; border-block: 1px solid var(--line); }
.stat { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.stat strong { display: block; color: var(--pink); font-size: 36px; line-height: 1.1; }
.stat span, .news-card p, .catalog-card p, .article-card p, .about-grid p, .contact-info p, .timeline span { color: var(--muted); }
.section-heading { max-width: 840px; margin-bottom: 30px; }

.intro-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr); gap: 28px; }
.intro-grid > div:first-child, .daily-card, .about-grid article, .contact-form, .contact-info, .product-feature-grid article, .news-card, .catalog-card, .promo-panel, .article-card, .live-grid article {
  border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 28px rgba(20,19,33,.05);
}
.intro-grid > div:first-child, .daily-card, .about-grid article, .contact-info, .promo-panel { padding: 26px; }
.daily-card { background: linear-gradient(150deg, var(--soft), #fff); }
.daily-card strong { display: block; color: var(--pink); font-size: 74px; line-height: 1; }

.product-feature-grid, .news-grid, .launch-grid, .about-grid, .catalog-grid, .article-grid, .live-grid { display: grid; gap: 20px; }
.product-feature-grid, .catalog-grid, .about-grid, .launch-grid { grid-template-columns: repeat(3, 1fr); }
.product-feature-grid article, .catalog-card, .article-card, .live-grid article { overflow: hidden; }
.product-feature-grid img, .catalog-card img { height: 210px; }
.product-feature-grid h3, .product-feature-grid p { padding-inline: 20px; }
.product-feature-grid h3 { margin-top: 18px; }
.product-feature-grid p { padding-bottom: 20px; }

.live-grid, .news-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
.live-grid article { position: relative; min-height: 420px; }
.live-grid img { height: 230px; }
.live-grid article > div { padding: 20px; }
.live-grid article > div span { position: static; display: inline-block; margin-bottom: 10px; padding: 6px 10px; color: #fff; background: var(--pink); border: 0; border-radius: 8px; font-size: 13px; }

.news-card { display: grid; grid-template-columns: 180px 1fr; min-height: 210px; overflow: hidden; }
.news-card div { padding: 20px; }
.news-card span, .catalog-card .type, .article-body span { display: inline-block; margin-bottom: 8px; color: var(--pink-dark); font-weight: 900; }
.rich-news p + p, .article-card p + p, .promo-section p + p { margin-top: 10px; }
.article-card img { height: 260px; }
.article-body { padding: 22px; }
.article-body ul { display: grid; gap: 8px; margin: 16px 0 0; padding-left: 20px; color: var(--muted); }

.launch-grid a { position: relative; min-height: 250px; overflow: hidden; border-radius: 8px; }
.launch-grid span { line-height: 1.45; }
.promo-section { display: grid; grid-template-columns: 1fr minmax(280px, 380px); gap: 30px; align-items: center; background: linear-gradient(90deg, var(--soft), #fff); border-block: 1px solid var(--line); }
.promo-section p { max-width: 920px; color: var(--muted); }
.promo-panel strong, .promo-panel span { display: block; }
.promo-panel strong { color: var(--pink); font-size: 32px; }
.promo-panel button { margin-top: 18px; }
.category-panel { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 28px rgba(20,19,33,.05); }
.category-panel p { margin-bottom: 0; color: var(--muted); }

.timeline { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 22px; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 118px 1fr; gap: 14px; padding: 16px; border-left: 4px solid var(--pink); background: #fbfbfd; border-radius: 8px; }
.timeline time { color: var(--ink); font-weight: 900; }

.filters { display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 12px; margin-bottom: 16px; }
input, select, textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; font: inherit; }
textarea { resize: vertical; }
.tag-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.tag { min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-weight: 800; }
.tag.active { color: #fff; border-color: var(--pink); background: var(--pink); }
.catalog-card .body { padding: 18px; }
.meta-row, .card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 13px; }
.card-tags span { padding: 4px 8px; border-radius: 8px; background: var(--soft); color: var(--pink-dark); font-weight: 800; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

.contact-form { display: grid; gap: 14px; padding: 24px; }
.contact-form label { display: grid; gap: 6px; color: var(--muted); font-weight: 700; }
.map-embed { height: 330px; margin-top: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; color: #fff; background: var(--ink); }
.site-footer p { max-width: 820px; margin-bottom: 0; color: rgba(255,255,255,.75); }
.site-footer a { color: #fff; font-weight: 900; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 30; padding: 12px 16px; color: #fff; background: var(--ink); border-radius: 8px; opacity: 0; transform: translateY(14px); transition: .25s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translateY(0); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .filters, .catalog-grid, .about-grid { grid-template-columns: repeat(2, 1fr); }
  .filters input { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 74px; right: 5vw; left: 5vw; display: none; flex-direction: column; gap: 0; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .hero, .intro-grid, .promo-section, .contact-grid { grid-template-columns: 1fr; }
  .category-panel { align-items: flex-start; flex-direction: column; }
  .hero { min-height: auto; }
  .hero-media { height: 420px; }
  .stats-section, .product-feature-grid, .news-grid, .launch-grid, .timeline, .article-grid, .live-grid { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; }
  .news-card img { height: 220px; }
}

@media (max-width: 600px) {
  .site-header { padding-inline: 18px; }
  .hero, .stats-section, .section, .promo-section, .site-footer { padding-inline: 18px; }
  .hero-media { min-height: 300px; height: 320px; }
  .filters, .catalog-grid, .about-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; }
  .daily-card strong { font-size: 56px; }
  .site-footer { flex-direction: column; }
}
