/* ============================================================
   91漫画 - 91mhapp.cn 官网单页样式
   主题：暗夜紫蓝 + 粉红×电光青渐变
   ============================================================ */

:root {
  --bg: #120a1c;
  --bg-2: #180e26;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.09);
  --primary: #ff5fa2;
  --primary-2: #e93a8c;
  --primary-dim: rgba(255, 95, 162, 0.12);
  --accent: #5ec8ff;
  --text: #f7f1fb;
  --muted: #a99bb8;
  --danger: #ff5c7a;
  --radius: 16px;
  --max-w: 1200px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --grad: linear-gradient(120deg, #ff5fa2 0%, #5ec8ff 100%);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 860px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, #ff5fa2, #e93a8c);
  color: #2b0716;
  box-shadow: 0 8px 28px rgba(255, 95, 162, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255, 95, 162, 0.45); }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 15px 34px; font-size: 17px; }
.btn-xl { padding: 19px 48px; font-size: 19px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(18, 10, 28, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { border-bottom-color: var(--card-border); background: rgba(15, 8, 23, 0.92); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: 0.5px; }
.brand-logo { border-radius: 12px; width: 40px; height: 40px; object-fit: cover; box-shadow: 0 4px 14px rgba(255, 95, 162, 0.3); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { font-size: 15px; color: var(--muted); transition: color 0.2s ease; position: relative; }
.site-nav a:hover, .site-nav a.active { color: var(--primary); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 148px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(94, 200, 255, 0.14), transparent 60%),
    radial-gradient(900px 500px at 10% 20%, rgba(255, 95, 162, 0.13), transparent 60%),
    var(--bg);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.orb-1 { width: 420px; height: 420px; background: #ff5fa2; top: -140px; left: -100px; opacity: 0.22; }
.orb-2 { width: 380px; height: 380px; background: #5ec8ff; bottom: -120px; right: -80px; opacity: 0.2; }
.orb-3 { width: 220px; height: 220px; background: #b47cff; top: 40%; left: 42%; opacity: 0.12; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid rgba(255, 95, 162, 0.25);
  margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 95, 162, 0.6); } 50% { box-shadow: 0 0 0 6px rgba(255, 95, 162, 0); } }

.hero-title { font-size: clamp(38px, 5.2vw, 62px); font-weight: 900; line-height: 1.2; letter-spacing: 1px; }
.hero-sub { margin: 18px 0 30px; font-size: 17px; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { margin-top: 16px; font-size: 13px; color: var(--muted); }
.hot-keywords { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.hk-label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.hk-tag {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--card-border);
  transition: all 0.2s ease;
}
.hk-tag:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-1px); }

/* 手机壳 */
.hero-device { display: flex; justify-content: center; position: relative; }
.phone-frame {
  position: relative;
  width: 300px;
  height: 620px;
  border-radius: 44px;
  background: linear-gradient(160deg, #2a1330, #150b1d);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  transform: rotate(2deg);
}
.phone-notch {
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 24px;
  background: #150b1d;
  border-radius: 999px;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #120a1c;
}
.phone-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.phone-img.active { opacity: 1; }
.phone-dots {
  position: absolute;
  bottom: 18px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 4;
}
.phone-dots .pdot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  padding: 0;
  transition: all 0.3s ease;
}
.phone-dots .pdot.active { width: 22px; border-radius: 999px; background: var(--primary); }
.hero-glow {
  position: absolute;
  inset: auto -40px -40px auto;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255, 95, 162, 0.2), transparent 65%);
  filter: blur(40px);
  z-index: -1;
}

/* ---------- 数据统计 ---------- */
.stats {
  background: var(--bg-2);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 44px 24px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-unit { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: 0.5px; }
.section-desc { margin-top: 14px; color: var(--muted); font-size: 16px; }

/* ---------- 功能卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(255, 95, 162, 0.35); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.feature-icon {
  width: 54px; height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border-radius: 14px;
  background: var(--primary-dim);
  border: 1px solid rgba(255, 95, 162, 0.2);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- 搜索实验室 ---------- */
.search-panel {
  max-width: 860px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 0 16px;
  color: var(--muted);
  transition: border-color 0.2s ease;
}
.search-bar:focus-within { border-color: var(--primary); }
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 15px;
  padding: 14px 0;
  font-family: inherit;
}
.search-bar input::placeholder { color: var(--muted); }
.search-filters { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.filter-group { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.filter-label { font-size: 13px; color: var(--muted); padding-top: 7px; min-width: 40px; }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--muted);
  transition: all 0.2s ease;
}
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip.active { background: var(--primary-dim); color: var(--primary); border-color: var(--primary); font-weight: 600; }
.search-result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 26px 0 14px;
  font-size: 14px;
  font-weight: 600;
}
.result-count { color: var(--primary); font-size: 12px; letter-spacing: 1px; }
.search-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.search-results li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  transition: all 0.2s ease;
  font-size: 14.5px;
}
.search-results li:hover { border-color: var(--primary); background: var(--primary-dim); }
.search-results li .rk { font-weight: 800; color: var(--primary); font-size: 13px; }
.search-results li .rk-tag { margin-left: auto; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, 0.06); padding: 2px 10px; border-radius: 999px; flex-shrink: 0; }
.search-empty { text-align: center; color: var(--muted); padding: 30px 0 10px; font-size: 15px; }

