/* Long Pui CCTV Proposal — static site */
:root {
  --navy: #0b1626;
  --navy-2: #12233c;
  --ink: #1c2733;
  --muted: #5b6b7c;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --accent: #0e7fd8;
  --accent-dark: #0a66b0;
  --accent-soft: #e3f1fc;
  --cyan: #22c8e5;
  --warn-bg: #fff7e8;
  --warn-line: #f0c36d;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(11, 22, 38, 0.06);
  --shadow-lg: 0 10px 30px rgba(11, 22, 38, 0.12);
}

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

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang HK", "PingFang TC",
    "Microsoft JhengHei", "Noto Sans TC", "Noto Sans HK", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow {
  max-width: 640px;
}

img,
svg {
  vertical-align: middle;
}
a {
  color: var(--accent);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 22, 38, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
}
.brand-mark {
  border-radius: 9px;
}
.brand small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: #9db2c7;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  color: #cfdcec;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.15s;
}
.site-nav a:hover {
  color: #fff;
}
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-cta:hover {
  background: var(--accent-dark);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  color: #fff;
  background:
    radial-gradient(
      900px 420px at 85% -10%,
      rgba(34, 200, 229, 0.18),
      transparent 60%
    ),
    radial-gradient(
      700px 380px at 10% 110%,
      rgba(14, 127, 216, 0.22),
      transparent 60%
    ),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 84px 0 64px;
}
.hero-kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  border: 1px solid rgba(34, 200, 229, 0.4);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.hero-sub {
  margin-top: 14px;
  font-size: clamp(16px, 2.4vw, 20px);
  color: #b9c9da;
}
.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-points {
  margin-top: 48px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 16px;
}
.point-ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(34, 200, 229, 0.14);
  color: var(--cyan);
  font-weight: 800;
  font-size: 15px;
}
.point strong {
  display: block;
  font-size: 15px;
}
.point span {
  display: block;
  font-size: 13.5px;
  color: #a8bacd;
}

/* ---------- Notice bar ---------- */
.notice-bar {
  background: var(--accent-soft);
  color: var(--accent-dark);
  text-align: center;
  font-size: 14px;
  padding: 10px 20px;
  border-bottom: 1px solid #cfe6f8;
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-title {
  font-size: clamp(24px, 3.4vw, 32px);
  margin-bottom: 16px;
}
.section-title.light {
  color: #fff;
}
.section-lead {
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 36px;
}
.section-lead.light {
  color: #b9c9da;
}
.sub-title {
  font-size: 20px;
  margin: 48px 0 18px;
}

.grid-2 {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.5fr 1fr;
  align-items: start;
}
.grid-2 h3 {
  margin: 28px 0 12px;
  font-size: 19px;
}
.grid-2 p + p {
  margin-top: 14px;
}
.grid-2 p {
  color: #37475a;
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.why-card {
  padding: 28px;
  position: sticky;
  top: 88px;
}
.why-card h3 {
  margin-bottom: 14px;
  font-size: 19px;
}
.why-card .btn {
  margin-top: 22px;
}

.check-list {
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #37475a;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 16px;
  transition: all 0.15s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.btn-ghost {
  color: #cfdcec;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.btn-block {
  display: block;
  text-align: center;
}

/* ---------- Packages ---------- */
.packages {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.pkg {
  padding: 26px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pkg h3 {
  font-size: 19px;
}
.pkg-scene {
  color: var(--muted);
  font-size: 13.5px;
  margin: 4px 0 16px;
}
.pkg ul {
  list-style: none;
  flex: 1;
  margin-bottom: 20px;
}
.pkg ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 14.5px;
  border-top: 1px dashed var(--line);
}
.pkg ul li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--accent);
}
.pkg-price {
  font-size: 21px;
  font-weight: 800;
  color: var(--navy);
}
.pkg-note {
  font-size: 12.5px;
  color: var(--muted);
}
.pkg.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
}
.pkg-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
}

.components {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.comp {
  padding: 18px;
}
.comp strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}
.comp span {
  font-size: 13.5px;
  color: var(--muted);
}

.fineprint {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- AI ---------- */
.ai-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.ai-item {
  padding: 24px;
}
.ai-item h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}
.ai-item p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 14px;
}
.tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 3px 10px;
  border-radius: 999px;
}
.brand-note {
  background: var(--navy);
  border-color: var(--navy);
}
.brand-note h3 {
  color: var(--cyan);
}
.brand-note p {
  color: #b9c9da;
  margin-bottom: 0;
}

.split-panel {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.4fr 1fr;
  margin-top: 28px;
}
.panel {
  padding: 26px;
}
.panel h3 {
  margin-bottom: 14px;
  font-size: 18px;
}
.warn-panel {
  background: var(--warn-bg);
  border-color: var(--warn-line);
}
.warn-panel p {
  font-size: 14.5px;
  color: #6b5320;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.step {
  padding: 24px 20px;
}
.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Support ---------- */
.support-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.support-item {
  padding: 24px;
  border-top: 3px solid var(--accent);
}
.support-item strong {
  display: block;
  margin-bottom: 8px;
}
.support-item span {
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.narrow-wide {
  max-width: 780px;
}
.faq-item {
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 48px 18px 22px;
  font-weight: 600;
  font-size: 16px;
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}
.faq-item p {
  padding: 16px 22px 20px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Contact ---------- */
.section-dark {
  background:
    radial-gradient(
      800px 400px at 90% 0%,
      rgba(34, 200, 229, 0.15),
      transparent 60%
    ),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.contact-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  margin-top: 8px;
}
.contact-card h3 {
  margin-bottom: 18px;
  font-size: 20px;
}
.contact-en {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.contact-card ul {
  list-style: none;
  margin-bottom: 24px;
}
.contact-card li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.contact-card li:last-child {
  border-bottom: 0;
}
.contact-card li span {
  flex: none;
  width: 110px;
  color: var(--muted);
  font-size: 14px;
}
.todo {
  color: #b45309;
  background: var(--warn-bg);
  padding: 0 6px;
  border-radius: 4px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #081120;
  color: #7d90a5;
  font-size: 13px;
  padding: 28px 0;
  line-height: 1.8;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-2,
  .split-panel {
    grid-template-columns: 1fr;
  }
  .why-card {
    position: static;
  }
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 20px;
    gap: 14px;
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .site-nav.open {
    display: flex;
  }
  .nav-cta {
    padding: 10px 18px;
  }
  .hero {
    padding: 60px 0 48px;
  }
  .section {
    padding: 52px 0;
  }
}
