/* ============================================================
 * Doseclaw 爪藥皇 — global.css (v3)
 * Palette: green primary + orange accent
 * ============================================================ */

:root {
  --dc-primary: #0B3D2E;
  --dc-primary-2: #155E40;
  --dc-green: #1FA67A;
  --dc-green-2: #3CC295;
  --dc-accent: #FF6B1A;
  --dc-accent-2: #FF8A45;
  --dc-ink: #0E1B16;
  --dc-ink-2: #3A4A43;
  --dc-mute: #6B7C75;
  --dc-line: #E5E7E1;
  --dc-bg: #FAFAF7;
  --dc-bg-2: #F2F3EE;
  --dc-white: #FFFFFF;
  --dc-radius: 14px;
  --dc-radius-lg: 22px;
  --dc-shadow: 0 8px 24px rgba(11, 61, 46, .08);
  --dc-shadow-lg: 0 20px 60px rgba(11, 61, 46, .14);
  --dc-fz-h1: clamp(2.2rem, 4.5vw, 3.6rem);
  --dc-fz-h2: clamp(1.6rem, 2.8vw, 2.4rem);
  --dc-fz-h3: clamp(1.2rem, 1.8vw, 1.5rem);
  --dc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Noto Sans SC", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--dc-font); color: var(--dc-ink); background: var(--dc-bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dc-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--dc-green); }
h1, h2, h3, h4 { color: var(--dc-primary); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }

.dc-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.dc-section { padding: 72px 0; }
.dc-section__h2 { font-size: var(--dc-fz-h2); text-align: center; margin: 0 0 48px; }

/* ============ Hero ============ */
.dc-hero { padding: 80px 24px 60px; max-width: 1280px; margin: 0 auto; }
.dc-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.dc-hero__text h1 { font-size: var(--dc-fz-h1); margin: 0 0 18px; letter-spacing: -.02em; font-weight: 800; }
.dc-hero__text p.lead { font-size: 1.15rem; color: var(--dc-ink-2); max-width: 580px; margin: 0 0 28px; }
.dc-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.dc-hero__img img { border-radius: var(--dc-radius-lg); box-shadow: var(--dc-shadow-lg); }
.dc-lightbox-link { display: block; width: 100%; height: 100%; cursor: zoom-in; color: inherit; }
.dc-lightbox-link:hover { color: inherit; }
.dc-hero--inner { padding-top: 60px; padding-bottom: 40px; }
@media (max-width: 900px) { .dc-hero__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============ Buttons ============ */
.dc-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  background: linear-gradient(135deg, var(--dc-accent), var(--dc-accent-2));
  color: #fff; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.dc-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 107, 26, .32); color: #fff; }
.dc-cta-btn--lg { padding: 14px 26px; font-size: 1rem; }
.dc-cta-btn--ghost { background: transparent; border: 1.5px solid var(--dc-primary); color: var(--dc-primary); }
.dc-cta-btn--ghost:hover { background: var(--dc-primary); color: #fff; }

/* ============ Stats ============ */
.dc-stats { padding: 56px 0; background: linear-gradient(180deg, var(--dc-bg) 0%, var(--dc-bg-2) 100%); }
.dc-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.dc-stats__item { text-align: center; padding: 24px 16px; background: #fff; border-radius: var(--dc-radius); box-shadow: var(--dc-shadow); }
.dc-stats__value { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; color: var(--dc-accent); line-height: 1; }
.dc-stats__label { font-size: .95rem; color: var(--dc-ink-2); margin-top: 8px; font-weight: 500; }
.dc-stats__note { font-size: .8rem; color: var(--dc-mute); margin-top: 4px; }

/* ============ Feature grid ============ */
.dc-feature-grid__items { display: grid; grid-template-columns: repeat(var(--dc-cols, 3), 1fr); gap: 28px; }
.dc-feature { background: #fff; border-radius: var(--dc-radius); padding: 28px 24px; box-shadow: var(--dc-shadow); border-top: 4px solid var(--dc-green); transition: transform .25s, box-shadow .25s; }
.dc-feature:hover { transform: translateY(-4px); box-shadow: var(--dc-shadow-lg); border-top-color: var(--dc-accent); }
.dc-feature__icon { font-size: 2rem; margin-bottom: 10px; }
.dc-feature__title { font-size: var(--dc-fz-h3); margin: 0 0 10px; color: var(--dc-primary); }
.dc-feature__text { color: var(--dc-ink-2); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .dc-feature-grid__items { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dc-feature-grid__items { grid-template-columns: 1fr; } }

/* ============ Callout ============ */
.dc-callout__box { background: linear-gradient(135deg, var(--dc-primary), var(--dc-primary-2)); color: #fff; padding: 40px 36px; border-radius: var(--dc-radius-lg); box-shadow: var(--dc-shadow-lg); position: relative; overflow: hidden; }
.dc-callout__box::before { content: ""; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255, 107, 26, .25), transparent 70%); }
.dc-callout__h { color: #fff; margin: 0 0 12px; font-size: var(--dc-fz-h3); }
.dc-callout__t { margin: 0; font-size: 1rem; opacity: .92; max-width: 880px; }

/* ============ CTA ============ */
.dc-cta__box { background: #fff; border: 2px solid var(--dc-green-2); border-radius: var(--dc-radius-lg); padding: 48px 36px; text-align: center; box-shadow: var(--dc-shadow); }
.dc-cta__h { font-size: var(--dc-fz-h2); margin: 0 0 12px; }
.dc-cta__t { color: var(--dc-ink-2); margin: 0 0 24px; }

/* ============ Solution card ============ */
.dc-solcard__row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: #fff; border-radius: var(--dc-radius-lg); padding: 32px; box-shadow: var(--dc-shadow); }
.dc-solcard:nth-child(even) .dc-solcard__row { direction: rtl; }
.dc-solcard:nth-child(even) .dc-solcard__row > * { direction: ltr; }
.dc-solcard__img img { border-radius: var(--dc-radius); box-shadow: var(--dc-shadow); }
.dc-solcard__h { font-size: var(--dc-fz-h3); margin: 0 0 12px; color: var(--dc-primary); }
.dc-solcard__t { color: var(--dc-ink-2); margin: 0 0 16px; }
.dc-solcard__list { list-style: none; padding: 0; margin: 0; }
.dc-solcard__list li { padding: 8px 0 8px 28px; position: relative; color: var(--dc-ink); border-bottom: 1px dashed var(--dc-line); }
.dc-solcard__list li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--dc-green); font-weight: 700; }
.dc-solcard__list li:last-child { border-bottom: 0; }
@media (max-width: 800px) { .dc-solcard__row { grid-template-columns: 1fr; gap: 24px; padding: 24px; } .dc-solcard:nth-child(even) .dc-solcard__row { direction: ltr; } }

/* ============ Steps ============ */
.dc-steps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.dc-step { background: #fff; border-radius: var(--dc-radius); padding: 28px 22px 22px; box-shadow: var(--dc-shadow); position: relative; transition: transform .25s; }
.dc-step:hover { transform: translateY(-4px); }
.dc-step__num { position: absolute; top: -16px; left: 22px; width: 36px; height: 36px; background: var(--dc-accent); color: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1rem; box-shadow: 0 4px 12px rgba(255, 107, 26, .35); }
.dc-step__img { margin: 6px 0 12px; }
.dc-step__img img { border-radius: 10px; }
.dc-step__h { font-size: 1.05rem; margin: 8px 0 6px; color: var(--dc-primary); }
.dc-step__t { font-size: .9rem; color: var(--dc-ink-2); margin: 0; }

/* ============ Capacity table ============ */
.dc-captbl__wrap { background: #fff; border-radius: var(--dc-radius-lg); padding: 24px; box-shadow: var(--dc-shadow); overflow-x: auto; }
.dc-captbl__table { width: 100%; border-collapse: collapse; }
.dc-captbl__table th, .dc-captbl__table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--dc-line); }
.dc-captbl__table th { color: var(--dc-primary); background: var(--dc-bg-2); font-weight: 600; width: 30%; }
.dc-captbl__table tr:last-child th, .dc-captbl__table tr:last-child td { border-bottom: 0; }
.dc-captbl__note { color: var(--dc-mute); font-size: .85rem; }

/* ============ Usecase ============ */
.dc-usecase__card { display: grid; grid-template-columns: 1fr 1.4fr; gap: 36px; background: #fff; border-radius: var(--dc-radius-lg); overflow: hidden; box-shadow: var(--dc-shadow); transition: box-shadow .25s, transform .25s; }
.dc-usecase__card:hover { box-shadow: var(--dc-shadow-lg); transform: translateY(-2px); }
.dc-usecase__img { background: var(--dc-bg-2); }
.dc-usecase__img .dc-lightbox-link { height: 100%; }
.dc-usecase__img img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.dc-usecase__body { padding: 32px 32px 28px 0; }
.dc-usecase__kicker { color: var(--dc-accent); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.dc-usecase__h { font-size: var(--dc-fz-h3); margin: 8px 0 12px; color: var(--dc-primary); }
.dc-usecase__t { color: var(--dc-ink-2); margin: 0 0 18px; }
.dc-usecase__metrics { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; border-top: 1px dashed var(--dc-line); padding-top: 16px; }
.dc-usecase__metrics li { display: flex; flex-direction: column; }
.dc-usecase__metrics .k { font-size: .78rem; color: var(--dc-mute); text-transform: uppercase; letter-spacing: .04em; }
.dc-usecase__metrics .v { font-size: 1rem; color: var(--dc-primary); font-weight: 700; }
@media (max-width: 800px) { .dc-usecase__card { grid-template-columns: 1fr; } .dc-usecase__body { padding: 24px; } }

/* ============ Contact block ============ */
.dc-contactblk__box { background: linear-gradient(135deg, var(--dc-bg-2), #fff); border-left: 4px solid var(--dc-accent); padding: 28px 32px; border-radius: var(--dc-radius); box-shadow: var(--dc-shadow); }
.dc-contactblk__h { color: var(--dc-primary); margin: 0 0 12px; }

/* ============ Founder card ============ */
.dc-founder__card { display: grid; grid-template-columns: 220px 1fr; gap: 36px; background: #fff; border-radius: var(--dc-radius-lg); padding: 32px; box-shadow: var(--dc-shadow); align-items: center; }
.dc-founder__img { align-self: center; }
.dc-founder__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: 50%; box-shadow: var(--dc-shadow); background: var(--dc-bg-2); }
.dc-founder__name { font-size: 1.5rem; margin: 0 0 4px; color: var(--dc-primary); }
.dc-founder__role { color: var(--dc-accent); font-weight: 600; margin: 0 0 14px; font-size: .95rem; }
.dc-founder__bio { color: var(--dc-ink-2); margin: 0 0 18px; }
.dc-founder__hl { list-style: none; padding: 0; margin: 0; }
.dc-founder__hl li { padding: 8px 0 8px 24px; position: relative; border-bottom: 1px dashed var(--dc-line); font-size: .92rem; }
.dc-founder__hl li::before { content: "★"; position: absolute; left: 0; top: 8px; color: var(--dc-accent); }
.dc-founder__hl li:last-child { border-bottom: 0; }
@media (max-width: 800px) { .dc-founder__card { grid-template-columns: 1fr; } }

/* ============ Awards grid ============ */
.dc-awards__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.dc-award { background: #fff; border-radius: var(--dc-radius); padding: 22px 20px; box-shadow: var(--dc-shadow); border-top: 3px solid var(--dc-green); transition: transform .25s, border-color .25s; }
.dc-award:hover { transform: translateY(-3px); border-top-color: var(--dc-accent); }
.dc-award__yr { color: var(--dc-accent); font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
.dc-award__t { font-size: 1rem; margin: 6px 0 4px; color: var(--dc-primary); line-height: 1.35; }
.dc-award__sub { color: var(--dc-ink); font-size: .9rem; line-height: 1.4; }
.dc-award__iss { color: var(--dc-mute); font-size: .82rem; }
.dc-award__note { color: var(--dc-mute); font-size: .78rem; margin-top: 6px; }

/* ============ Image gallery ============ */
.dc-gallery__intro { max-width: 880px; margin: -10px auto 28px; color: var(--dc-ink-2); text-align: center; }
.dc-gallery__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.dc-gallery__grid--diagram { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.dc-gallery__item { margin: 0; background: #fff; border-radius: var(--dc-radius); overflow: hidden; box-shadow: var(--dc-shadow); }
.dc-gallery__img { aspect-ratio: 4 / 3; background: var(--dc-bg-2); overflow: hidden; }
.dc-gallery__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dc-gallery__item--contain .dc-gallery__img { aspect-ratio: 3 / 4; }
.dc-gallery__item--contain .dc-gallery__img img { object-fit: contain; padding: 10px; }
.dc-gallery__item--diagram .dc-gallery__img { aspect-ratio: 16 / 10; }
.dc-gallery__item--diagram .dc-gallery__img img { object-fit: contain; padding: 12px; }
.dc-gallery__item figcaption { padding: 13px 15px 15px; color: var(--dc-ink-2); font-size: .86rem; line-height: 1.45; }
.dc-gallery__item figcaption strong { display: block; color: var(--dc-primary); font-size: .95rem; margin-bottom: 4px; }
.dc-gallery__item figcaption span { display: block; }

/* ============ Global locations map ============ */
.dc-locations { background: linear-gradient(180deg, var(--dc-bg) 0%, #fff 100%); }
.dc-locations__head { max-width: 860px; margin: 0 auto 26px; text-align: center; }
.dc-locations__head .dc-section__h2 { margin-bottom: 12px; }
.dc-locations__head p { color: var(--dc-ink-2); margin: 0; }
.dc-locations__panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 28px; align-items: stretch; }
.dc-worldmap { position: relative; min-height: 420px; border-radius: var(--dc-radius-lg); overflow: hidden; background: #F4FAF8; box-shadow: var(--dc-shadow-lg); border: 1px solid rgba(31,166,122,.18); }
.dc-worldmap::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(11,61,46,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(11,61,46,.045) 1px, transparent 1px); background-size: 48px 48px; opacity: .55; z-index: 1; pointer-events: none; }
.dc-worldmap__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.dc-mapdot { position: absolute; transform: translate(calc(-50% + var(--dc-dot-offset-x, 0px)), calc(-50% + var(--dc-dot-offset-y, 0px))); width: 18px; height: 18px; border: 0; padding: 0; background: transparent; cursor: pointer; z-index: 3; }
.dc-mapdot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.dc-mapdot__core { position: absolute; inset: 5px; border-radius: 50%; background: #D62828; box-shadow: 0 0 0 2px rgba(255,255,255,.96), 0 0 14px rgba(214,40,40,.78); }
.dc-mapdot__pulse { position: absolute; inset: 1px; border-radius: 50%; background: rgba(214,40,40,.24); animation: dc-map-pulse 2.2s ease-out infinite; }
@keyframes dc-map-pulse { 0% { transform: scale(.5); opacity: .92; } 80%,100% { transform: scale(1.85); opacity: 0; } }
.dc-locations__list { display: grid; gap: 14px; align-content: start; }
.dc-location { background: #fff; border-radius: var(--dc-radius); padding: 18px 18px 16px; box-shadow: var(--dc-shadow); border-left: 4px solid #D62828; }
.dc-location__status { color: #D62828; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.dc-location h3 { margin: 4px 0 5px; font-size: 1.05rem; }
.dc-location p { margin: 6px 0 0; color: var(--dc-ink-2); font-size: .9rem; }
.dc-location__place { color: var(--dc-primary) !important; font-weight: 700; }
@media (max-width: 900px) { .dc-locations__panel { grid-template-columns: 1fr; } .dc-worldmap { min-height: 300px; } }
@media (max-width: 480px) { .dc-worldmap { min-height: 240px; } .dc-mapdot { width: 16px; height: 16px; } .dc-mapdot__core { inset: 5px; } }

/* ============ Lightbox ============ */
.dc-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 28px; background: rgba(4,12,9,.86); backdrop-filter: blur(10px); }
.dc-lightbox-link { border: 0; padding: 0; margin: 0; background: transparent; color: inherit; font: inherit; display: block; width: 100%; height: 100%; cursor: zoom-in; text-align: inherit; }
.dc-lightbox.is-open { display: flex; }
.dc-lightbox__dialog { position: relative; width: min(1100px, 96vw); max-height: 92vh; display: grid; gap: 10px; justify-items: center; }
.dc-lightbox__img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 10px; box-shadow: 0 28px 80px rgba(0,0,0,.35); background: #fff; }
.dc-lightbox__title { color: #fff; font-size: .95rem; text-align: center; }
.dc-lightbox__close { position: absolute; top: -18px; right: -12px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.dc-lightbox__close:hover { background: rgba(255,255,255,.24); }

/* ============ Richtext ============ */
.dc-richtext__body { max-width: 880px; margin: 0 auto; color: var(--dc-ink-2); }
.dc-richtext__body ul, .dc-richtext__body ol { padding-left: 22px; }
.dc-richtext__body h3 { color: var(--dc-primary); margin-top: 28px; }
.dc-milestones { list-style: none; padding: 0; }
.dc-milestones li { padding: 10px 0 10px 26px; position: relative; border-bottom: 1px dashed var(--dc-line); }
.dc-milestones li::before { content: "▸"; position: absolute; left: 0; top: 10px; color: var(--dc-accent); }

/* ============ Contact form ============ */
.dc-cform { background: linear-gradient(180deg, var(--dc-bg) 0%, var(--dc-bg-2) 100%); }
.dc-cform__wrap { max-width: 880px; margin: 0 auto; background: #fff; border-radius: var(--dc-radius-lg); padding: 40px 36px; box-shadow: var(--dc-shadow-lg); }
.dc-cform__form label { display: block; margin-bottom: 16px; }
.dc-cform__form label span { display: block; font-size: .88rem; color: var(--dc-primary); font-weight: 600; margin-bottom: 6px; }
.dc-cform__form input, .dc-cform__form select, .dc-cform__form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--dc-line); border-radius: 10px; font-size: 1rem; font-family: inherit; background: var(--dc-bg); transition: border-color .2s, background .2s; }
.dc-cform__form input:focus, .dc-cform__form select:focus, .dc-cform__form textarea:focus { outline: 0; border-color: var(--dc-green); background: #fff; }
.dc-cform__form textarea { resize: vertical; min-height: 120px; }
.dc-cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .dc-cform__row { grid-template-columns: 1fr; } .dc-cform__wrap { padding: 28px 22px; } }
.dc-flash { padding: 14px 18px; border-radius: 10px; margin-bottom: 22px; font-size: .95rem; }
.dc-flash--ok { background: #E7F8F1; color: var(--dc-primary); border: 1px solid var(--dc-green); }
.dc-flash--err { background: #FFF1E8; color: #B0421A; border: 1px solid var(--dc-accent); }

/* ============ Footer ============ */
.dc-footer { background: var(--dc-primary); color: #D8DEDC; padding: 64px 24px 24px; margin-top: 80px; }
.dc-footer__inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.dc-footer__col h4 { color: #fff; font-size: .95rem; margin: 0 0 16px; text-transform: uppercase; letter-spacing: .06em; }
.dc-footer__col ul { list-style: none; padding: 0; margin: 0; }
.dc-footer__col ul li { padding: 4px 0; }
.dc-footer__col ul li a { color: #C8D2CE; font-size: .92rem; }
.dc-footer__col ul li a:hover { color: var(--dc-accent-2); }
.dc-footer__col p { font-size: .9rem; margin: 6px 0; color: #C8D2CE; }
.dc-footer__col p a { color: #fff; }
.dc-footer__tag { font-size: .92rem; margin: 14px 0 16px; max-width: 360px; }
.dc-footer__legal { font-size: .8rem; color: #8B9892; }
.dc-logo--white { color: #fff; }
.dc-footer__bar { max-width: 1280px; margin: 0 auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: #8B9892; flex-wrap: wrap; gap: 12px; }
.dc-footer__langbar { display: flex; gap: 14px; }
.dc-footer__langbar a { color: #C8D2CE; }
@media (max-width: 900px) { .dc-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dc-footer__inner { grid-template-columns: 1fr; } }

/* ============ Print ============ */
@media print {
  .dc-header, .dc-footer, .dc-hero__cta, .dc-cta-btn { display: none; }
}
