/* fde.com.hk — shared styles */
:root {
  --bg: #ffffff;
  --bg2: #f4f6fb;
  --card: #ffffff;
  --ink: #111318;
  --muted: #5a6478;
  --accent: #2563eb;
  --accent2: #0e9f6e;
  --line: #e3e8f0;
  --radius: 16px;
  --max: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang HK", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  background: radial-gradient(1200px 700px at 80% -10%, #eef3ff 0%, var(--bg) 55%);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* nav */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: .5px; color: var(--ink); }
.brand span { color: var(--accent); }
.nav nav a { color: var(--muted); margin-left: 22px; font-size: 15px; font-weight: 600; }
.nav nav a:hover { color: var(--ink); }

/* hero */
.hero { padding: 88px 0 64px; text-align: center; }
.badge {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent2); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 16px; margin-bottom: 22px; background: rgba(34,211,166,.06);
}
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.2; font-weight: 850; letter-spacing: -.5px; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--muted); font-size: clamp(16px, 2.4vw, 20px); max-width: 760px; margin: 22px auto 0; }
.cta-row { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; font-weight: 700; font-size: 16px; padding: 14px 28px;
  border-radius: 12px; border: 1px solid transparent; cursor: pointer; transition: transform .12s ease, opacity .12s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(90deg, var(--accent), #6aa0ff); color: #041027; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }

/* sections */
section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 { font-size: clamp(24px, 3.6vw, 36px); font-weight: 820; letter-spacing: -.3px; }
.section-title p { color: var(--muted); margin-top: 12px; font-size: 17px; }
.kicker { color: var(--accent2); font-weight: 700; letter-spacing: 1px; font-size: 13px; text-transform: uppercase; }

/* grid cards */
.grid { display: grid; gap: 20px; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--card), var(--bg2));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card .ic { font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 19px; font-weight: 750; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* pain vs solution */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pane { border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.pane.bad { background: rgba(239,68,68,.05); border-color: rgba(239,68,68,.28); }
.pane.good { background: rgba(34,211,166,.05); border-color: rgba(34,211,166,.30); }
.pane h3 { font-size: 18px; margin-bottom: 16px; }
.pane ul { list-style: none; }
.pane li { padding: 9px 0 9px 30px; position: relative; color: var(--ink); font-size: 15.5px; border-bottom: 1px dashed var(--line); }
.pane li:last-child { border-bottom: none; }
.pane.bad li::before { content: "✕"; position: absolute; left: 0; color: #ef4444; font-weight: 800; }
.pane.good li::before { content: "✓"; position: absolute; left: 0; color: var(--accent2); font-weight: 800; }

/* steps */
.steps { counter-reset: s; display: grid; gap: 18px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.step .num { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #041027; background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* cta band */
.cta-band { text-align: center; background: linear-gradient(120deg, #eef3ff, #f4f6fb); border: 1px solid var(--line); border-radius: 22px; padding: 54px 26px; }
.cta-band h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 820; }
.cta-band p { color: var(--muted); margin: 14px auto 0; max-width: 640px; }
.contact-list { list-style: none; margin: 28px auto 0; display: inline-flex; flex-direction: column; gap: 10px; text-align: left; }
.contact-list li { font-size: 16px; color: var(--ink); }
.contact-list b { color: var(--muted); font-weight: 600; display: inline-block; min-width: 96px; }

/* price hint */
.price { text-align: center; font-size: 18px; color: var(--muted); }
.price b { color: var(--accent2); font-size: 22px; }

footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 14px; text-align: center; }

@media (max-width: 820px) {
  .grid.g3, .grid.g2, .compare { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .hero { padding: 60px 0 40px; }
}
