/* BoyfriendCam — production polish. Dark #0c0f14, gold #f2b230. Typography carries the design. */
:root {
  --bg: #0c0f14;
  --bg2: #11151d;
  --card: #141a25;
  --card-hi: #18202e;
  --line: #232c3c;
  --line-soft: #1b2331;
  --text: #eef2f7;
  --body: #d7dee8;
  --muted: #98a2b3;
  --faint: #6b7484;
  --accent: #f2b230;
  --accent-d: #c98f14;
  --accent-ink: #14100a;
  --accent-soft: rgba(242, 178, 48, 0.08);
  --ok: #3ddc84;
  --radius: 14px;
  --radius-s: 10px;
  --maxw: 1080px;
  --font: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(242, 178, 48, 0.28); color: #fff; }
a { color: var(--accent); text-decoration: none; transition: color 0.18s var(--ease); }
a:hover { color: #ffc94d; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.01em; }

/* Layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section.block { padding: 64px 0; }
section.block + section.block { border-top: 1px solid var(--line-soft); }
.narrow { max-width: 760px; margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 15, 20, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; gap: 24px; height: 62px; }
.brand { font-weight: 800; font-size: 18px; color: var(--text); letter-spacing: 0.4px; white-space: nowrap; }
.brand .cam { color: var(--accent); }
.brand:hover { text-decoration: none; color: var(--text); }
.nav-links { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav-links a {
  color: var(--muted); font-size: 14px; font-weight: 500;
  padding: 8px 13px; border-radius: 8px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--card); text-decoration: none; }
.nav-links a.active { color: var(--text); background: var(--card); }
.nav-links a.lang {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 13px; font-size: 13px; margin-left: 8px; font-weight: 600;
}
.nav-links a.lang:hover { border-color: var(--accent); color: var(--accent); background: transparent; }

/* Hero (Persuade surfaces) */
.hero { padding: 88px 0 68px; text-align: center; }
.hero .kicker {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--accent);
  border: 1px solid rgba(242, 178, 48, 0.4); border-radius: 999px;
  padding: 5px 15px; margin-bottom: 22px; letter-spacing: 1.2px; text-transform: uppercase;
  background: var(--accent-soft);
}
.hero h1 { font-size: clamp(32px, 5.6vw, 54px); line-height: 1.22; font-weight: 800; margin-bottom: 18px; }
.hero h1 .hl { color: var(--accent); }
.hero .sub { color: var(--muted); font-size: clamp(16px, 2.4vw, 19px); max-width: 660px; margin: 0 auto 34px; line-height: 1.7; }
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; padding: 14px 32px; border-radius: 999px; font-size: 16px;
  border: none; cursor: pointer; font-family: inherit;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
  box-shadow: 0 2px 14px rgba(242, 178, 48, 0.18);
}
.btn:hover { background: #ffc94d; color: var(--accent-ink); text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(242, 178, 48, 0.28); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--card-hi) 0%, var(--card) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 26px;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
a.card, .card:has(a:hover) { cursor: pointer; }
.grid .card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 178, 48, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.card h3 { font-size: 18px; margin-bottom: 10px; font-weight: 700; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--accent); text-decoration: none; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.card p + p { margin-top: 10px; }
.tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(242, 178, 48, 0.3);
  border-radius: 6px; padding: 3px 9px; margin-bottom: 12px; letter-spacing: 0.3px;
}
.sec-title { font-size: clamp(23px, 3.6vw, 31px); font-weight: 800; margin-bottom: 12px; line-height: 1.3; }
.sec-sub { color: var(--muted); margin-bottom: 34px; max-width: 720px; font-size: 16.5px; }

/* Composition overlay demos */
.overlay-demo {
  background: #05070b; border-radius: var(--radius-s); border: 1px solid var(--line-soft);
  aspect-ratio: 4/3; margin-bottom: 16px; overflow: hidden; position: relative;
}
.why { font-size: 14.5px; color: var(--body); margin-bottom: 8px; line-height: 1.65; }
.why b, .fit b { color: var(--accent); font-weight: 600; }
.fit { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* Checklists */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-s); padding: 15px 20px 15px 52px; font-size: 15px;
  position: relative; line-height: 1.65;
  transition: border-color 0.2s var(--ease);
}
.checklist li:hover { border-color: var(--line); }
.checklist li::before {
  content: "✓"; color: var(--ok); font-weight: 800; font-size: 17px;
  position: absolute; left: 20px; top: 15px;
}