/* ---------- 榜单 ---------- */
.ranking-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 34px; }
.rank-tab {
  padding: 10px 28px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.rank-tab:hover { color: var(--text); border-color: var(--muted); }
.rank-tab.active { background: var(--grad); color: #2b0716; border-color: transparent; box-shadow: 0 8px 24px rgba(255, 95, 162, 0.3); }
.ranking-panels { max-width: 860px; margin: 0 auto; }
.rank-panel { display: none; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rank-panel.active { display: grid; animation: fadeUp 0.4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.rank-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  transition: all 0.2s ease;
}
.rank-card:hover { border-color: rgba(255, 95, 162, 0.35); transform: translateY(-3px); }
.rank-no {
  font-size: 26px;
  font-weight: 900;
  width: 44px;
  text-align: center;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.rank-info { flex: 1; min-width: 0; }
.rank-name { font-size: 15.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.rank-badge {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
}
.rank-badge.new { background: rgba(94, 200, 255, 0.16); color: #9fdfff; border: 1px solid rgba(94, 200, 255, 0.35); }
.rank-badge.trend { background: var(--primary-dim); color: var(--primary); border: 1px solid rgba(255, 95, 162, 0.3); }
.rank-badge.up { background: rgba(255, 92, 122, 0.14); color: var(--danger); border: 1px solid rgba(255, 92, 122, 0.3); }
.rank-badge.flat { background: rgba(255, 255, 255, 0.06); color: var(--muted); border: 1px solid var(--card-border); }

/* ---------- 更新日历 ---------- */
.calendar-panel {
  max-width: 860px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.calendar-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-bottom: 24px; }
.cal-day {
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 6px;
  text-align: center;
  transition: all 0.2s ease;
}
.cal-day:hover { border-color: var(--muted); }
.cal-day.active { background: var(--primary-dim); border-color: var(--primary); }
.cal-day .dw { font-size: 12px; color: var(--muted); }
.cal-day .dd { font-size: 19px; font-weight: 800; margin-top: 2px; }
.cal-day .dupdate { font-size: 11px; color: var(--primary); margin-top: 2px; }
.calendar-detail {
  min-height: 120px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--card-border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cal-detail-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.cal-detail-title .dot { color: var(--primary); margin-right: 6px; }
.cal-detail-sub { font-size: 14px; color: var(--muted); }
.cal-detail-sub b { color: var(--primary); font-weight: 600; }
.cal-empty { color: var(--muted); font-size: 14.5px; text-align: center; padding: 20px 0; }

/* ---------- 界面预览 ---------- */
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.preview-card { text-align: center; }
.preview-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  aspect-ratio: 9 / 18;
  background: var(--bg-2);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.preview-frame::after {
  content: "";
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 72px; height: 16px;
  background: #150b1d;
  border-radius: 999px;
}
.preview-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.preview-card:hover .preview-frame { border-color: rgba(255, 95, 162, 0.4); transform: translateY(-6px); }
.preview-card:hover .preview-frame img { transform: scale(1.05); }
.preview-card figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- 下载区 ---------- */
.download {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 50% 120%, rgba(255, 95, 162, 0.18), transparent 65%),
    var(--bg-2);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  text-align: center;
}
.download-inner { position: relative; max-width: 720px; }
.download-glow {
  position: absolute;
  width: 500px; height: 300px;
  left: 50%; bottom: -200px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 95, 162, 0.25), transparent 70%);
  filter: blur(60px);
  z-index: 0;
}
.download-inner > * { position: relative; z-index: 1; }
.download-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 900; }
.download-desc { margin: 18px auto 34px; color: var(--muted); max-width: 560px; }
.download-meta { margin-top: 22px; font-size: 13px; color: var(--muted); }
.download-tip { margin-top: 12px; font-size: 13.5px; color: var(--muted); background: rgba(255, 255, 255, 0.04); border: 1px dashed var(--card-border); border-radius: 12px; padding: 10px 16px; display: inline-block; }
.download-tip.highlight { color: var(--primary); border-color: var(--primary); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; overflow: hidden; transition: border-color 0.2s ease; }
.faq-item.open { border-color: rgba(255, 95, 162, 0.4); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
}
.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--primary-dim);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0c0612; border-top: 1px solid var(--card-border); padding: 56px 0 32px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; }
.footer-brand img { border-radius: 10px; width: 40px; height: 40px; }
.footer-desc { color: var(--muted); font-size: 14px; max-width: 440px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--muted); font-size: 14px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { color: rgba(169, 155, 184, 0.7); font-size: 12.5px; margin-top: 8px; }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px; bottom: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 95, 162, 0.4);
  background: rgba(18, 10, 28, 0.9);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.3s ease;
  z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--primary); color: #2b0716; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hot-keywords { justify-content: center; }
  .hero-device { margin-top: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .hero { padding: 116px 0 64px; }
  .site-nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(15, 8, 23, 0.97);
    border-bottom: 1px solid var(--card-border);
    padding: 10px 24px 18px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .site-nav a { padding: 12px 4px; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
  .site-nav a.active::after { display: none; }
  .nav-toggle { display: flex; }
  .header-download { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; padding: 36px 24px; }
  .search-results { grid-template-columns: 1fr; }
  .rank-panel { grid-template-columns: 1fr; }
  .calendar-week { grid-template-columns: repeat(4, 1fr); }
  .calendar-panel, .search-panel { padding: 20px; }
  .download { padding: 72px 0; }
  .phone-frame { width: 260px; height: 540px; }
  .btn-xl { padding: 17px 36px; font-size: 17px; }
}

@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .calendar-week { grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .cal-day { padding: 10px 4px; }
  .hero-title { font-size: 34px; }
}
