/* ============================================
   星空动漫 - 全新设计版样式
   域名: xkdongman.cn
   主题: 深邃星空紫 + 赛博青 + 琥珀金
   ============================================ */

:root {
  --bg-deep: #0d0b1f;
  --bg-mid: #151235;
  --bg-card: #1a1640;
  --bg-card-2: #221d52;
  --color-purple: #8b5cf6;
  --color-cyan: #06b6d4;
  --color-amber: #f59e0b;
  --color-pink: #ec4899;
  --color-green: #10b981;
  --text-white: #ffffff;
  --text-light: #c7c9e0;
  --text-muted: #7c7fa3;
  --border-glow: rgba(139, 92, 246, 0.25);
  --glow-purple: 0 0 40px rgba(139, 92, 246, 0.35);
  --glow-cyan: 0 0 40px rgba(6, 182, 212, 0.3);
  --grad-main: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
  --grad-amber: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
  --grad-hero: linear-gradient(180deg, #0d0b1f 0%, #1a1640 50%, #0d0b1f 100%);
  --grad-card: linear-gradient(145deg, rgba(139,92,246,0.08) 0%, rgba(6,182,212,0.05) 100%);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-full: 999px;
  --trans: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-deep);
  color: var(--text-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--trans); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.sec { padding: 110px 0; position: relative; z-index: 1; }

.sec-head { text-align: center; margin-bottom: 64px; }
.sec-head .tag {
  display: inline-block; padding: 6px 18px; border-radius: var(--r-full);
  background: rgba(139,92,246,0.12); border: 1px solid var(--border-glow);
  font-size: 13px; color: var(--color-cyan); margin-bottom: 18px; letter-spacing: 1px;
}
.sec-head h2 {
  font-size: clamp(30px, 4.5vw, 46px); font-weight: 900; line-height: 1.2;
  background: var(--grad-main); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 14px;
}
.sec-head p { font-size: 16px; color: var(--text-light); max-width: 620px; margin: 0 auto; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 34px; border-radius: var(--r-full); font-size: 15px; font-weight: 700;
  transition: var(--trans); white-space: nowrap; position: relative; overflow: hidden;
}
.btn-main { background: var(--grad-main); color: #fff; box-shadow: 0 6px 24px rgba(139,92,246,0.4); }
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(139,92,246,0.55); }
.btn-amber { background: var(--grad-amber); color: #1a1a2e; box-shadow: 0 6px 24px rgba(245,158,11,0.4); }
.btn-amber:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(245,158,11,0.55); }
.btn-ghost { border: 2px solid rgba(139,92,246,0.5); color: var(--color-purple); background: transparent; }
.btn-ghost:hover { background: rgba(139,92,246,0.12); border-color: var(--color-purple); }
.btn-xl { padding: 18px 48px; font-size: 18px; }

/* ===== 星空背景 ===== */
#star-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ===== 导航栏 ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: var(--trans);
}
.nav.scrolled {
  background: rgba(13, 11, 31, 0.85); backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--border-glow);
  padding: 12px 0;
}
.nav-in { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; }
.brand img {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--color-purple); box-shadow: 0 0 18px rgba(139,92,246,0.5);
}
.brand span { background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-menu { display: flex; gap: 38px; }
.nav-menu a { font-size: 15px; font-weight: 500; color: var(--text-light); position: relative; }
.nav-menu a::after {
  content: ""; position: absolute; bottom: -8px; left: 0; width: 0; height: 2px;
  background: var(--grad-main); transition: var(--trans); border-radius: 2px;
}
.nav-menu a:hover { color: var(--text-white); }
.nav-menu a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--text-white); border-radius: 2px; transition: var(--trans); }
.burger.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 130px 0 90px; position: relative; z-index: 1; overflow: hidden;
}
@media (min-height: 2000px) {
  .hero { min-height: auto; padding-top: 140px; }
}
.hero::before {
  content: ""; position: absolute; top: -30%; right: -15%; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%); border-radius: 50%;
  animation: floatOrb 8s ease-in-out infinite;
}
.hero::after {
  content: ""; position: absolute; bottom: -20%; left: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,182,212,0.14) 0%, transparent 70%); border-radius: 50%;
  animation: floatOrb 10s ease-in-out infinite reverse;
}
@keyframes floatOrb { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px,-30px); } }

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-txt { animation: slideUp 0.9s ease-out; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px;
  background: rgba(6,182,212,0.1); border: 1px solid rgba(6,182,212,0.3);
  border-radius: var(--r-full); font-size: 13px; color: var(--color-cyan); margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; background: var(--color-cyan); border-radius: 50%; animation: blink 1.5s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 900; line-height: 1.12; margin-bottom: 22px; }
