/* ============================================================
   IZ行銷倉 · Theme CSS · Light Teal
   ============================================================ */

:root {
  --teal:        #00B8B8;
  --teal-dark:   #007F8C;
  --teal-deep:   #005F73;
  --teal-mid:    #00A0A0;
  --sky:         #4DD9D9;
  --sky-light:   #A8F0F0;
  --bg-base:     #EAEFEC;
  --bg-alt:      #DFE7E3;
  --bg-card:     #FFFFFF;
  --white:       #FFFFFF;
  --text:        #1A3A4A;
  --text-muted:  #3D6B78;
  --glow:        0 1px 2px rgba(15,70,75,.05), 0 10px 28px rgba(15,70,75,.09);
  --line:        rgba(18,80,85,.13);
  --display:     "Bahnschrift SemiCondensed", "Arial Narrow", "Microsoft JhengHei", sans-serif;
  --text-font:   "Microsoft JhengHei", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }

body {
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--text-font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* scanline overlay */
body::after {
  content: '';
  pointer-events: none;
  position: fixed; inset: 0;
  background: repeating-linear-gradient(0deg,transparent,transparent 3px,rgba(0,0,0,.006) 3px,rgba(0,0,0,.006) 4px);
  z-index: 9999;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--teal); color: var(--white); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .wrap { padding: 0 20px; } }

/* ── pixel 按鈕 ── */
.px-btn {
  display: inline-block;
  font-family: var(--text-font);
  font-weight: 900;
  font-size: 1rem;
  padding: 14px 32px;
  background: var(--teal);
  color: var(--white);
  border: none;
  cursor: pointer;
  clip-path: polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px));
  transition: transform .1s, box-shadow .1s;
  text-decoration: none;
  letter-spacing: .05em;
}
.px-btn:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--teal-dark); }
.px-btn:active { transform: translate(1px,1px); box-shadow: none; }
.px-btn-lg { font-size: 1.05rem; padding: 16px 38px; }
.px-btn-outline {
  background: transparent;
  color: var(--teal-dark);
  border: 3px solid var(--teal);
  clip-path: none;
  padding: 11px 28px;
}
.px-btn-outline:hover { background: rgba(0,184,184,.08); box-shadow: 3px 3px 0 var(--teal-dark); }

/* ── 區塊標頭 ── */
.section-head { text-align: left; margin-bottom: 66px; max-width: 780px; }
.section-label {
  font-family: var(--display);
  font-size: .75rem;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: .75;
}
.section-title {
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--text);
  line-height: 1.14;
  letter-spacing: -.01em;
}
.section-sub {
  color: var(--text-muted);
  margin-top: 14px;
  font-size: .95rem;
}

/* ── 點點背景 ── */
.dot-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(0,184,184,.18) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ── pixel 卡角落 ── */
.corner { position: absolute; width: 8px; height: 8px; background: var(--teal-dark); }
.corner.tl { top: 0; left: 0; }
.corner.tr { top: 0; right: 0; }
.corner.bl { bottom: 0; left: 0; }
.corner.br { bottom: 0; right: 0; }

/* pixel 進度條 */
.px-progress-wrap { margin-top: 14px; background: rgba(0,184,184,.15); height: 6px; border-radius: 0; overflow: hidden; }
.px-progress-fill { height: 100%; background: var(--teal); transition: width 1s ease; }

/* SVG pixel icon */
.pxi { fill: var(--teal-dark); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}
