/* ============================================================
   Limit Radar 官网样式 — 组件层
   Hero、App 视觉复刻、功能网格、步骤、FAQ 与 CTA 横幅
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 72px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-app-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 22px;
  filter: drop-shadow(0 16px 32px var(--icon-glow));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.35);
  }
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent), #5ac8fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-2);
  max-width: 46ch;
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--text);
  color: var(--bg-elevated);
  box-shadow: var(--shadow);
}

html[data-theme="dark"] .btn-primary {
  background: #fff;
  color: #000;
}

.btn-ghost {
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: var(--shadow);
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-3);
}

/* ---------- App 内黑色 Hero 卡复刻 ---------- */
.phone-mock {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 380px;
  margin-left: auto;
}

.hero-card {
  background: linear-gradient(135deg, var(--bg-hero-2), var(--bg-hero));
  border-radius: 22px;
  padding: 22px;
  color: #fff;
  box-shadow: var(--shadow-strong);
}

.hero-card .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.hero-card .label .tag {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 10px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.85);
}

.hero-card .time {
  font-size: 30px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-family: "SF Pro Rounded", ui-rounded, -apple-system, sans-serif;
}

.hero-card .sub {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-weight: 500;
  margin-top: 6px;
}

.hero-card .cycle {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cycle-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.cycle-bar i {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: inherit;
  background: var(--green);
}

.cycle-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
}

/* 指标小磁贴复刻 */
.mini-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini-tile {
  background: var(--bg-elevated);
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.mini-tile .k {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
}

.mini-tile .v {
  font-size: 20px;
  font-weight: 800;
  margin-top: 2px;
  font-family: "SF Pro Rounded", ui-rounded, -apple-system, sans-serif;
}

.mini-tile .d {
  font-size: 11px;
  color: var(--text-2);
  white-space: nowrap;
}

/* ---------- 通用 Section ---------- */
.section {
  padding: 72px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-2);
  font-size: 17px;
}

/* ---------- 功能网格 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg-elevated);
  border-radius: var(--card-radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--text-2);
}

/* ---------- 步骤 ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step-card {
  background: var(--bg-elevated);
  border-radius: var(--card-radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg-elevated);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}

html[data-theme="dark"] .step-num {
  background: #fff;
  color: #000;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 14.5px;
  color: var(--text-2);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-elevated);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15.5px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 500;
  color: var(--text-3);
  transition: transform 0.2s ease;
  flex: none;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-a {
  padding: 0 20px 18px;
  color: var(--text-2);
  font-size: 14.5px;
}

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--bg-hero-2), var(--bg-hero));
  border-radius: 24px;
  padding: 56px 32px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-strong);
}

.cta-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 12px 24px var(--icon-glow));
}

.cta-band h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 26px;
}

.cta-band .btn-primary {
  background: #fff;
  color: #000;
}