.hero h1 .line1 { display: block; color: var(--text-white); }
.hero h1 .line2 { display: block; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero h1 .line3 { display: block; background: var(--grad-amber); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-desc { font-size: 17px; color: var(--text-light); margin-bottom: 34px; max-width: 540px; line-height: 1.85; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-mini { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-mini .item { display: flex; flex-direction: column; }
.hero-mini .num { font-size: 30px; font-weight: 900; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-mini .lbl { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.hero-visual { position: relative; animation: slideRight 0.9s ease-out 0.15s both; }
.hero-img-box {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--glow-purple);
  transform: perspective(1200px) rotateY(-6deg) rotateX(4deg); transition: var(--trans);
}
.hero-img-box:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.hero-img-box img { width: 100%; height: 520px; object-fit: cover; }
.hero-img-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13,11,31,0.7) 100%); }

.float-badge {
  position: absolute; background: rgba(26,22,64,0.92); backdrop-filter: blur(12px);
  border: 1px solid var(--border-glow); border-radius: var(--r-md); padding: 14px 20px;
  box-shadow: var(--glow-purple); animation: floatY 4.5s ease-in-out infinite;
}
.float-badge.fb1 { top: 24px; left: -28px; }
.float-badge.fb2 { bottom: 50px; right: -22px; animation-delay: 1.2s; }
.float-badge .ic { font-size: 22px; margin-bottom: 2px; }
.float-badge .tt { font-size: 14px; font-weight: 700; }
.float-badge .ss { font-size: 12px; color: var(--text-muted); }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-muted); z-index: 2; animation: bounce 2s infinite;
}
.scroll-hint .arrow { width: 20px; height: 20px; border-right: 2px solid var(--color-purple); border-bottom: 2px solid var(--color-purple); transform: rotate(45deg); }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }

