/* ─── Lico Design System ─────────────────────────────────────── */
:root {
  --c-black:   #1d1d1f;
  --c-gray:    #6e6e73;
  --c-light:   #aeaeb2;
  --c-bg:      #f5f5f7;
  --c-white:   #ffffff;
  --c-blue:    #0071e3;
  --c-blue-hv: #0077ed;
  --c-purple:  #7850ff;
  --c-green:   #30d158;
  --c-orange:  #ff9500;
  --c-divider: rgba(0,0,0,0.07);
  --nav-h:     52px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 2px 20px rgba(0,0,0,0.07);
  --shadow-hover: 0 20px 50px rgba(0,0,0,0.11);
  --ease-out: cubic-bezier(0.16,1,0.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--c-white);
  color: var(--c-black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Typography ───────────────────────────────────────────────── */
.t-display {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--c-black);
}
.t-headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--c-black);
}
.t-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-black);
}
.t-body {
  font-size: 17px;
  color: var(--c-gray);
  line-height: 1.65;
}
.t-small {
  font-size: 13px;
  color: var(--c-gray);
  line-height: 1.5;
}
.t-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-blue);
}

/* ─── Layout ───────────────────────────────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 24px; }
.section-sm { padding: 64px 24px; }
.section-dark { background: #000; color: #fff; }
.section-gray { background: var(--c-bg); }
.text-center { text-align: center; }

/* ─── Nav ──────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 0 rgba(0,0,0,0.09);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 700; color: var(--c-black); letter-spacing: -0.02em;
}
.nav-logo svg { flex-shrink: 0; }
.nav-links {
  display: none;
  gap: 28px; align-items: center;
}
.nav-links a {
  font-size: 13px; color: var(--c-gray);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--c-black); }
@media (min-width: 768px) { .nav-links { display: flex; } }

/* ─── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500; padding: 11px 22px;
  border-radius: 999px; cursor: pointer; border: none;
  transition: transform 0.2s var(--ease-out), opacity 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: scale(1.025); }
.btn-primary { background: var(--c-blue); color: #fff; }
.btn-primary:hover { background: var(--c-blue-hv); }
.btn-outline { background: transparent; color: var(--c-blue); border: 1.5px solid var(--c-blue); }
.btn-outline:hover { background: rgba(0,113,227,0.06); }
.btn-white { background: #fff; color: var(--c-black); }
.btn-white:hover { opacity: 0.88; }
.btn-sm { font-size: 13px; padding: 8px 18px; }
.btn-lg { font-size: 17px; padding: 14px 30px; }

/* ─── Badge ────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}
.badge-blue   { background: rgba(0,113,227,0.1);  color: var(--c-blue);   }
.badge-purple { background: rgba(120,80,255,0.1); color: var(--c-purple); }
.badge-green  { background: rgba(48,209,88,0.12); color: var(--c-green);  }
.badge-orange { background: rgba(255,149,0,0.12); color: var(--c-orange); }
.badge-gray   { background: var(--c-bg);          color: var(--c-gray);   }
.badge-dot::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  display: inline-block;
}

/* ─── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--c-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card-white {
  background: var(--c-white);
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: var(--shadow-card);
}
.card-dark {
  background: linear-gradient(145deg, #1c1c1e, #2a2a2e);
  border: 1px solid rgba(255,255,255,0.06);
}
.card-dashed {
  background: var(--c-white);
  border: 1.5px dashed #d1d1d6;
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* ─── Icon box ─────────────────────────────────────────────────── */
.icon-box {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-box-blue   { background: rgba(0,113,227,0.1); }
.icon-box-purple { background: rgba(120,80,255,0.1); }
.icon-box-green  { background: rgba(48,209,88,0.1); }
.icon-box-orange { background: rgba(255,149,0,0.1); }
.icon-box-red    { background: rgba(255,59,48,0.1); }

/* ─── Section header ───────────────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header .t-label { margin-bottom: 12px; }
.section-header .t-headline { margin-bottom: 16px; }

/* ─── Reveal animations ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-scale {
  opacity: 0; transform: scale(0.95);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }

/* ─── Grids ────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

/* ─── Divider ──────────────────────────────────────────────────── */
hr.divider { border: none; border-top: 1px solid var(--c-divider); }

/* ─── Footer ───────────────────────────────────────────────────── */
.footer {
  background: #000; color: var(--c-gray);
  padding: 52px 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-grid {
  display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; margin-bottom: 44px;
}
.footer-brand { max-width: 260px; }
.footer-brand p { font-size: 13px; color: #636366; line-height: 1.7; margin-top: 10px; }
.footer-nav-group { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.footer-col a {
  display: block; font-size: 13px; color: #636366; margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center;
}
.footer-bottom span { font-size: 12px; color: #3a3a3c; }

/* ─── Marquee ──────────────────────────────────────────────────── */
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-outer { overflow: hidden; }
.marquee-track { display: flex; gap: 48px; width: max-content; align-items: center; animation: marquee 28s linear infinite; }
.marquee-outer:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--c-light); white-space: nowrap;
}
.marquee-dot { width: 3px; height: 3px; border-radius: 50%; background: #d1d1d6; flex-shrink: 0; }

/* ─── Glow ─────────────────────────────────────────────────────── */
.glow {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.glow-purple { background: radial-gradient(circle, rgba(120,80,255,0.13) 0%, transparent 70%); }
.glow-blue   { background: radial-gradient(circle, rgba(0,113,227,0.10) 0%, transparent 70%); }

/* ─── Step indicator ───────────────────────────────────────────── */
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-blue); color: #fff;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ─── Misc ─────────────────────────────────────────────────────── */
.pt-nav { padding-top: var(--nav-h); }
.gap-3  { gap: 12px; }
.gap-4  { gap: 16px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
