/* 试衣猫官网（TryCat）—— 品牌样式表 */
:root {
  --brand: #ff6b3d;
  --brand-2: #ff9a5a;
  --brand-deep: #d94a1f;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --muted: #6b7280;
  --bg: #fff8f3;
  --bg-2: #fff1e6;
  --line: #f1d9c4;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(255, 107, 61, 0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-deep); text-decoration: none; }
a:hover { color: var(--brand); }

img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ========== Nav ========== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 243, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; color: var(--ink);
}
.logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; box-shadow: var(--shadow);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--brand); }
.nav-cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff !important; padding: 8px 18px; border-radius: 999px;
  font-weight: 600; box-shadow: var(--shadow);
}
.nav-cta:hover { color: #fff !important; transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600;
  border: 0; cursor: pointer; font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--brand-deep); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ========== Hero ========== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 80% -10%, #ffd0b3 0%, transparent 55%),
    radial-gradient(ellipse at 0% 110%, #ffe4cf 0%, transparent 50%),
    var(--bg);
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.eyebrow {
  display: inline-block;
  background: #fff; color: var(--brand-deep);
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--line); margin-bottom: 18px;
}
.hero h1 {
  font-size: 52px; line-height: 1.15; margin: 0 0 18px;
  letter-spacing: -0.5px; font-weight: 800;
}
.hero h1 span.brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 18px; color: var(--ink-soft); margin: 0 0 28px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 38px; }
.hero-stats .stat-num { font-size: 28px; font-weight: 800; color: var(--brand-deep); }
.hero-stats .stat-label { font-size: 13px; color: var(--muted); }

.hero-mock {
  position: relative; aspect-ratio: 9 / 16; max-height: 540px;
  margin: 0 auto; border-radius: 36px;
  background: linear-gradient(160deg, #fff, #fff5ed);
  box-shadow: 0 30px 60px rgba(217, 74, 31, 0.18), 0 8px 20px rgba(0,0,0,0.05);
  border: 1px solid var(--line);
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
}
.mock-bar { display: flex; gap: 6px; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #f1d9c4; }
.mock-photo {
  flex: 1; border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,107,61,0.10), rgba(255,154,90,0.20)),
    repeating-linear-gradient(45deg, #fff 0 12px, #fff5ed 12px 24px);
  display: flex; align-items: flex-end; justify-content: center; padding: 18px;
  position: relative; overflow: hidden;
}
.mock-photo::after {
  content: "👗 试穿预览"; color: var(--brand-deep);
  background: rgba(255,255,255,.85); padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.mock-actions { display: flex; gap: 8px; }
.mock-actions span {
  flex: 1; text-align: center; padding: 10px;
  border-radius: 12px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-soft);
}
.mock-actions span.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border: 0; }

/* ========== Section ========== */
.section { padding: 80px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .tag { color: var(--brand); font-weight: 700; letter-spacing: 1px; font-size: 13px; }
.section-head h2 { font-size: 36px; margin: 8px 0 14px; font-weight: 800; }
.section-head p { color: var(--ink-soft); font-size: 16px; }

/* ========== Cards ========== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.card {
  background: var(--card); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 14px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* ========== Audience pillars ========== */
.pillar {
  background: linear-gradient(160deg, #fff, var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: relative; overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  opacity: .08;
}
.pillar h3 { margin-top: 0; font-size: 22px; }
.pillar .role { color: var(--brand-deep); font-weight: 700; font-size: 13px; letter-spacing: 1px; }
.pillar ul { padding-left: 18px; margin: 14px 0 0; color: var(--ink-soft); }
.pillar ul li { margin-bottom: 6px; }

/* ========== Pricing ========== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; position: relative;
}
.price.featured {
  background: linear-gradient(160deg, #fff, #fff1e6);
  border-color: var(--brand);
  box-shadow: 0 20px 40px rgba(255, 107, 61, 0.12);
  transform: translateY(-6px);
}
.price-badge {
  position: absolute; top: -12px; right: 24px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.price h3 { margin: 0 0 6px; font-size: 20px; }
.price .price-tag { font-size: 36px; font-weight: 800; color: var(--ink); margin: 12px 0; }
.price .price-tag small { font-size: 14px; color: var(--muted); font-weight: 500; }
.price ul { list-style: none; padding: 0; margin: 18px 0; }
.price ul li { padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); font-size: 14px; }
.price ul li::before { content: "✓ "; color: var(--brand); font-weight: 700; }
.price ul li.no::before { content: "× "; color: #cbd5e1; }
.price .btn { width: 100%; justify-content: center; }

/* ========== Agent ========== */
.agent-hero {
  background: linear-gradient(135deg, #ffe4cf, #fff8f3);
  padding: 70px 0;
}
.commission-card {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff; border-radius: var(--radius);
  padding: 36px; box-shadow: 0 20px 40px rgba(217,74,31,0.25);
}
.commission-card .num { font-size: 56px; font-weight: 800; line-height: 1; }
.commission-card .num small { font-size: 18px; font-weight: 600; }
.commission-card p { opacity: .92; margin: 12px 0 0; }

.flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step;
}
.flow .step {
  background: #fff; padding: 22px; border-radius: var(--radius);
  border: 1px solid var(--line); position: relative; counter-increment: step;
}
.flow .step::before {
  content: counter(step);
  position: absolute; top: -14px; left: 22px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; box-shadow: var(--shadow);
}
.flow .step h4 { margin: 6px 0 6px; font-size: 16px; }
.flow .step p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* ========== Compare table ========== */
.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
table.compare th { background: var(--bg-2); color: var(--ink); font-weight: 700; }
table.compare td.center { text-align: center; }

/* ========== FAQ ========== */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 22px; margin-bottom: 12px;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; outline: none; list-style: none; }
.faq summary::after { content: "+"; float: right; color: var(--brand); font-size: 22px; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--ink-soft); margin: 12px 0 0; font-size: 15px; }

/* ========== CTA band ========== */
.cta-band {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff; padding: 60px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { font-size: 32px; margin: 0 0 12px; }
.cta-band p { opacity: .92; margin: 0 0 26px; }
.cta-band .btn-primary { background: #fff; color: var(--brand-deep); }
.cta-band .btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ========== Footer ========== */
footer {
  background: #1f1d1c; color: #d4d0cb; padding: 60px 0 24px;
}
footer .grid-4 { gap: 30px; }
footer h4 { color: #fff; font-size: 14px; letter-spacing: 1px; margin: 0 0 14px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: 8px; font-size: 14px; }
footer a { color: #d4d0cb; }
footer a:hover { color: var(--brand-2); }
footer .copyright {
  border-top: 1px solid #3a3735; margin-top: 40px; padding-top: 20px;
  text-align: center; font-size: 13px; color: #8a8682;
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .price-grid, .flow { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 50px 0 60px; }
  .hero h1 { font-size: 38px; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 28px; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 18px; gap: 14px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-mock { max-height: 460px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .price-grid, .flow { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
}