/* ===== 数据条 ===== */
.data-bar {
  padding: 50px 0; position: relative; z-index: 1;
  background: linear-gradient(90deg, rgba(139,92,246,0.06) 0%, rgba(6,182,212,0.06) 50%, rgba(139,92,246,0.06) 100%);
  border-top: 1px solid var(--border-glow); border-bottom: 1px solid var(--border-glow);
}
.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.data-item { padding: 20px 10px; position: relative; }
.data-item:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 20%; height: 60%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-glow), transparent);
}
.data-item .big { font-size: 44px; font-weight: 900; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; }
.data-item .big.amber { background: var(--grad-amber); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.data-item .nm { font-size: 14px; color: var(--text-light); margin-top: 6px; }

/* ===== 精选作品 ===== */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  background: var(--bg-card); border: 1px solid var(--border-glow); transition: var(--trans);
}
.work-card:hover { transform: translateY(-8px); border-color: var(--color-purple); box-shadow: var(--glow-purple); }
.work-cover { position: relative; height: 340px; overflow: hidden; }
.work-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.work-card:hover .work-cover img { transform: scale(1.08); }
.work-cover .ov { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(13,11,31,0.95) 100%); }
.work-badge {
  position: absolute; top: 16px; left: 16px; padding: 5px 14px; border-radius: var(--r-full);
  font-size: 12px; font-weight: 700; color: #fff; background: var(--grad-main);
}
.work-rate {
  position: absolute; top: 16px; right: 16px; padding: 5px 12px; border-radius: var(--r-full);
  font-size: 13px; font-weight: 700; color: var(--color-amber); background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
}
.work-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; }
.work-info h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.work-info .meta { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.work-info .meta span { margin-right: 12px; }
.work-info p { font-size: 13px; color: var(--text-light); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.work-read {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 14px; font-weight: 700; color: var(--color-cyan);
}
.work-read:hover { color: var(--color-amber); }

/* ===== 功能矩阵 ===== */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card {
  position: relative; padding: 36px 28px; border-radius: var(--r-md);
  background: var(--grad-card); border: 1px solid var(--border-glow); transition: var(--trans);
  overflow: hidden;
}
.feat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-main); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.feat-card:hover { transform: translateY(-6px); border-color: var(--color-purple); box-shadow: var(--glow-purple); }
.feat-card:hover::before { transform: scaleX(1); }
.feat-card .ic-box {
  width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center;
  justify-content: center; font-size: 28px; margin-bottom: 22px;
  background: rgba(139,92,246,0.12); border: 1px solid var(--border-glow);
}
.feat-card:nth-child(2) .ic-box { background: rgba(6,182,212,0.12); }
.feat-card:nth-child(3) .ic-box { background: rgba(245,158,11,0.12); }
.feat-card:nth-child(4) .ic-box { background: rgba(236,72,153,0.12); }
.feat-card:nth-child(5) .ic-box { background: rgba(16,185,129,0.12); }
.feat-card:nth-child(6) .ic-box { background: rgba(139,92,246,0.12); }
.feat-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.feat-card p { font-size: 14px; color: var(--text-light); line-height: 1.75; }
.feat-card .num-tag {
  position: absolute; top: 20px; right: 24px; font-size: 36px; font-weight: 900;
  color: rgba(139,92,246,0.08); line-height: 1;
}

/* ===== 为什么选择我们（左右分栏） ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-visual { position: relative; }
.why-visual img {
  width: 100%; height: 460px; object-fit: cover; border-radius: var(--r-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.why-visual .deco {
  position: absolute; bottom: -20px; right: -20px; width: 140px; height: 140px;
  border: 3px solid var(--color-purple); border-radius: var(--r-lg); opacity: 0.4; z-index: -1;
}
.why-visual .deco2 {
  position: absolute; top: -20px; left: -20px; width: 100px; height: 100px;
  border: 3px solid var(--color-cyan); border-radius: 50%; opacity: 0.3; z-index: -1;
}
.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-item .check {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-main); display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff; box-shadow: 0 4px 16px rgba(139,92,246,0.4);
}
.why-item h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.why-item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== 分类探索 ===== */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  position: relative; height: 220px; border-radius: var(--r-md); overflow: hidden;
  cursor: pointer; transition: var(--trans);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover img { transform: scale(1.12); }
.cat-card .ov {
  position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,11,31,0.2) 0%, rgba(13,11,31,0.9) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  transition: var(--trans);
}
.cat-card:hover .ov { background: linear-gradient(180deg, rgba(139,92,246,0.35) 0%, rgba(13,11,31,0.95) 100%); }
.cat-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.cat-card p { font-size: 12px; color: var(--text-light); }
.cat-card .arrow-ic {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px); display: flex;
  align-items: center; justify-content: center; font-size: 16px; opacity: 0; transition: var(--trans);
}
.cat-card:hover .arrow-ic { opacity: 1; transform: rotate(-45deg); }

/* ===== 用户评价 ===== */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  padding: 30px 26px; border-radius: var(--r-md); background: var(--bg-card);
  border: 1px solid var(--border-glow); transition: var(--trans); position: relative;
}
.review-card:hover { transform: translateY(-5px); border-color: var(--color-cyan); box-shadow: var(--glow-cyan); }
.review-card .quote { font-size: 40px; color: var(--color-purple); opacity: 0.3; line-height: 1; margin-bottom: 8px; font-family: Georgia, serif; }
.review-card p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; }
.review-user { display: flex; align-items: center; gap: 12px; }
.review-user .avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--color-purple);
}
.review-user .info .nm { font-size: 15px; font-weight: 700; }
.review-user .info .stars { font-size: 12px; color: var(--color-amber); }