/* Waitlist form — field names/classes are a hard contract, style only */
.waitlist {
  background: linear-gradient(180deg, var(--card-hi) 0%, var(--card) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 40px 36px; text-align: center;
}
.waitlist h2 { font-size: clamp(21px, 3vw, 25px); margin-bottom: 10px; font-weight: 800; }
.waitlist p { color: var(--muted); margin-bottom: 22px; max-width: 520px; margin-left: auto; margin-right: auto; }
.waitlist form { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; flex-wrap: wrap; }
.waitlist input[type="email"], .waitlist input[type="text"]:not(.hp) {
  flex: 1 1 180px; padding: 13px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg2); color: var(--text);
  font-size: 15px; font-family: inherit;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.waitlist input::placeholder { color: var(--faint); }
.waitlist input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242, 178, 48, 0.15); outline: none; }
.waitlist .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.waitlist button[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.waitlist .note { font-size: 13px; color: var(--faint); margin-top: 14px; margin-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); padding: 44px 0 32px; margin-top: 24px; }
.foot-grid { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.foot-grid nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-grid a { color: var(--muted); font-size: 14px; }
.foot-grid a:hover { color: var(--text); }
.copy { color: var(--faint); font-size: 13px; margin-top: 22px; }

/* Article (Read surfaces) */
.article-head { padding: 52px 0 10px; }
.article-head h1 { font-size: clamp(27px, 4.6vw, 39px); line-height: 1.3; font-weight: 800; margin: 14px 0 10px; }
.article-meta { color: var(--faint); font-size: 13.5px; margin-bottom: 6px; letter-spacing: 0.2px; }
.article-body { padding-bottom: 44px; font-size: 16.5px; }
.article-body h2 { font-size: 23px; margin: 42px 0 16px; padding-top: 10px; font-weight: 750; line-height: 1.35; }
.article-body h3 { font-size: 18.5px; margin: 28px 0 12px; font-weight: 700; }
.article-body p { margin-bottom: 17px; color: var(--body); }
.article-body strong { color: var(--text); }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; color: var(--body); }
.article-body li { margin-bottom: 9px; }
.article-body li::marker { color: var(--accent); }
.figure {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 22px; margin: 28px 0; text-align: center;
}
.figure figcaption { color: var(--muted); font-size: 14px; margin-top: 14px; line-height: 1.6; }
.tldr {
  background: var(--accent-soft);
  border: 1px solid rgba(242, 178, 48, 0.22);
  border-left: 3px solid var(--accent);
  padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 26px 0 8px;
  font-size: 16px; line-height: 1.7; color: var(--text);
}
.tldr strong { color: var(--accent); }
.answer { font-size: 16px; }
.next-read { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 44px; }
.next-read a {
  flex: 1 1 220px; background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-s); padding: 18px; color: var(--text);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.next-read a:hover { border-color: rgba(242, 178, 48, 0.4); text-decoration: none; transform: translateY(-2px); }
.next-read small { color: var(--muted); display: block; margin-top: 4px; }

/* FAQ (GEO: visible questions, also mirrored in FAQPage JSON-LD) */
.faq-block { margin: 40px 0 8px; }
.faq-block h2 { font-size: 23px; margin-bottom: 18px; font-weight: 750; }

/* Breadcrumb */
.crumb { font-size: 13px; color: var(--faint); margin-bottom: 8px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }

/* Practice tool (Operate surface) */
.stage-wrap { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; }
.stage { position: relative; width: 100%; aspect-ratio: 4/3; background: #05070b; border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line-soft); }
.stage img#photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage svg#overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.controls { display: grid; gap: 16px; margin-top: 20px; }
.ctl-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ctl-row label { font-size: 12px; font-weight: 600; color: var(--muted); min-width: 84px; letter-spacing: 0.4px; text-transform: uppercase; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button {
  background: var(--bg2); color: var(--text); border: 1px solid var(--line);
  border-radius: 9px; padding: 9px 16px; font-size: 14px; font-weight: 500; cursor: pointer; font-family: inherit;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease), background 0.16s var(--ease), transform 0.12s var(--ease);
}
.seg button:hover { border-color: var(--faint); }
.seg button:active { transform: scale(0.97); }
.seg button.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); font-weight: 600; }
input[type="range"] { flex: 1; min-width: 160px; accent-color: var(--accent); cursor: pointer; }
.filebtn { position: relative; overflow: hidden; }
.filebtn input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.practice-tip { color: var(--muted); font-size: 14.5px; margin-top: 16px; line-height: 1.65; min-height: 24px; }

/* Pricing (Persuade) */
.price-card { text-align: center; position: relative; }
.price { font-size: 46px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; margin: 6px 0 12px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.faq details { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-s); padding: 17px 22px; margin-bottom: 12px; transition: border-color 0.2s var(--ease); }
.faq details[open] { border-color: var(--line); }
.faq summary { cursor: pointer; font-weight: 650; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 400; flex-shrink: 0; transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); font-size: 15px; margin-top: 12px; line-height: 1.7; }

/* Responsive — mobile first at 390px */
@media (max-width: 820px) {
  .grid.c3 { grid-template-columns: 1fr; }
  .grid.c2 { grid-template-columns: 1fr; }
  section.block { padding: 44px 0; }
  .hero { padding: 60px 0 48px; }
  .waitlist { padding: 30px 20px; }
  .waitlist form { flex-direction: column; }
  .waitlist input[type="email"], .waitlist input[type="text"]:not(.hp) { flex: 1 1 auto; width: 100%; }
  .waitlist .btn { width: 100%; }
  .nav { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 8px; row-gap: 4px; }
  .nav-links { margin-left: 0; width: 100%; flex-wrap: wrap; row-gap: 4px; }
  .nav-links a { padding: 8px 10px; font-size: 13px; }
  .nav-links a.lang { margin-left: auto; }
  .brand { font-size: 16px; }
  .article-head { padding: 34px 0 8px; }
  .article-body { font-size: 16px; }
  .stage-wrap { padding: 14px; }
  .figure { padding: 14px; }
  .figure svg { max-height: 72vw; }
  .price { font-size: 38px; }
  .ctl-row label { min-width: 0; }
  .checklist li { padding: 14px 16px 14px 46px; }
  .checklist li::before { left: 16px; top: 14px; }
  .card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .grid .card:hover, .btn:hover, .next-read a:hover { transform: none; }
}
