/* Wayne AI — 網站製作服務頁；沿用主官網、Marketing、Enterprise 視覺語言 */
:root {
  --ink: #0f1729; --ink-deep: #0a1121; --ink-darker: #070d19; --panel: #111a2c;
  --brand: #2f6bff; --brand-dark: #1f4fd8; --brand-soft: #1f3d8f;
  --bg: #f4f5f7; --card: #fff; --line: #e4e7ec; --muted: #5c6779; --muted-2: #8a94a6;
  --on-dark: #b9c3d6; --on-dark-2: #8fa4cc; --on-dark-3: #7f8da8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Noto Sans TC", "Space Grotesk", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
.page { width: 100%; overflow-x: hidden; }
.wrap { max-width: 1180px; margin: 0 auto; }
.section { padding: clamp(72px, 10vh, 116px) clamp(20px, 6vw, 80px); scroll-margin-top: 80px; }
.section--light { background: var(--bg); }
.section--white { background: #fff; }
.section--dark { background: var(--ink-deep); color: #fff; }
.h2 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; letter-spacing: -.01em; line-height: 1.32; text-wrap: balance; }
.lede { margin: 16px 0 0; max-width: 680px; color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.95; font-weight: 300; text-wrap: pretty; }
.title-offset { margin-top: 22px; }
.note { margin: 20px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(47,107,255,.08); color: #9fb3e0; font-size: 12px; letter-spacing: .08em; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #4f8cff; flex-shrink: 0; }
.eyebrow--light { border-color: #d6ddea; background: rgba(47,107,255,.07); color: var(--brand-soft); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(16px, 4vw, 56px); background: rgba(10,17,33,.86); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-brand { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; white-space: nowrap; }
.nav-brand:hover { color: #fff; }
.nav-brand img { width: 34px; height: 34px; border-radius: 9px; display: block; object-fit: cover; }
.nav-brand .stack { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand .n1 { font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.nav-brand .n2 { color: #7d8ba6; font-size: 10px; letter-spacing: .22em; }
.nav-actions { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 24px); min-width: 0; }
.nav-link { color: #c3cbdb; font-size: 14px; white-space: nowrap; }
.nav-link:hover, .nav-link--active { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 30px; border-radius: 10px; font-size: 16px; font-weight: 500; text-align: center; transition: transform .25s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.btn--sm { padding: 10px 20px; border-radius: 8px; font-size: 14px; }
.btn--primary { color: #fff; background: var(--brand); box-shadow: 0 8px 20px rgba(15,23,41,.28); }
.btn--primary:hover { color: #fff; background: var(--brand-dark); transform: translateY(-2px); }
.btn--ghost { color: #fff; border: 1px solid rgba(255,255,255,.26); }
.btn--ghost:hover { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.btn--outline { color: var(--brand); border: 1px solid #ccd5e6; background: #fff; }
.btn--outline:hover { color: var(--brand-dark); border-color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(128px, 16vh, 190px) clamp(20px, 6vw, 80px) clamp(84px, 11vh, 120px); color: #fff; background: var(--ink-deep); }
.hero::after { content: ""; position: absolute; top: -180px; right: -140px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,255,.2), rgba(47,107,255,0) 68%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: clamp(36px, 6vw, 76px); align-items: center; }
.hero h1 { margin: 26px 0 0; max-width: 760px; font-size: clamp(36px, 5.4vw, 66px); line-height: 1.15; font-weight: 900; letter-spacing: -.015em; text-wrap: balance; }
.hero .sub { margin: 25px 0 0; max-width: 680px; color: var(--on-dark); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.95; font-weight: 300; text-wrap: pretty; }
.hero-panel { border: 1px solid rgba(255,255,255,.14); border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.browser-bar { height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 14px; color: #71809d; background: #182238; border-bottom: 1px solid rgba(255,255,255,.08); }
.browser-bar > span { width: 8px; height: 8px; border-radius: 50%; background: #3c4761; }
.browser-bar div { margin-left: 8px; min-width: 0; flex: 1; padding: 5px 10px; border-radius: 6px; background: #111a2c; font-size: 11px; }
.hero-panel-body { padding: clamp(28px, 4vw, 42px); }
.hero-panel-label { color: #7fa6ff; font-family: "Space Grotesk", sans-serif; font-size: 12px; letter-spacing: .14em; }
.hero-panel strong { display: block; margin-top: 16px; font-size: clamp(23px, 2.5vw, 34px); line-height: 1.45; }
.hero-panel p { margin: 18px 0 0; color: #94a2bd; font-size: 14px; line-height: 1.9; font-weight: 300; }

/* Services */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.price-card { min-width: 0; padding: 30px 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.price-card--primary { border-color: #b9caf2; box-shadow: inset 3px 0 0 var(--brand); }
.card-num { color: var(--brand); font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.price-card h3 { margin: 18px 0 0; font-size: 20px; }
.price { margin-top: 22px; font-family: "Space Grotesk", "Noto Sans TC", sans-serif; font-size: clamp(28px, 3vw, 38px); font-weight: 700; }
.price span { color: var(--muted); font-family: "Noto Sans TC", sans-serif; font-size: 14px; font-weight: 500; }
.price-card p { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; font-weight: 300; }

/* Types */
.types { padding: 34px clamp(20px, 6vw, 80px); background: #fff; border-block: 1px solid var(--line); }
.types-inner { display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; align-items: center; }
.types h2 { margin: 0; font-size: 16px; white-space: nowrap; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: #1f2937; font-size: 13px; }
.types p { grid-column: 2; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }

/* Deliverables */
.section--dark .lede { color: #a8b4cc; }
.deliverable-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 42px; }
.deliverable { min-width: 0; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: var(--panel); }
.deliverable span { display: block; color: #7fa6ff; font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.deliverable b { display: block; margin-top: 10px; color: #e6ecf9; font-size: 15px; line-height: 1.7; font-weight: 500; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 38px; }
.detail-card { padding: clamp(24px, 4vw, 34px); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: linear-gradient(120deg, rgba(47,107,255,.13), rgba(47,107,255,.02)), var(--panel); }
.detail-card h3 { margin: 0; font-size: 20px; }
.detail-card p { margin: 16px 0 0; color: var(--on-dark); font-size: 14px; line-height: 1.95; font-weight: 300; }
.detail-card small { display: block; margin-top: 14px; color: var(--on-dark-2); font-size: 12px; line-height: 1.8; }

/* Works */
.section--works { color: #fff; background: radial-gradient(900px 420px at 50% -10%, rgba(47,107,255,.22), rgba(47,107,255,0) 70%), var(--ink-darker); }
.works-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.works-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 28px); margin-top: 46px; }
.work-card { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; color: #fff; background: var(--panel); transition: transform .25s ease, border-color .25s ease; }
.work-card:hover { color: #fff; transform: translateY(-5px); border-color: rgba(79,140,255,.65); }
.work-media { aspect-ratio: 16/9; overflow: hidden; background: #131c30; }
.work-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; }
.work-media--brand img { object-position: center; }
.work-copy { padding: 22px 24px 26px; }
.work-copy span { color: #7fa6ff; font-size: 12px; letter-spacing: .06em; }
.work-copy h3 { margin: 10px 0 0; font-size: 20px; }
.work-copy p { margin: 12px 0 0; color: #94a2bd; font-size: 14px; line-height: 1.85; font-weight: 300; }

/* Process */
.process-list { margin: 42px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.process-list li { min-width: 0; padding: 22px; border: 1px solid #dbe3f2; border-radius: 12px; background: rgba(47,107,255,.04); color: var(--ink); font-size: 15px; line-height: 1.75; }
.process-list span { display: block; margin-bottom: 8px; color: var(--brand); font-family: "Space Grotesk", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .12em; }

/* Content plan + CTA */
.content-plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr); gap: clamp(30px, 6vw, 72px); align-items: center; }
.plan-card { padding: clamp(26px, 4vw, 38px); border: 1px solid #b9caf2; border-radius: 18px; background: var(--bg); box-shadow: inset 3px 0 0 var(--brand); }
.plan-price { font-family: "Space Grotesk", "Noto Sans TC", sans-serif; font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.plan-price span { color: var(--muted); font-family: "Noto Sans TC", sans-serif; font-size: 15px; font-weight: 500; }
.plan-card p { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; font-weight: 300; }
.plan-card .btn { margin-top: 24px; }
.cta { text-align: center; }
.cta .lede { margin-inline: auto; }
.cta .btn-row { justify-content: center; }

/* Footer + motion */
.footer { padding: 44px clamp(20px, 6vw, 80px); color: #8a97b0; background: var(--ink-darker); }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; display: block; object-fit: cover; }
.footer-brand span { color: #c3cbdb; font-family: "Space Grotesk", sans-serif; font-size: 14px; letter-spacing: .06em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; }
.footer-link { color: #8a97b0; }
.footer-link:hover { color: #fff; }
.footer-copy { color: #5d6b86; font-size: 12px; }
[data-reveal] { transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-pending { opacity: 0; transform: translateY(22px); }

@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
@media (max-width: 820px) {
  .nav-link { display: none; }
  .price-grid, .deliverable-grid, .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .btn { width: 100%; }
  .btn--sm { width: auto; }
  .price-grid, .deliverable-grid, .detail-grid, .works-grid, .process-list, .content-plan { grid-template-columns: minmax(0, 1fr); }
  .types-inner { grid-template-columns: minmax(0, 1fr); }
  .types p { grid-column: 1; }
  .hero-panel-body { padding: 26px 22px 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal].is-pending { opacity: 1; transform: none; }
}