/* ===== 下载CTA ===== */
.cta-sec { padding: 120px 0; position: relative; z-index: 1; overflow: hidden; }
.cta-box {
  position: relative; padding: 70px 50px; border-radius: var(--r-lg); text-align: center;
  background: linear-gradient(135deg, rgba(139,92,246,0.15) 0%, rgba(6,182,212,0.1) 100%);
  border: 1px solid var(--border-glow); overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; top: -50%; left: -20%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%); border-radius: 50%;
}
.cta-box::after {
  content: ""; position: absolute; bottom: -50%; right: -20%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,182,212,0.18) 0%, transparent 70%); border-radius: 50%;
}
.cta-content { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 900; margin-bottom: 16px; }
.cta-box h2 .hl { background: var(--grad-amber); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-box .desc { font-size: 17px; color: var(--text-light); max-width: 600px; margin: 0 auto 36px; line-height: 1.8; }
.cta-actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.cta-features { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; font-size: 14px; color: var(--text-light); }
.cta-features span { display: flex; align-items: center; gap: 6px; }
.cta-features .ok { color: var(--color-green); }

/* ===== 页脚 ===== */
.footer {
  position: relative; z-index: 1; background: var(--bg-mid);
  border-top: 1px solid var(--border-glow); padding: 70px 0 30px;
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.foot-brand .logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.foot-brand .logo img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--color-purple); }
.foot-brand .logo span { background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.foot-brand p { font-size: 14px; color: var(--text-light); line-height: 1.8; max-width: 320px; margin-bottom: 18px; }
.foot-col h4 { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: var(--text-white); }
.foot-col ul li { margin-bottom: 12px; }
.foot-col ul li a { font-size: 14px; color: var(--text-light); }
.foot-col ul li a:hover { color: var(--color-cyan); }
.foot-bottom {
  border-top: 1px solid var(--border-glow); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.foot-bottom p { font-size: 13px; color: var(--text-muted); }
.foot-bottom .domain { color: var(--color-purple); font-weight: 600; }

/* ===== 回到顶部 ===== */
.to-top {
  position: fixed; bottom: 28px; right: 28px; width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad-main); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: 0 6px 24px rgba(139,92,246,0.45); z-index: 999;
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--trans);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(139,92,246,0.6); }

/* ===== 滚动显现 ===== */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.hide { opacity: 0; transform: translateY(36px); }
.reveal.show { opacity: 1; transform: translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .hero-img-box img { height: 420px; }
  .works-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-visual { max-width: 520px; margin: 0 auto; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .data-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .data-item:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
  .sec { padding: 80px 0; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--bg-mid); border-left: 1px solid var(--border-glow);
    flex-direction: column; padding: 90px 30px 30px; gap: 22px; transition: right 0.35s ease; z-index: 999;
  }
  .nav-menu.open { right: 0; }
  .nav-menu a { font-size: 17px; }
  .burger { display: flex; z-index: 1001; }
  .nav-right .btn { display: none; }
  .hero { padding: 110px 0 70px; min-height: auto; }
  .hero h1 { font-size: 36px; }
  .hero-desc { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-mini { gap: 24px; }
  .hero-mini .num { font-size: 24px; }
  .hero-img-box img { height: 340px; }
  .float-badge.fb1 { left: 8px; }
  .float-badge.fb2 { right: 8px; }
  .scroll-hint { display: none; }
  .data-item .big { font-size: 32px; }
  .work-cover { height: 280px; }
  .feat-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 50px 24px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .btn-xl { padding: 16px 36px; font-size: 16px; }
}
